Mbed OS Reference
Loading...
Searching...
No Matches
DisconnectionCompleteEvent Struct Reference

Event produced when a disconnection is complete. More...

#include <Events.h>

Public Member Functions

connection_handle_t getConnectionHandle () const
 Get the handle of the connection that has expired. More...
 
const disconnection_reason_t & getReason () const
 Get the reason of the disconnection. More...
 

Detailed Description

Event produced when a disconnection is complete.

See also
ble::Gap::EventHandler::onDisconnectionComplete().

Definition at line 776 of file Events.h.

Member Function Documentation

◆ getConnectionHandle()

connection_handle_t getConnectionHandle ( ) const

Get the handle of the connection that has expired.

Definition at line 792 of file Events.h.

◆ getReason()

const disconnection_reason_t & getReason ( ) const

Get the reason of the disconnection.

Definition at line 800 of file Events.h.