Digi XBee(R) ANSI C Host Library
|
Data Fields | |
uint8_t | type |
uint8_t | create_frame_id |
used to match Create Response frame | |
uint8_t | tx_frame_id |
used to match TX Status frame | |
uint8_t | socket_id |
uint8_t | protocol |
xbee_dev_t * | xbee |
device hosting the socket | |
xbee_sock_notify_fn | notify_handler |
Callback for Create, Connect, Listen, Close, State, & TX Status responses. | |
xbee_sock_option_resp_fn | option_handler |
Callback for most recent Get/Set Option request. | |
union { | |
xbee_sock_receive_fn receive | |
for TYPE_CONNECT | |
xbee_sock_receive_from_fn receive_from | |
for TYPE_BIND | |
xbee_sock_ipv4_client_fn ipv4_client | |
for TYPE_LISTEN | |
} | handler |
Callbacks based on the socket type. | |