ZigBee Coordinator using NRF52840

Hai,

I'm using nrf52840 to develop a Zigbee coordinator.

I found some examples in NRF sdk and NRF connect sdk.

I have some doubts regarding that. (I'm new to ZigBee)

1. How many sub devices can add in nrf52840 as an coordinator? (I already read some questions, I found that maximum is 32 but 24 is tested. is it true I have another question)

2. How to increase a sub device count? (can we add external memory to increase devices?)

3. I have some sensors and switches, I tried to connect and read through ZigBee CLI commands program in nrf52840, I can read and write attributes. Instead of cli commands i want to without cli commands.  For example : If the device connected to coordinator (nrf52840) .it should automatically read and display name and type and device and then available clusters. Also i want to control from the coordinator. (Bulbs) Do u have any reference example like this?

Best regards 

Bosemani

  • As far as I know we don't have any samples using PIR sensors, so you need to look at how the light switch is set up, and apply the same logic to the PIR cluster.

    I suggest you start by looking at the zb_zcl_occupancy_sensing.h. I believe this is the cluster for PIR.

    Best regards,

    Edvin

  • Hello  

    I tried to integrate third party zigbee end devices.

    I successfully integrated Switched and bulbs. (On/Off Cluster)

    But I'm not able to integrate IAS cluster (Client) Devices like PIR sensor, Vibration sensor, Door sensor.

    I know there is no example for IAS Client.

    I'm not able to create without any reference, I'm struck on this place.

    Can you give some instructions how to create IAS Client?

    In integrate sensors with other Dongle and sniffed using NRF52840 dongle. I seen this steps are happen during integration.

    After End device joining the network. End device (IAS sensor) send a Enroll request. 

    Next Coordinator send a Enroll response with Zone ID.

    Next Coordinator read the IAS_CIE_Address. End device response IAS_CIE_Address as 000000.

    Next Coordinator write its 64 bit IEEE address at IAS_CIE_Address.

    After that End device sending Zone status change notification.

    How to implement this Coordinator part in NRF52840 using NRF5 SDK zigbee?

    Best Regards 

    Bosemani

  • Hello,

    I suggest you start by trying to interface the IAS server using the CLI example. Find the clusters, bind to them and subscribe to them. Once you are able to do so, you can start implementing the same in another example. Look at what API the CLI example is using for the different CLI commands, and use that in your implementation. 

    BR,

    Edvin

  • Hello  

    I tried using CLI example.

    After end device joining the network. It sending enroll request. 

    31 95.606  0x6592  ZigBee HA ZCL IAS Zone: Zone Enroll Request, Seq: 0

    But coordinator not responding anything.

    How can I respond to request?

    BR,

    Bose

  • Hello,

    Is the coordinator open for new connections at this point in time? If you are not sure, try resetting the coordinator before you start the device that tries to join. Also make sure that they are using the same channel. If you are using NCS, that would be a configuration in your prj.conf (CONFIG_ZIGBEE_CHANNEL), and if you are using the nRF5 SDK it would be a setting in the skd_config.h file.

    Best regards,

    Edvin

Related