For with fix for disconnection notifications

Fork of nRF51822 by Nordic Semiconductor

Revision:
27:2a1c1825b7be
Parent:
22:c6ee8136847e
Child:
28:fdc1a88a80c8
diff -r dade7d2857b4 -r 2a1c1825b7be nRF51GattServer.cpp
--- 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 );