Changed URIBeaconConfigService.h to work with ST board
Fork of BLE_API by
Diff: public/GattCharacteristicCallbackParams.h
- Revision:
- 506:be938b716fe8
- Parent:
- 325:501ad8b8bbe5
- Child:
- 507:77c551e72d06
--- a/public/GattCharacteristicCallbackParams.h Fri Jun 19 15:52:04 2015 +0100 +++ b/public/GattCharacteristicCallbackParams.h Fri Jun 19 15:52:04 2015 +0100 @@ -40,8 +40,8 @@ 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. */ + uint16_t len; + const uint8_t *data; /* @note: data might not persist beyond the callback; make a local copy if needed. */ }; enum GattCharacteristicAuthCBReply_t {