|
SPSP
Simple publish-subscribe protocol. Connects low power IoT clients to MQTT.
|
Local layer address container. More...
#include <local_addr.hpp>

Public Member Functions | |
| bool | operator== (const LocalAddr &other) const |
| bool | operator!= (const LocalAddr &other) const |
| bool | empty () const |
| Checks whether the address is empty. More... | |
Public Attributes | |
| std::vector< uint8_t > | addr |
| Internal address representation. | |
| std::string | str |
| Printable string (also used in MQTT topic) | |
Local layer address container.
Internal representation is decisive. Two addresses are the same if they have the same internal representation.
Printable string is also passed to far layer (MQTT).
Definition at line 25 of file local_addr.hpp.
|
inline |
Checks whether the address is empty.
Definition at line 46 of file local_addr.hpp.
1.8.17