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

Sensor (client/server) models

I need to read data from sensor and publish it to the mesh network. So the question is do I need to create Sensor model for that or, as in one of your replies, you suggested to simply use access_model_publish() method to publish the data via status message for that purpose.

Will there be an official implementation from Nordic of the sensor models as described in the mesh model specification?

It would be nice if you let me know what examples can be useful for that purpose.

Parents
  • Hi au,

     

    Like Bjorn mentioned, you can still use the light switch example as template model and use it for sending your sensor data. Like Bjorn suggested, when you get your sensor data you can do a publish so that the client gets the data. You need to handle this differently in the client (compared to the how light switch client has handled it).

    Yes, we have the sensor model implementation in roadmap and will be supported soon in the future Mesh SDK(s)

Reply
  • Hi au,

     

    Like Bjorn mentioned, you can still use the light switch example as template model and use it for sending your sensor data. Like Bjorn suggested, when you get your sensor data you can do a publish so that the client gets the data. You need to handle this differently in the client (compared to the how light switch client has handled it).

    Yes, we have the sensor model implementation in roadmap and will be supported soon in the future Mesh SDK(s)

Children
Related