From 3721458b9d80a410d30f1de9b97d6e79b1aa642f Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 21 Sep 2017 14:17:44 +0200 Subject: [PATCH] device_information_service: fix device_information_service_server_set_pnp_id --- src/ble/gatt-service/device_information_service_server.c | 7 ++++--- src/ble/gatt-service/device_information_service_server.h | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/ble/gatt-service/device_information_service_server.c b/src/ble/gatt-service/device_information_service_server.c index 0e9b4880b..3f4cc4b7f 100644 --- a/src/ble/gatt-service/device_information_service_server.c +++ b/src/ble/gatt-service/device_information_service_server.c @@ -101,6 +101,7 @@ static void set_string(device_information_field_id_t field_id, const char * text } static uint16_t device_information_service_read_callback(hci_con_handle_t con_handle, uint16_t attribute_handle, uint16_t offset, uint8_t * buffer, uint16_t buffer_size){ + UNUSED(con_handle); // ok: info same for all devices int i; for (i=0;i