Setup Destination Address for Reporting

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setup Destination Address for Reporting

1,259 Views
nguyenanhgiau10
Contributor IV

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?

Labels (1)
  • JN

8 Replies

1,060 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Giau,

What do you mean "Note: we don't bind between Coordinator and Sensor?"?

Do you want the binding process?

ZigBee 3.0

Please look at the JN-AN-1220, you will find documentation that could help you with the finding and binding process.

Regards,

Mario

0 Kudos

1,060 Views
nguyenanhgiau10
Contributor IV

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

0 Kudos

1,060 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

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

0 Kudos

1,060 Views
nguyenanhgiau10
Contributor IV

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!

1,060 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Giau,

Please let me know if you have any further question.

Regards,

Mario

1,060 Views
nguyenanhgiau10
Contributor IV

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

0 Kudos

1,060 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

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.

pastedImage_1.png

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

1,060 Views
nguyenanhgiau10
Contributor IV

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

0 Kudos