summaryrefslogtreecommitdiffstats
path: root/stack/include
diff options
context:
space:
mode:
authorKausik Sinnaswamy <kausik@broadcom.com>2012-04-24 22:42:52 +0530
committerMatthew Xie <mattx@google.com>2012-07-14 11:19:18 -0700
commit4ccd6261b39fef1854761442b10deac3490be623 (patch)
tree874cbd1400d6691939e8654d08dbaa72e2e435fe /stack/include
parentc6be83856892327f88002191b0c067e1e26d0d9e (diff)
downloadexternal_bluetooth_bluedroid-4ccd6261b39fef1854761442b10deac3490be623.zip
external_bluetooth_bluedroid-4ccd6261b39fef1854761442b10deac3490be623.tar.gz
external_bluetooth_bluedroid-4ccd6261b39fef1854761442b10deac3490be623.tar.bz2
Support added to report custom 128-bit UUIDs as part of the BT_PROPERTY_UUIDS of the remote device
Change-Id: I1facd9238cf847915df4c01b33c77b2fdaa168cb
Diffstat (limited to 'stack/include')
-rw-r--r--stack/include/sdp_api.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/stack/include/sdp_api.h b/stack/include/sdp_api.h
index e4774c3..121afd4 100644
--- a/stack/include/sdp_api.h
+++ b/stack/include/sdp_api.h
@@ -330,6 +330,35 @@ SDP_API extern tSDP_DISC_REC *SDP_FindServiceUUIDInDb (tSDP_DISCOVERY_DB *p_db,
tBT_UUID *p_uuid,
tSDP_DISC_REC *p_start_rec);
+/*******************************************************************************
+**
+** Function SDP_FindServiceUUIDInRec_128bit
+**
+** Description This function is called to read the 128-bit service UUID within a record
+** if there is any.
+**
+** Parameters: p_rec - pointer to a SDP record.
+** p_uuid - output parameter to save the UUID found.
+**
+** Returns TRUE if found, otherwise FALSE.
+**
+*******************************************************************************/
+SDP_API extern BOOLEAN SDP_FindServiceUUIDInRec_128bit(tSDP_DISC_REC *p_rec, tBT_UUID * p_uuid);
+
+/*******************************************************************************
+**
+** Function SDP_FindServiceInDb_128bit
+**
+** Description This function queries an SDP database for a specific service.
+** If the p_start_rec pointer is NULL, it looks from the beginning
+** of the database, else it continues from the next record after
+** p_start_rec.
+**
+** Returns Pointer to record containing service class, or NULL
+**
+*******************************************************************************/
+SDP_API extern tSDP_DISC_REC *SDP_FindServiceInDb_128bit(tSDP_DISCOVERY_DB *p_db,
+ tSDP_DISC_REC *p_start_rec);
/*******************************************************************************
**