Mistake on this page?
Report an issue in GitHub or email us
Data Fields
GattWriteAuthCallbackParams Struct Reference

GATT write authorization request event. 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 write operation applies. More...
uint16_t offset
 Offset for the write operation. More...
uint16_t len
 Length of the incoming data. More...
const uint8_t * data
 Incoming data. More...
GattAuthCallbackReply_t authorizationReply
 Authorization result. More...

Detailed Description

GATT write authorization request event.

Definition at line 316 of file gatt/GattCallbackParamTypes.h.

Field Documentation

GattAuthCallbackReply_t authorizationReply

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 349 of file gatt/GattCallbackParamTypes.h.

Handle of the connection that triggered the event.

Definition at line 320 of file gatt/GattCallbackParamTypes.h.

const uint8_t* data

Incoming data.

Definition at line 340 of file gatt/GattCallbackParamTypes.h.

Attribute Handle to which the write operation applies.

Definition at line 325 of file gatt/GattCallbackParamTypes.h.

uint16_t len

Length of the incoming data.

Definition at line 335 of file gatt/GattCallbackParamTypes.h.

uint16_t offset

Offset for the write operation.

Definition at line 330 of file gatt/GattCallbackParamTypes.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.