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

◆ CreateDevice() [1/2]

CHIP_ERROR BleBridgedDeviceFactory::CreateDevice ( int  deviceType,
bt_addr_le_t  btAddress,
const char *  nodeLabel,
uint8_t  index,
uint16_t  endpointId 
)

Create a bridged device using a specific device type, index and endpoint ID.

Parameters
deviceTypethe Matter device type of a bridged device to be created
btAddressthe Bluetooth LE address of a device to be bridged with created Matter device
nodeLabelnode label of a Matter device to be created
indexindex that will be assigned to the created device
endpointIdendpoint id that will be assigned to the created device
Returns
CHIP_NO_ERROR on success
other error code on failure