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 312 of file 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 345 of file GattCallbackParamTypes.h.

The handle of the connection that triggered the event.

Definition at line 316 of file GattCallbackParamTypes.h.

uint8_t* data

Optional: new outgoing data.

Leave at NULL if data is unchanged.

Definition at line 336 of file GattCallbackParamTypes.h.

Attribute Handle to which the read operation applies.

Definition at line 321 of file GattCallbackParamTypes.h.

uint16_t len

Optional: new length of the outgoing data.

Definition at line 331 of file GattCallbackParamTypes.h.

uint16_t offset

Offset for the read operation.

Definition at line 326 of file 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.