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
Revision 509:fc2a15248577, committed 2015-06-19
- Comitter:
- rgrover1
- Date:
- Fri Jun 19 15:52:04 2015 +0100
- Parent:
- 508:31e63ad6923f
- Child:
- 510:39612adfbf68
- Commit message:
- Synchronized with git rev 49c495d3
Author: Rohit Grover
get rid of 'op' from GattCharacteristicReadCBParams
Changed in this revision
| public/GattCharacteristicCallbackParams.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/public/GattCharacteristicCallbackParams.h Fri Jun 19 15:52:04 2015 +0100
+++ b/public/GattCharacteristicCallbackParams.h Fri Jun 19 15:52:04 2015 +0100
@@ -34,14 +34,10 @@
};
struct GattCharacteristicReadCBParams {
- GattAttribute::Handle_t charHandle;
- enum Type {
- GATTS_CHAR_OP_INVALID = 0x00, /**< Invalid Operation. */
- GATTS_CHAR_OP_READ_REQ = 0x0A, /**< Read Request. */
- } op; /**< Type of write operation, */
- uint16_t offset; /**< Offset for the read operation. */
- uint16_t len;
- const uint8_t *data; /* @note: data might not persist beyond the callback; make a local copy if needed. */
+ GattAttribute::Handle_t charHandle;
+ uint16_t offset; /**< Offset for the read operation. */
+ uint16_t len;
+ const uint8_t *data; /* @note: data might not persist beyond the callback; make a local copy if needed. */
};
enum GattCharacteristicAuthCBReply_t {
