Dear DevZone Team,
I am an absolute beginner in the field of mesh networking and hope you could help me getting started. Please bear with me.
I have a bunch of sensors (200-300) which supplies the nrf52840 with temperature and voltage levels over spi using the nrf52840-DK. I use the supplied spi driver of the SDK 15.2 for this.
I would like to establish a mesh network of theses sensors so that the coordinator (in Zigbee terms) can poll each sensor and receive the values in a timely manner.
My first approach was to use the Zigbee library and the light switch example. I got the coordinator running but struggle to establish a list of all devices in the network so that I can poll each one afterwards. I used the signal ZB_ZDO_SIGNAL_DEVICE_ANNCE in the zboss_signal_handler() to get the device ID that just joined the network (I use the zigbee cli example as routers for testing) but all devices report the same address.
Setting up the routers, which should do the sensing, causes also difficulties. My understanding is that I need to set up the zb_zcl_el_measurement and zb_zcl_temp_measurement cluster libraries, am I right? With all the defines and attributes setting these up is quite difficult for me. If you can point me to some detailed documentation or examples I would be very thankful.
As this is a proprietary application and we do not need to be compatible with other Zigbee devices I wonder if there is a simpler approach to send the data over the mesh network. Maybe Thread or ESB would be an alternative?
The goal is to establish a mesh network, poll each router for voltage and temperature from a gateway, which sends the data to a terminal via uart.
Which protocol would you advise?
Thank you very much in advance for your help.
Best regards
Marco