diff options
author | Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com> | 2015-01-22 16:01:51 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2015-01-29 16:44:54 +0100 |
commit | 6a6dc4343c9dcec8e068875f52b382a1d9f2306e (patch) | |
tree | 7e61c87b6a4e083340c81849f020caa6c1201578 /android/gatt.c | |
parent | 2d9bf236c70434e0015043ec4a572f2bbf837232 (diff) | |
download | bluez-6a6dc4343c9dcec8e068875f52b382a1d9f2306e.tar.gz |
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.
Diffstat (limited to 'android/gatt.c')
-rw-r--r-- | android/gatt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |