[PATCH 1/2] android/gatt: Change device information service handle number

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux