![Digi XBee DigiMesh 2.4 Скачать руководство пользователя страница 115](http://html1.mh-extra.com/html/digi/xbee-digimesh-2-4/xbee-digimesh-2-4_user-manual_2496252115.webp)
Operate in API mode
API frames
XBee/XBee-PRO DigiMesh 2.4 RF Module User Guide
115
AT Command - Queue Parameter Value frame - 0x09
Description
This frame allows you to query or set device parameters. In contrast to the AT Command (0x08)
frame, this frame queues new parameter values and does not apply them until you issue either:
n
The
AT
Command (0x08) frame (for API type)
n
The
AC
command
When querying parameter values, the 0x09 frame behaves identically to the 0x08 frame. The device
returns register queries immediately and not does not queue them. The response for this command is
also an
AT
Command Response frame (0x88).
Format
The following table provides the contents of the frame. For details on frame structure, see
Frame data
fields
Offset Description
Frame type
3
0x09
Frame ID
4
Identifies the data frame for the host to correlate with a subsequent
ACK. If set to
0
, the device does not send a response.
AT command
5-6
Command name: two ASCII characters that identify the AT command.
Parameter value 7-n
If present, indicates the requested parameter value to set the given
register. If no characters are present, queries the register.
Example
The following example sends a command to change the baud rate (
BD
) to 115200 baud, but does not
apply the changes immediately. The device continues to operate at the previous baud rate until you
apply the changes.
Note
In this example, you could send the parameter as a zero-padded 2-byte or 4-byte value.
Frame data fields
Offset
Example
Start delimiter
0
0x7E
Length
MSB 1
0x00
LSB 2
0x05
Frame type
3
0x09
Frame ID
4
0x01
Содержание XBee DigiMesh 2.4
Страница 1: ...XBee XBee PRO DigiMesh 2 4 Radio Frequency RF Module User Guide...
Страница 63: ...Sleep modes Synchronization messages XBee XBee PRO DigiMesh 2 4 RF Module User Guide 63...
Страница 105: ...Operate in API mode API mode overview 106 API frames 110 XBee XBee PRO DigiMesh 2 4 RF Module User Guide 105...
Страница 112: ...Operate in API mode API frames XBee XBee PRO DigiMesh 2 4 RF Module User Guide 112...