![Digi XGI-20CZ7-E00-W0 Скачать руководство пользователя страница 72](http://html1.mh-extra.com/html/digi/xgi-20cz7-e00-w0/xgi-20cz7-e00-w0_user-manual_2496341072.webp)
Program XBee Industrial Gateway using
Python
XBee Industrial Gateway Python application and Remote
Manager
Digi XBee Industrial Gateway
72
Using the Remote Manager Web Services API, you can retrieve the serial data values from Remote
Manager. End user applications can use the serial data for different purposes. For example:
n
Display a list of events
n
Perform a specific task
To learn more about the Remote Manager Web Services API, see the
.
By default, the serial data is stored in Remote Manager and encoded in base64 format. The reason
behind this is that white spaces are not correctly handled by Remote Manager at the moment. The
XBee Industrial Gateway Python application has a configuration file containing the settings of the
application. One of those settings is the encoding of the serial data prior to store it in Remote
Manager.
To change the setting to store the data in UTF-8 format:
1. Open /WEB/python/xbgw_settings.json in an editor.
2. Change
"encode serial": true
to
"encode serial": false
.
See
XBee Industrial Gateway Python application configuration file
for more information on the
configuration file.
Содержание XGI-20CZ7-E00-W0
Страница 1: ...Digi XBee Industrial Gateway User Guide...