I currently have some Thingy:91 that I need to test in an area that has not got LTE-M, and my testing case until taking them to an area that has LTE-M, is to flash them so that each of them in the grid will send information that they have individually gathered using bluetooth, via zigbee, to a dedicated coordinator that is attached to an internet connected computer, which will then send all of the individual messges as received from each Thingy:91, to an event hub in the cloud.
Having, in each Thingy:91, created messages that are under 255 bytes long, how do I send these messages via Zigbee back to a common coordinator (which itself is a Thingy:91, but in this case, is connected to a computer via USB, which has internet access), so that in that coordinator, I can pass the messages as they come in from any of the zigbee devices, to a serial connection to the computer, so that they will be passed to a cloud-based event hub endpoint?
I am particularly interested in:
- The following, using the Zephyr RTOS to flash both the coordinator, and the end devices
- How each of the end devices register with the coordinator, doing so in such a fashion that other devices that are not mine, cannot join the zigbee mesh;
- How each of the end devices send their own messages to the coordinator;
- How the coordinator receives the messages from each of the end devices;
- How the coordinator would best send the messages to an event hub in the cloud (just a REST POST), via the coordinator's usb connection to a commputer that is connected to the internet.
- From within the coordinator, can the internet be url addressable, or does the coordinator have to send serial messages to the computer via uart, and a process in the computer then relay the information it receives, to the event hub at the cloud based event hub's url endpoint
Looking forwards to any tips!