|
SPSP
Simple publish-subscribe protocol. Connects low power IoT clients to MQTT.
|
Generic local and far layer node of SPSP. More...
#include <node.hpp>


Public Member Functions | |
| ILocalAndFarNode (TLocalLayer *ll, TFarLayer *fl) | |
| Constructs a new node. More... | |
Public Member Functions inherited from SPSP::ILocalNode< TLocalLayer > | |
| ILocalNode (TLocalLayer *ll) | |
| Constructs a new node. More... | |
| void | receiveLocal (const LocalMessageT &msg, int rssi=NODE_RSSI_UNKNOWN) |
| Receives the message from local layer. More... | |
| void | setLocalRecvSendCb (LocalRecvSendCb cb) |
| Sets local receive/send callback function. More... | |
Public Member Functions inherited from SPSP::IFarNode< TFarLayer > | |
| IFarNode (TFarLayer *fl) | |
| Constructs a new node. More... | |
| virtual bool | receiveFar (const std::string &topic, const std::string &payload)=0 |
| Receives the message from far layer. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from SPSP::ILocalNode< TLocalLayer > | |
| TLocalLayer * | getLocalLayer () const |
| Gets the far layer object. More... | |
| bool | sendLocal (const LocalMessageT &msg) |
| Sends the message to local layer. More... | |
| void | publishRssi (const LocalAddrT &addr, int rssi) |
Publishes RSSI of received message from addr More... | |
| virtual bool | processProbeReq (const LocalMessageT &req, int rssi=NODE_RSSI_UNKNOWN)=0 |
| Processes PROBE_REQ message. More... | |
| virtual bool | processProbeRes (const LocalMessageT &req, int rssi=NODE_RSSI_UNKNOWN)=0 |
| Processes PROBE_RES message. More... | |
| virtual bool | processPub (const LocalMessageT &req, int rssi=NODE_RSSI_UNKNOWN)=0 |
| Processes PUB message. More... | |
| virtual bool | processSubReq (const LocalMessageT &req, int rssi=NODE_RSSI_UNKNOWN)=0 |
| Processes SUB_REQ message. More... | |
| virtual bool | processSubData (const LocalMessageT &req, int rssi=NODE_RSSI_UNKNOWN)=0 |
| Processes SUB_DATA message. More... | |
| virtual bool | processUnsub (const LocalMessageT &req, int rssi=NODE_RSSI_UNKNOWN)=0 |
| Processes UNSUB message. More... | |
| virtual bool | processTimeReq (const LocalMessageT &req, int rssi=NODE_RSSI_UNKNOWN)=0 |
| Processes TIME_REQ message. More... | |
| virtual bool | processTimeRes (const LocalMessageT &req, int rssi=NODE_RSSI_UNKNOWN)=0 |
| Processes TIME_RES message. More... | |
Protected Member Functions inherited from SPSP::IFarNode< TFarLayer > | |
| TFarLayer * | getFarLayer () const |
| Gets the far layer object. More... | |
Generic local and far layer node of SPSP.
| TLocalLayer | Type of local layer |
| TFarLayer | Type of far layer |
|
inline |
1.8.17