GATT Read event definition. More...
#include <GattCallbackParamTypes.h>
Data Fields | |
| ble::connection_handle_t | connHandle |
| 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 within the attribute value read. More... | |
| const uint8_t * | data |
| Pointer to the data read. More... | |
| ble_error_t | status |
| Status of the GattClient Read operation. More... | |
| uint16_t | len |
| Length in bytes of the data read. More... | |
| uint8_t | error_code |
| Error code of the GattClient read operation. More... | |
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.
Definition at line 151 of file GattCallbackParamTypes.h.
| ble::connection_handle_t connHandle |
Handle of the connection that triggered the event.
Definition at line 155 of file GattCallbackParamTypes.h.
| const uint8_t* data |
Pointer to the data read.
Definition at line 189 of file GattCallbackParamTypes.h.
| uint8_t error_code |
Error code of the GattClient read operation.
Definition at line 181 of file GattCallbackParamTypes.h.
| GattAttribute::Handle_t handle |
Attribute Handle to which the read operation applies.
Definition at line 160 of file GattCallbackParamTypes.h.
| uint16_t len |
Length in bytes of the data read.
Definition at line 171 of file GattCallbackParamTypes.h.
| uint16_t offset |
Offset within the attribute value read.
Definition at line 165 of file GattCallbackParamTypes.h.
| ble_error_t status |
Status of the GattClient Read operation.
Definition at line 196 of file GattCallbackParamTypes.h.