Home
last modified time | relevance | path

Searched refs:sensor_status (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/client/
Dsensor_client.c100 static void sensor_status(struct bt_mesh_model *model, in sensor_status() function
342 { BLE_MESH_MODEL_OP_SENSOR_DESCRIPTOR_STATUS, 0, sensor_status },
343 { BLE_MESH_MODEL_OP_SENSOR_CADENCE_STATUS, 2, sensor_status },
344 { BLE_MESH_MODEL_OP_SENSOR_SETTINGS_STATUS, 2, sensor_status },
345 { BLE_MESH_MODEL_OP_SENSOR_SETTING_STATUS, 4, sensor_status },
346 { BLE_MESH_MODEL_OP_SENSOR_STATUS, 0, sensor_status },
347 { BLE_MESH_MODEL_OP_SENSOR_COLUMN_STATUS, 2, sensor_status },
348 { BLE_MESH_MODEL_OP_SENSOR_SERIES_STATUS, 2, sensor_status },
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/
Dbtc_ble_mesh_lighting_model.c433 if (p_src_data->value.status.sensor_status.data) { in btc_ble_mesh_lighting_server_copy_req_data()
434 length = p_src_data->value.status.sensor_status.data->len; in btc_ble_mesh_lighting_server_copy_req_data()
435 p_dest_data->value.status.sensor_status.data = bt_mesh_alloc_buf(length); in btc_ble_mesh_lighting_server_copy_req_data()
436 if (p_dest_data->value.status.sensor_status.data == NULL) { in btc_ble_mesh_lighting_server_copy_req_data()
440 net_buf_simple_add_mem(p_dest_data->value.status.sensor_status.data, in btc_ble_mesh_lighting_server_copy_req_data()
441 p_src_data->value.status.sensor_status.data->data, in btc_ble_mesh_lighting_server_copy_req_data()
442 p_src_data->value.status.sensor_status.data->len); in btc_ble_mesh_lighting_server_copy_req_data()
477 bt_mesh_free_buf(arg->value.status.sensor_status.data); in btc_ble_mesh_lighting_server_free_req_data()
Dbtc_ble_mesh_sensor_model.c326 if (p_src_data->status_cb.sensor_status.marshalled_sensor_data) { in btc_ble_mesh_sensor_client_copy_req_data()
327 length = p_src_data->status_cb.sensor_status.marshalled_sensor_data->len; in btc_ble_mesh_sensor_client_copy_req_data()
328 … p_dest_data->status_cb.sensor_status.marshalled_sensor_data = bt_mesh_alloc_buf(length); in btc_ble_mesh_sensor_client_copy_req_data()
329 if (!p_dest_data->status_cb.sensor_status.marshalled_sensor_data) { in btc_ble_mesh_sensor_client_copy_req_data()
333 … net_buf_simple_add_mem(p_dest_data->status_cb.sensor_status.marshalled_sensor_data, in btc_ble_mesh_sensor_client_copy_req_data()
334 … p_src_data->status_cb.sensor_status.marshalled_sensor_data->data, in btc_ble_mesh_sensor_client_copy_req_data()
335 … p_src_data->status_cb.sensor_status.marshalled_sensor_data->len); in btc_ble_mesh_sensor_client_copy_req_data()
414 bt_mesh_free_buf(arg->status_cb.sensor_status.marshalled_sensor_data); in btc_ble_mesh_sensor_client_free_req_data()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/include/
Dlighting_server.h359 } sensor_status; member
492 } sensor_status; member
/hal_espressif-latest/components/bt/esp_ble_mesh/api/models/include/
Desp_ble_mesh_sensor_model_api.h177 …esp_ble_mesh_sensor_status_cb_t sensor_status; /*!< For ESP_BLE_MESH_MODEL_OP_SEN… member
Desp_ble_mesh_lighting_model_api.h1392 …esp_ble_mesh_state_change_sensor_status_t sensor_status; /*!< Sensor St… member
1600 esp_ble_mesh_server_recv_sensor_status_t sensor_status; /*!< Sensor Status */ member
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/
Dlighting_server.c2551 .sensor_status.data = buf, in light_lc_sensor_status()
2568 change.sensor_status.property_id = prop_id; in light_lc_sensor_status()
2580 change.sensor_status.state.occupancy = srv->lc->state.occupancy; in light_lc_sensor_status()
2595 change.sensor_status.state.occupancy = srv->lc->state.occupancy; in light_lc_sensor_status()
2610 change.sensor_status.state.occupancy = srv->lc->state.occupancy; in light_lc_sensor_status()
2626 …change.sensor_status.state.set_occupancy_to_1_delay = srv->lc->prop_state.set_occupancy_to_1_delay; in light_lc_sensor_status()
2647 change.sensor_status.state.ambient_luxlevel = srv->lc->state.ambient_luxlevel; in light_lc_sensor_status()