|
ESP_IOT v2.5
IOT ESP Coding
|

Go to the source code of this file.
Functions | |
| void | setup_ATOM_SocketModule () |
| void | loop_ATOM_SocketModule () |
| called for the loop() of this plugin More... | |
| void | messageSetVal_ATOM_SocketModule (char *setName, char *valValue, boolean deviceNameSpecified) |
| void | messageSend_ATOM_SocketModule (char *sendValue) |
| void | buttonA_ShortPress_ATOM_SocketModule () |
| void | buttonA_LongPress_ATOM_SocketModule () |
| long press on buttonA (top button) More... | |
| char * | currentStatusURL_ATOM_SocketModule () |
| returns a string in in URL so: status&battery=84'&buzzon='off' } .. etc More... | |
| char * | currentStatusJSON_ATOM_SocketModule () |
| void buttonA_LongPress_ATOM_SocketModule | ( | ) |
long press on buttonA (top button)
Definition at line 269 of file ATOM_SocketModule.cpp.


| void buttonA_ShortPress_ATOM_SocketModule | ( | ) |
BUTTON PROCESSING abstraction short press on buttonA (top button)
Definition at line 258 of file ATOM_SocketModule.cpp.


| char * currentStatusJSON_ATOM_SocketModule | ( | ) |
returns a string in in JSON so: status&battery=84'&buzzon='off' } .. etc starts with "&"*
Definition at line 394 of file ATOM_SocketModule.cpp.

| char * currentStatusURL_ATOM_SocketModule | ( | ) |
returns a string in in URL so: status&battery=84'&buzzon='off' } .. etc
returns a string in in URL so: status&battery=84'&buzzon='off' } .. etc starts with "&"*
8.4.25 add k=PWR
Definition at line 383 of file ATOM_SocketModule.cpp.

| void loop_ATOM_SocketModule | ( | ) |
called for the loop() of this plugin
TODO..
do loop code
Definition at line 225 of file ATOM_SocketModule.cpp.


| void messageSend_ATOM_SocketModule | ( | char * | sendValue | ) |
12.28.23, 8.28.23 Adding a way for others to get informed on messages that arrive for the set,val 5.21.22 note tthe SEND and CMD are both routed through "send"
12.28.23, 8.28.23 Adding a way for others to get informed on messages that arrive for the send
Definition at line 142 of file ATOM_SocketModule.cpp.


| void messageSetVal_ATOM_SocketModule | ( | char * | setName, |
| char * | valValue, | ||
| boolean | deviceNameSpecified | ||
| ) |
8.28.23 Adding a way for others to get informed on messages that arrive for the set,val 12.27.23 support setName == "socket" 1.10.24 if deviceNameSpecified then this matches this device, otherwise for all. It's up to the receiver to decide if it has to be specified
8.28.23 Adding a way for others to get informed on messages that arrive for the set,val 2.27.23 support setName == "socket" 1.10.24 if deviceNameSpecified then this matches this device, otherwise for all. It's up to the receiver to decide if it has to be specified 1.12.24 AtomSocketGlobalOnOff to turn on/off global onoff
see if global on/off is supported.. So if globalOnOff definitely perform action. If deviceNameSpecified - perform action so OR of them
Definition at line 123 of file ATOM_SocketModule.cpp.


| void setup_ATOM_SocketModule | ( | ) |
THIS IS the setup() and loop() but using the "component" name, eg AudioModule() This will perform preference initializtion as well called from the setup() Pass in the method to call on a loud (over a threshhold. The parameter for value will be sent
5.3.25 register our PIN use
1.1.24 syntax: socket=on or socket=off (somewhere in the string..)
TODO..
NOTE: this could probably be done by ESP_IOT.ino .. but for now keep here (and in the other ATOM code..)
ijnit the ATOM Socket
default whatever was the last mode Persistently..
NOTE: error without (char*) – warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
if the Buzzer isn't on .. then we are good to go try this 5.14.25 .. But this is probablly wrong .. is should be just the KeyUnitSensorClass .. and maybe more generic..
create instance..
specify the callback
call the setup
Definition at line 163 of file ATOM_SocketModule.cpp.

