From d8227522cd6d3918d48d763c8a5f4281261dd402 Mon Sep 17 00:00:00 2001 From: Joe Finney Date: Thu, 10 Dec 2015 17:23:30 +0000 Subject: [PATCH] microbit: Increased maximum characteristic count ble-nrf51822 assumes a static maximum of 20 characteristics by default. This is too small for the default micro:bit profile requires more than this. default raised to 30 to accomodate. --- source/nRF5xGattServer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/nRF5xGattServer.h b/source/nRF5xGattServer.h index f606ff9..a2fd886 100644 --- a/source/nRF5xGattServer.h +++ b/source/nRF5xGattServer.h @@ -44,7 +44,7 @@ public: private: - const static unsigned BLE_TOTAL_CHARACTERISTICS = 20; + const static unsigned BLE_TOTAL_CHARACTERISTICS = 30; const static unsigned BLE_TOTAL_DESCRIPTORS = 8; private: