20 #ifndef XBEE_USER_DATA_H 21 #define XBEE_USER_DATA_H 29 #define XBEE_FRAME_USER_DATA_TX 0x2D 32 #define XBEE_FRAME_USER_DATA_RX 0xAD 35 #define XBEE_USER_DATA_IF_SERIAL 0x00 36 #define XBEE_USER_DATA_IF_BLE 0x01 37 #define XBEE_USER_DATA_IF_MICROPYTHON 0x02 58 const void *payload,
uint16_t length);
64 #endif // XBEE_USER_DATA_H int xbee_user_data_relay_tx(xbee_dev_t *xbee, uint8_t dest, const void *payload, uint16_t length)
Send a User Data Relay frame (XBEE_FRAME_USER_DATA_TX, type 0x2D).
Definition: xbee_user_data.c:37
#define XBEE_BEGIN_DECLS
Macro defined to.
Definition: platform.h:41
const char * xbee_user_data_interface(uint8_t iface)
Return a string description for an XBEE_USER_DATA_IF_xxx value.
Definition: xbee_user_data.c:62
Format of XBee API frame type 0xAD (XBEE_FRAME_USER_DATA_RX); received from XBee by host...
Definition: user_data.h:53
unsigned short uint16_t
16-bit unsigned integer
Definition: platform_config.h:41
unsigned char uint8_t
8-bit unsigned integer
Definition: platform_config.h:39
#define XBEE_END_DECLS
Macro defined to.
Definition: platform.h:42