57 #define XBEE_FRAME_HANDLE_RX_EXPLICIT \ 58 { XBEE_FRAME_RECEIVE_EXPLICIT, 0, _xbee_handle_receive_explicit, NULL } 100 #define XBEE_TX_OPT_DISABLE_ACK (1<<0) 102 #define XBEE_TX_OPT_DISABLE_ROUTE_DISC (1<<1) 104 #define XBEE_TX_OPT_ENABLE_UNICAST_NACK (1<<2) 106 #define XBEE_TX_OPT_ENABLE_UNICAST_TRACE (1<<3) 108 #define XBEE_TX_OPT_SEND_ENCRYPTED (1<<4) 110 #define XBEE_TX_OPT_APS_ENCRYPT (1<<5) 112 #define XBEE_TX_OPT_EXTENDED_TIMEOUT (1<<6) 114 #define XBEE_TX_OPT_MODE_POINT_MULTIPOINT (1<<6) 116 #define XBEE_TX_OPT_MODE_REPEATER (2<<6) 118 #define XBEE_TX_OPT_MODE_DIGIMESH (3<<6) 135 #define XBEE_TX_DISCOVERY_NONE 0x00 139 #define XBEE_TX_DISCOVERY_ADDRESS 0x01 142 #define XBEE_TX_DISCOVERY_ROUTE 0x02 145 #define XBEE_TX_DISCOVERY_EXTENDED_TIMEOUT 0x40 161 #define XBEE_FRAME_HANDLE_TRANSMIT_STATUS \ 162 { XBEE_FRAME_TRANSMIT_STATUS, 0, _xbee_handle_transmit_status, NULL } 181 #define XBEE_FRAME_TRANSMIT_STATUS_DEBUG \ 182 { XBEE_FRAME_TRANSMIT_STATUS, 0, xbee_frame_dump_transmit_status, NULL } WPAN datatypes and support functions, valid for ZigBee and DigiMesh.
#define FAR
On platforms with "far" pointers, define to the proper keyword; empty definition if not required...
Definition: platform.h:396
#define XBEE_BEGIN_DECLS
Macro defined to.
Definition: platform.h:41
int _xbee_handle_transmit_status(xbee_dev_t *xbee, const void FAR *frame, uint16_t length, void FAR *context)
Definition: xbee_wpan.c:203
Format of XBee API frame type 0x91 (XBEE_FRAME_RECEIVE_EXPLICIT); received from XBee by host...
Definition: wpan.h:52
< XBEE_FRAME_TRANSMIT_STATUS (0x8B)
Definition: wpan.h:129
unsigned short uint16_t
16-bit unsigned integer
Definition: platform_config.h:41
int xbee_wpan_init(xbee_dev_t *xbee, const wpan_endpoint_table_entry_t *ep_table)
Configure xbee_dev_t for APS-layer (endpoint/cluster) networking.
Definition: xbee_wpan.c:182
int xbee_frame_dump_transmit_status(xbee_dev_t *xbee, const void FAR *frame, uint16_t length, void FAR *context)
Frame handler for 0x8B (XBEE_FRAME_TRANSMIT_STATUS) frames – dumps transmit status to STDOUT for deb...
Definition: xbee_wpan.c:220
unsigned char uint8_t
8-bit unsigned integer
Definition: platform_config.h:39
int _xbee_handle_receive_explicit(xbee_dev_t *xbee, const void FAR *raw, uint16_t length, void FAR *context)
Process XBee "Receive Explicit" frames (type 0x91) and hand off to wpan_envelope_dispatch() for furth...
Definition: xbee_wpan.c:54
Typedef used to hold a 64-bit IEEE address, represented as 8 bytes, 4 16-bit values or 2 32-bit value...
Definition: types.h:34
#define XBEE_END_DECLS
Macro defined to.
Definition: platform.h:42
Information on each endpoint on this device.
Definition: aps.h:252
Format of XBee API frame type 0x90 (XBEE_FRAME_RECEIVE); received from XBee by host.
Definition: wpan.h:37