Lightly modified version of the BLE stack, that doesn't bring up a DFUService by default... as we have our own.
Fork of BLE_API by
Diff: public/GattCharacteristicCallbackParams.h
- Revision:
- 265:a0504765a357
- Parent:
- 264:eea11cfb6753
- Child:
- 292: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. */ };