Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: microbit_rubber_ducky microbit_mouse_BLE microbit_mouse_BLE_daybreak_version microbit_presenter
Fork of nRF51822 by
Diff: nRF51GattServer.h
- Revision:
- 184:d51fa0c27bbb
- Parent:
- 180:5082f66bb16e
- Child:
- 354:ed9e316324cd
--- a/nRF51GattServer.h Mon Jun 08 10:43:30 2015 +0100
+++ b/nRF51GattServer.h Mon Jun 08 10:43:30 2015 +0100
@@ -42,8 +42,8 @@
void hwCallback(ble_evt_t *p_ble_evt);
private:
- const static unsigned BLE_TOTAL_CHARACTERISTICS = 24;
- const static unsigned BLE_TOTAL_DESCRIPTORS = 24;
+ const static unsigned BLE_TOTAL_CHARACTERISTICS = 20;
+ const static unsigned BLE_TOTAL_DESCRIPTORS = 8;
GattCharacteristic *p_characteristics[BLE_TOTAL_CHARACTERISTICS];
ble_gatts_char_handles_t nrfCharacteristicHandles[BLE_TOTAL_CHARACTERISTICS];
