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


Public Member Functions | |
| MessageAckPackage () | |
| MessageAckPackage (uint32_t fromNode, uint32_t destNode, uint32_t msgId) | |
| MessageAckPackage (JsonObject jsonObj) | |
| JsonObject | addTo (JsonObject &&jsonObj) const |
| size_t | jsonObjectSize () const |
Public Member Functions inherited from painlessmesh::plugin::SinglePackage | |
| SinglePackage (int type) | |
| SinglePackage (JsonObject jsonObj) | |
| JsonObject | addTo (JsonObject &&jsonObj) const |
Public Member Functions inherited from painlessmesh::protocol::PackageInterface | |
| virtual | ~PackageInterface ()=default |
Public Attributes | |
| uint32_t | messageId = 0 |
Public Attributes inherited from painlessmesh::plugin::SinglePackage | |
| uint32_t | from = 0 |
| uint32_t | dest = 0 |
| router::Type | routing = router::SINGLE |
| int | type = 0 |
| int | noJsonFields = 4 |
Acknowledgment package sent back to the original sender
Routed as a SINGLE package so it traverses multiple hops using the normal routing logic.
Type ID: 630 (MESSAGE_ACK)
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements painlessmesh::protocol::PackageInterface.
|
inlinevirtual |
Implements painlessmesh::protocol::PackageInterface.
| uint32_t painlessmesh::ack::MessageAckPackage::messageId = 0 |
ID of the message being acknowledged