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 OmniWheels by
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 634 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 Fri Jul 22 2022 04:54:12 by
