Home
last modified time | relevance | path

Searched refs:net_buf_simple_add_mem (Results 1 – 25 of 30) sorted by relevance

12

/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_models/client/
Dsensor_client.c133 net_buf_simple_add_mem(status->descriptor, buf->data, buf->len); in sensor_status()
152 net_buf_simple_add_mem(status->sensor_cadence_value, buf->data, buf->len); in sensor_status()
171 net_buf_simple_add_mem(status->sensor_setting_property_ids, buf->data, buf->len); in sensor_status()
194 net_buf_simple_add_mem(status->sensor_setting_raw, buf->data, buf->len); in sensor_status()
213 net_buf_simple_add_mem(status->marshalled_sensor_data, buf->data, buf->len); in sensor_status()
232 net_buf_simple_add_mem(status->sensor_column_value, buf->data, buf->len); in sensor_status()
251 net_buf_simple_add_mem(status->sensor_series_value, buf->data, buf->len); in sensor_status()
395net_buf_simple_add_mem(msg, act->status_trigger_delta_down->data, act->status_trigger_delta_down-… in sensor_act_state()
396net_buf_simple_add_mem(msg, act->status_trigger_delta_up->data, act->status_trigger_delta_up->len… in sensor_act_state()
398 net_buf_simple_add_mem(msg, act->fast_cadence_low->data, act->fast_cadence_low->len); in sensor_act_state()
[all …]
Dgeneric_client.c400 net_buf_simple_add_mem(status->user_property_ids, buf->data, buf->len); in generic_status()
422 net_buf_simple_add_mem(status->user_property_value, buf->data, buf->len); in generic_status()
441 net_buf_simple_add_mem(status->admin_property_ids, buf->data, buf->len); in generic_status()
463 net_buf_simple_add_mem(status->admin_property_value, buf->data, buf->len); in generic_status()
482 net_buf_simple_add_mem(status->manu_property_ids, buf->data, buf->len); in generic_status()
504 net_buf_simple_add_mem(status->manu_property_value, buf->data, buf->len); in generic_status()
523 net_buf_simple_add_mem(status->client_property_ids, buf->data, buf->len); in generic_status()
875 net_buf_simple_add_mem(msg, set->user_property_value->data, set->user_property_value->len); in gen_set_state()
885net_buf_simple_add_mem(msg, set->admin_property_value->data, set->admin_property_value->len); in gen_set_state()
Dtime_scene_client.c254 net_buf_simple_add_mem(status->scenes, buf->data, buf->len); in time_scene_status()
418 net_buf_simple_add_mem(msg, set->tai_seconds, 5); in time_scene_set_state()
429 net_buf_simple_add_mem(msg, set->tai_zone_change, 5); in time_scene_set_state()
436 net_buf_simple_add_mem(msg, set->tai_delta_change, 5); in time_scene_set_state()
475 net_buf_simple_add_mem(msg, set, offsetof(struct bt_mesh_scheduler_act_set, scene_number)); in time_scene_set_state()
Dlighting_client.c638 net_buf_simple_add_mem(status->light_lc_property_value, buf->data, buf->len); in light_status()
1019net_buf_simple_add_mem(msg, set->light_lc_property_value->data, set->light_lc_property_value->len); in light_set_state()
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/btc/
Dbtc_ble_mesh_sensor_model.c66net_buf_simple_add_mem(dst->sensor_client_get_state.get_state->column_get.raw_value_x, in btc_ble_mesh_sensor_client_arg_deep_copy()
79net_buf_simple_add_mem(dst->sensor_client_get_state.get_state->series_get.raw_value_x1, in btc_ble_mesh_sensor_client_arg_deep_copy()
90net_buf_simple_add_mem(dst->sensor_client_get_state.get_state->series_get.raw_value_x2, in btc_ble_mesh_sensor_client_arg_deep_copy()
121net_buf_simple_add_mem(dst->sensor_client_set_state.set_state->cadence_set.status_trigger_delta_do… in btc_ble_mesh_sensor_client_arg_deep_copy()
132net_buf_simple_add_mem(dst->sensor_client_set_state.set_state->cadence_set.status_trigger_delta_up, in btc_ble_mesh_sensor_client_arg_deep_copy()
143net_buf_simple_add_mem(dst->sensor_client_set_state.set_state->cadence_set.fast_cadence_low, in btc_ble_mesh_sensor_client_arg_deep_copy()
154net_buf_simple_add_mem(dst->sensor_client_set_state.set_state->cadence_set.fast_cadence_high, in btc_ble_mesh_sensor_client_arg_deep_copy()
167net_buf_simple_add_mem(dst->sensor_client_set_state.set_state->setting_set.sensor_setting_raw, in btc_ble_mesh_sensor_client_arg_deep_copy()
283 net_buf_simple_add_mem(p_dest_data->status_cb.descriptor_status.descriptor, in btc_ble_mesh_sensor_client_copy_req_data()
298net_buf_simple_add_mem(p_dest_data->status_cb.cadence_status.sensor_cadence_value, in btc_ble_mesh_sensor_client_copy_req_data()
[all …]
Dbtc_ble_mesh_generic_model.c86net_buf_simple_add_mem(dst->generic_client_set_state.set_state->user_property_set.property_value, in btc_ble_mesh_generic_client_arg_deep_copy()
99net_buf_simple_add_mem(dst->generic_client_set_state.set_state->admin_property_set.property_value, in btc_ble_mesh_generic_client_arg_deep_copy()
199net_buf_simple_add_mem(p_dest_data->status_cb.user_properties_status.property_ids, in btc_ble_mesh_generic_client_copy_req_data()
214net_buf_simple_add_mem(p_dest_data->status_cb.user_property_status.property_value, in btc_ble_mesh_generic_client_copy_req_data()
228net_buf_simple_add_mem(p_dest_data->status_cb.admin_properties_status.property_ids, in btc_ble_mesh_generic_client_copy_req_data()
243net_buf_simple_add_mem(p_dest_data->status_cb.admin_property_status.property_value, in btc_ble_mesh_generic_client_copy_req_data()
257net_buf_simple_add_mem(p_dest_data->status_cb.manufacturer_properties_status.property_ids, in btc_ble_mesh_generic_client_copy_req_data()
272net_buf_simple_add_mem(p_dest_data->status_cb.manufacturer_property_status.property_value, in btc_ble_mesh_generic_client_copy_req_data()
286net_buf_simple_add_mem(p_dest_data->status_cb.client_properties_status.property_ids, in btc_ble_mesh_generic_client_copy_req_data()
574 net_buf_simple_add_mem(p_dest_data->value.state_change.user_property_set.value, in btc_ble_mesh_generic_server_copy_req_data()
[all …]
Dbtc_ble_mesh_lighting_model.c156 net_buf_simple_add_mem(p_dest_data->status_cb.lc_property_status.property_value, in btc_ble_mesh_lighting_client_copy_req_data()
417net_buf_simple_add_mem(p_dest_data->value.state_change.lc_property_set.property_value, in btc_ble_mesh_lighting_server_copy_req_data()
433 net_buf_simple_add_mem(p_dest_data->value.set.lc_property.property_value, in btc_ble_mesh_lighting_server_copy_req_data()
448 net_buf_simple_add_mem(p_dest_data->value.status.sensor_status.data, in btc_ble_mesh_lighting_server_copy_req_data()
Dbtc_ble_mesh_config_model.c163 net_buf_simple_add_mem(p_dest_data->status_cb.comp_data_status.composition_data, in btc_ble_mesh_config_client_copy_req_data()
179 net_buf_simple_add_mem(p_dest_data->status_cb.model_sub_list.sub_addr, in btc_ble_mesh_config_client_copy_req_data()
193 net_buf_simple_add_mem(p_dest_data->status_cb.netkey_list.net_idx, in btc_ble_mesh_config_client_copy_req_data()
207 net_buf_simple_add_mem(p_dest_data->status_cb.appkey_list.app_idx, in btc_ble_mesh_config_client_copy_req_data()
223 net_buf_simple_add_mem(p_dest_data->status_cb.model_app_list.app_idx, in btc_ble_mesh_config_client_copy_req_data()
Dbtc_ble_mesh_health_model.c155 net_buf_simple_add_mem(p_dest_data->status_cb.current_status.fault_array, in btc_ble_mesh_health_client_copy_req_data()
171 net_buf_simple_add_mem(p_dest_data->status_cb.fault_status.fault_array, in btc_ble_mesh_health_client_copy_req_data()
Dbtc_ble_mesh_time_scene_model.c157 net_buf_simple_add_mem(p_dest_data->status_cb.scene_register_status.scenes, in btc_ble_mesh_time_scene_client_copy_req_data()
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_models/server/
Dsensor_server.c142net_buf_simple_add_mem(msg, state->sensor_data.raw_value->data, state->sensor_data.raw_value->len); in send_sensor_data_status()
171 net_buf_simple_add_mem(msg, state->sensor_data.raw_value->data, in send_sensor_data_status()
254 net_buf_simple_add_mem(msg, state->cadence->trigger_delta_down->data, in send_sensor_cadence_status()
257 net_buf_simple_add_mem(msg, state->cadence->trigger_delta_down->data, in send_sensor_cadence_status()
263 net_buf_simple_add_mem(msg, state->cadence->trigger_delta_up->data, in send_sensor_cadence_status()
266 net_buf_simple_add_mem(msg, state->cadence->trigger_delta_up->data, in send_sensor_cadence_status()
272 net_buf_simple_add_mem(msg, state->cadence->fast_cadence_low->data, in send_sensor_cadence_status()
276 net_buf_simple_add_mem(msg, state->cadence->fast_cadence_high->data, in send_sensor_cadence_status()
420 net_buf_simple_add_mem(msg, item->raw->data, item->raw->len); in send_sensor_setting_status()
489 net_buf_simple_add_mem(msg, state->series_column.raw_value_x->data, in send_sensor_column_status()
[all …]
Dtime_scene_server.c87 net_buf_simple_add_mem(msg, srv->state->time.tai_seconds, TAI_SECONDS_LEN); in send_time_status()
104 net_buf_simple_add_mem(msg, srv->state->time.tai_seconds, TAI_SECONDS_LEN); in send_time_status()
119 net_buf_simple_add_mem(msg, srv->state->time.tai_zone_change, TAI_OF_ZONE_CHANGE_LEN); in send_time_status()
124 net_buf_simple_add_mem(msg, srv->state->time.tai_zone_change, TAI_OF_ZONE_CHANGE_LEN); in send_time_status()
132 net_buf_simple_add_mem(msg, srv->state->time.tai_delta_change, TAI_OF_DELTA_CHANGE_LEN); in send_time_status()
137 net_buf_simple_add_mem(msg, srv->state->time.tai_delta_change, TAI_OF_DELTA_CHANGE_LEN); in send_time_status()
Dgeneric_server.c1610 net_buf_simple_add_mem(msg, property->val->data, property->val->len); in send_gen_user_prop_status()
1734 net_buf_simple_add_mem(property->val, buf->data, MIN(buf->len, property->val->size)); in gen_user_prop_set()
1809 net_buf_simple_add_mem(msg, property->val->data, property->val->len); in send_gen_admin_prop_status()
1921 net_buf_simple_add_mem(property->val, buf->data, MIN(buf->len, property->val->size)); in gen_admin_prop_set()
1995 net_buf_simple_add_mem(msg, property->val->data, property->val->len); in send_gen_manu_prop_status()
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_core/
Dcfg_cli.c268 net_buf_simple_add_mem(status.comp_data, buf->data, buf->len); in comp_data_status()
516 net_buf_simple_add_mem(list.addr, buf->data, buf->len); in mod_sub_list()
536 net_buf_simple_add_mem(list.net_idx, buf->data, buf->len); in net_key_list()
558 net_buf_simple_add_mem(list.app_idx, buf->data, buf->len); in app_key_list()
604 net_buf_simple_add_mem(list.app_idx, buf->data, buf->len); in mod_app_list()
786 net_buf_simple_add_mem(&msg, net_key, 16); in bt_mesh_cfg_net_key_add()
804 net_buf_simple_add_mem(&msg, app_key, 16); in bt_mesh_cfg_app_key_add()
880 net_buf_simple_add_mem(&msg, label, 16); in mod_sub_va()
1019 net_buf_simple_add_mem(&msg, label, 16); in bt_mesh_cfg_mod_pub_va_set()
1090 net_buf_simple_add_mem(&msg, net_key, 16); in bt_mesh_cfg_net_key_update()
[all …]
Dproxy_client.c281 net_buf_simple_add_mem(&server->buf, data + 1, len - 1); in proxy_recv()
293 net_buf_simple_add_mem(&server->buf, data + 1, len - 1); in proxy_recv()
308 net_buf_simple_add_mem(&server->buf, data + 1, len - 1); in proxy_recv()
323 net_buf_simple_add_mem(&server->buf, data + 1, len - 1); in proxy_recv()
771 net_buf_simple_add_mem(&msg, buf->data, buf->len); in bt_mesh_proxy_client_relay()
Dbeacon.c118 net_buf_simple_add_mem(buf, keys->net_id, 8); in bt_mesh_beacon_create()
123 net_buf_simple_add_mem(buf, sub->auth, 8); in bt_mesh_beacon_create()
Dhealth_cli.c170 net_buf_simple_add_mem(status.fault_array, buf->data, buf->len); in health_fault_status()
193 net_buf_simple_add_mem(status.fault_array, buf->data, buf->len); in health_current_status()
Dproxy_server.c523 net_buf_simple_add_mem(&client->buf, data + 1, len - 1); in proxy_recv()
535 net_buf_simple_add_mem(&client->buf, data + 1, len - 1); in proxy_recv()
550 net_buf_simple_add_mem(&client->buf, data + 1, len - 1); in proxy_recv()
565 net_buf_simple_add_mem(&client->buf, data + 1, len - 1); in proxy_recv()
989 net_buf_simple_add_mem(&msg, buf->data, buf->len); in bt_mesh_proxy_server_relay()
Daccess.c214 net_buf_simple_add_mem(sdu, pub->msg->data, pub->msg->len); in publish_retransmit()
900 net_buf_simple_add_mem(sdu, pub->msg->data, pub->msg->len); in bt_mesh_model_publish()
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_core/storage/
Dsettings_nvs.c496 net_buf_simple_add_mem(store, buf->data, buf->len); in settings_add_item()
498 net_buf_simple_add_mem(store, &val, sizeof(val)); in settings_add_item()
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_common/include/
Dmesh_buf.h219 void *net_buf_simple_add_mem(struct net_buf_simple *buf, const void *mem,
1090 #define net_buf_add_mem(buf, mem, len) net_buf_simple_add_mem(&(buf)->b, mem, len)
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/common_components/fast_provisioning/
Dble_mesh_fast_prov_server_model.c161 net_buf_simple_add_mem(msg, val, sizeof(val)); in example_fast_prov_server_recv_msg()
527 net_buf_simple_add_mem(msg, zero, 6); in example_handle_fast_prov_action_set_comp_evt()
Dble_mesh_fast_prov_operation.c472 net_buf_simple_add_mem(msg, set->match_val, set->match_len); in example_send_fast_prov_info_set()
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_common/
Dmesh_buf.c48 void *net_buf_simple_add_mem(struct net_buf_simple *buf, const void *mem, in net_buf_simple_add_mem() function
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/api/core/
Desp_ble_mesh_networking_api.c84 net_buf_simple_add_mem(model->pub->msg, data, length); in ble_mesh_model_send_msg()

12