Home
last modified time | relevance | path

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

123

/system/bt/stack/gatt/
Dgatt_int.h105 tBT_UUID uuid; /* type of attribute to be found */
160 tBT_UUID uuid; /* service declaration */
233 tBT_UUID app_uuid; /* applicatino UUID */
253 tBT_UUID app_uuid128;
399 tBT_UUID uuid;
580 extern UINT32 gatt_add_sdp_record (tBT_UUID *p_uuid, UINT16 start_hdl, UINT16 end_hdl);
581 extern BOOLEAN gatt_parse_uuid_from_cmd(tBT_UUID *p_uuid, UINT16 len, UINT8 **p_data);
582 extern UINT8 gatt_build_uuid_to_stream(UINT8 **p_dst, tBT_UUID uuid);
583 extern BOOLEAN gatt_uuid_compare(tBT_UUID src, tBT_UUID tar);
592 extern void gatt_dbg_display_uuid(tBT_UUID bt_uuid);
[all …]
Dgatt_db.c42 static void *allocate_attr_in_db(tGATT_SVC_DB *p_db, tBT_UUID *p_uuid, tGATT_PERM perm);
46 static BOOLEAN gatts_db_add_service_declaration(tGATT_SVC_DB *p_db, tBT_UUID *p_service, BOOLEAN is…
62 BOOLEAN gatts_init_service_db (tGATT_SVC_DB *p_db, tBT_UUID *p_service, BOOLEAN is_pri, in gatts_init_service_db()
95 tBT_UUID * gatts_get_service_uuid (tGATT_SVC_DB *p_db) in gatts_get_service_uuid()
327 tBT_UUID type, in gatts_db_read_attr_value_by_type()
338 tBT_UUID attr_uuid; in gatts_db_read_attr_value_by_type()
447 tBT_UUID service) in gatts_add_included_service()
450 tBT_UUID uuid = {LEN_UUID_16, {GATT_UUID_INCLUDE_SERVICE}}; in gatts_add_included_service()
467 memcpy(&p_attr->p_value->incl_handle.service_type, &service, sizeof(tBT_UUID)); in gatts_add_included_service()
497 tBT_UUID * p_char_uuid) in gatts_add_characteristic()
[all …]
Dgatt_utils.c184 tGATTS_PENDING_NEW_SRV_START *gatt_sr_is_new_srv_chg(tBT_UUID *p_app_uuid128, tBT_UUID *p_svc_uuid,… in gatt_sr_is_new_srv_chg()
340 tGATT_HDL_LIST_ELEM *gatt_find_hdl_buffer_by_app_id (tBT_UUID *p_app_uuid128, in gatt_find_hdl_buffer_by_app_id()
341 tBT_UUID *p_svc_uuid, in gatt_find_hdl_buffer_by_app_id()
391 void gatt_free_srvc_db_buffer_app_id(tBT_UUID *p_app_id) in gatt_free_srvc_db_buffer_app_id()
398 if (memcmp(p_app_id, &p_elem->asgn_range.app_uuid128, sizeof(tBT_UUID)) == 0) in gatt_free_srvc_db_buffer_app_id()
417 BOOLEAN gatt_is_last_attribute(tGATT_SRV_LIST_INFO *p_list, tGATT_SRV_LIST_ELEM *p_start, tBT_UUID in gatt_is_last_attribute()
422 tBT_UUID *p_svc_uuid; in gatt_is_last_attribute()
1000 BOOLEAN gatt_uuid_compare (tBT_UUID src, tBT_UUID tar) in gatt_uuid_compare()
1065 UINT8 gatt_build_uuid_to_stream(UINT8 **p_dst, tBT_UUID uuid) in gatt_build_uuid_to_stream()
1100 BOOLEAN gatt_parse_uuid_from_cmd(tBT_UUID *p_uuid_rec, UINT16 uuid_size, UINT8 **p_data) in gatt_parse_uuid_from_cmd()
[all …]
Dgatt_api.c141 UINT16 GATTS_CreateService (tGATT_IF gatt_if, tBT_UUID *p_svc_uuid, in GATTS_CreateService()
151 tBT_UUID *p_app_uuid128; in GATTS_CreateService()
315 UINT16 GATTS_AddCharacteristic (UINT16 service_handle, tBT_UUID *p_char_uuid, in GATTS_AddCharacteristic()
359 tBT_UUID * p_descr_uuid) in GATTS_AddCharDescriptor()
394 BOOLEAN GATTS_DeleteService (tGATT_IF gatt_if, tBT_UUID *p_svc_uuid, UINT16 svc_inst) in GATTS_DeleteService()
402 tBT_UUID *p_app_uuid128; in GATTS_DeleteService()
470 tBT_UUID *p_uuid; in GATTS_StartService()
933 memcpy(&p_clcb->uuid, &p_read->service.uuid, sizeof(tBT_UUID)); in GATTC_Read()
943 memset(&p_clcb->uuid, 0, sizeof(tBT_UUID)); in GATTC_Read()
1199 tGATT_IF GATT_Register (tBT_UUID *p_app_uuid128, tGATT_CBACK *p_cb_info) in GATT_Register()
/system/bt/bta/include/
Dbta_gatt_api.h55 tBT_UUID uuid; /* uuid of the attribute */
274 tBT_UUID uuid;
289 tBT_UUID app_uuid;
490 tBT_UUID app_uuid128;
491 tBT_UUID svc_uuid;
548 tBT_UUID uuid;
561 tBT_UUID uuid;
572 tBT_UUID char_uuid;
666 extern void BTA_GATTC_AppRegister(tBT_UUID *p_app_uuid, tBTA_GATTC_CBACK *p_client_cb);
744 extern void BTA_GATTC_ServiceSearchRequest(UINT16 conn_id, tBT_UUID *p_srvc_uuid);
[all …]
Dbta_sdp_api.h58 tBT_UUID uuid;
/system/bt/bta/gatt/
Dbta_gatts_int.h70 tBT_UUID app_uuid;
86 tBT_UUID service_uuid;
96 tBT_UUID char_uuid;
112 tBT_UUID descr_uuid;
184 tBT_UUID app_uuid;
192 tBT_UUID service_uuid; /* service UUID */
251 extern BOOLEAN bta_gatts_uuid_compare(tBT_UUID tar, tBT_UUID src);
Dbta_gatts_api.c88 void BTA_GATTS_AppRegister(tBT_UUID *p_app_uuid, tBTA_GATTS_CBACK *p_cback) in BTA_GATTS_AppRegister()
103 memcpy(&p_buf->app_uuid, p_app_uuid, sizeof(tBT_UUID)); in BTA_GATTS_AppRegister()
157 void BTA_GATTS_CreateService(tBTA_GATTS_IF server_if, tBT_UUID *p_service_uuid, UINT8 inst, in BTA_GATTS_CreateService()
168 memcpy(&p_buf->service_uuid, p_service_uuid, sizeof(tBT_UUID)); in BTA_GATTS_CreateService()
224 void BTA_GATTS_AddCharacteristic (UINT16 service_id, tBT_UUID *p_char_uuid, in BTA_GATTS_AddCharacteristic()
240 memcpy(&p_buf->char_uuid, p_char_uuid, sizeof(tBT_UUID)); in BTA_GATTS_AddCharacteristic()
265 tBT_UUID * p_descr_uuid) in BTA_GATTS_AddCharDescriptor()
281 memcpy(&p_buf->descr_uuid, p_descr_uuid, sizeof(tBT_UUID)); in BTA_GATTS_AddCharDescriptor()
Dbta_gattc_int.h102 tBT_UUID app_uuid;
174 tBT_UUID *p_srvc_uuid;
283 tBT_UUID uuid;
362 tBT_UUID app_uuid;
522 extern BOOLEAN bta_gattc_uuid_compare (tBT_UUID *p_src, tBT_UUID *p_tar, BOOLEAN is_precise);
523 extern void bta_gattc_pack_attr_uuid(tBTA_GATTC_CACHE_ATTR *p_attr, tBT_UUID *p_uuid);
525 extern tBTA_GATT_STATUS bta_gattc_pack_read_cb_data(tBTA_GATTC_SERV *p_srcb, tBT_UUID *p_descr_uuid…
540 extern void bta_gattc_search_service(tBTA_GATTC_CLCB *p_clcb, tBT_UUID *p_uuid);
542 tBTA_GATT_ID *p_start_rec,tBT_UUID *p_uuid_cond,
Dbta_gattc_cache.c215 static UINT8 bta_gattc_get_srvc_inst_id(tBTA_GATTC_SERV *p_srvc_cb, tBT_UUID uuid) in bta_gattc_get_srvc_inst_id()
240 static UINT8 bta_gattc_get_char_inst_id(tBTA_GATTC_CACHE *p_service_cache, tBT_UUID *p_uuid) in bta_gattc_get_char_inst_id()
244 tBT_UUID attr_uuid; in bta_gattc_get_char_inst_id()
269 static UINT8 bta_gattc_get_char_descr_inst_id(tBTA_GATTC_CACHE_ATTR *p_char_attr, tBT_UUID *p_uuid) in bta_gattc_get_char_descr_inst_id()
272 tBT_UUID attr_uuid; in bta_gattc_get_char_descr_inst_id()
300 tBT_UUID *p_uuid, in bta_gattc_add_srvc_to_cache()
322 memcpy(&p_new_srvc->service_uuid.id.uuid, p_uuid, sizeof(tBT_UUID)); in bta_gattc_add_srvc_to_cache()
353 tBT_UUID *p_uuid, in bta_gattc_add_attr_to_cache()
701 UINT16 e_handle, tBT_UUID uuid) in bta_gattc_srvc_in_list()
740 tBT_UUID uuid, BOOLEAN is_primary) in bta_gattc_add_srvc_to_list()
[all …]
Dbta_gattc_api.c88 void BTA_GATTC_AppRegister(tBT_UUID *p_app_uuid, tBTA_GATTC_CBACK *p_client_cb) in BTA_GATTC_AppRegister()
101 memcpy(&p_buf->app_uuid, p_app_uuid, sizeof(tBT_UUID)); in BTA_GATTC_AppRegister()
270 void BTA_GATTC_ServiceSearchRequest (UINT16 conn_id, tBT_UUID *p_srvc_uuid) in BTA_GATTC_ServiceSearchRequest()
273 UINT16 len = sizeof(tBTA_GATTC_API_SEARCH) + sizeof(tBT_UUID); in BTA_GATTC_ServiceSearchRequest()
284 p_buf->p_srvc_uuid = (tBT_UUID *)(p_buf + 1); in BTA_GATTC_ServiceSearchRequest()
285 memcpy(p_buf->p_srvc_uuid, p_srvc_uuid, sizeof(tBT_UUID)); in BTA_GATTC_ServiceSearchRequest()
315 tBT_UUID *p_char_uuid_cond, in BTA_GATTC_GetFirstChar()
355 tBT_UUID *p_char_uuid_cond, in BTA_GATTC_GetNextChar()
396 tBT_UUID *p_descr_uuid_cond, in BTA_GATTC_GetFirstCharDescr()
441 tBT_UUID *p_descr_uuid_cond, in BTA_GATTC_GetNextCharDescr()
[all …]
Dbta_gatts_utils.c192 BOOLEAN bta_gatts_uuid_compare(tBT_UUID tar, tBT_UUID src) in bta_gatts_uuid_compare()
Dbta_gattc_utils.c76 BOOLEAN bta_gattc_uuid_compare (tBT_UUID *p_src, tBT_UUID *p_tar, BOOLEAN is_precise) in bta_gattc_uuid_compare()
461 void bta_gattc_pack_attr_uuid(tBTA_GATTC_CACHE_ATTR *p_attr, tBT_UUID *p_uuid) in bta_gattc_pack_attr_uuid()
465 memset(p_uuid, 0, sizeof(tBT_UUID)); in bta_gattc_pack_attr_uuid()
632 tBT_UUID *p_descr_uuid, in bta_gattc_pack_read_cb_data()
637 tBT_UUID uuid = {LEN_UUID_16, {GATT_UUID_CHAR_AGG_FORMAT}}; in bta_gattc_pack_read_cb_data()
/system/bt/stack/include/
Dbnep_api.h101 tBT_UUID *remote_uuid,
102 tBT_UUID *local_uuid,
217 tBT_UUID src_uuid;
218 tBT_UUID dst_uuid;
280 tBT_UUID *src_uuid,
281 tBT_UUID *dst_uuid,
Dgatt_api.h406 tBT_UUID service;
431 tBT_UUID uuid;
506 tBT_UUID char_uuid; /* characteristic UUID type */
514 tBT_UUID service_type; /* group type */
522 tBT_UUID service_type; /* included service UUID */
546 tBT_UUID type;
605 tBT_UUID app_uuid128;
606 tBT_UUID svc_uuid;
737 extern UINT16 GATTS_CreateService (tGATT_IF gatt_if, tBT_UUID *p_svc_uuid,
776 extern UINT16 GATTS_AddCharacteristic (UINT16 service_handle, tBT_UUID *char_uuid,
[all …]
Dsdp_api.h56 #define tSDP_UUID tBT_UUID
332 tBT_UUID *p_uuid,
348 extern BOOLEAN SDP_FindServiceUUIDInRec_128bit(tSDP_DISC_REC *p_rec, tBT_UUID * p_uuid);
730 BOOLEAN SDP_FindServiceUUIDInRec(tSDP_DISC_REC *p_rec, tBT_UUID *p_uuid);
/system/bt/btif/include/
Dbtif_gatt_util.h25 void btif_to_bta_uuid(tBT_UUID *p_dest, bt_uuid_t *p_src);
31 void bta_to_btif_uuid(bt_uuid_t *p_dest, tBT_UUID *p_src);
36 uint16_t get_uuid16(tBT_UUID *p_uuid);
/system/bt/stack/bnep/
Dbnep_int.h158 tBT_UUID prv_src_uuid;
159 tBT_UUID prv_dst_uuid;
160 tBT_UUID src_uuid;
161 tBT_UUID dst_uuid;
241 extern UINT32 bnep_get_uuid32 (tBT_UUID *src_uuid);
Dbnep_api.c135 tBT_UUID *src_uuid, in BNEP_Connect()
136 tBT_UUID *dst_uuid, in BNEP_Connect()
163 memcpy ((UINT8 *)&(p_bcb->prv_src_uuid), (UINT8 *)&(p_bcb->src_uuid), sizeof (tBT_UUID)); in BNEP_Connect()
164 memcpy ((UINT8 *)&(p_bcb->prv_dst_uuid), (UINT8 *)&(p_bcb->dst_uuid), sizeof (tBT_UUID)); in BNEP_Connect()
170 memcpy ((UINT8 *)&(p_bcb->src_uuid), (UINT8 *)src_uuid, sizeof (tBT_UUID)); in BNEP_Connect()
171 memcpy ((UINT8 *)&(p_bcb->dst_uuid), (UINT8 *)dst_uuid, sizeof (tBT_UUID)); in BNEP_Connect()
268 memcpy ((UINT8 *)&(p_bcb->src_uuid), (UINT8 *)&(p_bcb->prv_src_uuid), sizeof (tBT_UUID)); in BNEP_ConnectResp()
269 memcpy ((UINT8 *)&(p_bcb->dst_uuid), (UINT8 *)&(p_bcb->prv_dst_uuid), sizeof (tBT_UUID)); in BNEP_ConnectResp()
739 memcpy (&(p_status->src_uuid), &(p_bcb->src_uuid), sizeof (tBT_UUID)); in BNEP_GetStatus()
740 memcpy (&(p_status->dst_uuid), &(p_bcb->dst_uuid), sizeof (tBT_UUID)); in BNEP_GetStatus()
Dbnep_utils.c619 memcpy ((UINT8 *)&(p_bcb->prv_src_uuid), (UINT8 *)&(p_bcb->src_uuid), sizeof (tBT_UUID)); in bnep_process_setup_conn_req()
620 memcpy ((UINT8 *)&(p_bcb->prv_dst_uuid), (UINT8 *)&(p_bcb->dst_uuid), sizeof (tBT_UUID)); in bnep_process_setup_conn_req()
740 … memcpy ((UINT8 *)&(p_bcb->src_uuid), (UINT8 *)&(p_bcb->prv_src_uuid), sizeof (tBT_UUID)); in bnep_process_setup_conn_responce()
741 … memcpy ((UINT8 *)&(p_bcb->dst_uuid), (UINT8 *)&(p_bcb->prv_dst_uuid), sizeof (tBT_UUID)); in bnep_process_setup_conn_responce()
1226 … memcpy ((UINT8 *)&(p_bcb->src_uuid), (UINT8 *)&(p_bcb->prv_src_uuid), sizeof (tBT_UUID)); in bnep_sec_check_complete()
1227 … memcpy ((UINT8 *)&(p_bcb->dst_uuid), (UINT8 *)&(p_bcb->prv_dst_uuid), sizeof (tBT_UUID)); in bnep_sec_check_complete()
1258 … memcpy ((UINT8 *)&(p_bcb->src_uuid), (UINT8 *)&(p_bcb->prv_src_uuid), sizeof (tBT_UUID)); in bnep_sec_check_complete()
1259 … memcpy ((UINT8 *)&(p_bcb->dst_uuid), (UINT8 *)&(p_bcb->prv_dst_uuid), sizeof (tBT_UUID)); in bnep_sec_check_complete()
1383 UINT32 bnep_get_uuid32 (tBT_UUID *src_uuid) in bnep_get_uuid32()
/system/bt/bta/mce/
Dbta_mce_act.c45 static const tBT_UUID bta_mce_mas_uuid = {
83 … p_rec = SDP_FindServiceUUIDInDb(p_bta_mce_cfg->p_sdp_db, (tBT_UUID*) &bta_mce_mas_uuid, p_rec); in bta_mce_search_cback()
171 (tBT_UUID*) &bta_mce_mas_uuid, 0, NULL); in bta_mce_get_remote_mas_instances()
/system/bt/bta/sdp/
Dbta_sdp_act.c66 static inline tBT_UUID shorten_sdp_uuid(const tBT_UUID* u) in shorten_sdp_uuid()
78 tBT_UUID su; in shorten_sdp_uuid()
398 tBT_UUID su; in bta_sdp_search_cback()
406 tBT_UUID *uuid = (tBT_UUID*)user_data; in bta_sdp_search_cback()
407 memcpy(&evt_data.uuid, uuid, sizeof(tBT_UUID)); in bta_sdp_search_cback()
488 tBT_UUID *bta_sdp_search_uuid = osi_malloc(sizeof(tBT_UUID)); in bta_sdp_search()
515 memcpy(bta_sdp_search_uuid, &(p_data->get_search.uuid),sizeof(tBT_UUID)); in bta_sdp_search()
/system/bt/stack/pan/
Dpan_int.h113 tBT_UUID *remote_uuid,
114 tBT_UUID *local_uuid,
/system/bt/stack/sdp/
Dsdpint.h288 extern BOOLEAN sdpu_compare_bt_uuids (tBT_UUID *p_uuid1, tBT_UUID *p_uuid2);
289 extern BOOLEAN sdpu_compare_uuid_with_attr (tBT_UUID *p_btuuid, tSDP_DISC_ATTR *p_attr);
/system/bt/btif/src/
Dbtif_gatt_util.c82 void btif_to_bta_uuid(tBT_UUID *p_dest, bt_uuid_t *p_src) in btif_to_bta_uuid()
163 void bta_to_btif_uuid(bt_uuid_t *p_dest, tBT_UUID *p_src) in bta_to_btif_uuid()
220 uint16_t get_uuid16(tBT_UUID *p_uuid) in get_uuid16()

123