From 6a6dc4343c9dcec8e068875f52b382a1d9f2306e Mon Sep 17 00:00:00 2001 From: Grzegorz Kolodziejczyk Date: Thu, 22 Jan 2015 16:01:51 +0100 Subject: [PATCH] android/gatt: Change device information service handle number 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 fc7d004ee..466c1ea1f 100644 --- a/android/gatt.c +++ b/android/gatt.c @@ -6908,7 +6908,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(); -- 2.47.3