nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ Connect()

CHIP_ERROR Nrf::BLEConnectivityManager::Connect ( BLEBridgedDeviceProvider * provider,
ConnectionSecurityRequest * request = nullptr )

Create connection to the Bluetooth LE device, managed by BLEBridgedDeviceProvider object. It is necessary to first add the provider to the manager's list using AddBLEProvider method.

Parameters
provideraddress of a valid provider object
requestaddress of connection request object for handling additional security information requiered by the connection. Can be nullptr, if connection does not use security.
Returns
CHIP_NO_ERROR on success
other error code on failure