From c0053788fae0c09c660ec372980c52399f6f387c Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Wed, 24 Sep 2014 11:08:21 +0200 Subject: [PATCH] android/gatt: Fix serial number in DIS Fix use of name as serial number value. Since now proper config option exists use real serial if provided. --- android/gatt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/gatt.c b/android/gatt.c index 37bdeb6ef..c4823647e 100644 --- a/android/gatt.c +++ b/android/gatt.c @@ -6469,7 +6469,7 @@ static void register_device_info_service(void) (void *) data); } - /* TODO */ + data = bt_config_get_serial(); if (data) { bt_uuid16_create(&uuid, GATT_CHARAC_SERIAL_NUMBER_STRING); gatt_db_add_characteristic(gatt_db, srvc_handle, &uuid, -- 2.47.3