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-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Diff: public/GattService.h
- Revision:
- 330:2a3f554ee9fd
- Parent:
- 260:ea7f9f14cc15
--- a/public/GattService.h Wed Apr 15 09:05:10 2015 +0100
+++ b/public/GattService.h Wed Apr 15 09:05:10 2015 +0100
@@ -57,7 +57,10 @@
* @param[in] numCharacteristics
* The number of characteristics
*/
- GattService(const UUID &uuid, GattCharacteristic *characteristics[], unsigned numCharacteristics);
+ GattService(const UUID &uuid, GattCharacteristic *characteristics[], unsigned numCharacteristics) :
+ _primaryServiceID(uuid), _characteristicCount(numCharacteristics), _characteristics(characteristics), _handle(0) {
+ /* empty */
+ }
const UUID &getUUID(void) const {return _primaryServiceID; }
uint16_t getHandle(void) const {return _handle; }
