Rtos API example

Embed: (wiki syntax)

« Back to documentation index

Gap::DisconnectionCallbackParams_t Struct Reference

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.

Data Fields

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

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 709 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 726 of file Gap.h.


Field Documentation

ID of the connection that has ended.

Definition at line 713 of file Gap.h.

Reason of the disconnection.

Definition at line 718 of file Gap.h.