GATT Write event definition. More...
#include <GattCallbackParamTypes.h>
Public Types |
Data Fields | |
ble::connection_handle_t | connHandle |
Handle of the connection that triggered the event. More... | |
GattAttribute::Handle_t | handle |
Handle of the attribute to which the write operation applies. More... | |
WriteOp_t | writeOp |
Type of the write operation. More... | |
const uint8_t * | data |
Pointer to the data to write. More... | |
uint16_t | offset |
Offset within the attribute value to be written. More... | |
ble_error_t | status |
Status of the GattClient Write operation. More... | |
uint16_t | len |
Length (in bytes) of the data to write. More... | |
uint8_t | error_code |
Error code of the GattClient Write operation. More... | |
GATT Write event definition.
Instances of this type are created and passed to user registered callbacks whether the GattServer has received a write request or a GattClient has received a write response.
Definition at line 42 of file GattCallbackParamTypes.h.
enum WriteOp_t |
Enumeration of allowed write operations.
Definition at line 46 of file GattCallbackParamTypes.h.
ble::connection_handle_t connHandle |
Handle of the connection that triggered the event.
Definition at line 86 of file GattCallbackParamTypes.h.
const uint8_t* data |
Pointer to the data to write.
Definition at line 137 of file GattCallbackParamTypes.h.
uint8_t error_code |
Error code of the GattClient Write operation.
Definition at line 127 of file GattCallbackParamTypes.h.
GattAttribute::Handle_t handle |
Handle of the attribute to which the write operation applies.
Definition at line 91 of file GattCallbackParamTypes.h.
uint16_t len |
Length (in bytes) of the data to write.
Definition at line 120 of file GattCallbackParamTypes.h.
uint16_t offset |
Offset within the attribute value to be written.
Definition at line 104 of file GattCallbackParamTypes.h.
ble_error_t status |
Status of the GattClient Write operation.
Definition at line 111 of file GattCallbackParamTypes.h.
WriteOp_t writeOp |
Type of the write operation.
Definition at line 96 of file GattCallbackParamTypes.h.