Lightly modified version of the BLE stack, that doesn't bring up a DFUService by default... as we have our own.
Fork of BLE_API by
Diff: public/GattService.h
- Revision:
- 113:7e3fd573d87b
- Parent:
- 106:a20be740075d
- Child:
- 144:c025c8839682
--- a/public/GattService.h Wed Aug 27 15:22:22 2014 +0200 +++ b/public/GattService.h Thu Aug 28 14:17:34 2014 +0200 @@ -31,6 +31,20 @@ class GattService { public: + /** + * @brief Creates a new GattCharacteristic using the specified 16-bit + * UUID, value length, and properties + * + * @note The UUID value must be unique in the service and is normally >1 + * + * @param[in] uuid + * The UUID to use for this characteristic + * @param[in] characteristics + * A pointer to an array of characteristics to be included within this service + * @param[in] numCharacteristics + * The number of characteristics + */ + /**************************************************************************/ GattService(const UUID &uuid, GattCharacteristic *characteristics[], unsigned numCharacteristics); enum {