Home  >  Support  >  Support Forum  >  Change xbee network state RCI
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Change xbee network state RCI

0 votes
Hey. Can anyone tell me how could I change a xbee network state from a RCI command.

I already know how to change settings parameters by the set_setting command, but I can't change others network configurations, such as net_addr, parent_addr, etc.

Is it possible or I'm wrong?

Best regards,

Morbach
asked Nov 8, 2013 in Python by rmorbach New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
These links from our Digi Python mediawiki should be useful to you:

http://www.digi.com/wiki/developer/index.php/RCI_Descriptor
http://www.digi.com/wiki/developer/index.php/RCI_Request
http://www.digi.com/wiki/developer/index.php/RCI_do_command
answered Nov 12, 2013 by michaelt Veteran of the Digi Community (721 points)
Michaelt, thanks for the reply.
 I read the documentation available in RCI Specification, and there is a part that mention about send AT commands to Xbee devices. The commands should be sent with <do_command target='zigbee'> and subcommand <radio_command> followed by the AT command. But I've been received the response "Unknow subcommand hint radio_command". I'm using a Connectport X2 and I'm sending the requests with cURL. All others requests in the documentation worked quite well, only this one didn't.

Any idea?

Best regards!
Could you please post the example you sent?  A command response saying "hint" might be an indicator that your formatting is wrong or something, but it sounds like you're close.
Hey michaelt. This's an example that I sent to my xbee radio.

<rci_request version="1.1">
                        <do_command target="zigbee">
                        <radio_command id="DH" addr="00:13:a2:00:40:ac:6a:af!">                          
                        </radio_command>
                        </do_command>
                    </rci_request>

In this case I want to get the Destination high address. But I caught the same reply.
<rci_reply version="1.1"><do_command target="zigbee"><warning id="1"><hint>radio_command</hint><desc>Unknown subcommand</desc></warning></do_command></rci_reply>.

As I mentioned, I'm sending this request  through cURL.

Any Idea?

Thanks again.
Give this a try:

<rci_request version="1.1">
  <do_command target="zigbee">
    <radio_command id="DH" addr="00:13:a2:00:40:ac:6a:af!" />
  </do_command>
</rci_request>
Contact a Digi expert and get started today! CONTACT US
...