High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Revision 652:b8a596891951, committed 2015-06-19
- Comitter:
- rgrover1
- Date:
- Fri Jun 19 15:52:59 2015 +0100
- Parent:
- 651:34d82c1c591f
- Child:
- 653:f8f09656c583
- Commit message:
- Synchronized with git rev c9d1588d
Author: Rohit Grover
white space diffs.
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:59 2015 +0100 +++ b/public/GattCharacteristicCallbackParams.h Fri Jun 19 15:52:59 2015 +0100 @@ -27,10 +27,10 @@ GATTS_CHAR_OP_PREP_WRITE_REQ = 0x04, /**< Prepare Write Request. */ GATTS_CHAR_OP_EXEC_WRITE_REQ_CANCEL = 0x05, /**< Execute Write Request: Cancel all prepared writes. */ GATTS_CHAR_OP_EXEC_WRITE_REQ_NOW = 0x06, /**< Execute Write Request: Immediately execute all prepared writes. */ - } op; /**< Type of write operation, */ - uint16_t offset; /**< Offset for the write operation. */ - uint16_t len; /**< Length of the incoming data. */ - const uint8_t *data; /**< Incoming data, variable length. */ + } op; /**< Type of write operation, */ + uint16_t offset; /**< Offset for the write operation. */ + uint16_t len; + const uint8_t *data; /* @note: data might not persist beyond the callback; make a local copy if needed. */ }; struct GattCharacteristicReadCBParams { @@ -38,8 +38,8 @@ 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. */ + } 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. */ };