Digi XBee(R) ANSI C Host Library
|
Header for Simplified XBee API TCP sockets over ZigBee. More...
#include "xbee/sxa.h"
Go to the source code of this file.
Data Structures | |
struct | _sxa_sock_hdr_t |
Macros | |
#define | SXA_SOCKET_MTU 104 |
Network interface Maximum Transmission Unit, as seen by TCP stack. More... | |
#define | SXA_INDEX_TO_IP(index) IPADDR(127,1,0,index) |
Macro to generate the appropriate "loopback" IP address, i.e. More... | |
#define | SXA_STREAM_PORT UINT16_C(61616) |
Macro to use for first and last valid TCP port numbers, for both source port and destination port. More... | |
#define | SXA_MAX_STREAM_PORT UINT16_C(61616+255) |
#define | WPAN_ENDPOINT_DIGI_STREAM 0x66 |
Provisional endpoint for reliable stream. | |
#define | _SXA_SOCK_SYN 0x8000 |
#define | _SXA_SOCK_FIN 0x4000 |
#define | _SXA_SOCK_ACK 0x2000 |
#define | _SXA_SOCK_RST 0x1000 |
#define | _SXA_SOCK_FLAG_MASK 0xF000 |
#define | _SXA_SOCK_WIN_MASK 0x0FFF |
#define | _SXA_SOCK_WIN_RANGE 0x0800 |
#define | _SXA_SOCK_WIN_COUNT 0x07FF |
#define | _SXA_WIN_LOW_RANGE_SHIFT 1 |
#define | _SXA_WIN_HIGH_RANGE_SHIFT 4 |
#define | SXA_SOCKET_ENDPOINT |
Place this entry in endpoint table to enable SXA sockets. More... | |
Functions | |
int | _sxa_socket_tx_handler (struct LoopbackHandler __far *lh, ll_Gather *g) |
int | _sxa_socket_rx_handler (const wpan_envelope_t FAR *envelope, wpan_ep_state_t FAR *ep_state) |
int | sxa_socket_init (void) |
Header for Simplified XBee API TCP sockets over ZigBee.