adaptation for book and plug demo
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 Wed Jul 13 2022 09:31:10 by 1.7.2