Nol.A SDK Library
24.11.0
For IoT System Software Development
|
IEEE 802.15.4 address. More...
#include <IEEE802_15_4Frame.hpp>
Public Member Functions | |
IEEE802_15_4Address (const uint8_t *eui, int32_t pan=-1) | |
IEEE802_15_4Address (uint16_t shortId, int32_t pan=-1) | |
bool | isBroadcast () |
Broadcast 주소인지 여부 확인 | |
bool | operator== (const IEEE802_15_4Address &r) const |
bool | operator!= (const IEEE802_15_4Address &r) const |
bool | operator== (const uint8_t *r) const |
bool | operator== (const uint16_t &r) const |
bool | operator< (const IEEE802_15_4Address &r) const |
Public Attributes | |
struct { | |
uint8_t len | |
uint16_t id | |
} | pan |
PAN ID. | |
union { | |
uint16_t s16 | |
uint8_t s64 [8] | |
uint64_t u64 | |
} | id |
IEEE 802.15.4 address.
uint16_t IEEE802_15_4Address::id |
valid when len == 2
uint8_t IEEE802_15_4Address::len |
either 0 or 2
one of 0, 1, 2, or 8
uint16_t IEEE802_15_4Address::s16 |
valid when len == 2
uint8_t IEEE802_15_4Address::s64[8] |
valid when len == 8