Configure the XBee Wi-Fi RF Module using Digi Remote Manager
About the device request and frame ID
XBee Wi-Fi RF Module User Guide
94
About the device request and frame ID
The firmware uses two identifiers in these three frames to correlate the messages:
1. The device request ID identifies the device request
2. The frame ID identifies the device response
The host reads the Device Request frame (0xB9) ID when it is received on the serial port. If the device
request ID is non-zero, it generates a device response containing that same device request ID. A
mismatch causes an error. In addition to the Device Request frame (0xB9) ID, the Device Response
frame (0x2A) that the host generates contains a frame ID. A frame ID of 0 instructs the XBee device
not to send a Device Response Status frame (0xBA). A non-zero frame ID is a request for a Device
Response Status frame (0xBA), which includes the designated frame ID. Therefore, a Device Request
frame (0xB9) contains a device request ID, a Device Response frame (0x2A) contains a device request
ID and a frame ID, and a Device Response Status frame (0xBA) contains only a frame ID.
Populate and send a Device Request frame (0xB9)
1. In Remote Manager, click
Documentation
>
API Explorer
.
2. Click
Examples
>
SCI
>
Data Service
>
Send request
. A sample XML file that you can modify
appears as seen in the following code sample:
<sci_request version="1.0">
<data_service>
<targets>
<device id="00000000-00000000-00000000-00000000"/>
</targets>
<requests>
<device_request target_name="myTarget">
my payload string
</device_request>
</requests>
</data_service>
</sci_request>
3. Under
<targets>
type the MAC address of the XBee Wi-Fi RF Module in this format:
00000000-00000000-010203FF-FF040506
where 01 to 06 are the first through sixth bytes of the MAC address, respectively, and 00 and
FF are literally 00 and FF. In Remote Manager, you can find the device MAC address in this
format in the device’s
Home
field.