|
EnigmaIOT
0.9.8
Secure sensor and gateway platform based on ESP8266 and ESP32
|
#include <GwOutput_dummy.h>
Public Member Functions | |
| void | configManagerStart (EnigmaIOTGatewayClass *enigmaIotGw) |
| Called when wifi manager starts config portal. More... | |
| void | configManagerExit (bool status) |
| Called when wifi manager exits config portal. More... | |
| bool | begin () |
| Starts output module. More... | |
| bool | loadConfig () |
| Loads output module configuration. More... | |
| bool | outputControlSend (char *address, uint8_t *data, size_t length) |
| Send control data from nodes. More... | |
| bool | newNodeSend (char *address, uint16_t node_id) |
| Send new node notification. More... | |
| bool | nodeDisconnectedSend (char *address, gwInvalidateReason_t reason) |
| Send node disconnection notification. More... | |
| bool | outputDataSend (char *address, char *data, size_t length, GwOutput_data_type_t type=data) |
| Send data from nodes. More... | |
| void | loop () |
| Should be called often for module management. More... | |
| void | setDlCallback (onDlData_t cb) |
| Set data processing function. More... | |
Public Member Functions inherited from GatewayOutput_generic | |
| void | setDlCallback (onDlData_t cb) |
| Set data processing function. More... | |
Protected Member Functions | |
| bool | saveConfig () |
| Saves output module configuration. More... | |
Additional Inherited Members | |
Public Attributes inherited from GatewayOutput_generic | |
| String | netName |
| EnigmaIOT network name. More... | |
| String | clientId |
| MQTT clientId. More... | |
| String | gwTopic |
| MQTT topic for gateway. More... | |
Protected Attributes inherited from GatewayOutput_generic | |
| EnigmaIOTGatewayClass * | enigmaIotGateway |
| Pointer to EnigmaIOT gateway instance. More... | |
| onDlData_t | downlinkCb |
| downlink processing function handle More... | |
Definition at line 21 of file GwOutput_dummy.h.
|
virtual |
Starts output module.
true if successful. false otherwise Implements GatewayOutput_generic.
Definition at line 47 of file GwOutput_dummy.cpp.
|
virtual |
Called when wifi manager exits config portal.
| status | true if configuration was successful |
Implements GatewayOutput_generic.
Definition at line 43 of file GwOutput_dummy.cpp.
|
virtual |
Called when wifi manager starts config portal.
| enigmaIotGw | Pointer to EnigmaIOT gateway instance |
Implements GatewayOutput_generic.
Definition at line 31 of file GwOutput_dummy.cpp.
|
virtual |
Loads output module configuration.
true if load was successful. false otherwise Implements GatewayOutput_generic.
Definition at line 39 of file GwOutput_dummy.cpp.
|
virtual |
Should be called often for module management.
Implements GatewayOutput_generic.
Definition at line 53 of file GwOutput_dummy.cpp.
|
virtual |
Send new node notification.
true if sending was successful. false otherwise Implements GatewayOutput_generic.
Definition at line 67 of file GwOutput_dummy.cpp.
|
virtual |
Send node disconnection notification.
| address | Node Address |
| reason | Disconnection reason code |
true if sending was successful. false otherwise Implements GatewayOutput_generic.
Definition at line 72 of file GwOutput_dummy.cpp.
|
virtual |
Send control data from nodes.
| address | Node Address |
| data | Message data buffer |
| length | Data buffer length |
true if sending was successful. false otherwise Implements GatewayOutput_generic.
Definition at line 62 of file GwOutput_dummy.cpp.
|
virtual |
Send data from nodes.
| address | Node Address |
| data | Message data buffer |
| length | Data buffer length |
| type | Type of message |
true if sending was successful. false otherwise Implements GatewayOutput_generic.
Definition at line 57 of file GwOutput_dummy.cpp.
|
protectedvirtual |
Saves output module configuration.
true if save was successful. false otherwise Implements GatewayOutput_generic.
Definition at line 35 of file GwOutput_dummy.cpp.
|
inline |
Set data processing function.
| cb | Function handle |
Definition at line 108 of file GwOutput_dummy.h.