Rtos API example
Gap::ConnectionCallbackParams_t Struct Reference
Connection events. 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) | |
Construct an instance of ConnectionCallbackParams_t. | |
Data Fields | |
Handle_t | handle |
Connection handle. | |
Role_t | role |
Connection Role of the local device. | |
BLEProtocol::AddressType_t | peerAddrType |
Type of the address the peer uses. | |
BLEProtocol::AddressBytes_t | peerAddr |
Address of the peer. | |
BLEProtocol::AddressType_t | ownAddrType |
Address type of the local device. | |
BLEProtocol::AddressBytes_t | ownAddr |
Address of the local device. | |
const ConnectionParams_t * | connectionParams |
Connection parameters. |
Detailed Description
Connection events.
It contains all the information related to a newly established connection.
Instances of this structure are passed to handlers that Gap::onConnection() registers when a connection is established.
Definition at line 629 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 | ||
) |
Construct an instance of ConnectionCallbackParams_t.
- Parameters:
-
[in] handleIn Value to assign to handle. [in] roleIn Value to assign to role. [in] peerAddrTypeIn Value to assign to peerAddrType. [in] peerAddrIn Value to assign to peerAddr. [in] ownAddrTypeIn Value to assign to ownAddrType. [in] ownAddrIn Value to assign to ownAddr. [in] connectionParamsIn Value to assign to connectionParams.
- Note:
- Constructor is not meant to be called by user code. The BLE API vendor code generates ConnectionCallbackParams_t.
Field Documentation
Generated on Sun Jul 17 2022 08:25:40 by 1.7.2