![Digi XGI-20CZ7-E00-W0 Скачать руководство пользователя страница 68](http://html1.mh-extra.com/html/digi/xgi-20cz7-e00-w0/xgi-20cz7-e00-w0_user-manual_2496341068.webp)
Program XBee Industrial Gateway using
Python
XBee Industrial Gateway Python application and Remote
Manager
Digi XBee Industrial Gateway
68
n
Reply
If the SCI request succeeds, you will receive a SCI reply containing the send_serial command
response element. As it was successful, the response will be empty.
<sci_reply version="1.0">
<send_message>
<device id="00000000-00000000-001122FF-FF334455">
<rci_reply version="1.1">
<do_command target="xbgw">
<responses command="send_serial">
<response/>
</responses>
</do_command>
</rci_reply>
</device>
</send_message>
</sci_reply>
If the SCI request fails, you will receive an SCI reply containing the
send_serial
command
response
element that includes an error element indicating the cause of the error. For
example:
<sci_reply version="1.0">
<send_message>
<device id="00000000-00000000-001122FF-FF334455">
<rci_reply version="1.1">
<do_command target="xbgw">
<responses command="send_serial">
<response>
<error id="encoding">
<desc>Unrecognized encoding</desc>
<hint>basd64</hint>
</error>
</response>
</responses>
</do_command>
</rci_reply>
</device>
</send_message>
</sci_reply>
The
error
element contains an id attribute indicating the error identifier. For more information
regarding the possible XBee Industrial Gateway Python application error identifiers, see
Industrial Gateway Python application command errors
.
Содержание XGI-20CZ7-E00-W0
Страница 1: ...Digi XBee Industrial Gateway User Guide...