Jun 16, 2021
10:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 16, 2021
10:22 AM
Hello,
I am using the Cypress EZ-BT Mesh Evaluation Kit. The temperature sensor example and the sensor client example are used. I want to control the sensor from the mesh_sensor_client board. Actually, I am able to get the temperature by pushing the button. My aim is to change the period by pushing the button. I didn't find the function that changes the measurement period in the wiced_bt_mesh_models.h
Is there a fonction to fulfil my aim ? Or do I have to call specila fonction to generate the call of notify period set ?
Thank you.
I am using the Cypress EZ-BT Mesh Evaluation Kit. The temperature sensor example and the sensor client example are used. I want to control the sensor from the mesh_sensor_client board. Actually, I am able to get the temperature by pushing the button. My aim is to change the period by pushing the button. I didn't find the function that changes the measurement period in the wiced_bt_mesh_models.h
Is there a fonction to fulfil my aim ? Or do I have to call specila fonction to generate the call of notify period set ?
Thank you.
Solved! Go to Solution.
Labels
- Labels:
-
Wireless
- Tags:
- CYBT-213043-MESH-02
1 Solution
Jun 16, 2021
11:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 16, 2021
11:42 PM
Hi,
In case of sensor_temperature example, please check mesh_sensor_server_restart_timer(). It changes the periodic timer depending on the publication period, fast cadence divisor and minimum interval. It is getting called from mesh_sensor_server_config_change_handler() when WICED_BT_MESH_SENSOR_CADENCE_SET is recevied. Stack initiate this event based on the configuration changes set by the Sensor Client.
https://github.com/cypresssemiconductorco/mtb-example-btsdk-mesh-demo-sensor-temperature
Thanks,
-Dheeraj
6 Replies