I'm using Digi GW CP4 with DigiMesh ZB Module to control some nodes and get some readings.
First, i want to add some api's in the xbee.py
file but i cant access it in anywhere --ESP or over the internet (what i found is a debug or simulation form
if any one could help me getting it and how to edit it on the CP4?
Second, I uses some remote commands to see my connectivity but there are many problems faced me:
I want trace the route but i tried every thing but couldn't get to any thing useful
Here are some options i used:
xbee.MESH_TRACEBACK = True
xbee.debug_callback = True
also used sending options = 0x02
Router_Mac = ('[00:13:a2:00:xx:xx:xx:xx]!', 0xe8, 0, 0, 0x02, 0x42)
Last thing i want to make neighbor discovery by remote commands form the CP4 as:
neigh_list = xbee.ddo_command(Router_Mac, 'FN', "", 25, order=False, apply=True)
but it only recover the first neighbor address and the it ends and continue the main loop, it drops the remaining address not as
, i even could not monitor the serial socket RX to get the nodes and read its data (as receive it as a serial raw data and then decode it).
So if anyone help me get solutions for these issues i will be very thankful.
Thanks In Advance,