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 BLE_API by
Diff: public/GattCharacteristicWriteCBParams.h
- Revision:
- 249:5d9118449482
- Parent:
- 118:620d28e7a1ba
- Child:
- 253:097be53aea02
--- a/public/GattCharacteristicWriteCBParams.h Fri Dec 12 13:32:23 2014 +0000
+++ b/public/GattCharacteristicWriteCBParams.h Fri Dec 12 13:32:24 2014 +0000
@@ -33,4 +33,13 @@
const uint8_t *data; /**< Incoming data, variable length. */
};
-#endif /*__GATT_CHARACTERISTIC_WRITE_CB_PARAMS_H__*/
+struct GattCharacteristicWriteAuthCBParams {
+ GattAttribute::Handle_t charHandle;
+ uint16_t offset; /**< Offset for the write operation. */
+ uint16_t len; /**< Length of the incoming data. */
+ const uint8_t *data; /**< Incoming data, variable length. */
+ bool authorizationReply; /* This is the out parameter which needs to be set to true by the callback if the
+ * request is to proceed; false otherwise. */
+};
+
+#endif /*__GATT_CHARACTERISTIC_WRITE_CB_PARAMS_H__*/
\ No newline at end of file
