Hello all.
I am a beginner for nRF BLE mesh as well as the Zephyr based nRF Connect and have a few queries.
I have been trying to send real time data of a sensor ovel BLE mesh. I have read the documentation regarding what delta threshold is as well as how it should work.
I have my nRF52840 Dongle set up with the Mesh Sensor Server Sample based code which just sends the sensor data to another nRF52DK using the client model. The sensor structure only contains the type of the sensor as well as the getter function. The sensor I am using is a single channel sensor as well since those are the only sensors which support this. Is there any way to integrate the bt_mesh_sensor_srv_sample()? Could this be done while still using periodic publishing?
I have configured the dongle node using nRF Mesh application and set the interval as required. I want to stop the node from sending the data after the interval period if the change in readings is not greater than threshold. How can I achieve this?
Could someone provide a sample code for doing so?
Thanks and regards,
Sumedh L.