This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Get temperature and heartbeat data after mesh provisioning

Hi dear Nordic engineers and enthusiasts,

I am currently testing and researching on the functionalities of Nordic Thingy 52 in Bluetooth Mesh. I have tested with the provided mesh provisioning demo:

https://github.com/NordicPlayground/thingy52-mesh-provisioning-demo

and it is indeed cool.

In the mesh demo, the client is able to send a message (button pressed), and then the server which subscribe will react eventually. It works well.

Now it comes to my question that is it possible for the servers (the lamps for instance, thingy in the case here) to send the pass the following messages on via (in) mesh network to a gateway (e.g. Raspberry Pi 3):

  • Message 1: their temperature data collected
  • Message 2: their heartbeat data, to tell how long their battery can still last

I had tried to understand the codes behind the mesh provisioning demo provided by Nordic. It seems that heartbeat.c publish heartbeat message, but I am still figuring the way to retrieve this message at the gateway. Besides, the temperature data should be able to be passed via the mesh network right?, beside the functionalities of button pressed, e.g. in the GPIOTE_IRQHandler.

I sincerely appreciate your time and effort looking into this concern. Thank you so much! I am looking ward to hearing from you.

Best regards,

Related