Xbee Connection Examples; Connect To The Echo Server - Digi XBee 3 Cellular LTE-M User Manual

Smart modem
Table of Contents

Advertisement

XBee connection examples

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
IP (IP
Protocol)
TD (Text
Delimiter)
DL
(Destination
Address)
DE
(Destination
Port)
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
Value
1
0
D (0x0D)
52.43.121.77
2329 (0x2329)
2711 (0x2711)
Connect to the Echo server
Description
TCP: Set the expected
transmission mode to
TCP communications.
UDP: Set the expected
transmission mode to
UDP communications.
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.
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.
TCP: The target port
number of the TCP echo
server.
This port in decimal is
9001.
UDP: The target port
number of the UDP echo
server.
This port in decimal is
10001.
28

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee 3 cellular nb-iot

Table of Contents