ESP_IOT v2.5
IOT ESP Coding
PIRSensorClass.h
Go to the documentation of this file.
1
2
3#ifndef PIRSensorClass_h
4#define PIRSensorClass_h
5
6#include "../../Defines.h"
7#ifdef ESP_M5
8
9#include "SensorClassType.h"
10
12{
13public:
14 //! constructor
15 PIRSensorClass(char *config);
16
17 //! Pure Virtual Function
18 void loop();
19
20 //! Pure Virtual Function
21 void setup();
22
23#ifdef NOT_USED
24 //! adding the messages as well
25 //! 5.14.25 (Laura/Paul flying). 5.14.74 great Dead
26 //! 8.28.23 Adding a way for others to get informed on messages that arrive
27 //! for the set,val
28 //! 12.27.23 support setName == "socket"
29 //! 1.10.24 if deviceNameSpecified then this matches this device, otherwise for all.
30 //! It's up to the receiver to decide if it has to be specified
31 void messageSetVal_SensorClassType(char *setName, char* valValue, boolean deviceNameSpecified);
32
33 //! 12.28.23, 8.28.23 Adding a way for others to get informed on messages that arrive
34 //! for the send -
35 void messageSend_SensorClassType(char *sendValue);
36
37 //! 12.28.23, 8.28.23 Adding a way for others to get informed on messages that arrive
38 //! for the cmd
39 void messageCmd_SensorClassType(char *cmdValue);
40#endif
41};
42#endif
43
44#endif
void setup()
Pure Virtual Function.
PIRSensorClass(char *config)
constructor
void loop()
Pure Virtual Function.
virtual void messageCmd_SensorClassType(char *cmdValue)
virtual void messageSend_SensorClassType(char *sendValue)
virtual void messageSetVal_SensorClassType(char *setName, char *valValue, boolean deviceNameSpecified)