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: Peripheral_1_serial_copy Peripheral_1_serial 151006_1st_Scenario_normal
Fork of BLE_API by
Diff: public/GattCharacteristic.h
- Revision:
- 345:b977276fb4d3
- Parent:
- 325:501ad8b8bbe5
- Child:
- 350:64b656246a72
diff -r 241987ac6b8b -r b977276fb4d3 public/GattCharacteristic.h
--- 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
