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/GattCharacteristic.h
- Revision:
- 345:b977276fb4d3
- Parent:
- 325:501ad8b8bbe5
- Child:
- 350:64b656246a72
--- a/public/GattCharacteristic.h Thu Apr 30 08:37:21 2015 +0100 +++ b/public/GattCharacteristic.h Thu Apr 30 08:37:21 2015 +0100 @@ -309,9 +309,12 @@ * @param[in] props * The 8-bit bit field containing the characteristic's properties * @param[in] descriptors - * A pointer to an array of descriptors to be included within this characteristic + * A pointer to an array of descriptors to be included within + * this characteristic. The memory for the descriptor array is + * owned by the caller, and should remain valid at least until + * the enclosing service is added to the GATT table. * @param[in] numDescriptors - * The number of descriptors + * The number of descriptors in the previous array. * * @NOTE: If valuePtr == NULL, initialLength == 0, and properties == READ * for the value attribute of a characteristic, then that particular