Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
Gap::ConnectionCallbackParams_t Struct Reference
Encapsulates the parameters of a connection. More...
#include <Gap.h>
Public Member Functions | |
ConnectionCallbackParams_t (Handle_t handleIn, Role_t roleIn, BLEProtocol::AddressType_t peerAddrTypeIn, const uint8_t *peerAddrIn, BLEProtocol::AddressType_t ownAddrTypeIn, const uint8_t *ownAddrIn, const ConnectionParams_t *connectionParamsIn) | |
Constructor for ConnectionCallbackParams_t. | |
Data Fields | |
Handle_t | handle |
The ID for this connection. | |
Role_t | role |
This device's role in the connection. | |
BLEProtocol::AddressType_t | peerAddrType |
The peer's BLE address type. | |
BLEProtocol::AddressBytes_t | peerAddr |
The peer's BLE address. | |
BLEProtocol::AddressType_t | ownAddrType |
This device's BLE address type. | |
BLEProtocol::AddressBytes_t | ownAddr |
This devices's BLE address. | |
const ConnectionParams_t * | connectionParams |
The currently configured connection parameters. |
Detailed Description
Encapsulates the parameters of a connection.
This information is passed to the registered handler of connection events. Refer to Gap::onConnection().
Definition at line 218 of file Gap.h.
Constructor & Destructor Documentation
ConnectionCallbackParams_t | ( | Handle_t | handleIn, |
Role_t | roleIn, | ||
BLEProtocol::AddressType_t | peerAddrTypeIn, | ||
const uint8_t * | peerAddrIn, | ||
BLEProtocol::AddressType_t | ownAddrTypeIn, | ||
const uint8_t * | ownAddrIn, | ||
const ConnectionParams_t * | connectionParamsIn | ||
) |
Constructor for ConnectionCallbackParams_t.
- Parameters:
-
[in] handleIn Value for ConnectionCallbackParams_t::handle [in] roleIn Value for ConnectionCallbackParams_t::role [in] peerAddrTypeIn Value for ConnectionCallbackParams_t::peerAddrType [in] peerAddrIn Value for ConnectionCallbackParams_t::peerAddr [in] ownAddrTypeIn Value for ConnectionCallbackParams_t::ownAddrType [in] ownAddrIn Value for ConnectionCallbackParams_t::ownAddr [in] connectionParamsIn Value for ConnectionCallbackParams_t::connectionParams
Field Documentation
Generated on Tue Jul 12 2022 19:56:19 by
