Mbed OS Reference
|
GATT read authorization request event. More...
#include <GattCallbackParamTypes.h>
Data Fields | |
ble::connection_handle_t | connHandle |
The handle of the connection that triggered the event. More... | |
GattAttribute::Handle_t | handle |
Attribute Handle to which the read operation applies. More... | |
uint16_t | offset |
Offset for the read operation. More... | |
uint16_t | len |
Optional: new length of the outgoing data. More... | |
uint8_t * | data |
Optional: new outgoing data. More... | |
GattAuthCallbackReply_t | authorizationReply |
Authorization result. More... | |
GATT read authorization request event.
Definition at line 355 of file gatt/GattCallbackParamTypes.h.
ble::connection_handle_t connHandle |
The handle of the connection that triggered the event.
Definition at line 359 of file gatt/GattCallbackParamTypes.h.
GattAttribute::Handle_t handle |
Attribute Handle to which the read operation applies.
Definition at line 364 of file gatt/GattCallbackParamTypes.h.
uint16_t offset |
Offset for the read operation.
Definition at line 369 of file gatt/GattCallbackParamTypes.h.
uint16_t len |
Optional: new length of the outgoing data.
Definition at line 374 of file gatt/GattCallbackParamTypes.h.
uint8_t* data |
Optional: new outgoing data.
Leave at NULL if data is unchanged.
Definition at line 379 of file gatt/GattCallbackParamTypes.h.
GattAuthCallbackReply_t authorizationReply |
Authorization result.
The callback sets this parameter. If the value is set to AUTH_CALLBACK_REPLY_SUCCESS, then the read request is accepted; otherwise, an error code is returned to the peer client.
Definition at line 388 of file gatt/GattCallbackParamTypes.h.