Home/Support/Support Forum/Change xbee network state RCI
New and improved user forum site going live on 12/6 (All users will need to reset their password when the new forum is active)
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,

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:

answered Nov 12, 2013 by michaelt Veteran of the Digi Community (772 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!">                          

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!" />