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

◆ AddBridgedDevices() [2/2]

CHIP_ERROR Nrf::BridgeManager::AddBridgedDevices ( MatterBridgedDevice * devices[],
BridgedDeviceDataProvider * dataProvider,
uint8_t deviceListSize,
uint8_t devicesPairIndexes[],
uint16_t endpointIds[] )

Add devices which are supposed to be bridged to the Bridge Manager using specific index and endpoint id.

Parameters
devicesMatter devices to be bridged (the maximum size of this array may depend on the application and can be memory constrained)
dataProviderdata provider which is going to be bridged with Matter devices
deviceListSizenumber of Matter devices which are going to be bridged with data provider
devicesPairIndexesarray of the indexes that contain index value required to be assigned and that will be filled with pairs' indexes finally assigned by the bridge
endpointIdsvalues of endpoint ids required to be assigned
Returns
CHIP_NO_ERROR on success
other error code on failure