Digi XLR PRO User Manual page 120

Radio frequency (rf) module
Hide thumbs Also See for XLR PRO:
Table of Contents

Advertisement

Advanced application features
7E 0007 8B 01 FFFE 00 00 00 76
7E 001A 91 0013A200407402AC FFFE E6 E6 0023 C105 C1 82 00 0016 0000 0000 4C
READ (0x04)
You can use the READ command to read the specified number of bytes from the GPM location
specified. Data can be queried from only one GPM block per command.
Field name
GPM_CMD_ID
GPM_OPTIONS
GPM_BLOCK_NUM
GPM_START_INDEX
GPM_NUM_BYTES
GPM_DATA
READ_RESPONSE (0x84)
When a READ command request has been unicast to a node, that node sends a response in the
following format to the source endpoint specified in the requesting frame.
Field name
GPM_CMD_ID
GPM_STATUS
GPM_BLOCK_NUM
GPM_START_INDEX
GPM_NUM_BYTES
GPM_DATA
Example
To read 15 bytes of previously written data from flash block 22 of a target radio with serial number of
0x0013a200407402ac a READ packet should be formatted as follows (spaces added to delineate
fields):
7E 001C 11 01 0013A200407402AC FFFE E6 E6 0023 C105 00 C0 04 00 0016 0000 000F 3B
XLR PRO Radio Frequency (RF) Module User Guide
Command-specific description
Should be set to READ (0x04).
There are currently no options defined for this command. Set this
field to 0.
Set to the index of the GPM block that should be read.
Set to the byte index within the GPM block where the given data
should be read.
Set to the number of data bytes to be read. Only one GPM block can
be operated on per command. For this reason, GPM_START_INDEX +
GPM_NUM_BYTES cannot be greater than the GPM block size. The
number of bytes sent in an explicit API frame (including the GPM
command fields) cannot exceed the maximum payload size of the
device. You can query the maximum payload size with the NP AT
command.
No data bytes should be specified for this command.
Command-specific description
Should be set to READ_RESPONSE (0x84).
A 1 in the least significant bit indicates an error occurred. All other
bits are reserved at this time.
Matches the parameter passed in the request frame.
Matches the parameter passed in the request frame.
The number of bytes in the GPM_DATA field.
The bytes read from the GPM block specified.
General Purpose Flash Memory
120

Advertisement

Table of Contents
loading

Table of Contents