Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 1/2] android/gatt: Change device information service handle number
@ 2015-01-22 15:01 Grzegorz Kolodziejczyk
  2015-01-22 15:01 ` [PATCH 2/2] android/pts: Update DIS PTS 6.0 pixits, pics, results for android 5.0 Grzegorz Kolodziejczyk
  2015-01-29 15:49 ` [PATCH 1/2] android/gatt: Change device information service handle number Szymon Janc
  0 siblings, 2 replies; 3+ messages in thread
From: Grzegorz Kolodziejczyk @ 2015-01-22 15:01 UTC (permalink / raw)
  To: linux-bluetooth

This patch corrects number of handles which are reserved for DIS service
while adding to gatt db. Sufficient amount for all DIS characteristics
instances is 17.

This is related to PTS test case:
TC_DEC_BV_09_C - while all characteristics are registered, 15 handles in
service wasn't sufficient to register PNP ID.
---
 android/gatt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/gatt.c b/android/gatt.c
index 1d65c2a..3b690f9 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -6898,7 +6898,7 @@ static void register_device_info_service(void)
 
 	/* Device Information Service */
 	bt_uuid16_create(&uuid, 0x180a);
-	service = gatt_db_add_service(gatt_db, &uuid, true, 15);
+	service = gatt_db_add_service(gatt_db, &uuid, true, 17);
 
 	/* User data are not const hence (void *) cast is used */
 	data = bt_config_get_name();
-- 
1.9.3


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

end of thread, other threads:[~2015-01-29 15:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-22 15:01 [PATCH 1/2] android/gatt: Change device information service handle number Grzegorz Kolodziejczyk
2015-01-22 15:01 ` [PATCH 2/2] android/pts: Update DIS PTS 6.0 pixits, pics, results for android 5.0 Grzegorz Kolodziejczyk
2015-01-29 15:49 ` [PATCH 1/2] android/gatt: Change device information service handle number Szymon Janc

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