EasyManuals Logo
Home>Digi>Modem>XBee3 XB3M1

Digi XBee3 XB3M1 User Manual

Digi XBee3 XB3M1
252 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #42 background imageLoading...
Page #42 background image
XBee connection examples Connect to the Echo server
Digi XBee3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
42
Connect to the Echo server
This server echoes back the messages you type.
You may use TCP or UDP, depending on the protocols supported by your network carrier.
Note For help with debugging, see Debugging.
The following table explains the AT commands that you use in this example.
At
command Value Description
IP (IP
Protocol)
1 TCP: Set the expected transmission mode to TCP communications.
0 UDP: Set the expected transmission mode to UDP communications.
TD
(Text
Delimiter)
D (0x0D)
The text delimiter to be used for Transparent mode, as an ASCII hex
code. No information is sent until this character is entered, unless the
maximum number of characters has been reached. Set to 0 to disable
text delimiter checking. Set to D for a carriage return.
DL
(Destination
Address)
52.43.121.77 The target IPaddress of the echo server.
Note Some carriers may require whitelisted IP addresses. If this IP is
not whitelisted by your carrier you will not be able to run this example.
DE
(Destination
Port)
0x2329 TCP: The target port number of the TCP echo server.
This port in decimal is 9001.
0x2711
UDP: The target port number of the UDP echo server.
This port in decimal is 10001.
To communicate with the Echo server:
1. Ensure that the device is set up correctly with the SIM card installed and the antennas
connected as described in Connect the hardware.
2. Open XCTU and Add a device.
3.
Click the Configuration working mode button.
4. Select a device from the Radio Modules list. XCTU displays the current firmware settings for
that device.
5.
To switch to TCP communication, in the IP field, select 1 and click the Write button .
6. To enable the XBee Smart Modem to recognize carriage return as a message delimiter, in the
TD field, type D and click the Write button.
7. To enter the destination address of the echo server, in the DL field, type 52.43.121.77 and click
the Write button.
8. To enter the destination IP port number, in the DE field, type 2329 and click the Write button.
Note XCTU does not follow the standard hexadecimal numbering convention. The leading 0x is
not needed in XCTU.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Digi XBee3 XB3M1 and is the answer not in the manual?

Digi XBee3 XB3M1 Specifications

General IconGeneral
BrandDigi
ModelXBee3 XB3M1
CategoryModem
LanguageEnglish

Related product manuals