|
EnigmaIOT
0.9.8
Secure sensor and gateway platform based on ESP8266 and ESP32
|
Functions | |
| def | on_connect (client, userdata, flags, rc) |
| def | on_message (client, userdata, msg) |
| def | main () |
Variables | |
| args = None | |
| bool | sleepyNode = True |
| string | resultTopic = "/result/#" |
| string | sleepSetTopic = "/set/sleeptime" |
| string | sleepResultTopic = "/result/sleeptime" |
| string | otaSetTopic = "/set/ota" |
| string | otaResultTopic = "/result/ota" |
| string | otaOutOfSequenceError = "OTA out of sequence error" |
| string | otaOK = "OTA finished OK" |
| bool | otaFinished = False |
| int | idx = 0 |
| int | OTA_OUT_OF_SEQUENCE = 4 |
| int | OTA_FINISHED = 6 |
| def EnigmaIoTUpdate.main | ( | ) |
Definition at line 67 of file EnigmaIoTUpdate.py.
| def EnigmaIoTUpdate.on_connect | ( | client, | |
| userdata, | |||
| flags, | |||
| rc | |||
| ) |
Definition at line 29 of file EnigmaIoTUpdate.py.
| def EnigmaIoTUpdate.on_message | ( | client, | |
| userdata, | |||
| msg | |||
| ) |
Definition at line 44 of file EnigmaIoTUpdate.py.
| EnigmaIoTUpdate.args = None |
Definition at line 12 of file EnigmaIoTUpdate.py.
| int EnigmaIoTUpdate.idx = 0 |
Definition at line 23 of file EnigmaIoTUpdate.py.
| int EnigmaIoTUpdate.OTA_FINISHED = 6 |
Definition at line 26 of file EnigmaIoTUpdate.py.
| int EnigmaIoTUpdate.OTA_OUT_OF_SEQUENCE = 4 |
Definition at line 25 of file EnigmaIoTUpdate.py.
| bool EnigmaIoTUpdate.otaFinished = False |
Definition at line 22 of file EnigmaIoTUpdate.py.
| string EnigmaIoTUpdate.otaOK = "OTA finished OK" |
Definition at line 20 of file EnigmaIoTUpdate.py.
| string EnigmaIoTUpdate.otaOutOfSequenceError = "OTA out of sequence error" |
Definition at line 19 of file EnigmaIoTUpdate.py.
| string EnigmaIoTUpdate.otaResultTopic = "/result/ota" |
Definition at line 18 of file EnigmaIoTUpdate.py.
| string EnigmaIoTUpdate.otaSetTopic = "/set/ota" |
Definition at line 17 of file EnigmaIoTUpdate.py.
| string EnigmaIoTUpdate.resultTopic = "/result/#" |
Definition at line 14 of file EnigmaIoTUpdate.py.
| string EnigmaIoTUpdate.sleepResultTopic = "/result/sleeptime" |
Definition at line 16 of file EnigmaIoTUpdate.py.
| string EnigmaIoTUpdate.sleepSetTopic = "/set/sleeptime" |
Definition at line 15 of file EnigmaIoTUpdate.py.
| bool EnigmaIoTUpdate.sleepyNode = True |
Definition at line 13 of file EnigmaIoTUpdate.py.