nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
simulated_bridged_device_factory.h File Reference
#include "bridge_util.h"
#include "bridged_device_data_provider.h"
#include "matter_bridged_device.h"
#include <lib/support/CHIPMem.h>

Go to the source code of this file.

Namespaces

namespace  SimulatedBridgedDeviceFactory
 

Typedefs

using SimulatedBridgedDeviceFactory::UpdateAttributeCallback = Nrf::BridgedDeviceDataProvider::UpdateAttributeCallback
 
using SimulatedBridgedDeviceFactory::InvokeCommandCallback = Nrf::BridgedDeviceDataProvider::InvokeCommandCallback
 
using SimulatedBridgedDeviceFactory::DeviceType = uint16_t
 
using SimulatedBridgedDeviceFactory::BridgedDeviceFactory = Nrf::DeviceFactory< Nrf::MatterBridgedDevice, DeviceType, const char * >
 
using SimulatedBridgedDeviceFactory::SimulatedDataProviderFactory = Nrf::DeviceFactory< Nrf::BridgedDeviceDataProvider, DeviceType, UpdateAttributeCallback, InvokeCommandCallback >
 

Functions

BridgedDeviceFactory & SimulatedBridgedDeviceFactory::GetBridgedDeviceFactory ()
 
SimulatedDataProviderFactory & SimulatedBridgedDeviceFactory::GetDataProviderFactory ()
 
CHIP_ERROR SimulatedBridgedDeviceFactory::CreateDevice (int deviceType, const char *nodeLabel, chip::Optional< uint8_t > index=chip::Optional< uint8_t >(), chip::Optional< uint16_t > endpointId=chip::Optional< uint16_t >())
 Create a bridged device.
 
CHIP_ERROR SimulatedBridgedDeviceFactory::RemoveDevice (int endpointId)
 Remove bridged device.