20 #ifndef __XBEE_DELIVERY_STATUS_H 21 #define __XBEE_DELIVERY_STATUS_H 30 #define XBEE_TX_DELIVERY_SUCCESS 0x00 35 #define XBEE_TX_DELIVERY_MAC_ACK_FAIL 0x01 38 #define XBEE_TX_DELIVERY_CCA_FAIL 0x02 42 #define XBEE_TX_DELIVERY_STACK_NOT_READY 0x03 46 #define XBEE_TX_DELIVERY_PHYSICAL_ERROR 0x04 49 #define XBEE_TX_DELIVERY_NO_BUFFERS 0x18 52 #define XBEE_TX_DELIVERY_NET_ACK_FAIL 0x21 55 #define XBEE_TX_DELIVERY_NOT_JOINED 0x22 58 #define XBEE_TX_DELIVERY_INVALID_EP 0x2C 61 #define XBEE_TX_DELIVERY_INTERNAL_ERROR 0x31 65 #define XBEE_TX_DELIVERY_RESOURCE_ERROR 0x32 68 #define XBEE_TX_DELIVERY_NO_SECURE_SESSION 0x34 71 #define XBEE_TX_DELIVERY_ENCRYPTION_FAILURE 0x35 74 #define XBEE_TX_DELIVERY_PAYLOAD_TOO_BIG 0x74 77 #define XBEE_TX_DELIVERY_UNREQ_INDIRECT_MSG 0x75 81 #define XBEE_TX_DELIVERY_SOCKET_CREATION_FAIL 0x76 85 #define XBEE_TX_DELIVERY_CONNECTION_DNE 0x77 88 #define XBEE_TX_DELIVERY_INVALID_UDP_PORT 0x78 91 #define XBEE_TX_DELIVERY_INVALID_TCP_PORT 0x79 94 #define XBEE_TX_DELIVERY_INVALID_HOST_ADDR 0x7A 97 #define XBEE_TX_DELIVERY_INVALID_DATA_MODE 0x7B 100 #define XBEE_TX_DELIVERY_INVALID_INTERFACE 0x7C 103 #define XBEE_TX_DELIVERY_INTERFACE_BLOCKED 0x7D 106 #define XBEE_TX_DELIVERY_CONNECTION_REFUSED 0x80 109 #define XBEE_TX_DELIVERY_CONNECTION_LOST 0x81 112 #define XBEE_TX_DELIVERY_NO_SERVER 0x82 115 #define XBEE_TX_DELIVERY_SOCKET_CLOSED 0x83 118 #define XBEE_TX_DELIVERY_UNKNOWN_SERVER 0x84 121 #define XBEE_TX_DELIVERY_UNKNOWN_ERROR 0x85 124 #define XBEE_TX_DELIVERY_INVALID_TLS_CONFIG 0x86 127 #define XBEE_TX_DELIVERY_KEY_NOT_AUTHORIZED 0xBB 132 #define XBEE_TX_DELIVERY_STR_BUF_SIZE 40 141 #endif // __XBEE_DELIVERY_STATUS_H const char * xbee_tx_delivery_str(uint8_t status, char buffer[XBEE_TX_DELIVERY_STR_BUF_SIZE])
Get a description of an XBEE_TX_DELIVERY_xxx value (returned in xbee_frame_tx_status_t and xbee_frame...
Definition: xbee_delivery_status.c:27
#define XBEE_BEGIN_DECLS
Macro defined to.
Definition: platform.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
#define XBEE_TX_DELIVERY_STR_BUF_SIZE
Buffer size used for xbee_tx_delivery_str().
Definition: delivery_status.h:132