Home/Support/Support Forum/How to set remote XBee parameters from a local XBee using set_parameter?Help needed!!

How to set remote XBee parameters from a local XBee using set_parameter?Help needed!!

0 votes
Hi,
I would like to set different parameters on my remote Xbee device using the set_parameter API in python. I am following the examples in the python sdk and in it in the SetAndGetParameterSample.py example, the local Xbee parameters are set.
Now what I try is as follows:

REMOTE_NODE_Id="REMOTE"
device=XBeeDevice(PORT,BAUDRATE) #Local XBee
device.open()
xbee_network=device.get_network()
remote_device=xbee_network.discover(REMOTE_NODE_ID)
remote_device.set_parameter("DH",utils.hex_string_to_bytes("0000"))
remote_device.set_parameter("DL",utils.hex_string_to_bytes("FFFF"))

But this does'nt seem to work. So how should I be setting the remote XBee parameters? In the python documentation provided by Xbee it says that the set and get parameter can be used with local and remote Xbee devices.
Anyone who could point me in the right direction? The devices are S1 Xbee. Pls respond!!
Thanks in advance!
asked Jun 26, 2018 in IEEE 802.15.4 by varun New to the Community (0 points)

Please log in or register to answer this question.

...