Customer Stories
Blog
How to Buy
Contact Us
About Digi
Leadership
Locations
Awards
Export Policy
Environment
Careers
Investor Relations
Partners
IoT Products and Services
Embedded Systems
Digi XBee Ecosystem
RF Modules
Cellular Modems
Intelligent Edge Controller
Gateways
Tools
Digi ConnectCore
System-on-Modules
Single Board Computers
Cloud Services
Security Services
IoT Development Kits
Networking Systems
Cellular Routers
Enterprise Routers
Industrial Routers
Transportation Routers
Gateways
Infrastructure Management
Industrial Automation
USB Connectivity
Serial Connectivity
Console Servers
IoT Software and Services
Digi Remote Manager
Digi WAN Bonding
Digi Containers
Professional Services
Managed Connectivity Services
Implementation Services
Application Development
Wireless Design Services
TrustFence Security Framework
Featured
5G
LoRaWAN
FirstNet
Private LTE/CBRS
Zigbee
USB Over IP/AnywhereUSB
XCTU
Digi TrustFence
/
Built-in security framework for the IoT
SmartSense
Solutions
Solutions by Application
Mobile Networks for Public Safety and Emergency Services
Asset and Inventory Monitoring
Environmental Monitoring
Digital Signage
Remote Worker
Green Technology
Traffic Management
Public Transit
Logistics
Positive Train Control (PTC)
Contact Tracing
More Applications
Solutions by Technology
Go-To 5G Connectivity
Digi ConnectCore Voice Control
LoRaWAN
Cellular Failover
Fixed Wireless Access
Edge Computing
FirstNet
Private LTE Based on CBRS
SD-WAN
Out-of-Band Management
Zigbee Wireless Mesh Networking
More Technologies
Solutions by Industry
Energy
Smart Cities
Medical
Industrial
Retail
Transportation
Education
Resources
Resource Library
White Papers
Datasheets
Solution Briefs
Technical Briefs
Videos
Examples and Guides
Project Gallery
Security Center
Certifications
More Resources
Recent News
Press Releases
News Coverage
Events
Webinars
Support
Support Resources
Get the latest product updates, downloads and patches.
Drivers
Firmware
Documentation
Software
Browse by Product
Support Services
Get the help you need to keep your Digi solutions running smoothly.
Expert Support
Connectivity Services
Professional Services
Wireless Design Services
View Support Plans
Customer Portal Login
Knowledge Base Articles
Security Center
Support Forum
Return Authorization (RA) Policy
Warranty Registration
Digi Support Policy
Search
Home
/
Resources
/
Examples & Guides
/
Communicate with Therapist Bot Using Digi XBee Cellular and XCTU
Communicate with Therapist Bot Using Digi XBee Cellular and XCTU
Share
Share
Tweet
Table of Contents
Introduction
Assemble the Parts
Communicate with ELIZA
Your First Counselling Session
Accessing Other Servers
1) Introduction
XCTU
is a free multi-platform application designed to enable developers to interact with Digi RF modules through a simple-to-use graphical interface. By using XCTU and the Digi XBee cellular, you can connect to many servers such as the ELIZA Therapist Bot, Echo, and Daytime. In XCTU you can directly communicate with radio modules using the AT console. All the data you send through the serial interface is queued for transmission by the module, and all the data received by the module is sent through the serial interface. To communicate between devices in the console, you can use the AT Console Log which displays all sent (blue) and received (red) data characters. Using the Digi Xbee Cellular Modem and XCTU, you can chat with the ELIZA Therapist Bot. ELIZA is an artificial intelligence (AI) bot that emulates a therapist and can perform simple conversations. Every conversation with ELIZA can be viewed through the XCTU Console Log. In this example, we will provide step by step instructions on how to connect to the ELIZA server.
2) Assemble the Parts
Digi XBee Cellular Development Kit
XCTU
3) Communicate with ELIZA
Follow the instructions below to connect your XBee Cellular module with the ELIZA server.
Note:
The following instructions assume that you have downloaded XCTU and your XBee Cellular device is setup correctly. To download XCTU click
here
. For instructions on setting up your XBee Cellular device click
here
.
Open XCTU and click the
Configuration Working Mode
Select a device from the
Radio Modules
list. XCTU displays the current firmware settings for that device.
On the configuration toolbar, click the
Default
button to load the default values established by the firmware, and click
Yes
to confirm.
Factory settings are loaded but not written to the device. To write them, click the
Write
button on the toolbar.
To switch to TCP communication, in the
IP
field, select 1 and click the
Write
button.
To enter the destination address of the ELIZA Therapist Bot, in the
DL
field, type
52.43.121.77
and click the
Write
button.
To enter the destination
IP
port number, in the
DE
field, type
2328
and click the
Write
button.
Click the
Consoles Working Mode
button on the toolbar to open a serial console to the device. For instructions on using the console click
here
.
Click the
Open
button to open a serial connection to the device.
4) Your First Counselling Session
You’re all ready to talk to Eliza! Type in the left pane of the
Console Log
and Eliza will quickly send a response. See the example conversation below.
The right-hand side of the window shows the corresponding hexadecimal values for all sent and received messages. To hide this pane, click the
Hide Hexadecimal View
button.
5) Accessing Other Servers
To learn more about connecting to servers using XCTU and Digi XBee Cellular click
here
.
Tags:
XCTU