From 612d0207646064f309edd564a69d30b42de9e26f Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Mon, 11 Apr 2011 15:24:03 -0300 Subject: Register primary services exported over basic rate This patch registers the object paths for primary services exported through SDP. PSM, start and end handle information are available in the Protocol Descriptor List. --- attrib/gatt.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'attrib/gatt.h') diff --git a/attrib/gatt.h b/attrib/gatt.h index 221d94d06..01c651e8c 100644 --- a/attrib/gatt.h +++ b/attrib/gatt.h @@ -21,6 +21,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * */ +#include #define GATT_CID 4 @@ -51,3 +52,7 @@ guint gatt_read_char_by_uuid(GAttrib *attrib, uint16_t start, uint16_t end, guint gatt_exchange_mtu(GAttrib *attrib, uint16_t mtu, GAttribResultFunc func, gpointer user_data); + +gboolean gatt_parse_record(const sdp_record_t *rec, + uuid_t *prim_uuid, uint16_t *psm, + uint16_t *start, uint16_t *end); -- cgit v1.2.1