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.
This commit is contained in:
Joe Finney 2015-12-10 17:23:30 +00:00
parent 031aeec3af
commit 001abe5262

View file

@ -44,7 +44,7 @@ public:
void hwCallback(ble_evt_t *p_ble_evt);
private:
const static unsigned BLE_TOTAL_CHARACTERISTICS = 20;
const static unsigned BLE_TOTAL_CHARACTERISTICS = 30;
const static unsigned BLE_TOTAL_DESCRIPTORS = 8;
private: