Digi International Inc XB3C1 Manual Do Utilizador

Página de 146
Getting started with the XBee Smart Modem Development Kit
Get started with CoAP
Digi XBee3 Cellular LTE Cat 1 Smart Modem User Guide
42
6. Type the USB port number that the XBee Smart Modem is connected to and press Enter. Only
the port number is required, so if the port is COM19, type 19.
Note
If you do not know the port number, open XCTU and look at the XBee Smart Modem in the Radio
Modules list. This view provides the port number and baud rate, as in the figure below where the baud
rate is 9600 b/s.
7. Type the baud rate and press Enter. You must match the device's current baud rate.
XCTU provides the current baud rate in the BD Baud Rate field. In this example you would type
9600.
8. Press if you want an auto-generated example. Press Enter to build your own CoAP request.
9. If you press it generates a message with:
n
Method: POST
n
URI: example
n
payload: hello world
n
token: test
The send and receive message must match the same token and message id. Otherwise, the client re-
attempts the connection by sending out the request.
In the following figure, the payload contains the server response to the query. It shows the results for
when you press Enter rather than Y.