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/GattCharacteristicCallbackParams.h
- Revision:
- 266:a0504765a357
- Parent:
- 265:eea11cfb6753
- Child:
- 293:b5ee2ada4f33
diff -r eea11cfb6753 -r a0504765a357 public/GattCharacteristicCallbackParams.h --- a/public/GattCharacteristicCallbackParams.h Wed Jan 21 09:32:50 2015 +0000 +++ b/public/GattCharacteristicCallbackParams.h Wed Jan 21 09:32:50 2015 +0000 @@ -44,7 +44,9 @@ struct GattCharacteristicReadAuthCBParams { GattAttribute::Handle_t charHandle; - uint16_t offset; /**< Offset for the write operation. */ + uint16_t offset; /**< Offset for the read operation. */ + uint16_t len; /**< Optional: new length of the outgoing data. */ + uint8_t *data; /**< Optional: new outgoing data. Leave at NULL if data is unchanged. */ 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. */ };