Pointer to the unique struct esp_ble_mesh_model_pub_t.
srv_data
Pointer to the unique struct esp_ble_mesh_sensor_srv_t.
Return value
New Sensor Server Model instance.
Notes
1. The Sensor Server model is a root model. When this model is present on an element, the corresponding Sensor Setup Server model shall also be present. 2. This model shall support model publication and model subscription.
Examples
ESP_BLE_MESH_MODEL_SENSOR_SRV is referenced by 1 libraries and example projects: