Wirepas SDK
|
Address mapping between internal and external addresses
Definition in file waddr.h.
Go to the source code of this file.
Functions | |
app_addr_t | Waddr_to_Addr (w_addr_t waddr) |
Convert address from WAPS to APP domain. More... | |
w_addr_t | Addr_to_Waddr (app_addr_t app_addr) |
Convert address from APP to WAPS domain. More... | |
Macros | |
#define | WADDR_BCAST (w_addr_t)(-1) |
#define | WADDR_ANYSINK (w_addr_t)(-2) |
#define | WADDR_UCAST_MAX (w_addr_t)(-3) |
#define | WADDR_MULTICAST (w_addr_t)(0x80000000) |
w_addr_t Addr_to_Waddr | ( | app_addr_t | app_addr | ) |
Convert address from APP to WAPS domain.
app_addr | Application address to convert |
app_addr_t Waddr_to_Addr | ( | w_addr_t | waddr | ) |
Convert address from WAPS to APP domain.
waddr | Waps address to convert |
#define WADDR_MULTICAST (w_addr_t)(0x80000000) |