/device/soc/esp/esp32/components/bt/host/bluedroid/bta/gatt/ |
D | bta_gatts_utils.c | 34 static const UINT8 base_uuid[LEN_UUID_128] = {0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80, 47 static void bta_gatt_convert_uuid16_to_uuid128(UINT8 uuid_128[LEN_UUID_128], UINT16 uuid_16) in bta_gatt_convert_uuid16_to_uuid128() argument 49 UINT8 *p = &uuid_128[LEN_UUID_128 - 4]; in bta_gatt_convert_uuid16_to_uuid128() 51 memcpy (uuid_128, base_uuid, LEN_UUID_128); in bta_gatt_convert_uuid16_to_uuid128() 188 UINT8 su[LEN_UUID_128], tu[LEN_UUID_128]; in bta_gatts_uuid_compare() 218 return (memcmp(ps, pt, LEN_UUID_128) == 0); in bta_gatts_uuid_compare()
|
D | bta_gattc_utils.c | 44 static const UINT8 base_uuid[LEN_UUID_128] = {0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80, 61 void bta_gatt_convert_uuid16_to_uuid128(UINT8 uuid_128[LEN_UUID_128], UINT16 uuid_16) in bta_gatt_convert_uuid16_to_uuid128() argument 63 UINT8 *p = &uuid_128[LEN_UUID_128 - 4]; in bta_gatt_convert_uuid16_to_uuid128() 65 memcpy (uuid_128, base_uuid, LEN_UUID_128); in bta_gatt_convert_uuid16_to_uuid128() 80 UINT8 su[LEN_UUID_128], tu[LEN_UUID_128]; in bta_gattc_uuid_compare() 114 return (memcmp(ps, pt, LEN_UUID_128) == 0); in bta_gattc_uuid_compare() 995 case LEN_UUID_128: in bta_to_btif_uuid()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/gatt/ |
D | btc_gatt_util.c | 59 return LEN_UUID_128; in uuidType() 78 case LEN_UUID_128: in btc128_to_bta_uuid() 101 } else if (p_src->len == LEN_UUID_128) { in btc_to_bta_uuid() 133 } else if (p_src->len == LEN_UUID_128) { in bta_to_btc_uuid() 168 } else if (p_uuid->len == LEN_UUID_128) { in get_uuid16() 170 UINT8 *p = &p_uuid->uu.uuid128[LEN_UUID_128 - 4]; in get_uuid16()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/ |
D | gatt_utils.c | 77 static const UINT8 base_uuid[LEN_UUID_128] = {0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80, 1085 void gatt_convert_uuid16_to_uuid128(UINT8 uuid_128[LEN_UUID_128], UINT16 uuid_16) in gatt_convert_uuid16_to_uuid128() argument 1087 UINT8 *p = &uuid_128[LEN_UUID_128 - 4]; in gatt_convert_uuid16_to_uuid128() 1089 memcpy (uuid_128, base_uuid, LEN_UUID_128); in gatt_convert_uuid16_to_uuid128() 1103 void gatt_convert_uuid32_to_uuid128(UINT8 uuid_128[LEN_UUID_128], UINT32 uuid_32) in gatt_convert_uuid32_to_uuid128() argument 1105 UINT8 *p = &uuid_128[LEN_UUID_128 - 4]; in gatt_convert_uuid32_to_uuid128() 1107 memcpy (uuid_128, base_uuid, LEN_UUID_128); in gatt_convert_uuid32_to_uuid128() 1122 UINT8 su[LEN_UUID_128], tu[LEN_UUID_128]; in gatt_uuid_compare() 1164 return (memcmp(ps, pt, LEN_UUID_128) == 0); in gatt_uuid_compare() 1186 p += LEN_UUID_128; in gatt_build_uuid_to_stream() [all …]
|
D | gatt_db.c | 259 p += LEN_UUID_128; in read_attr_value() 261 ARRAY_TO_STREAM (p, ((tGATT_ATTR128 *)(p_attr16->p_next))->uuid, LEN_UUID_128); in read_attr_value() 362 attr_uuid.len = LEN_UUID_128; in gatts_db_read_attr_value_by_type() 363 memcpy(attr_uuid.uu.uuid128, ((tGATT_ATTR128 *)p_attr)->uuid, LEN_UUID_128); in gatts_db_read_attr_value_by_type() 1260 } else if (p_uuid->len == LEN_UUID_128) { in allocate_attr_in_db() 1263 memcpy(p_attr128->uuid, p_uuid->uu.uuid128, LEN_UUID_128); in allocate_attr_in_db() 1492 p_attr->p_value->uuid.len = LEN_UUID_128; in gatts_db_add_service_declaration() 1495 p_attr->p_value->uuid.len = LEN_UUID_128; in gatts_db_add_service_declaration() 1496 memcpy(p_attr->p_value->uuid.uu.uuid128, p_service->uu.uuid128, LEN_UUID_128); in gatts_db_add_service_declaration()
|
D | gatt_attr.c | 336 tBT_UUID app_uuid = {LEN_UUID_128, {0}}; in gatt_profile_db_init() 342 memset (&app_uuid.uu.uuid128, 0x81, LEN_UUID_128); in gatt_profile_db_init()
|
D | gatt_cl.c | 103 cl_req.find_type_value.value_len = LEN_UUID_128; in gatt_act_discovery() 461 uuid_len = LEN_UUID_128; in gatt_process_read_info_rsp() 936 if (len == LEN_UUID_128) { in gatt_process_read_rsp() 939 p_clcb->read_uuid128.result.value.incl_service.service_type.len = LEN_UUID_128; in gatt_process_read_rsp()
|
D | gatt_api.c | 347 (p_descr_uuid->len != LEN_UUID_128 && p_descr_uuid->len != LEN_UUID_16 in GATTS_AddCharDescriptor() 1205 …_reg->in_use && !memcmp(p_app_uuid128->uu.uuid128, p_reg->app_uuid128.uu.uuid128, LEN_UUID_128)) { in GATT_Register()
|
D | gatt_sr.c | 711 ARRAY_TO_STREAM (p, ((tGATT_ATTR128 *) p_attr)->uuid, LEN_UUID_128); in gatt_build_find_info_rsp() 715 p += LEN_UUID_128; in gatt_build_find_info_rsp()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/sdp/ |
D | sdp_api.c | 354 } else if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == LEN_UUID_128) { in SDP_FindServiceUUIDInRec() 355 p_uuid->len = LEN_UUID_128; in SDP_FindServiceUUIDInRec() 356 for (uint8_t i = 0; i != LEN_UUID_128; ++i) { in SDP_FindServiceUUIDInRec() 357 … p_uuid->uu.uuid128[i] = p_sattr->attr_value.v.array[LEN_UUID_128 - i - 1]; in SDP_FindServiceUUIDInRec() 432 p_uuid->len = LEN_UUID_128; in SDP_FindServiceUUIDInRec_128bit() 433 for (uint8_t i = 0; i != LEN_UUID_128; ++i) { in SDP_FindServiceUUIDInRec_128bit() 434 … p_uuid->uu.uuid128[i] = p_sattr->attr_value.v.array[LEN_UUID_128 - i - 1]; in SDP_FindServiceUUIDInRec_128bit() 445 p_uuid->len = LEN_UUID_128; in SDP_FindServiceUUIDInRec_128bit() 446 for (uint8_t i = 0; i != LEN_UUID_128; ++i) { in SDP_FindServiceUUIDInRec_128bit() 447 p_uuid->uu.uuid128[i] = p_attr->attr_value.v.array[LEN_UUID_128 - i - 1]; in SDP_FindServiceUUIDInRec_128bit()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/btm/ |
D | btm_inq.c | 2624 char buff[LEN_UUID_128 * 2 + 1]; in BTM_GetEirUuidList() 2649 } else if ( uuid_size == LEN_UUID_128 ) { in BTM_GetEirUuidList() 2651 STREAM_TO_ARRAY16(p_uuid_list + yy * LEN_UUID_128, p_uuid_data); in BTM_GetEirUuidList() 2652 for ( xx = 0; xx < LEN_UUID_128; xx++ ) { in BTM_GetEirUuidList() 2653 sprintf(buff + xx * 2, "%02X", *(p_uuid_list + yy * LEN_UUID_128 + xx)); in BTM_GetEirUuidList() 2694 case LEN_UUID_128: in btm_eir_get_uuid_list() 2731 static const UINT8 base_uuid[LEN_UUID_128] = {0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80, in btm_convert_uuid_to_uuid16() 2749 case LEN_UUID_128: in btm_convert_uuid_to_uuid16() 2752 for (xx = 0; xx < LEN_UUID_128 - 4; xx++) { in btm_convert_uuid_to_uuid16() 2759 if ((p_uuid[LEN_UUID_128 - 1] == 0) && (p_uuid[LEN_UUID_128 - 2] == 0)) { in btm_convert_uuid_to_uuid16() [all …]
|
D | btm_ble_adv_filter.c | 835 } else if (p_uuid_cond->uuid.len == LEN_UUID_128) { in btm_ble_update_uuid_filter() 836 ARRAY_TO_STREAM (p, p_uuid_cond->uuid.uu.uuid128, LEN_UUID_128); in btm_ble_update_uuid_filter() 837 len += LEN_UUID_128; in btm_ble_update_uuid_filter() 850 } else if (p_uuid_cond->uuid.len == LEN_UUID_128) { in btm_ble_update_uuid_filter() 851 ARRAY_TO_STREAM (p, p_uuid_cond->p_uuid_mask->uuid128_mask, LEN_UUID_128); in btm_ble_update_uuid_filter() 852 len += LEN_UUID_128; in btm_ble_update_uuid_filter()
|
D | btm_ble_gap.c | 2361 LEN_UUID_128); in btm_ble_build_adv_data()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gap/ |
D | gap_ble.c | 373 tBT_UUID app_uuid = {LEN_UUID_128, {0}}; in gap_attr_db_init() 380 memset (&app_uuid.uu.uuid128, 0x82, LEN_UUID_128); in gap_attr_db_init() 437 memset (&app_uuid.uu.uuid128, 0x81, LEN_UUID_128); in gap_attr_db_init()
|
/device/soc/esp/esp32/components/bt/common/include/ |
D | bt_common.h | 203 #define LEN_UUID_128 16 macro
|
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/gap/ |
D | btc_gap_ble.c | 223 for (int position = 0; position < p_adv_data->service_uuid_len; position += LEN_UUID_128) { in btc_to_bta_adv_data() 234 …v_data->p_services->p_uuid = osi_malloc(p_adv_data->service_uuid_len / LEN_UUID_128 * LEN_UUID_16); in btc_to_bta_adv_data() 254 osi_malloc(p_adv_data->service_uuid_len / LEN_UUID_128 * LEN_UUID_32); in btc_to_bta_adv_data() 267 case (LEN_UUID_128): { in btc_to_bta_adv_data() 276 bt_uuid.uu.uuid128, LEN_UUID_128); in btc_to_bta_adv_data()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/hh/ |
D | bta_hh_le.c | 210 char app_name[LEN_UUID_128 + 1]; in bta_hh_le_enable() 211 tBT_UUID app_uuid = {LEN_UUID_128, {0}}; in bta_hh_le_enable() 220 memset (app_name, 0, LEN_UUID_128 + 1); in bta_hh_le_enable() 221 strncpy(app_name, "BTA HH OVER LE", LEN_UUID_128); in bta_hh_le_enable() 223 memcpy((void *)app_uuid.uu.uuid128, (void *)app_name, LEN_UUID_128); in bta_hh_le_enable()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/include/ |
D | gatt_int.h | 221 UINT8 uuid[LEN_UUID_128]; 611 extern void gatt_convert_uuid32_to_uuid128(UINT8 uuid_128[LEN_UUID_128], UINT32 uuid_32);
|
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/dm/ |
D | bta_dm_act.c | 4133 max_num_uuid = (free_eir_length - 2) / LEN_UUID_128; in bta_dm_set_eir() 4136 if (bta_dm_cb.custom_uuid[custom_uuid_idx].len == LEN_UUID_128) { in bta_dm_set_eir() 4148 UINT8_TO_STREAM(p_length, num_uuid * LEN_UUID_128 + 1); in bta_dm_set_eir() 4151 free_eir_length -= num_uuid * LEN_UUID_128 + 2; in bta_dm_set_eir() 6104 tBT_UUID app_uuid = {LEN_UUID_128, {0}}; in bta_dm_gattc_register() 6107 memset (&app_uuid.uu.uuid128, 0x87, LEN_UUID_128); in bta_dm_gattc_register()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/include/stack/ |
D | btm_ble_api.h | 824 UINT8 uuid128_mask[LEN_UUID_128];
|
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/include/bta/ |
D | bta_api.h | 573 UINT8 uuid128_mask[LEN_UUID_128];
|