High level Bluetooth Low Energy API and radio abstraction layer

Dependents:   BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more

Embed: (wiki syntax)

« Back to documentation index

Gap::DisconnectionCallbackParams_t Struct Reference

Gap::DisconnectionCallbackParams_t Struct Reference

Structure that encapsulates information about a disconnection event. More...

#include <Gap.h>

Public Member Functions

 DisconnectionCallbackParams_t (Handle_t handleIn, DisconnectionReason_t reasonIn)
 Constructor for DisconnectionCallbackParams_t.

Data Fields

Handle_t handle
 The ID of the connection that caused the disconnection event.
DisconnectionReason_t reason
 The reason of the disconnection event.

Detailed Description

Structure that encapsulates information about a disconnection event.

Refer to Gap::onDisconnection().

Definition at line 268 of file Gap.h.


Constructor & Destructor Documentation

DisconnectionCallbackParams_t ( Handle_t  handleIn,
DisconnectionReason_t  reasonIn 
)

Constructor for DisconnectionCallbackParams_t.

Parameters:
[in]handleInValue for DisconnectionCallbackParams_t::handle.
[in]reasonInValue for DisconnectionCallbackParams_t::reason.

Definition at line 280 of file Gap.h.


Field Documentation

Handle_t handle

The ID of the connection that caused the disconnection event.

Definition at line 269 of file Gap.h.

DisconnectionReason_t reason

The reason of the disconnection event.

Definition at line 270 of file Gap.h.