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: BLE_PowerBank_HeyFaradey
Fork of BLE_API by
Diff: public/GattCharacteristicCallbackParams.h
- Revision:
- 296:931da9973b89
- Parent:
- 295:4883b219983a
- Child:
- 299:c1e4400af825
diff -r 4883b219983a -r 931da9973b89 public/GattCharacteristicCallbackParams.h --- a/public/GattCharacteristicCallbackParams.h Mon Mar 02 11:50:47 2015 +0000 +++ b/public/GattCharacteristicCallbackParams.h Mon Mar 02 11:50:47 2015 +0000 @@ -33,6 +33,17 @@ const uint8_t *data; /**< Incoming data, variable length. */ }; +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; /**< Length of the outgoing data. */ + uint8_t *data; /**< Outgoing data, variable length. */ +}; + struct GattCharacteristicWriteAuthCBParams { GattAttribute::Handle_t charHandle; uint16_t offset; /**< Offset for the write operation. */