![Digi XGI-20CZ7-E00-W0 Скачать руководство пользователя страница 67](http://html1.mh-extra.com/html/digi/xgi-20cz7-e00-w0/xgi-20cz7-e00-w0_user-manual_2496341067.webp)
Program XBee Industrial Gateway using
Python
XBee Industrial Gateway Python application and Remote
Manager
Digi XBee Industrial Gateway
67
the whitespace should be considered as such and thus take the conservative approach of keeping it
significant and passing it on.
Request and reply examples
n
Request
This SCI request sends a serial data command with the text
Hello, World!
encoded in base64
to the XBee node of our network corresponding to the MAC address
00:11:22:33:44:55:65:77
.
Note
The request is using a dummy device ID and XBee MAC address. You will need to use your
own XBee Industrial Gateway device ID and XBee MAC address if you want to test this example.
<sci_request version="1.0">
<send_message>
<targets>
<device id="00000000-00000000-001122FF-FF334455"/>
</targets>
<rci_request version="1.1">
<do_command target="xbgw">
<send_serial addr="00:11:22:33:44:55:66:77"
encoding="base64"> SGVsbG8sIFdvcmxkIQ==
</send_serial>
</do_command>
</rci_request>
</send_message>
</sci_request>
Содержание XGI-20CZ7-E00-W0
Страница 1: ...Digi XBee Industrial Gateway User Guide...