|
Digi XBee(R) ANSI C Host Library
|
This structure is used to keep track of outstanding local and remote AT requests. More...
#include "xbee/atcmd.h"
Data Fields | |
| uint8_t | sequence |
| Rolling identifier used to prevent use of stale request indicies. More... | |
| xbee_dev_t * | device |
| Device that sent this request – if we have a table for each XBee, this element isn't necessary. More... | |
| uint16_t | timeout |
| expire entry if XBEE_CHECK_TIMEOUT_SEC(timeout) is true | |
| uint16_t | flags |
| combination of XBEE_CMD_FLAG_* macros | |
| uint8_t | param [XBEE_CMD_MAX_PARAM_LENGTH] |
| bytes sent in the request or returned in the response | |
| uint8_t | param_length |
| number of bytes stored in .param[] | |
| xbee_cmd_callback_fn | callback |
| function to pass responses to | |
| void FAR * | context |
| context to pass to callback function | |
| uint8_t | frame_id |
| frame_id of last request sent | |
| wpan_address_t | address |
| address of target device (64-bit IEEE and 16-bit network) | |
| xbee_at_cmd_t | command |
| command to send | |
This structure is used to keep track of outstanding local and remote AT requests.
| xbee_dev_t* device |
Device that sent this request – if we have a table for each XBee, this element isn't necessary.
NULL if slot is empty.
| uint8_t sequence |
Rolling identifier used to prevent use of stale request indicies.
Handle is a combination of index and this sequence byte.
1.8.11