Home
last modified time | relevance | path

Searched refs:LEN_UUID_128 (Results 1 – 21 of 21) sorted by relevance

/device/soc/esp/esp32/components/bt/host/bluedroid/bta/gatt/
Dbta_gatts_utils.c34 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()
Dbta_gattc_utils.c44 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/
Dbtc_gatt_util.c59 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/
Dgatt_utils.c77 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 …]
Dgatt_db.c259 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()
Dgatt_attr.c336 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()
Dgatt_cl.c103 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()
Dgatt_api.c347 (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()
Dgatt_sr.c711 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/
Dsdp_api.c354 } 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/
Dbtm_inq.c2624 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 …]
Dbtm_ble_adv_filter.c835 } 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()
Dbtm_ble_gap.c2361 LEN_UUID_128); in btm_ble_build_adv_data()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gap/
Dgap_ble.c373 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/
Dbt_common.h203 #define LEN_UUID_128 16 macro
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/gap/
Dbtc_gap_ble.c223 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/
Dbta_hh_le.c210 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/
Dgatt_int.h221 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/
Dbta_dm_act.c4133 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/
Dbtm_ble_api.h824 UINT8 uuid128_mask[LEN_UUID_128];
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/include/bta/
Dbta_api.h573 UINT8 uuid128_mask[LEN_UUID_128];