Wirepas SDK
waddr.h
Go to the documentation of this file.
1 /* Copyright 2017 Wirepas Ltd. All Rights Reserved.
2  *
3  * See file LICENSE.txt for full license details.
4  *
5  */
6 
7 #ifndef WADDR_H_
8 #define WADDR_H_
9 
10 #include "waps_frames.h"
11 #include "api.h"
12 
28 #define WADDR_BCAST (w_addr_t)(-1)
29 
31 #define WADDR_ANYSINK (w_addr_t)(-2)
32 
34 #define WADDR_UCAST_MAX (w_addr_t)(-3)
35 
37 #define WADDR_MULTICAST (w_addr_t)(0x80000000)
38 
46 
54 
55 #endif /* WADDR_H_ */
Addr_to_Waddr
w_addr_t Addr_to_Waddr(app_addr_t app_addr)
Convert address from APP to WAPS domain.
waps_frames.h
Waddr_to_Addr
app_addr_t Waddr_to_Addr(w_addr_t waddr)
Convert address from WAPS to APP domain.
app_addr_t
uint32_t app_addr_t
Definition: wms_app.h:228
w_addr_t
uint32_t w_addr_t
Definition: waps_frames.h:17
api.h