Nordic stack and drivers for the mbed BLE API Modified for HRM 1017 and correct DISCONNECT event processing

Fork of nRF51822 by Nordic Semiconductor

Revision:
27:2a1c1825b7be
Parent:
22:c6ee8136847e
Child:
28:fdc1a88a80c8
--- a/nRF51GattServer.cpp	Tue Jun 10 13:32:01 2014 +0100
+++ b/nRF51GattServer.cpp	Wed Jun 11 08:38:55 2014 +0100
@@ -64,7 +64,7 @@
                                               &nordicUUID,
                                               p_char->getProperties(),
                                               NULL,
-                                              p_char->getMinLength(),
+                                              p_char->getInitialLength(),
                                               p_char->getMaxLength(),
                                               &nrfCharacteristicHandles[characteristicCount]),
                  BLE_ERROR_PARAM_OUT_OF_RANGE );