Connect To The Eliza Server - Digi XBee 3 Cellular LTE-M User Manual

Smart modem
Table of Contents

Advertisement

XBee connection examples

Connect to the ELIZA server

You can use the XBee to chat with the ELIZA Therapist Bot. ELIZA is an artificial intelligence (AI) bot
that emulates a therapist and can perform simple conversations.
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)
DL (Destination
Address)
DE (Destination
Port)
To communicate with the ELIZA Therapist Bot:
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. To switch to TCP communication, in the IP field, select 1 and click the Write button
6. To enter the destination address of the ELIZA Therapist Bot, in the DL field, type 52.43.121.77
and click the Write button.
7. To enter the destination IP port number, in the DE field, type 2328 and click the Write button.
8. Click the Consoles working mode button
device. For instructions on using the Console, see the
9. Click the Open button
10. Click in the left pane of the Console log, then type in the Console to talk to the ELIZA Therapist
Bot. The following screenshot provides an example of this chat with the user's text in blue.
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
Value
1
52.43.121.77
2328 (0x2328)
Connect the
Add a device to
XCTU.
to open a serial connection to the device.
Description
Set the expected
transmission mode to TCP
communications.
The target IP address of the
ELIZA server.
Note
require whitelisted IP
addresses. If this IP is not
whitelisted by your carrier
you will not be able to run this
example.
The target port number of
the ELIZA server.
hardware.
button.
on the toolbar to open a serial console to the
AT console
topic in the
Connect to the ELIZA server
Some carriers may
.
XCTU User
Guide.
30

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee 3 cellular nb-iot

Table of Contents