SCI request error - "Name not registered" in Device Cloud

When you are using Python callback SCI request, you may receive an error like "Name not registered" in the response as shown below
        <do_command target="rci_callback_example">
          <error id="2">
            <desc>Name not registered</desc>
            <hint>rci_callback_example</hint>
          </error>
        </do_command>
This error appears when the target given in the SCI request is not running on the specified device.

For Ex - 
Request:
    <targets>
      <device id="00000000-00000000-xxxxxxFF-FFxxxxxx"/>
    </targets>
    <rci_request version="1.1">
      <do_command target="rci_callback_example">
        ping
      </do_command>
Response:
<do_command target="rci_callback_example">
          <error id="2">
            <desc>Name not registered</desc>
            <hint>rci_callback_example</hint>
          </error>
        </do_command>

In this example the target "rci_calback_example" should be running on the specified device.
For more details on RCI callback refer the following wiki link,   http://www.digi.com/wiki/developer/index.php/Module:rci
Last updated: Aug 08, 2017

Recently Viewed Articles

No recently viewed articles
Contact a Digi expert and get started today! Contact Us