Home
last modified time | relevance | path

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

123

/external/bluetooth/bluedroid/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;
401 tBT_UUID uuid;
581 extern UINT32 gatt_add_sdp_record (tBT_UUID *p_uuid, UINT16 start_hdl, UINT16 end_hdl);
582 extern BOOLEAN gatt_parse_uuid_from_cmd(tBT_UUID *p_uuid, UINT16 len, UINT8 **p_data);
583 extern UINT8 gatt_build_uuid_to_stream(UINT8 **p_dst, tBT_UUID uuid);
584 extern BOOLEAN gatt_uuid_compare(tBT_UUID src, tBT_UUID tar);
593 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()
93 tBT_UUID * gatts_get_service_uuid (tGATT_SVC_DB *p_db) in gatts_get_service_uuid()
332 tBT_UUID type, in gatts_db_read_attr_value_by_type()
343 tBT_UUID attr_uuid; in gatts_db_read_attr_value_by_type()
452 tBT_UUID service) in gatts_add_included_service()
455 tBT_UUID uuid = {LEN_UUID_16, {GATT_UUID_INCLUDE_SERVICE}}; in gatts_add_included_service()
472 memcpy(&p_attr->p_value->incl_handle.service_type, &service, sizeof(tBT_UUID)); in gatts_add_included_service()
502 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()
1195 tGATT_IF GATT_Register (tBT_UUID *p_app_uuid128, tGATT_CBACK *p_cb_info) in GATT_Register()
/external/bluetooth/bluedroid/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 BTA_API extern void BTA_GATTC_AppRegister(tBT_UUID *p_app_uuid, tBTA_GATTC_CBACK *p_client_cb);
744 BTA_API extern void BTA_GATTC_ServiceSearchRequest(UINT16 conn_id, tBT_UUID *p_srvc_uuid);
[all …]
/external/bluetooth/bluedroid/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.c212 static UINT8 bta_gattc_get_srvc_inst_id(tBTA_GATTC_SERV *p_srvc_cb, tBT_UUID uuid) in bta_gattc_get_srvc_inst_id()
237 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()
241 tBT_UUID attr_uuid; in bta_gattc_get_char_inst_id()
266 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()
269 tBT_UUID attr_uuid; in bta_gattc_get_char_descr_inst_id()
297 tBT_UUID *p_uuid, in bta_gattc_add_srvc_to_cache()
319 memcpy(&p_new_srvc->service_uuid.id.uuid, p_uuid, sizeof(tBT_UUID)); in bta_gattc_add_srvc_to_cache()
350 tBT_UUID *p_uuid, in bta_gattc_add_attr_to_cache()
698 UINT16 e_handle, tBT_UUID uuid) in bta_gattc_srvc_in_list()
737 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_gattc_utils.c73 BOOLEAN bta_gattc_uuid_compare (tBT_UUID *p_src, tBT_UUID *p_tar, BOOLEAN is_precise) in bta_gattc_uuid_compare()
458 void bta_gattc_pack_attr_uuid(tBTA_GATTC_CACHE_ATTR *p_attr, tBT_UUID *p_uuid) in bta_gattc_pack_attr_uuid()
462 memset(p_uuid, 0, sizeof(tBT_UUID)); in bta_gattc_pack_attr_uuid()
629 tBT_UUID *p_descr_uuid, in bta_gattc_pack_read_cb_data()
634 tBT_UUID uuid = {LEN_UUID_16, {GATT_UUID_CHAR_AGG_FORMAT}}; in bta_gattc_pack_read_cb_data()
Dbta_gatts_utils.c193 BOOLEAN bta_gatts_uuid_compare(tBT_UUID tar, tBT_UUID src) in bta_gatts_uuid_compare()
Dbta_gatts_act.c223 memcpy(&cb_data.reg_oper.uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID)); in bta_gatts_register()
231 memcpy(&p_cb->rcb[first_unuse].app_uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID)); in bta_gatts_register()
372 &p_msg->api_create_svc.service_uuid, sizeof(tBT_UUID)); in bta_gatts_create_srvc()
391 memcpy(&cb_data.create.uuid, &p_msg->api_create_svc.service_uuid, sizeof(tBT_UUID)); in bta_gatts_create_srvc()
460 memcpy(&cb_data.add_result.char_uuid, &p_msg->api_add_char.char_uuid, sizeof(tBT_UUID)); in bta_gatts_add_char()
498 memcpy(&cb_data.add_result.char_uuid, &p_msg->api_add_char_descr.descr_uuid, sizeof(tBT_UUID)); in bta_gatts_add_char_descr()
/external/bluetooth/bluedroid/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.h405 tBT_UUID service;
430 tBT_UUID uuid;
505 tBT_UUID char_uuid; /* characteristic UUID type */
513 tBT_UUID service_type; /* group type */
521 tBT_UUID service_type; /* included service UUID */
545 tBT_UUID type;
605 tBT_UUID app_uuid128;
606 tBT_UUID svc_uuid;
737 GATT_API extern UINT16 GATTS_CreateService (tGATT_IF gatt_if, tBT_UUID *p_svc_uuid,
776 GATT_API extern UINT16 GATTS_AddCharacteristic (UINT16 service_handle, tBT_UUID *char_uuid,
[all …]
Dsdp_api.h61 #define tSDP_UUID tBT_UUID
337 tBT_UUID *p_uuid,
353 SDP_API extern BOOLEAN SDP_FindServiceUUIDInRec_128bit(tSDP_DISC_REC *p_rec, tBT_UUID * p_uuid);
750 SDP_API BOOLEAN SDP_FindServiceUUIDInRec(tSDP_DISC_REC *p_rec, tBT_UUID *p_uuid);
/external/bluetooth/bluedroid/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);
/external/bluetooth/bluedroid/stack/bnep/
Dbnep_api.c136 tBT_UUID *src_uuid, in BNEP_Connect()
137 tBT_UUID *dst_uuid, in BNEP_Connect()
169 memcpy ((UINT8 *)&(p_bcb->prv_src_uuid), (UINT8 *)&(p_bcb->src_uuid), sizeof (tBT_UUID)); in BNEP_Connect()
170 memcpy ((UINT8 *)&(p_bcb->prv_dst_uuid), (UINT8 *)&(p_bcb->dst_uuid), sizeof (tBT_UUID)); in BNEP_Connect()
176 memcpy ((UINT8 *)&(p_bcb->src_uuid), (UINT8 *)src_uuid, sizeof (tBT_UUID)); in BNEP_Connect()
177 memcpy ((UINT8 *)&(p_bcb->dst_uuid), (UINT8 *)dst_uuid, sizeof (tBT_UUID)); in BNEP_Connect()
274 memcpy ((UINT8 *)&(p_bcb->src_uuid), (UINT8 *)&(p_bcb->prv_src_uuid), sizeof (tBT_UUID)); in BNEP_ConnectResp()
275 memcpy ((UINT8 *)&(p_bcb->dst_uuid), (UINT8 *)&(p_bcb->prv_dst_uuid), sizeof (tBT_UUID)); in BNEP_ConnectResp()
772 memcpy (&(p_status->src_uuid), &(p_bcb->src_uuid), sizeof (tBT_UUID)); in BNEP_GetStatus()
773 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;
243 extern UINT32 bnep_get_uuid32 (tBT_UUID *src_uuid);
Dbnep_utils.c623 memcpy ((UINT8 *)&(p_bcb->prv_src_uuid), (UINT8 *)&(p_bcb->src_uuid), sizeof (tBT_UUID)); in bnep_process_setup_conn_req()
624 memcpy ((UINT8 *)&(p_bcb->prv_dst_uuid), (UINT8 *)&(p_bcb->dst_uuid), sizeof (tBT_UUID)); in bnep_process_setup_conn_req()
746 … memcpy ((UINT8 *)&(p_bcb->src_uuid), (UINT8 *)&(p_bcb->prv_src_uuid), sizeof (tBT_UUID)); in bnep_process_setup_conn_responce()
747 … memcpy ((UINT8 *)&(p_bcb->dst_uuid), (UINT8 *)&(p_bcb->prv_dst_uuid), sizeof (tBT_UUID)); in bnep_process_setup_conn_responce()
1252 … memcpy ((UINT8 *)&(p_bcb->src_uuid), (UINT8 *)&(p_bcb->prv_src_uuid), sizeof (tBT_UUID)); in bnep_sec_check_complete()
1253 … memcpy ((UINT8 *)&(p_bcb->dst_uuid), (UINT8 *)&(p_bcb->prv_dst_uuid), sizeof (tBT_UUID)); in bnep_sec_check_complete()
1284 … memcpy ((UINT8 *)&(p_bcb->src_uuid), (UINT8 *)&(p_bcb->prv_src_uuid), sizeof (tBT_UUID)); in bnep_sec_check_complete()
1285 … memcpy ((UINT8 *)&(p_bcb->dst_uuid), (UINT8 *)&(p_bcb->prv_dst_uuid), sizeof (tBT_UUID)); in bnep_sec_check_complete()
1417 UINT32 bnep_get_uuid32 (tBT_UUID *src_uuid) in bnep_get_uuid32()
/external/bluetooth/bluedroid/bta/mce/
Dbta_mce_act.c46 static const tBT_UUID bta_mce_mas_uuid = {
84 … p_rec = SDP_FindServiceUUIDInDb(p_bta_mce_cfg->p_sdp_db, (tBT_UUID*) &bta_mce_mas_uuid, p_rec); in bta_mce_search_cback()
172 (tBT_UUID*) &bta_mce_mas_uuid, 0, NULL); in bta_mce_get_remote_mas_instances()
/external/bluetooth/bluedroid/stack/pan/
Dpan_int.h114 tBT_UUID *remote_uuid,
115 tBT_UUID *local_uuid,
/external/bluetooth/bluedroid/stack/sdp/
Dsdpint.h291 SDP_API extern BOOLEAN sdpu_compare_bt_uuids (tBT_UUID *p_uuid1, tBT_UUID *p_uuid2);
292 extern BOOLEAN sdpu_compare_uuid_with_attr (tBT_UUID *p_btuuid, tSDP_DISC_ATTR *p_attr);
/external/bluetooth/bluedroid/btif/src/
Dbtif_gatt_util.c81 void btif_to_bta_uuid(tBT_UUID *p_dest, bt_uuid_t *p_src) in btif_to_bta_uuid()
162 void bta_to_btif_uuid(bt_uuid_t *p_dest, tBT_UUID *p_src) in bta_to_btif_uuid()
219 uint16_t get_uuid16(tBT_UUID *p_uuid) in get_uuid16()
/external/bluetooth/bluedroid/bta/dm/
Dbta_dm_api.c934 void BTA_DmEirAddUUID (tBT_UUID *p_uuid) in BTA_DmEirAddUUID()
943 memcpy (&(p_msg->uuid), p_uuid, sizeof(tBT_UUID)); in BTA_DmEirAddUUID()
961 void BTA_DmEirRemoveUUID (tBT_UUID *p_uuid) in BTA_DmEirRemoveUUID()
970 memcpy (&(p_msg->uuid), p_uuid, sizeof(tBT_UUID)); in BTA_DmEirRemoveUUID()
1810 sizeof(tBT_UUID) * p_services->num_uuid) : in bta_dm_discover_send_msg()
1830 p_msg->p_uuid = (tBT_UUID *)(p_msg + 1); in bta_dm_discover_send_msg()
1831 memcpy(p_msg->p_uuid, p_services->p_uuid, sizeof(tBT_UUID) * p_services->num_uuid); in bta_dm_discover_send_msg()
1918 …UINT16 len = p_services ? (sizeof(tBTA_DM_API_SEARCH) + sizeof(tBT_UUID) * p_services->num_uuid) : in BTA_DmSearchExt()
1938 p_msg->p_uuid = (tBT_UUID *)(p_msg + 1); in BTA_DmSearchExt()
1939 memcpy(p_msg->p_uuid, p_services->p_uuid, sizeof(tBT_UUID) * p_services->num_uuid); in BTA_DmSearchExt()

123