|
uint8_t | getNodeId (void) |
|
uint8_t | getParentNodeId (void) |
|
void | presentNode (void) |
|
bool | present (const uint8_t sensorId, const mysensors_sensor_t sensorType, const char *description="", const bool requestEcho=false) |
|
bool | sendSketchInfo (const char *name, const char *version, const bool requestEcho=false) |
|
bool | send (MyMessage &msg, const bool requestEcho=false) |
|
bool | sendBatteryLevel (const uint8_t level, const bool requestEcho=false) |
|
bool | sendHeartbeat (const bool requestEcho=false) |
|
bool | sendSignalStrength (const int16_t level, const bool requestEcho=false) |
|
bool | sendTXPowerLevel (const uint8_t level, const bool requestEcho=false) |
|
bool | request (const uint8_t childSensorId, const uint8_t variableType, const uint8_t destination=GATEWAY_ADDRESS) |
|
bool | requestTime (const bool requestEcho=false) |
|
controllerConfig_t | getControllerConfig (void) |
|
void | saveState (const uint8_t pos, const uint8_t value) |
|
uint8_t | loadState (const uint8_t pos) |
|
void | wait (const uint32_t waitingMS) |
|
bool | wait (const uint32_t waitingMS, const mysensors_command_t cmd) |
|
bool | wait (const uint32_t waitingMS, const mysensors_command_t cmd, const uint8_t msgtype) |
|
void | doYield (void) |
|
void | sleepHandler (bool sleep) |
|
int8_t | sleep (const uint32_t sleepingMS, const bool smartSleep=false) |
|
int8_t | sleep (const uint8_t interrupt, const uint8_t mode, const uint32_t sleepingMS=0, const bool smartSleep=false) |
|
int8_t | sleep (const uint8_t interrupt1, const uint8_t mode1, const uint8_t interrupt2, const uint8_t mode2, const uint32_t sleepingMS=0, const bool smartSleep=false) |
|
int8_t | smartSleep (const uint32_t sleepingMS) |
|
int8_t | smartSleep (const uint8_t interrupt, const uint8_t mode, const uint32_t sleepingMS=0) |
|
int8_t | smartSleep (const uint8_t interrupt1, const uint8_t mode1, const uint8_t interrupt2, const uint8_t mode2, const uint32_t sleepingMS=0) |
|
int8_t | _sleep (const uint32_t sleepingMS, const bool smartSleep=false, const uint8_t interrupt1=INTERRUPT_NOT_DEFINED, const uint8_t mode1=MODE_NOT_DEFINED, const uint8_t interrupt2=INTERRUPT_NOT_DEFINED, const uint8_t mode2=MODE_NOT_DEFINED) |
|
uint32_t | getSleepRemaining (void) |
|
void | _nodeLock (const char *str) |
| Lock a node and transmit provided message with 30m intervals. More...
|
|
void | _checkNodeLock (void) |
| Check node lock status and prevent node execution if locked.
|
|
void | _begin (void) |
| Node initialisation.
|
|
void | _process (void) |
| Main framework process.
|
|
bool | _processInternalCoreMessage (void) |
| Processes internal core message. More...
|
|
void | _infiniteLoop (void) |
| Puts node to a infinite loop if unrecoverable situation detected.
|
|
void | _registerNode (void) |
| Handles registration request.
|
|
bool | _sendRoute (MyMessage &message) |
| Sends message according to routing table. More...
|
|
void | receive (const MyMessage &) __attribute__((weak)) |
| Callback for incoming messages. More...
|
|
void | receiveTime (uint32_t) __attribute__((weak)) |
| Callback for incoming time messages.
|
|
void | presentation (void) __attribute__((weak)) |
| Node presentation.
|
|
void | before (void) __attribute__((weak)) |
| Called before node initialises.
|
|
void | preHwInit (void) __attribute__((weak)) |
| Called before any hardware initialisation is done.
|
|
void | setup (void) __attribute__((weak)) |
| Called after node initialises but before main loop. More...
|
|
void | loop (void) __attribute__((weak)) |
| Main loop. More...
|
|