Rtos API example
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
DisconnectionCallbackParams_t | ( | Handle_t | handleIn, |
DisconnectionReason_t | reasonIn | ||
) |
Construct a DisconnectionCallbackParams_t.
- Parameters:
-
[in] handleIn Value assigned to handle. [in] reasonIn Value assigned to reason.
Field Documentation
Generated on Sun Jul 17 2022 08:25:40 by 1.7.2