Hi All,
Currently, I developing End Device Sensor JN5169. I want it to report to coordinator.
How do I send report to coordinator from Sensor?
Where do I set destination address for reporting?
Note: we don't binding between Coordinator and Sensor?
Hi Giau,
What do you mean "Note: we don't bind between Coordinator and Sensor?"?
Do you want the binding process?
Please look at the JN-AN-1220, you will find documentation that could help you with the finding and binding process.
Regards,
Mario
Hi Mario,
I got it. I found it in zcl_reportingScheduler.c, we need to modify something to device auto reporting to coordinator without binding.
Thanks
Hi Giau,
You could set a timer or after wake up from the device send some data.
Please look at the https://community.nxp.com/message/1012968
Please let me know if you have any question.
Regards,
Mario
HI Mario,
If you used to use Xiaomi ZigBee devices, you will find that all end device report to coordinator without binding.
I just want to do like that. I found my problem in zcl_reportingScheduler.c.
In this function, ZCL will check cluster bound for reporting.
Anyway, thanks a lot!
Hi Giau,
Please let me know if you have any further question.
Regards,
Mario
Hi Mario,
I facing a problem. When a device join into a network, How do I recognize what it is (Switch/Light/Sensor/etc)?
For router, it is easy. But for End device, it always sleep, I can not read its decriptor?
Regrads,
Giau
Hi Giau,
You could send a node descriptor request. You will know if this is a router or end device and how the device is powered.
Then you could send an active endpoints request and an endpoint simple request. You could compare the clusters that you have.
The JN-AN-1229 Example provides a Sleeping End Device, it wakes up and calls ZPS_eAplZdoPoll().
This function can be used by an End Device to poll its parent for pending data.
Regards,
Mario
Hi Mario,
I developing LightSensor and I want it to report periodically to coordinator after it join a network without binding. How do I set destination address of reporting?
Regrads,
Giau