reduce the maximum number of CHARACTERISTICS and DESCRIPTORS that can be handled.

This commit is contained in:
Rohit Grover 2015-05-28 15:51:43 +01:00
parent 3089e90f59
commit 6c12041f89
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,8 @@ public:
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];