Rtos API example

Embed: (wiki syntax)

« Back to documentation index

GattWriteAuthCallbackParams Struct Reference

GattWriteAuthCallbackParams Struct Reference
[Server]

GATT write authorization request event. More...

#include <GattCallbackParamTypes.h>

Data Fields

Gap::Handle_t connHandle
 Handle of the connection that triggered the event.
GattAttribute::Handle_t handle
 Attribute Handle to which the write operation applies.
uint16_t offset
 Offset for the write operation.
uint16_t len
 Length of the incoming data.
const uint8_t * data
 Incoming data.
GattAuthCallbackReply_t authorizationReply
 Authorization result.

Detailed Description

GATT write authorization request event.

Definition at line 273 of file GattCallbackParamTypes.h.


Field Documentation

Authorization result.

The callback sets this parameter. If the value is set to AUTH_CALLBACK_REPLY_SUCCESS, then the write request is accepted; otherwise, an error code is returned to the peer client.

Definition at line 306 of file GattCallbackParamTypes.h.

Handle of the connection that triggered the event.

Definition at line 277 of file GattCallbackParamTypes.h.

const uint8_t* data

Incoming data.

Definition at line 297 of file GattCallbackParamTypes.h.

Attribute Handle to which the write operation applies.

Definition at line 282 of file GattCallbackParamTypes.h.

uint16_t len

Length of the incoming data.

Definition at line 292 of file GattCallbackParamTypes.h.

uint16_t offset

Offset for the write operation.

Definition at line 287 of file GattCallbackParamTypes.h.