Home
last modified time | relevance | path

Searched refs:tBT_UUID (Results 1 – 25 of 52) 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;
561 extern UINT32 gatt_add_sdp_record (tBT_UUID *p_uuid, UINT16 start_hdl, UINT16 end_hdl);
562 extern BOOLEAN gatt_parse_uuid_from_cmd(tBT_UUID *p_uuid, UINT16 len, UINT8 **p_data);
563 extern UINT8 gatt_build_uuid_to_stream(UINT8 **p_dst, tBT_UUID uuid);
564 extern BOOLEAN gatt_uuid_compare(tBT_UUID src, tBT_UUID tar);
574 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()
441 tBT_UUID service) in gatts_add_included_service()
444 tBT_UUID uuid = {LEN_UUID_16, {GATT_UUID_INCLUDE_SERVICE}}; in gatts_add_included_service()
461 memcpy(&p_attr->p_value->incl_handle.service_type, &service, sizeof(tBT_UUID)); in gatts_add_included_service()
491 tBT_UUID * p_char_uuid) in gatts_add_characteristic()
[all …]
Dgatt_utils.c201 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()
357 tGATT_HDL_LIST_ELEM *gatt_find_hdl_buffer_by_app_id (tBT_UUID *p_app_uuid128, in gatt_find_hdl_buffer_by_app_id()
358 tBT_UUID *p_svc_uuid, in gatt_find_hdl_buffer_by_app_id()
409 void gatt_free_srvc_db_buffer_app_id(tBT_UUID *p_app_id) in gatt_free_srvc_db_buffer_app_id()
416 if (memcmp(p_app_id, &p_elem->asgn_range.app_uuid128, sizeof(tBT_UUID)) == 0) in gatt_free_srvc_db_buffer_app_id()
437 BOOLEAN gatt_is_last_attribute(tGATT_SRV_LIST_INFO *p_list, tGATT_SRV_LIST_ELEM *p_start, tBT_UUID in gatt_is_last_attribute()
442 tBT_UUID *p_svc_uuid; in gatt_is_last_attribute()
1029 BOOLEAN gatt_uuid_compare (tBT_UUID src, tBT_UUID tar) in gatt_uuid_compare()
1094 UINT8 gatt_build_uuid_to_stream(UINT8 **p_dst, tBT_UUID uuid) in gatt_build_uuid_to_stream()
1129 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.c140 UINT16 GATTS_CreateService (tGATT_IF gatt_if, tBT_UUID *p_svc_uuid, in GATTS_CreateService()
150 tBT_UUID *p_app_uuid128; in GATTS_CreateService()
314 UINT16 GATTS_AddCharacteristic (UINT16 service_handle, tBT_UUID *p_char_uuid, in GATTS_AddCharacteristic()
358 tBT_UUID * p_descr_uuid) in GATTS_AddCharDescriptor()
393 BOOLEAN GATTS_DeleteService (tGATT_IF gatt_if, tBT_UUID *p_svc_uuid, UINT16 svc_inst) in GATTS_DeleteService()
401 tBT_UUID *p_app_uuid128; in GATTS_DeleteService()
469 tBT_UUID *p_uuid; in GATTS_StartService()
931 memcpy(&p_clcb->uuid, &p_read->service.uuid, sizeof(tBT_UUID)); in GATTC_Read()
942 memset(&p_clcb->uuid, 0, sizeof(tBT_UUID)); in GATTC_Read()
1188 tGATT_IF GATT_Register (tBT_UUID *p_app_uuid128, tGATT_CBACK *p_cb_info) in GATT_Register()
/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.c83 void BTA_GATTS_AppRegister(tBT_UUID *p_app_uuid, tBTA_GATTS_CBACK *p_cback) in BTA_GATTS_AppRegister()
94 memcpy(&p_buf->app_uuid, p_app_uuid, sizeof(tBT_UUID)); in BTA_GATTS_AppRegister()
143 void BTA_GATTS_CreateService(tBTA_GATTS_IF server_if, tBT_UUID *p_service_uuid, UINT8 inst, in BTA_GATTS_CreateService()
152 memcpy(&p_buf->service_uuid, p_service_uuid, sizeof(tBT_UUID)); in BTA_GATTS_CreateService()
200 void BTA_GATTS_AddCharacteristic (UINT16 service_id, tBT_UUID *p_char_uuid, in BTA_GATTS_AddCharacteristic()
212 memcpy(&p_buf->char_uuid, p_char_uuid, sizeof(tBT_UUID)); in BTA_GATTS_AddCharacteristic()
235 tBT_UUID * p_descr_uuid) in BTA_GATTS_AddCharDescriptor()
244 memcpy(&p_buf->descr_uuid, p_descr_uuid, sizeof(tBT_UUID)); in BTA_GATTS_AddCharDescriptor()
Dbta_gattc_cache.c50 extern void bta_to_btif_uuid(bt_uuid_t *p_dest, tBT_UUID *p_src);
202 tBT_UUID *p_uuid, in bta_gattc_add_srvc_to_cache()
215 memcpy(&p_new_srvc->uuid, p_uuid, sizeof(tBT_UUID)); in bta_gattc_add_srvc_to_cache()
231 tBT_UUID *p_uuid, in bta_gattc_add_char_to_cache()
257 memcpy(&characteristic->uuid, p_uuid, sizeof(tBT_UUID)); in bta_gattc_add_char_to_cache()
276 tBT_UUID *p_uuid, in bta_gattc_add_attr_to_cache()
298 memcpy(&isvc->uuid, p_uuid, sizeof(tBT_UUID)); in bta_gattc_add_attr_to_cache()
315 memcpy(&descriptor->uuid, p_uuid, sizeof(tBT_UUID)); in bta_gattc_add_attr_to_cache()
609 UINT16 e_handle, tBT_UUID uuid) in bta_gattc_srvc_in_list()
648 tBT_UUID uuid, BOOLEAN is_primary) in bta_gattc_add_srvc_to_list()
[all …]
Dbta_gattc_int.h98 tBT_UUID app_uuid;
167 tBT_UUID *p_srvc_uuid;
240 tBT_UUID uuid;
316 tBT_UUID app_uuid;
468 extern BOOLEAN bta_gattc_uuid_compare (const tBT_UUID *p_src, const tBT_UUID *p_tar, BOOLEAN is_pre…
481 extern void bta_gattc_search_service(tBTA_GATTC_CLCB *p_clcb, tBT_UUID *p_uuid);
Dbta_gattc_api.c85 void BTA_GATTC_AppRegister(tBT_UUID *p_app_uuid, tBTA_GATTC_CBACK *p_client_cb) in BTA_GATTC_AppRegister()
95 memcpy(&p_buf->app_uuid, p_app_uuid, sizeof(tBT_UUID)); in BTA_GATTC_AppRegister()
243 void BTA_GATTC_ServiceSearchRequest (UINT16 conn_id, tBT_UUID *p_srvc_uuid) in BTA_GATTC_ServiceSearchRequest()
245 const size_t len = sizeof(tBTA_GATTC_API_SEARCH) + sizeof(tBT_UUID); in BTA_GATTC_ServiceSearchRequest()
251 p_buf->p_srvc_uuid = (tBT_UUID *)(p_buf + 1); in BTA_GATTC_ServiceSearchRequest()
252 memcpy(p_buf->p_srvc_uuid, p_srvc_uuid, sizeof(tBT_UUID)); in BTA_GATTC_ServiceSearchRequest()
Dbta_gatts_utils.c192 BOOLEAN bta_gatts_uuid_compare(tBT_UUID tar, tBT_UUID src) in bta_gatts_uuid_compare()
Dbta_gatts_act.c219 memcpy(&cb_data.reg_oper.uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID)); in bta_gatts_register()
226 memcpy(&p_cb->rcb[first_unuse].app_uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID)); in bta_gatts_register()
355 &p_msg->api_create_svc.service_uuid, sizeof(tBT_UUID)); in bta_gatts_create_srvc()
371 memcpy(&cb_data.create.uuid, &p_msg->api_create_svc.service_uuid, sizeof(tBT_UUID)); in bta_gatts_create_srvc()
438 memcpy(&cb_data.add_result.char_uuid, &p_msg->api_add_char.char_uuid, sizeof(tBT_UUID)); in bta_gatts_add_char()
474 memcpy(&cb_data.add_result.char_uuid, &p_msg->api_add_char_descr.descr_uuid, sizeof(tBT_UUID)); in bta_gatts_add_char_descr()
/system/bt/bta/include/
Dbta_gatt_api.h56 tBT_UUID uuid; /* uuid of the attribute */
235 tBT_UUID uuid;
250 tBT_UUID app_uuid;
430 tBT_UUID app_uuid128;
431 tBT_UUID svc_uuid;
487 tBT_UUID uuid;
498 tBT_UUID uuid;
507 tBT_UUID char_uuid;
563 tBT_UUID uuid;
574 tBT_UUID uuid;
[all …]
Dbta_sdp_api.h58 tBT_UUID uuid;
/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
323 tBT_UUID *p_uuid,
339 BOOLEAN SDP_FindServiceUUIDInRec_128bit(tSDP_DISC_REC *p_rec, tBT_UUID * p_uuid);
677 BOOLEAN SDP_FindServiceUUIDInRec(tSDP_DISC_REC *p_rec, tBT_UUID *p_uuid);
/system/bt/btif/include/
Dbtif_gatt_util.h27 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);
34 uint16_t get_uuid16(tBT_UUID *p_uuid);
/system/bt/stack/bnep/
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()
270 memcpy ((UINT8 *)&(p_bcb->src_uuid), (UINT8 *)&(p_bcb->prv_src_uuid), sizeof (tBT_UUID)); in BNEP_ConnectResp()
271 memcpy ((UINT8 *)&(p_bcb->dst_uuid), (UINT8 *)&(p_bcb->prv_dst_uuid), sizeof (tBT_UUID)); in BNEP_ConnectResp()
735 memcpy (&(p_status->src_uuid), &(p_bcb->src_uuid), sizeof (tBT_UUID)); in BNEP_GetStatus()
736 memcpy (&(p_status->dst_uuid), &(p_bcb->dst_uuid), sizeof (tBT_UUID)); in BNEP_GetStatus()
Dbnep_int.h158 tBT_UUID prv_src_uuid;
159 tBT_UUID prv_dst_uuid;
160 tBT_UUID src_uuid;
161 tBT_UUID dst_uuid;
240 extern UINT32 bnep_get_uuid32 (tBT_UUID *src_uuid);
Dbnep_utils.c597 memcpy ((UINT8 *)&(p_bcb->prv_src_uuid), (UINT8 *)&(p_bcb->src_uuid), sizeof (tBT_UUID)); in bnep_process_setup_conn_req()
598 memcpy ((UINT8 *)&(p_bcb->prv_dst_uuid), (UINT8 *)&(p_bcb->dst_uuid), sizeof (tBT_UUID)); in bnep_process_setup_conn_req()
718 … memcpy ((UINT8 *)&(p_bcb->src_uuid), (UINT8 *)&(p_bcb->prv_src_uuid), sizeof (tBT_UUID)); in bnep_process_setup_conn_responce()
719 … memcpy ((UINT8 *)&(p_bcb->dst_uuid), (UINT8 *)&(p_bcb->prv_dst_uuid), sizeof (tBT_UUID)); in bnep_process_setup_conn_responce()
1199 … memcpy ((UINT8 *)&(p_bcb->src_uuid), (UINT8 *)&(p_bcb->prv_src_uuid), sizeof (tBT_UUID)); in bnep_sec_check_complete()
1200 … memcpy ((UINT8 *)&(p_bcb->dst_uuid), (UINT8 *)&(p_bcb->prv_dst_uuid), sizeof (tBT_UUID)); in bnep_sec_check_complete()
1233 … memcpy ((UINT8 *)&(p_bcb->src_uuid), (UINT8 *)&(p_bcb->prv_src_uuid), sizeof (tBT_UUID)); in bnep_sec_check_complete()
1234 … memcpy ((UINT8 *)&(p_bcb->dst_uuid), (UINT8 *)&(p_bcb->prv_dst_uuid), sizeof (tBT_UUID)); in bnep_sec_check_complete()
1358 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.c64 static inline tBT_UUID shorten_sdp_uuid(const tBT_UUID* u) in shorten_sdp_uuid()
76 tBT_UUID su; in shorten_sdp_uuid()
387 tBT_UUID su; in bta_sdp_search_cback()
396 tBT_UUID *uuid = (tBT_UUID*)user_data; in bta_sdp_search_cback()
397 memcpy(&evt_data.uuid, uuid, sizeof(tBT_UUID)); in bta_sdp_search_cback()
502 tBT_UUID *bta_sdp_search_uuid = osi_malloc(sizeof(tBT_UUID)); in bta_sdp_search()
503 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/btif/src/
Dbtif_gatt_util.c83 void btif_to_bta_uuid(tBT_UUID *p_dest, bt_uuid_t *p_src) in btif_to_bta_uuid()
151 void bta_to_btif_uuid(bt_uuid_t *p_dest, tBT_UUID *p_src) in bta_to_btif_uuid()
193 uint16_t get_uuid16(tBT_UUID *p_uuid) in get_uuid16()
/system/bt/stack/sdp/
Dsdpint.h287 extern BOOLEAN sdpu_compare_bt_uuids (tBT_UUID *p_uuid1, tBT_UUID *p_uuid2);
288 extern BOOLEAN sdpu_compare_uuid_with_attr (tBT_UUID *p_btuuid, tSDP_DISC_ATTR *p_attr);

123