Hi Ryan, hope you well!
I need to understand an important problem about checking (from my CC2652P module) wether the device (end device/router) is really joined on the ZigBee network or not.
Some months ago you suggested me to use the following function call:
"You could instead check the zstack_DevState (should be zstack_DevState_DEV_END_DEVICE or zstack_DevState_DEV_ROUTER)
or bdbAttributes.bdbNodeIsOnANetwork (should be TRUE)."
In effects this variable indicates me if the device is somehow been joined on the network, but not the device is really physically joined at the moment!
I’m sure about what I say because turning on a Device where NO coordinator (no router) is active (they are surely turned off) the variable is TRUE anyway
At the moment we got a simple turn around adding the following call: “sendActiveEndpointRequest(/*dest addr*/0,/*endpoint*/0);” that returns TRUE whan the Coordinator is reached.
Would this be fine, or do you suggest us a better way?
Many Thanks
Luigi