
Program XBee Industrial Gateway using
Python
XBee Industrial Gateway Python application and Remote
Manager
Digi XBee Industrial Gateway
71
9. Verify in XCTU that the serial console for the XBee node that you added received the data.
Depending on the operating mode (API or AT) of the XBee device, you will receive the data in
one of the following modes:
n
AT mode
: You will see the text
Hello, World!
in the console.
n
API mode
: You will receive a Receive Packet API frame with the Hello World! text (HEX
values of the ASCII characters) in the Received data field of the frame.
Store serial data in Remote Manager
As explained in
Receive serial data from Remote Manager
, when your XBee device is connected to a
microcontroller and you want to send serial data to it, you can do so through Remote Manager by
using the Web Services API and the send_serial command. The XBee Industrial Gateway Python
application stores serial data sent from the microcontroller to the XBee Industrial Gateway device and
from the XBee Industrial Gateway device to XBee Industrial Gateway running the XBee Industrial
Gateway Python application.
Store serial data in Remote Manager when you want to:
n
Track an event that happened in the microcontroller.
n
Track the measurements that are managed by the microcontroller.
n
Store commands or serial data generated by the microcontroller in Remote Manager.
End-user applications can retrieve the serial data from Remote Manager later to perform some tasks.
Whenever an XBee module on the network sends any kind of serial data to XBee Industrial Gateway,
the XBee Industrial Gateway Python application automatically processes the frame containing the
serial data and uploads it to Remote Manager, thereby generating a data stream. To learn more
about data streams, see the
Digi Remote Manager User Guide
and