Improve readability with getHandle inline
Fork of BLE_API by
Diff: public/GattCharacteristicWriteCBParams.h
- Revision:
- 255:097be53aea02
- Parent:
- 251:5d9118449482
diff -r 69d049317cae -r 097be53aea02 public/GattCharacteristicWriteCBParams.h --- a/public/GattCharacteristicWriteCBParams.h Fri Dec 12 13:32:24 2014 +0000 +++ b/public/GattCharacteristicWriteCBParams.h Fri Dec 12 13:32:24 2014 +0000 @@ -42,4 +42,11 @@ * request is to proceed; false otherwise. */ }; +struct GattCharacteristicReadAuthCBParams { + GattAttribute::Handle_t charHandle; + uint16_t offset; /**< Offset for the write operation. */ + 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. */ +}; + #endif /*__GATT_CHARACTERISTIC_WRITE_CB_PARAMS_H__*/ \ No newline at end of file