|
AlteriomPainlessMesh v2.1.1
Easy ESP32/ESP8266 mesh networking with Alteriom IoT extensions
|
#include <protocol.hpp>


Public Member Functions | |
| Single () | |
| Single (uint32_t fromID, uint32_t destID, TSTRING &message) | |
| Single (JsonObject jsonObj) | |
| JsonObject | addTo (JsonObject &&jsonObj) const |
| size_t | jsonObjectSize () const |
Public Member Functions inherited from painlessmesh::protocol::PackageInterface | |
| virtual | ~PackageInterface ()=default |
Public Attributes | |
| int | type = SINGLE |
| uint32_t | from = 0 |
| uint32_t | dest = 0 |
| TSTRING | msg = "" |
| uint32_t | msgId = 0 |
| uint8_t | priority = PRIORITY_NORMAL |
Single package
Message send to a specific node
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements painlessmesh::protocol::PackageInterface.
|
inlinevirtual |
Implements painlessmesh::protocol::PackageInterface.
| uint32_t painlessmesh::protocol::Single::dest = 0 |
| uint32_t painlessmesh::protocol::Single::from = 0 |
| TSTRING painlessmesh::protocol::Single::msg = "" |
| uint32_t painlessmesh::protocol::Single::msgId = 0 |
| uint8_t painlessmesh::protocol::Single::priority = PRIORITY_NORMAL |
| int painlessmesh::protocol::Single::type = SINGLE |