|
Digi XBee(R) ANSI C Host Library
|
Structure used to pass AT Command responses to registered callback handlers. More...
#include "xbee/atcmd.h"
Data Fields | |
| xbee_dev_t * | device |
| Local XBee device that sent the local (or received the remote) response. More... | |
| void FAR * | context |
| Context registered with callback in call to xbee_cmd_set_callback(). More... | |
| int16_t | handle |
| The handle to the request that generated this response. More... | |
| xbee_at_cmd_t | command |
| The AT Command (e.g., VR, NI) sent in the request that generated this response. More... | |
| uint16_t | flags |
| Additional information about the response. More... | |
| uint_fast8_t | value_length |
| Number of bytes in .value_bytes or zero if there wasn't a value sent with the response. More... | |
| const uint8_t FAR * | value_bytes |
| The value sent with the response; contains .value_length bytes. More... | |
| uint32_t | value |
| The value sent with the response, if any, in host byte order. More... | |
| const wpan_address_t FAR * | source |
| Source of the response (NULL if a local AT command response) | |
Structure used to pass AT Command responses to registered callback handlers.
This is used for both local and remote command responses.
| xbee_at_cmd_t command |
The AT Command (e.g., VR, NI) sent in the request that generated this response.
Referenced by _xbee_cmd_handle_response(), and xbee_cmd_tick().
| void FAR* context |
Context registered with callback in call to xbee_cmd_set_callback().
This is usually a pointer to extra data needed by the callback.
Referenced by _xbee_cmd_handle_response(), and xbee_cmd_tick().
| xbee_dev_t* device |
Local XBee device that sent the local (or received the remote) response.
Referenced by _xbee_cmd_handle_response(), and xbee_cmd_tick().
| uint16_t flags |
Additional information about the response.
Perform a bitwise AND (&) with the following values:
Referenced by _xbee_cmd_handle_response(), and xbee_cmd_tick().
| int16_t handle |
The handle to the request that generated this response.
Useful if the callback needs to (optionally) modify the original request and then send it again.
Referenced by _xbee_cmd_handle_response(), and xbee_cmd_tick().
| uint32_t value |
The value sent with the response, if any, in host byte order.
Only set if .value_length is 4 bytes or less.
Referenced by _xbee_cmd_handle_response().
The value sent with the response; contains .value_length bytes.
Do not modify the data pointed to by .value_bytes, it may be sent to more than one callback.
Referenced by _xbee_cmd_handle_response().
| uint_fast8_t value_length |
Number of bytes in .value_bytes or zero if there wasn't a value sent with the response.
Referenced by _xbee_cmd_handle_response().
1.8.11