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

◆ CreateDevice() [2/2]

CHIP_ERROR BleBridgedDeviceFactory::CreateDevice ( uint16_t  uuid,
bt_addr_le_t  btAddress,
const char *  nodeLabel,
Nrf::BLEConnectivityManager::ConnectionSecurityRequest *  request = nullptr 
)

Create a bridged device using a specific Bluetooth LE service and leaving index and endpoint ID selection to the default algorithm.

Parameters
uuidthe Bluetooth LE service UUID of a bridged device provider that will be paired with bridged device
btAddressthe Bluetooth LE address of a device to be bridged with created Matter device
nodeLabelnode label of a Matter device to be created
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