Mistake on this page?
Report an issue in GitHub or email us
Public Member Functions | Protected Member Functions
GattClient::EventHandler Struct Reference

Definition of the general handler of GattClient related events. More...

#include <GattClient.h>

Public Member Functions

virtual void onAttMtuChange (ble::connection_handle_t connectionHandle, uint16_t attMtuSize)
 Function invoked when the connections changes the ATT_MTU which controls the maximum size of an attribute that can be read in a single L2CAP packet which might be fragmented across multiple packets. More...
 

Protected Member Functions

 ~EventHandler ()=default
 Prevent polymorphic deletion and avoid unnecessary virtual destructor as the GattClient class will never delete the instance it contains. More...
 

Detailed Description

Definition of the general handler of GattClient related events.

Definition at line 102 of file GattClient.h.

Constructor & Destructor Documentation

~EventHandler ( )
protecteddefault

Prevent polymorphic deletion and avoid unnecessary virtual destructor as the GattClient class will never delete the instance it contains.

Member Function Documentation

virtual void onAttMtuChange ( ble::connection_handle_t  connectionHandle,
uint16_t  attMtuSize 
)
virtual

Function invoked when the connections changes the ATT_MTU which controls the maximum size of an attribute that can be read in a single L2CAP packet which might be fragmented across multiple packets.

Parameters
connectionHandleThe handle of the connection that changed the size.
attMtuSize
See also
negotiateAttMtu()

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