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

GATT read authorization request event. More...

#include <GattCallbackParamTypes.h>

Data Fields

ble::connection_handle_t connHandle
 The 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 for the read operation. More...
 
uint16_t len
 Optional: new length of the outgoing data. More...
 
uint8_t * data
 Optional: new outgoing data. More...
 
GattAuthCallbackReply_t authorizationReply
 Authorization result. More...
 

Detailed Description

GATT read authorization request event.

Definition at line 355 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 read request is accepted; otherwise, an error code is returned to the peer client.

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

The handle of the connection that triggered the event.

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

uint8_t* data

Optional: new outgoing data.

Leave at NULL if data is unchanged.

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

Attribute Handle to which the read operation applies.

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

uint16_t len

Optional: new length of the outgoing data.

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

uint16_t offset

Offset for the read operation.

Definition at line 369 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.