Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bt/esp_ble_mesh/btc/
Dbtc_ble_mesh_sensor_model.c53 … dst->sensor_client_get_state.get_state->column_get.raw_value_x = bt_mesh_alloc_buf(length); in btc_ble_mesh_sensor_client_arg_deep_copy()
66 … dst->sensor_client_get_state.get_state->series_get.raw_value_x1 = bt_mesh_alloc_buf(length); in btc_ble_mesh_sensor_client_arg_deep_copy()
77 … dst->sensor_client_get_state.get_state->series_get.raw_value_x2 = bt_mesh_alloc_buf(length); in btc_ble_mesh_sensor_client_arg_deep_copy()
108 …nsor_client_set_state.set_state->cadence_set.status_trigger_delta_down = bt_mesh_alloc_buf(length); in btc_ble_mesh_sensor_client_arg_deep_copy()
119 …sensor_client_set_state.set_state->cadence_set.status_trigger_delta_up = bt_mesh_alloc_buf(length); in btc_ble_mesh_sensor_client_arg_deep_copy()
130 … dst->sensor_client_set_state.set_state->cadence_set.fast_cadence_low = bt_mesh_alloc_buf(length); in btc_ble_mesh_sensor_client_arg_deep_copy()
141 … dst->sensor_client_set_state.set_state->cadence_set.fast_cadence_high = bt_mesh_alloc_buf(length); in btc_ble_mesh_sensor_client_arg_deep_copy()
154 …dst->sensor_client_set_state.set_state->setting_set.sensor_setting_raw = bt_mesh_alloc_buf(length); in btc_ble_mesh_sensor_client_arg_deep_copy()
270 p_dest_data->status_cb.descriptor_status.descriptor = bt_mesh_alloc_buf(length); in btc_ble_mesh_sensor_client_copy_req_data()
285 … p_dest_data->status_cb.cadence_status.sensor_cadence_value = bt_mesh_alloc_buf(length); in btc_ble_mesh_sensor_client_copy_req_data()
[all …]
Dbtc_ble_mesh_generic_model.c73 …->generic_client_set_state.set_state->user_property_set.property_value = bt_mesh_alloc_buf(length); in btc_ble_mesh_generic_client_arg_deep_copy()
86 …>generic_client_set_state.set_state->admin_property_set.property_value = bt_mesh_alloc_buf(length); in btc_ble_mesh_generic_client_arg_deep_copy()
186 … p_dest_data->status_cb.user_properties_status.property_ids = bt_mesh_alloc_buf(length); in btc_ble_mesh_generic_client_copy_req_data()
201 … p_dest_data->status_cb.user_property_status.property_value = bt_mesh_alloc_buf(length); in btc_ble_mesh_generic_client_copy_req_data()
215 … p_dest_data->status_cb.admin_properties_status.property_ids = bt_mesh_alloc_buf(length); in btc_ble_mesh_generic_client_copy_req_data()
230 … p_dest_data->status_cb.admin_property_status.property_value = bt_mesh_alloc_buf(length); in btc_ble_mesh_generic_client_copy_req_data()
244 … p_dest_data->status_cb.manufacturer_properties_status.property_ids = bt_mesh_alloc_buf(length); in btc_ble_mesh_generic_client_copy_req_data()
259 … p_dest_data->status_cb.manufacturer_property_status.property_value = bt_mesh_alloc_buf(length); in btc_ble_mesh_generic_client_copy_req_data()
273 … p_dest_data->status_cb.client_properties_status.property_ids = bt_mesh_alloc_buf(length); in btc_ble_mesh_generic_client_copy_req_data()
561 p_dest_data->value.state_change.user_property_set.value = bt_mesh_alloc_buf(length); in btc_ble_mesh_generic_server_copy_req_data()
[all …]
Dbtc_ble_mesh_lighting_model.c143 … p_dest_data->status_cb.lc_property_status.property_value = bt_mesh_alloc_buf(length); in btc_ble_mesh_lighting_client_copy_req_data()
404 … p_dest_data->value.state_change.lc_property_set.property_value = bt_mesh_alloc_buf(length); in btc_ble_mesh_lighting_server_copy_req_data()
420 p_dest_data->value.set.lc_property.property_value = bt_mesh_alloc_buf(length); 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()
Dbtc_ble_mesh_config_model.c150 … p_dest_data->status_cb.comp_data_status.composition_data = bt_mesh_alloc_buf(length); in btc_ble_mesh_config_client_copy_req_data()
166 p_dest_data->status_cb.model_sub_list.sub_addr = bt_mesh_alloc_buf(length); in btc_ble_mesh_config_client_copy_req_data()
180 p_dest_data->status_cb.netkey_list.net_idx = bt_mesh_alloc_buf(length); in btc_ble_mesh_config_client_copy_req_data()
194 p_dest_data->status_cb.appkey_list.app_idx = bt_mesh_alloc_buf(length); in btc_ble_mesh_config_client_copy_req_data()
210 p_dest_data->status_cb.model_app_list.app_idx = bt_mesh_alloc_buf(length); in btc_ble_mesh_config_client_copy_req_data()
Dbtc_ble_mesh_health_model.c142 p_dest_data->status_cb.current_status.fault_array = bt_mesh_alloc_buf(length); in btc_ble_mesh_health_client_copy_req_data()
158 p_dest_data->status_cb.fault_status.fault_array = bt_mesh_alloc_buf(length); in btc_ble_mesh_health_client_copy_req_data()
Dbtc_ble_mesh_time_scene_model.c144 p_dest_data->status_cb.scene_register_status.scenes = bt_mesh_alloc_buf(length); in btc_ble_mesh_time_scene_client_copy_req_data()
Dbtc_ble_mesh_prov.c2360 struct net_buf_simple *buf = bt_mesh_alloc_buf(arg->model_send.length + BLE_MESH_MIC_SHORT); in btc_ble_mesh_model_call_handler()
2381 struct net_buf_simple *buf = bt_mesh_alloc_buf(arg->model_send.length + BLE_MESH_MIC_SHORT); in btc_ble_mesh_model_call_handler()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/client/
Dsensor_client.c119 status->descriptor = bt_mesh_alloc_buf(buf->len); in sensor_status()
138 status->sensor_cadence_value = bt_mesh_alloc_buf(buf->len); in sensor_status()
157 status->sensor_setting_property_ids = bt_mesh_alloc_buf(buf->len); in sensor_status()
180 status->sensor_setting_raw = bt_mesh_alloc_buf(buf->len); in sensor_status()
199 status->marshalled_sensor_data = bt_mesh_alloc_buf(buf->len); in sensor_status()
218 status->sensor_column_value = bt_mesh_alloc_buf(buf->len); in sensor_status()
237 status->sensor_series_value = bt_mesh_alloc_buf(buf->len); in sensor_status()
358 msg = bt_mesh_alloc_buf(value_len); in sensor_act_state()
Dgeneric_client.c386 status->user_property_ids = bt_mesh_alloc_buf(buf->len); in generic_status()
408 status->user_property_value = bt_mesh_alloc_buf(buf->len); in generic_status()
427 status->admin_property_ids = bt_mesh_alloc_buf(buf->len); in generic_status()
449 status->admin_property_value = bt_mesh_alloc_buf(buf->len); in generic_status()
468 status->manu_property_ids = bt_mesh_alloc_buf(buf->len); in generic_status()
490 status->manu_property_value = bt_mesh_alloc_buf(buf->len); in generic_status()
509 status->client_property_ids = bt_mesh_alloc_buf(buf->len); in generic_status()
733 msg = bt_mesh_alloc_buf(value_len); in gen_set_state()
Dtime_scene_client.c240 status->scenes = bt_mesh_alloc_buf(buf->len); in time_scene_status()
398 msg = bt_mesh_alloc_buf(value_len); in time_scene_set_state()
Dlighting_client.c624 status->light_lc_property_value = bt_mesh_alloc_buf(buf->len); in light_status()
798 msg = bt_mesh_alloc_buf(value_len); in light_set_state()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/include/
Dmesh_common.h43 struct net_buf_simple *bt_mesh_alloc_buf(uint16_t size);
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/
Dmesh_common.c47 struct net_buf_simple *bt_mesh_alloc_buf(uint16_t size) in bt_mesh_alloc_buf() function
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/storage/
Dsettings_nvs.c386 buf = bt_mesh_alloc_buf(length); in settings_get_item()
480 store = bt_mesh_alloc_buf(length); in settings_add_item()
549 store = bt_mesh_alloc_buf(length); in settings_remove_item()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/
Dsensor_server.c35 msg = bt_mesh_alloc_buf(MIN(BLE_MESH_TX_SDU_MAX, BLE_MESH_SERVER_RSP_MAX_LEN)); in send_sensor_descriptor_status()
102 msg = bt_mesh_alloc_buf(MIN(BLE_MESH_TX_SDU_MAX, BLE_MESH_SERVER_RSP_MAX_LEN)); in send_sensor_data_status()
226 msg = bt_mesh_alloc_buf(1 + length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_sensor_cadence_status()
294 msg = bt_mesh_alloc_buf(MIN(BLE_MESH_TX_SDU_MAX, BLE_MESH_SERVER_RSP_MAX_LEN)); in send_sensor_settings_status()
381 msg = bt_mesh_alloc_buf(1 + length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_sensor_setting_status()
466 msg = bt_mesh_alloc_buf(1 + length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_sensor_column_status()
540 msg = bt_mesh_alloc_buf(1 + length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_sensor_series_status()
Dgeneric_server.c65 msg = bt_mesh_alloc_buf(length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_gen_onoff_status()
237 msg = bt_mesh_alloc_buf(length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_gen_level_status()
666 msg = bt_mesh_alloc_buf(length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_gen_def_trans_time_status()
772 msg = bt_mesh_alloc_buf(length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_gen_onpowerup_status()
929 msg = bt_mesh_alloc_buf(length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_gen_power_level_status()
1337 msg = bt_mesh_alloc_buf(length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_gen_location_status()
1585 msg = bt_mesh_alloc_buf(1 + length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_gen_user_prop_status()
1657 msg = bt_mesh_alloc_buf(1 + srv->property_count * 2 + BLE_MESH_SERVER_TRANS_MIC_SIZE); in gen_user_prop_get()
1789 msg = bt_mesh_alloc_buf(1 + length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_gen_admin_prop_status()
1852 msg = bt_mesh_alloc_buf(1 + srv->property_count * 2 + BLE_MESH_SERVER_TRANS_MIC_SIZE); in gen_admin_prop_get()
[all …]
Dtime_scene_server.c62 msg = bt_mesh_alloc_buf(length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_time_status()
442 msg = bt_mesh_alloc_buf(length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_scene_status()
504 msg = bt_mesh_alloc_buf(MIN(BLE_MESH_TX_SDU_MAX, BLE_MESH_SERVER_RSP_MAX_LEN)); in send_scene_register_status()
Dlighting_server.c65 msg = bt_mesh_alloc_buf(length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_light_lightness_status()
562 msg = bt_mesh_alloc_buf(length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_light_ctl_status()
1127 msg = bt_mesh_alloc_buf(length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_light_hsl_status()
1819 msg = bt_mesh_alloc_buf(length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_light_xyl_status()
2234 msg = bt_mesh_alloc_buf(length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_light_lc_status()
2747 msg = bt_mesh_alloc_buf(length + BLE_MESH_SERVER_TRANS_MIC_SIZE); in send_light_lc_prop_status()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dhealth_cli.c164 status.fault_array = bt_mesh_alloc_buf(buf->len); in health_fault_status()
187 status.fault_array = bt_mesh_alloc_buf(buf->len); in health_current_status()
Dcfg_cli.c262 status.comp_data = bt_mesh_alloc_buf(buf->len); in comp_data_status()
511 list.addr = bt_mesh_alloc_buf(buf->len); in mod_sub_list()
531 list.net_idx = bt_mesh_alloc_buf(buf->len); in net_key_list()
553 list.app_idx = bt_mesh_alloc_buf(buf->len); in app_key_list()
599 list.app_idx = bt_mesh_alloc_buf(buf->len); in mod_app_list()
Daccess.c208 sdu = bt_mesh_alloc_buf(pub->msg->len + BLE_MESH_MIC_SHORT); in publish_retransmit()
894 sdu = bt_mesh_alloc_buf(pub->msg->len + BLE_MESH_MIC_SHORT); in bt_mesh_model_publish()
Dhealth_srv.c97 msg = bt_mesh_alloc_buf(4 + ARRAY_SIZE(srv->test.reg_faults) + 4); in health_send_fault_status()
Dproxy_client.c892 buf = bt_mesh_alloc_buf(1 + BLE_MESH_NET_HDR_LEN + alloc_len + 8); in send_proxy_cfg()
Dtransport.c769 sdu = bt_mesh_alloc_buf(CONFIG_BLE_MESH_RX_SDU_MAX - BLE_MESH_MIC_SHORT); in sdu_recv()
Dcfg_srv.c133 sdu = bt_mesh_alloc_buf(MIN(BLE_MESH_TX_SDU_MAX, COMP_DATA_MAX_LEN)); in dev_comp_data_get()