#include <GattCallbackParamTypes.h>
Data Fields | |
Gap::Handle_t | connHandle |
GattAttribute::Handle_t | handle |
uint16_t | offset |
union { | |
uint16_t len | |
uint8_t error_code | |
}; | |
const uint8_t * | data |
ble_error_t | status |
GATT Read event definition.
Instances of this type are created and passed to user registered callbacks whether the GattServer has received a read request or a GattClient has received a read response.
Gap::Handle_t GattReadCallbackParams::connHandle |
Handle of the connection that triggered the event.
const uint8_t* GattReadCallbackParams::data |
Pointer to the data read.
uint8_t GattReadCallbackParams::error_code |
Error code of the GattClient read operation.
GattAttribute::Handle_t GattReadCallbackParams::handle |
Attribute Handle to which the read operation applies.
uint16_t GattReadCallbackParams::len |
Length in bytes of the data read.
uint16_t GattReadCallbackParams::offset |
Offset within the attribute value read.
ble_error_t GattReadCallbackParams::status |
Status of the GattClient Read operation.