12#include <lib/support/CHIPMem.h>
14#if defined(CONFIG_BRIDGE_ONOFF_LIGHT_BRIDGED_DEVICE) && (defined(CONFIG_BRIDGE_GENERIC_SWITCH_BRIDGED_DEVICE) || defined(CONFIG_BRIDGE_ONOFF_LIGHT_SWITCH_BRIDGED_DEVICE))
17#ifdef CONFIG_BRIDGE_ONOFF_LIGHT_BRIDGED_DEVICE
21#ifdef CONFIG_BRIDGE_GENERIC_SWITCH_BRIDGED_DEVICE
25#ifdef CONFIG_BRIDGE_ONOFF_LIGHT_SWITCH_BRIDGED_DEVICE
31#ifdef CONFIG_BRIDGE_HUMIDITY_SENSOR_BRIDGED_DEVICE
35#ifdef CONFIG_BRIDGE_TEMPERATURE_SENSOR_BRIDGED_DEVICE
39#if defined(CONFIG_BRIDGE_HUMIDITY_SENSOR_BRIDGED_DEVICE) && defined(CONFIG_BRIDGE_TEMPERATURE_SENSOR_BRIDGED_DEVICE)
70CHIP_ERROR
CreateDevice(
int deviceType, bt_addr_le_t btAddress,
const char *uniqueID,
const char *nodeLabel,
71 uint8_t index, uint16_t endpointId);
86CHIP_ERROR
CreateDevice(uint16_t uuid, bt_addr_le_t btAddress,
const char *uniqueID,
const char *nodeLabel,
void(*)(BridgedDeviceDataProvider &dataProvider, chip::ClusterId clusterId, chip::CommandId commandId, Nrf::Matter::BindingHandler::InvokeCommand invokeCommand) InvokeCommandCallback
Definition bridged_device_data_provider.h:22
void(*)(BridgedDeviceDataProvider &dataProvider, chip::ClusterId clusterId, chip::AttributeId attributeId, void *data, size_t dataSize) UpdateAttributeCallback
Definition bridged_device_data_provider.h:19
Definition bridge_util.h:28
CHIP_ERROR RemoveDevice(int endpointId)
Remove bridged device.
BleDataProviderFactory & GetDataProviderFactory()
ServiceUuid
Definition ble_bridged_device_factory.h:47
@ LedButtonService
Definition ble_bridged_device_factory.h:47
@ EnvironmentalSensorService
Definition ble_bridged_device_factory.h:47
Nrf::BridgedDeviceDataProvider::UpdateAttributeCallback UpdateAttributeCallback
Definition ble_bridged_device_factory.h:49
CHIP_ERROR CreateDevice(int deviceType, bt_addr_le_t btAddress, const char *uniqueID, const char *nodeLabel, uint8_t index, uint16_t endpointId)
Create a bridged device using a specific device type, index and endpoint ID.
BridgedDeviceFactory & GetBridgedDeviceFactory()
const char * GetUuidString(uint16_t uuid)
Get helper string containing Bluetooth LE service name.
Nrf::BridgedDeviceDataProvider::InvokeCommandCallback InvokeCommandCallback
Definition ble_bridged_device_factory.h:50
uint16_t DeviceType
Definition ble_bridged_device_factory.h:51
Definition ble_bridged_device_factory.h:44
Definition ble_connectivity_manager.h:115