Connect To A Tcp/Ip Address - Digi XB3-C-A2-UT series User Manual

Smart modem
Table of Contents

Advertisement

Getting started with the XBee Smart Modem Development Kit

Connect to a TCP/IP address

The XBee Smart Modem can send and receive TCP messages while in Transparent mode; see
Transparent operating
You can use this example as a template for sending and receiving data from a user. The following table
explains the AT commands that you use in this example.
Command
Value
IP (IP
1
Protocol)
DL
<Target
(Destination
IP address>
IP Address)
DE
<Target
(Destination
port number>
Port)
To connect to a TCP/IP address:
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
3. Click the Configuration working mode
4. Select a device from the Radio Modules list. XCTU displays the current firmware settings for
that device.
5. In the IP field, select 1 and click the Write button
6. In the DL field, type the <target IP address> and click the Write button. The target IP address
is the IP address that you send and receive from.
7. In the DE field, type the <target port number>, converted to hexadecimal, and click the Write
button.
8. Exit Command mode; see
After exiting Command mode, any UART data sent to the device is sent to the destination IP address
and port number after the
Digi XBee3 Cellular LTE-M Global Smart Modem User Guide
mode.
Description
Set the expected transmission mode to TCP communication.
The target IP address that you send and receive from. For example, a
data logging server's IP address that you want to send
measurements to.
The target port number that the device sends the transmission to.
This is represented as a hexadecimal value.
Connect the
hardware.
Add a
device.
Exit Command
mode.
RO (Packetization Timeout)

Connect to a TCP/IP address

button.
.
occurs.
26

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?

This manual is also suitable for:

Xbee3 cellular lte-m

Table of Contents