Sending sensor series in bluetooth mesh

Hi all,

currently I am trying to send sensor series in bluetooth mesh. I set up the sensor observer (client) example and the sensor server example. I can get the sensor series values from the sensor server via the button on the sensor client. Now I would like to send unprompted sensor series values, but I don't know how. I could not find any example for that. I assume I have to use the bt_mesh_sensor_srv_pub as bt_mesh_sensor_srv_sample i only for single channel sensor values.

I am struggling on how to fill the value array  in bt_mesh_sensor_srv_pub. At the moment I don't care about the values in this field. So it could be an array of floats. 

Can anyone help?

Best,

Toni

Parents Reply Children
Related