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.
Fork of nRF51822 by
Diff: nRF51GattServer.h
- Revision:
- 74:d453d7969553
- Parent:
- 73:3d51439b8ce0
- Child:
- 75:95d732949d23
--- a/nRF51GattServer.h Fri Nov 21 10:00:41 2014 +0000 +++ b/nRF51GattServer.h Fri Nov 21 10:00:41 2014 +0000 @@ -44,11 +44,11 @@ void hwCallback(ble_evt_t *p_ble_evt); private: - GattCharacteristic *p_characteristics[BLE_TOTAL_CHARACTERISTICS]; - ble_gatts_char_handles_t nrfCharacteristicHandles[BLE_TOTAL_CHARACTERISTICS]; - GattAttribute *p_descriptors[BLE_TOTAL_DESCRIPTORS]; - uint8_t descriptorCount; - uint16_t nrfDescriptorHandles[BLE_TOTAL_DESCRIPTORS]; + GattCharacteristic *p_characteristics[BLE_TOTAL_CHARACTERISTICS]; + ble_gatts_char_handles_t nrfCharacteristicHandles[BLE_TOTAL_CHARACTERISTICS]; + GattAttribute *p_descriptors[BLE_TOTAL_DESCRIPTORS]; + uint8_t descriptorCount; + uint16_t nrfDescriptorHandles[BLE_TOTAL_DESCRIPTORS]; nRF51GattServer() : GattServer(), p_characteristics(), nrfCharacteristicHandles(), p_descriptors(), descriptorCount(0), nrfDescriptorHandles() { /* empty */ @@ -59,4 +59,4 @@ const nRF51GattServer& operator=(const nRF51GattServer &); }; -#endif \ No newline at end of file +#endif // ifndef __NRF51822_GATT_SERVER_H__ \ No newline at end of file