Home
last modified time | relevance | path

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

12

/hal_espressif-latest/components/bt/host/bluedroid/bta/sys/
Dutl.c186 UINT16 service; in utl_set_device_class() local
191 BTM_COD_SERVICE_CLASS( service, dev ); in utl_set_device_class()
207 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
208 service = service | p_cod->service; in utl_set_device_class()
212 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
213 service = service & (~p_cod->service); in utl_set_device_class()
219 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
220 service = service | p_cod->service; in utl_set_device_class()
226 service = p_cod->service & BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
234 FIELDS_TO_COD(dev_class, reserved_2, minor, major, service); in utl_set_device_class()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_ag/
Dbta_ag_sdp.c286 BOOLEAN bta_ag_sdp_find_attr(tBTA_AG_SCB *p_scb, tBTA_SERVICE_MASK service) in bta_ag_sdp_find_attr() argument
294 if (service & BTA_HFP_SERVICE_MASK) { in bta_ag_sdp_find_attr()
297 } else if (service & BTA_HSP_SERVICE_MASK && p_scb->role == BTA_AG_INT) { in bta_ag_sdp_find_attr()
331 if (service & BTA_HFP_SERVICE_MASK) { in bta_ag_sdp_find_attr()
367 void bta_ag_do_disc(tBTA_AG_SCB *p_scb, tBTA_SERVICE_MASK service) in bta_ag_do_disc() argument
376 if (service & BTA_HFP_SERVICE_MASK && p_scb->role == BTA_AG_INT) { in bta_ag_do_disc()
383 } else if (service & BTA_HFP_SERVICE_MASK && p_scb->role == BTA_AG_ACP) { in bta_ag_do_disc()
390 } else if (service & BTA_HSP_SERVICE_MASK && p_scb->role == BTA_AG_INT) { in bta_ag_do_disc()
/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_cache.c230 tBTA_GATTC_SERVICE *service = list_node(sn); in bta_gattc_insert_sec_service_to_cache() local
231 if(service && p_new_srvc->e_handle < service->s_handle) { in bta_gattc_insert_sec_service_to_cache()
240 tBTA_GATTC_SERVICE *service = list_node(sn); in bta_gattc_insert_sec_service_to_cache() local
242 … if (p_new_srvc->s_handle > service->e_handle && p_new_srvc->e_handle < next_service->s_handle) { in bta_gattc_insert_sec_service_to_cache()
315 …tBTA_GATTC_SERVICE *service = bta_gattc_find_matching_service(p_srvc_cb->p_srvc_cache, attr_handle… in bta_gattc_add_char_to_cache() local
316 if (!service) { in bta_gattc_add_char_to_cache()
324 if (service->e_handle < value_handle) { in bta_gattc_add_char_to_cache()
325 service->e_handle = value_handle; in bta_gattc_add_char_to_cache()
338 characteristic->service = service; in bta_gattc_add_char_to_cache()
339 list_append(service->characteristics, characteristic); in bta_gattc_add_char_to_cache()
[all …]
Dbta_gattc_api.c1192 param.service.len = app_uuid->len; in BTA_GATTC_Discover()
1194 param.service.uu.uuid16 = app_uuid->uuid.uuid16; in BTA_GATTC_Discover()
1196 param.service.uu.uuid32 = app_uuid->uuid.uuid32; in BTA_GATTC_Discover()
1198 memcpy(param.service.uu.uuid128, app_uuid->uuid.uuid128, LEN_UUID_128); in BTA_GATTC_Discover()
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/sdp/
Dbtc_sdp.c409 UINT16 service = UUID_SERVCLASS_MESSAGE_ACCESS; in add_maps_sdp() local
429 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service); in add_maps_sdp()
483 bta_sys_add_uuid(service); /* UUID_SERVCLASS_MESSAGE_ACCESS */ in add_maps_sdp()
494 UINT16 service = UUID_SERVCLASS_MESSAGE_NOTIFICATION; in add_mapc_sdp() local
512 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service); in add_mapc_sdp()
558 bta_sys_add_uuid(service); /* UUID_SERVCLASS_MESSAGE_ACCESS */ in add_mapc_sdp()
569 UINT16 service = UUID_SERVCLASS_PBAP_PSE; in add_pbaps_sdp() local
588 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service); in add_pbaps_sdp()
638 bta_sys_add_uuid(service); /* UUID_SERVCLASS_MESSAGE_ACCESS */ in add_pbaps_sdp()
648 UINT16 service = UUID_SERVCLASS_PBAP_PCE; in add_pbapc_sdp() local
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Dbtm_api.h587 #define BTM_EIR_SET_SERVICE(p, service) (((UINT32 *)(p))[(((UINT32)(service)) / BTM_EIR_ARRAY_BITS… argument
588 ((UINT32)1 << (((UINT32)(service)) % BTM_EIR_ARRAY_BITS)))
592 #define BTM_EIR_CLR_SERVICE(p, service) (((UINT32 *)(p))[(((UINT32)(service)) / BTM_EIR_ARRAY_BITS… argument
593 ~((UINT32)1 << (((UINT32)(service)) % BTM_EIR_ARRAY_BITS)))
596 #define BTM_EIR_HAS_SERVICE(p, service) ((((UINT32 *)(p))[(((UINT32)(service)) / BTM_EIR_ARRAY_BIT… argument
597 …((UINT32)1 << (((UINT32)(service)) % BTM_EIR_ARRAY_BITS))) >> (((UINT32)(service)) % BTM_EIR_ARRAY…
1330 #define BTM_SEC_SET_SERVICE(p, service) (((UINT32 *)(p))[(((UINT32)(service)) / BTM_SEC_ARRAY_BITS… argument
1331 ((UINT32)1 << (((UINT32)(service)) % BTM_SEC_ARRAY_BITS)))
1335 #define BTM_SEC_CLR_SERVICE(p, service) (((UINT32 *)(p))[(((UINT32)(service)) / BTM_SEC_ARRAY_BITS… argument
1336 ~((UINT32)1 << (((UINT32)(service)) % BTM_SEC_ARRAY_BITS)))
[all …]
Dgatt_api.h430 tBT_UUID service; member
482 tGATT_READ_BY_TYPE service; member
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_client/
Dbta_hf_client_act.c77 cod.service = BTM_COD_SERVICE_AUDIO; in bta_hf_client_register()
108 cod.service = BTM_COD_SERVICE_AUDIO; in bta_hf_client_deregister()
740 void bta_hf_client_cnum(char *number, UINT16 service) in bta_hf_client_cnum() argument
746 evt->service = service; in bta_hf_client_cnum()
Dbta_hf_client_at.c557 static void bta_hf_client_handle_cnum( char *numstr, UINT16 type, UINT16 service) in bta_hf_client_handle_cnum() argument
559 APPL_TRACE_DEBUG("%s number: %s type: %u service: %u", __FUNCTION__, numstr, type, service); in bta_hf_client_handle_cnum()
562 bta_hf_client_cnum(numstr, service); in bta_hf_client_handle_cnum()
1040 UINT16 service = 0; /* 0 in case this optional parameter is not being sent */ in bta_hf_client_parse_cnum() local
1046 res = sscanf(buffer, ",\"%32[^\"]\",%hu%n,,%hu%n", numstr, &type, &offset, &service, &offset); in bta_hf_client_parse_cnum()
1052 res = sscanf(buffer, ",\"\",%hu%n,,%hu%n", &type, &offset, &service, &offset); in bta_hf_client_parse_cnum()
1072 bta_hf_client_handle_cnum(numstr, type, service); in bta_hf_client_parse_cnum()
1076 if (service != 4 && service != 5) { in bta_hf_client_parse_cnum()
1080 bta_hf_client_handle_cnum(numstr, type, service); in bta_hf_client_parse_cnum()
/hal_espressif-latest/components/bt/host/bluedroid/bta/include/bta/
Dutl.h50 UINT16 service; member
Dbta_hf_client_api.h228 UINT16 service; member
Dbta_ag_api.h407 UINT16 service; member
/hal_espressif-latest/components/bt/host/bluedroid/stack/gap/
Dgap_ble.c546 param.service.uuid.len = LEN_UUID_16; in gap_ble_send_cl_read_request()
547 param.service.uuid.uu.uuid16 = uuid; in gap_ble_send_cl_read_request()
548 param.service.s_handle = 1; in gap_ble_send_cl_read_request()
549 param.service.e_handle = 0xFFFF; in gap_ble_send_cl_read_request()
550 param.service.auth_req = 0; in gap_ble_send_cl_read_request()
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/
Dgatt_attr.c618 srvc_disc_param.service.len = 2; in gatt_cl_start_config_ccc()
619 srvc_disc_param.service.uu.uuid16 = UUID_SERVCLASS_GATT_SERVER; in gatt_cl_start_config_ccc()
630 srvc_disc_param.service.len = 2; in gatt_cl_start_config_ccc()
631 srvc_disc_param.service.uu.uuid16 = GATT_UUID_GATT_SRV_CHGD; in gatt_cl_start_config_ccc()
Dgatt_api.c954 p_param->service.len == 0)) { in GATTC_Discover()
963 p_clcb->uuid = p_param->service; in GATTC_Discover()
1023 p_clcb->s_handle = p_read->service.s_handle; in GATTC_Read()
1024 p_clcb->e_handle = p_read->service.e_handle; in GATTC_Read()
1025 memcpy(&p_clcb->uuid, &p_read->service.uuid, sizeof(tBT_UUID)); in GATTC_Read()
Dgatt_db.c447 tBT_UUID service) in gatts_add_included_service() argument
453 s_handle, e_handle, service.uu.uuid16); in gatts_add_included_service()
455 if (service.len == 0 || s_handle == 0 || e_handle == 0) { in gatts_add_included_service()
484 memcpy(&p_attr->p_value->incl_handle.service_type, &service, sizeof(tBT_UUID)); in gatts_add_included_service()
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_ag/include/
Dbta_ag_int.h399 extern BOOLEAN bta_ag_sdp_find_attr(tBTA_AG_SCB *p_scb, tBTA_SERVICE_MASK service);
400 extern void bta_ag_do_disc(tBTA_AG_SCB *p_scb, tBTA_SERVICE_MASK service);
/hal_espressif-latest/components/esp_hw_support/
DREADME.md7 3. it offers a service for other components vary from multiple layers (G1, G2 and G3) of ESP-IDF
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/gap/
Dbtc_gap_bt.c591 p_cod.service = cod->service << 5; in btc_gap_bt_set_cod()
609 cod->service = p_cod.service >> 5; in btc_gap_bt_get_cod()
/hal_espressif-latest/components/bt/host/nimble/
DKconfig.in925 bool "HID service"
929 Enable HID service support
933 int "Maximum HID service instances"
936 Defines maximum number of HID service instances
940 int "Maximum HID Report characteristics per service instance"
943 Defines maximum number of report characteristics per service instance
1007 Use DIS as an included service
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_client/include/
Dbta_hf_client_int.h306 extern void bta_hf_client_cnum(char *number, UINT16 service);
/hal_espressif-latest/components/bt/host/bluedroid/
DKconfig.in163 bool "Enable Peripheral Preferred Connection Parameters characteristic in GAP service"
167 … "Peripheral Preferred Connection Parameters" characteristic (UUID: 0x2A04) in GAP service that has
202 bool "GATTS manually send service change indication"
204 … Manually send service change indication through API esp_ble_gatts_send_service_change_indication()
207 bool "GATTS automatically send service change indication"
209 Let Bluedroid handle the service change indication internally
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/nimble_host/
Dmesh_bearer_adapt.c340 const struct ble_gatt_svc *service, void *arg) in svc_disced() argument
348 if (!service) { in svc_disced()
351 uuid = &service->uuid; in svc_disced()
358 bt_mesh_gattc_info[i].start_handle = service->start_handle; in svc_disced()
359 bt_mesh_gattc_info[i].end_handle = service->end_handle; in svc_disced()
/hal_espressif-latest/components/bt/host/bluedroid/api/include/api/
Desp_gap_bt_api.h27 uint32_t service: 11; /*!< service class */ member
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/hf_client/
Dbtc_hf_client.c1040 if (p_data->cnum.service == 4) { in btc_hf_client_cb_handler()
1042 } else if (p_data->cnum.service == 5) { in btc_hf_client_cb_handler()

12