Configure The Device; Example: Manually Perform A Coap Request - Digi XB3-C-A2-UT series User Manual

Smart modem
Table of Contents

Advertisement

Getting started with the XBee Smart Modem Development Kit
The following table describes the fields in the GET request.
Field
HEX
Ver
44
T
TKL
Code
01
Message ID
C4 09
Token
74 65 73 74 4 Bytes equal
Option delta
B7
Option length
Option value
65 78 61 6D
70 6C 65

Configure the device

1. Ensure that the device is set up correctly with the SIM card installed and the antennas
connected as described in
2. Open XCTU and click the Configuration working mode
3. Add the XBee Smart Modem to XCTU; see
4. Select a device from the Radio Modules list. XCTU displays the current firmware settings for
that device.
5. To switch to UDP communication, in the IP field, select 0 and click the Write button
6. To set the target IP address that the XBee Smart Modem will talk to, in the DL field type
52.43.121.77and click the Write button
52.43.121.77.
7. To set the XBee Smart Modem to send data to port 5683 in decimal, in the DE field, type 1633
and click the Write button.
8. To move into Transparent mode, in the AP field, select 0 and click the Write button.
9. Wait for the AI (Association Indication) value to change to 0 (Connected to the Internet). You
can click Read
Example: manually perform a CoAP request
Follow the steps in
GET request:
Digi XBee3 Cellular LTE-M Global Smart Modem User Guide
Bits
01
00
0100
000 00001
2 Bytes equal
to hex at left
to hex at left
1011
0111
7 Bytes equal
to hex at left
Connect the
to get an update on the AI value.
Configure the device
prior to this example. This example performs the CoAP
Meaning
Version 01, which is mandatory here.
Type 0: confirmable.
Token length: 4.
Code: 0.01, which indicates the GET method.
Message ID. The response message will have the
same ID. This can help out identification.
Token. The response message will have the same
token. This can help out identification.
Delta option: 11 indicates the option data is Uri-Path.
Delta length: 7 indicates there are 7 bytes of data
following as a part of this delta option.
Example.
hardware.
button.
Add a
device.
. A CoAP server is publicly available at address
Get started with CoAP
.
40

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the XB3-C-A2-UT series and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Xbee3 cellular lte-m

Table of Contents