Mistake on this page?
Report an issue in GitHub or email us
Public Member Functions | Data Fields
Gap::DisconnectionCallbackParams_t Struct Reference

Disconnection event. More...

#include <Gap.h>

Public Member Functions

 DisconnectionCallbackParams_t (Handle_t handleIn, DisconnectionReason_t reasonIn)
 Construct a DisconnectionCallbackParams_t. More...
 

Data Fields

Handle_t handle
 ID of the connection that has ended. More...
 
DisconnectionReason_t reason
 Reason of the disconnection. More...
 

Detailed Description

Disconnection event.

Instances of this event are passed to callbacks registered with Gap::onDisconnection() when a connection ends.

Note
Constructor is not meant to be called by user code. The BLE API vendor code generates ConnectionCallbackParams_t.

Definition at line 652 of file Gap.h.

Constructor & Destructor Documentation

Construct a DisconnectionCallbackParams_t.

Parameters
[in]handleInValue assigned to handle.
[in]reasonInValue assigned to reason.

Definition at line 669 of file Gap.h.

Field Documentation

Handle_t handle

ID of the connection that has ended.

Definition at line 656 of file Gap.h.

Reason of the disconnection.

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