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

Parents
  • Hello Bosemani,

    Yes. We have the nRF5 SDK and the nRF Connect SDK. Long story short, the nRF Connect SDK is the current SDK, and the nRF5 SDK is currently in maintenance mode. Meaning no further development will be done to the nRF5 SDK.

    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)

    Where did you find this? It may be correct, but it could also be that you found the number of supported routers in the network. If that is the case, each of these routers can have several children. But since you are looking at a Zigbee Coordinator, you may be correct. Perhaps it will be clearer if you can point to where you found this.

    2. Same as 1).

    3: Perhaps you want to look into the NCS\nrf\samples\zigbee\light_switch sample. To make a generic Zigbee coordinator that supports all devices is not trivial. Remember that these typically run on larger devices with a screen and an input (usually some website or mobile app, such as the Amazon Echo device + mobile app) where you can add, remove, display devices and interface them. If you want this on an nRF, you need to keep track of what devices that joined. Then I suggest that you look at the implementation of the CLI example. What API that is being used when you use the CLI commands. You can either use the nRF5 SDK -> CLI example, or you can look into the "shell" sample found in NCS\nrf\samples\zigbee\shell, which does more or less the same. Then you need to look at the implementation to see what API that is being used when you discover what endpoints the devices have, what it does when you bind them and subscribe to them.

    At least for starting, this is something to look into. Then you can let us know if anything is unclear or if you are stuck on something.

    Best of luck, and best regards,

    Edvin

Reply
  • Hello Bosemani,

    Yes. We have the nRF5 SDK and the nRF Connect SDK. Long story short, the nRF Connect SDK is the current SDK, and the nRF5 SDK is currently in maintenance mode. Meaning no further development will be done to the nRF5 SDK.

    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)

    Where did you find this? It may be correct, but it could also be that you found the number of supported routers in the network. If that is the case, each of these routers can have several children. But since you are looking at a Zigbee Coordinator, you may be correct. Perhaps it will be clearer if you can point to where you found this.

    2. Same as 1).

    3: Perhaps you want to look into the NCS\nrf\samples\zigbee\light_switch sample. To make a generic Zigbee coordinator that supports all devices is not trivial. Remember that these typically run on larger devices with a screen and an input (usually some website or mobile app, such as the Amazon Echo device + mobile app) where you can add, remove, display devices and interface them. If you want this on an nRF, you need to keep track of what devices that joined. Then I suggest that you look at the implementation of the CLI example. What API that is being used when you use the CLI commands. You can either use the nRF5 SDK -> CLI example, or you can look into the "shell" sample found in NCS\nrf\samples\zigbee\shell, which does more or less the same. Then you need to look at the implementation to see what API that is being used when you discover what endpoints the devices have, what it does when you bind them and subscribe to them.

    At least for starting, this is something to look into. Then you can let us know if anything is unclear or if you are stuck on something.

    Best of luck, and best regards,

    Edvin

Children
No Data
Related