public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/8] android/gatt: Fix service class id of built in gatt services
@ 2014-07-17  8:42 Marcin Kraglak
  2014-07-17  8:42 ` [PATCH 2/8] attrib: Fix discovering descriptors Marcin Kraglak
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Marcin Kraglak @ 2014-07-17  8:42 UTC (permalink / raw)
  To: linux-bluetooth

---
 android/gatt.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/android/gatt.c b/android/gatt.c
index 986f435..19d9b60 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -6199,6 +6199,7 @@ static void register_gap_service(void)
 	gatt_db_service_set_active(gatt_db, gap_srvc_data.srvc , true);
 
 	/* SDP */
+	bt_uuid16_create(&uuid, 0x1800);
 	start = gap_srvc_data.srvc;
 	end = gatt_db_get_end_handle(gatt_db, gap_srvc_data.srvc);
 	gap_sdp_handle = add_sdp_record(&uuid, start, end,
@@ -6308,6 +6309,7 @@ static void register_device_info_service(void)
 	gatt_db_service_set_active(gatt_db, srvc_handle, true);
 
 	/* SDP */
+	bt_uuid16_create(&uuid, 0x180a);
 	end_handle = gatt_db_get_end_handle(gatt_db, srvc_handle);
 	dis_sdp_handle = add_sdp_record(&uuid, srvc_handle, end_handle,
 						"Device Information Service");
@@ -6404,6 +6406,7 @@ static void register_gatt_service(void)
 	gatt_db_service_set_active(gatt_db, srvc_handle, true);
 
 	/* SDP */
+	bt_uuid16_create(&uuid, 0x1801);
 	end_handle = gatt_db_get_end_handle(gatt_db, srvc_handle);
 	gatt_sdp_handle = add_sdp_record(&uuid, srvc_handle, end_handle,
 						"Generic Attribute Profile");
-- 
1.9.0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-07-18  9:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-17  8:42 [PATCH 1/8] android/gatt: Fix service class id of built in gatt services Marcin Kraglak
2014-07-17  8:42 ` [PATCH 2/8] attrib: Fix discovering descriptors Marcin Kraglak
2014-07-17  8:42 ` [PATCH 3/8] android/gatt: Fix searching primary services by uuids Marcin Kraglak
2014-07-17  8:42 ` [PATCH 4/8] android/gatt: Fix check for permissions error Marcin Kraglak
2014-07-17  8:42 ` [PATCH 5/8] android/gatt: Fix read responses with o length value Marcin Kraglak
2014-07-17  8:42 ` [PATCH 6/8] android/gatt: Add GATT_PERM_NONE define Marcin Kraglak
2014-07-17  8:42 ` [PATCH 7/8] android/gatt: Send proper status of read descriptor callback Marcin Kraglak
2014-07-17  8:42 ` [PATCH 8/8] android/gatt: Fix incorrect status in read characteristic cb Marcin Kraglak
2014-07-18  9:15 ` [PATCH 1/8] android/gatt: Fix service class id of built in gatt services Szymon Janc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox