Home
last modified time | relevance | path

Searched refs:descriptor (Results 1 – 20 of 20) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/bta/hh/
Dbta_hh_api.c349 UINT16 len = sizeof(tBTA_HH_MAINT_DEV) + dscp_info.descriptor.dl_len; in BTA_HhAddDev()
366 if ( dscp_info.descriptor.dl_len != 0 && dscp_info.descriptor.dsc_list) { in BTA_HhAddDev()
367 p_buf->dscp_info.descriptor.dl_len = dscp_info.descriptor.dl_len; in BTA_HhAddDev()
368 p_buf->dscp_info.descriptor.dsc_list = (UINT8 *)(p_buf + 1); in BTA_HhAddDev()
369 …memcpy(p_buf->dscp_info.descriptor.dsc_list, dscp_info.descriptor.dsc_list, dscp_info.descriptor.d… in BTA_HhAddDev()
371 p_buf->dscp_info.descriptor.dsc_list = NULL; in BTA_HhAddDev()
372 p_buf->dscp_info.descriptor.dl_len = 0; in BTA_HhAddDev()
Dbta_hh_utils.c137 utl_freebuf((void **)&p_cb->dscp_info.descriptor.dsc_list); in bta_hh_clean_up_kdev()
204 utl_freebuf((void **)&p_cb->dscp_info.descriptor.dsc_list); in bta_hh_add_device_to_list()
207 (p_cb->dscp_info.descriptor.dsc_list = in bta_hh_add_device_to_list()
209 p_cb->dscp_info.descriptor.dl_len = p_dscp_info->dl_len; in bta_hh_add_device_to_list()
210 memcpy(p_cb->dscp_info.descriptor.dsc_list, p_dscp_info->dsc_list, in bta_hh_add_device_to_list()
460 utl_freebuf((void **)&bta_hh_cb.kdev[xx].dscp_info.descriptor.dsc_list); in bta_hh_cleanup_disable()
Dbta_hh_le.c1305 p_cb->dscp_info.descriptor.dsc_list = NULL; in bta_hh_clear_service_cache()
1770 p_srvc->descriptor.dl_len = p_data->p_value->unformat.len; in bta_hh_le_save_rpt_map()
1771 p_srvc->descriptor.dsc_list = p_dev_cb->hid_srvc[p_data->srvc_id.id.inst_id].rpt_map; in bta_hh_le_save_rpt_map()
2568 p_cb->dscp_info.descriptor.dl_len = p_cb->hid_srvc[i].descriptor.dl_len; in bta_hh_le_get_dscp_act()
2569 p_cb->dscp_info.descriptor.dsc_list = p_cb->hid_srvc[i].descriptor.dsc_list; in bta_hh_le_get_dscp_act()
2639 &p_dev_info->dscp_info.descriptor, in bta_hh_le_add_device()
2996 p_cb->hid_srvc[BTA_HH_LE_RPT_GET_SRVC_INST_ID(p_rpt_cache->inst_id)].descriptor.dl_len = in bta_hh_process_cache_rpt()
2997 p_cb->dscp_info.descriptor.dl_len; in bta_hh_process_cache_rpt()
2998 p_cb->hid_srvc[BTA_HH_LE_RPT_GET_SRVC_INST_ID(p_rpt_cache->inst_id)].descriptor.dsc_list = in bta_hh_process_cache_rpt()
2999 p_cb->dscp_info.descriptor.dsc_list; in bta_hh_process_cache_rpt()
Dbta_hh_act.c977 &p_dev_info->dscp_info.descriptor, in bta_hh_maint_dev_act()
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/hid/
Dbtc_hh.c731 dscp_info.descriptor.dl_len = arg->set_info.hid_info->dl_len; in btc_hh_set_info()
732 dscp_info.descriptor.dsc_list = (uint8_t *)osi_malloc(dscp_info.descriptor.dl_len); in btc_hh_set_info()
733 if (dscp_info.descriptor.dsc_list == NULL) { in btc_hh_set_info()
738 …memcpy(dscp_info.descriptor.dsc_list, arg->set_info.hid_info->dsc_list, dscp_info.descriptor.dl_le… in btc_hh_set_info()
750 utl_freebuf((void **)&dscp_info.descriptor.dsc_list); in btc_hh_set_info()
1187 dest->descriptor.dl_len = 0; in btc_hh_copy_hid_info()
1188 if (src->descriptor.dl_len > 0) { in btc_hh_copy_hid_info()
1189 dest->descriptor.dsc_list = (uint8_t *)osi_malloc(src->descriptor.dl_len); in btc_hh_copy_hid_info()
1191 if (dest->descriptor.dsc_list) { in btc_hh_copy_hid_info()
1192 memcpy(dest->descriptor.dsc_list, src->descriptor.dsc_list, src->descriptor.dl_len); in btc_hh_copy_hid_info()
[all …]
Dbtc_hd.c88 utl_freebuf((void **)&btc_hd_cb.app_info.descriptor.dsc_list); in free_app_info_param()
316 …(btc_hd_cb.app_info.descriptor.dsc_list = (uint8_t *)osi_malloc(p_app_param->desc_list_len)) == NU… in btc_hd_register_app()
320 btc_hd_cb.app_info.descriptor.dsc_list); in btc_hd_register_app()
327 …memcpy(btc_hd_cb.app_info.descriptor.dsc_list, p_app_param->desc_list, p_app_param->desc_list_len); in btc_hd_register_app()
329 btc_hd_cb.app_info.descriptor.dl_len = p_app_param->desc_list_len; in btc_hd_register_app()
/hal_espressif-latest/components/bt/host/bluedroid/bta/hd/
Dbta_hd_api.c115 p_buf->d_len = p_app_info->descriptor.dl_len; in BTA_HdRegisterApp()
116 memcpy(p_buf->d_data, p_app_info->descriptor.dsc_list, p_app_info->descriptor.dl_len); in BTA_HdRegisterApp()
/hal_espressif-latest/components/bt/host/bluedroid/btc/core/
Dbtc_storage.c435 dscp_info.descriptor.dl_len = (uint16_t)len; in btc_storage_load_bonded_hid_info()
436 dscp_info.descriptor.dsc_list = (uint8_t *)osi_malloc(len); in btc_storage_load_bonded_hid_info()
437 … btc_config_get_bin(name, "HidDescriptor", (uint8_t *)dscp_info.descriptor.dsc_list, &len); in btc_storage_load_bonded_hid_info()
446 if (dscp_info.descriptor.dsc_list) { in btc_storage_load_bonded_hid_info()
447 osi_free(dscp_info.descriptor.dsc_list); in btc_storage_load_bonded_hid_info()
448 dscp_info.descriptor.dsc_list = NULL; in btc_storage_load_bonded_hid_info()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/
Dsensor_server.c54 net_buf_simple_add_le32(msg, (state->descriptor.sample_function << 24) | in send_sensor_descriptor_status()
55 (state->descriptor.negative_tolerance << 12) | in send_sensor_descriptor_status()
56 (state->descriptor.positive_tolerance)); in send_sensor_descriptor_status()
57 net_buf_simple_add_u8(msg, state->descriptor.measure_period); in send_sensor_descriptor_status()
58 net_buf_simple_add_u8(msg, state->descriptor.update_interval); in send_sensor_descriptor_status()
73 net_buf_simple_add_le32(msg, (state->descriptor.sample_function << 24) | in send_sensor_descriptor_status()
74 (state->descriptor.negative_tolerance << 12) | in send_sensor_descriptor_status()
75 (state->descriptor.positive_tolerance)); in send_sensor_descriptor_status()
76 net_buf_simple_add_u8(msg, state->descriptor.measure_period); in send_sensor_descriptor_status()
77 net_buf_simple_add_u8(msg, state->descriptor.update_interval); in send_sensor_descriptor_status()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/client/include/
Dsensor_client.h44 struct net_buf_simple *descriptor; /* Sequence of 8-octet sensor descriptors (optional) */ member
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/
Dbtc_ble_mesh_sensor_model.c268 if (p_src_data->status_cb.descriptor_status.descriptor) { in btc_ble_mesh_sensor_client_copy_req_data()
269 length = p_src_data->status_cb.descriptor_status.descriptor->len; in btc_ble_mesh_sensor_client_copy_req_data()
270 p_dest_data->status_cb.descriptor_status.descriptor = bt_mesh_alloc_buf(length); in btc_ble_mesh_sensor_client_copy_req_data()
271 if (!p_dest_data->status_cb.descriptor_status.descriptor) { in btc_ble_mesh_sensor_client_copy_req_data()
275 net_buf_simple_add_mem(p_dest_data->status_cb.descriptor_status.descriptor, in btc_ble_mesh_sensor_client_copy_req_data()
276 p_src_data->status_cb.descriptor_status.descriptor->data, in btc_ble_mesh_sensor_client_copy_req_data()
277 p_src_data->status_cb.descriptor_status.descriptor->len); in btc_ble_mesh_sensor_client_copy_req_data()
396 bt_mesh_free_buf(arg->status_cb.descriptor_status.descriptor); in btc_ble_mesh_sensor_client_free_req_data()
/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()
120 if (!status->descriptor) { in sensor_status()
125 net_buf_simple_add_mem(status->descriptor, buf->data, buf->len); in sensor_status()
293 bt_mesh_free_buf(status->descriptor); in sensor_status()
/hal_espressif-latest/components/bt/esp_ble_mesh/api/models/include/
Desp_ble_mesh_sensor_model_api.h128 struct net_buf_simple *descriptor; /*!< Sequence of 8-octet sensor descriptors (optional) */ member
501 … esp_ble_mesh_sensor_descriptor_t descriptor; /*!< Parameters of the Sensor Descriptor state */ member
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/include/
Dsensor_server.h121 struct sensor_descriptor descriptor; member
/hal_espressif-latest/components/bt/host/bluedroid/bta/include/bta/
Dbta_hd_api.h72 tBTA_HD_DEV_DESCR descriptor; member
Dbta_hh_api.h206 tBTA_HH_DEV_DESCR descriptor; member
/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_cache.c393 tBTA_GATTC_DESCRIPTOR *descriptor = in bta_gattc_add_attr_to_cache() local
395 if (!descriptor) { in bta_gattc_add_attr_to_cache()
399 descriptor->handle = handle; in bta_gattc_add_attr_to_cache()
400 memcpy(&descriptor->uuid, p_uuid, sizeof(tBT_UUID)); in bta_gattc_add_attr_to_cache()
406 osi_free(descriptor); in bta_gattc_add_attr_to_cache()
412 descriptor->characteristic = char_node; in bta_gattc_add_attr_to_cache()
413 list_append(char_node->descriptors, descriptor); in bta_gattc_add_attr_to_cache()
/hal_espressif-latest/components/esp_netif/
DKconfig68 …Maximum number of frames queued in opened File descriptor. Once the queue is full, the newly arriv…
DREADME.md102 Important is then specific configuration of particular file descriptor. It can be configured to giv…
/hal_espressif-latest/components/bt/host/bluedroid/bta/hh/include/
Dbta_hh_int.h211 tBTA_HH_DEV_DESCR descriptor; member