|
|
void | stInitTransition (void) |
| | Initialize SM variables and transport HW.
|
| |
|
void | stInitUpdate (void) |
| | Initialize transport.
|
| |
|
void | stParentTransition (void) |
| | Find parent.
|
| |
|
void | stParentUpdate (void) |
| | Verify find parent responses.
|
| |
|
void | stIDTransition (void) |
| | Send ID request.
|
| |
|
void | stIDUpdate (void) |
| | Verify ID response and GW link.
|
| |
|
void | stUplinkTransition (void) |
| | Send uplink ping request.
|
| |
|
void | stUplinkUpdate (void) |
| | Verify uplink response.
|
| |
|
void | stReadyTransition (void) |
| | Set transport OK.
|
| |
|
void | stReadyUpdate (void) |
| | Monitor transport link.
|
| |
|
void | stFailureTransition (void) |
| | Transport failure and power down radio.
|
| |
|
void | stFailureUpdate (void) |
| | Re-initialize transport after timeout.
|
| |
| void | transportSwitchSM (transportState_t &newState) |
| | Switch SM state. More...
|
| |
|
void | transportUpdateSM (void) |
| | Update SM state.
|
| |
| uint32_t | transportTimeInState (void) |
| | Request time in current SM state. More...
|
| |
|
void | transportInvokeSanityCheck (void) |
| | Call transport driver sanity check.
|
| |
|
void | transportProcessFIFO (void) |
| | Process all pending messages in RX FIFO.
|
| |
|
void | transportProcessMessage (void) |
| | Receive message from RX FIFO and process.
|
| |
| bool | transportAssignNodeID (const uint8_t newNodeId) |
| | Assign node ID. More...
|
| |
| bool | transportWait (const uint32_t waitingMS, const uint8_t cmd, const uint8_t msgType) |
| | Wait and process messages for a defined amount of time until specified message received. More...
|
| |
| uint8_t | transportPingNode (const uint8_t targetId) |
| | Ping node. More...
|
| |
| bool | transportRouteMessage (MyMessage &message) |
| | Send and route message according to destination. More...
|
| |
| bool | transportSendRoute (MyMessage &message) |
| | Send and route message according to destination with transport state check. More...
|
| |
| bool | transportSendWrite (const uint8_t to, MyMessage &message) |
| | Send message to recipient. More...
|
| |
| bool | transportCheckUplink (const bool force=false) |
| | Check uplink to GW, includes flooding control. More...
|
| |
| bool | transportWaitUntilReady (const uint32_t waitingMS=0) |
| | Wait until transport is ready. More...
|
| |
|
void | transportInitialise (void) |
| | Initialize transport and SM.
|
| |
|
void | transportProcess (void) |
| | Process FIFO msg and update SM.
|
| |
| bool | isTransportReady (void) |
| | Flag transport ready. More...
|
| |
| bool | isTransportSearchingParent (void) |
| | Flag searching parent ongoing. More...
|
| |
| bool | isTransportExtendedFailure (void) |
| | Flag TSM extended failure. More...
|
| |
| bool | isMessageReceived (void) |
| | Flag valid message received. More...
|
| |
|
void | resetMessageReceived (void) |
| | Reset message received flag.
|
| |
|
void | transportClearRoutingTable (void) |
| | Clear routing table.
|
| |
| uint32_t | transportGetHeartbeat (void) |
| | Return heart beat. More...
|
| |
|
void | transportLoadRoutingTable (void) |
| | Load routing table from EEPROM to RAM. Only for GW devices with enough RAM, i.e. ESP8266, RPI Sensebender GW, etc. Atmega328 has only limited amount of RAM.
|
| |
|
void | transportSaveRoutingTable (void) |
| | Save routing table to EEPROM.
|
| |
| void | transportSetRoute (const uint8_t node, const uint8_t route) |
| | Update routing table. More...
|
| |
| uint8_t | transportGetRoute (const uint8_t node) |
| | Load route to node. More...
|
| |
|
void | transportReportRoutingTable (void) |
| | Reports content of routing table.
|
| |
| uint8_t | transportGetNodeId (void) |
| | Get node ID. More...
|
| |
| uint8_t | transportGetParentNodeId (void) |
| | Get parent node ID. More...
|
| |
| uint8_t | transportGetDistanceGW (void) |
| | Get distance to GW. More...
|
| |
| void | transportTogglePassiveMode (const bool OnOff) |
| | Toggle passive mode, i.e. transport does not wait for ACK. More...
|
| |
|
void | transportDisable (void) |
| | Disable transport, if xxx_POWER_PIN is defined, transport is powered down, else send to sleep.
|
| |
|
void | transportReInitialise (void) |
| | Reinitialise transport. Put transport to standby - If xxx_POWER_PIN set, power up and go to standby.
|
| |
| int16_t | transportSignalReport (const char command) __attribute__((unused)) |
| | Get transport signal report. More...
|
| |
| int16_t | transportGetSignalReport (const signalReport_t signalReport) __attribute__((unused)) |
| | Get transport signal report. More...
|
| |