nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
ble_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  BleBridgedDeviceFactory
 

Typedefs

using BleBridgedDeviceFactory::UpdateAttributeCallback = Nrf::BridgedDeviceDataProvider::UpdateAttributeCallback
 
using BleBridgedDeviceFactory::InvokeCommandCallback = Nrf::BridgedDeviceDataProvider::InvokeCommandCallback
 
using BleBridgedDeviceFactory::DeviceType = uint16_t
 
using BleBridgedDeviceFactory::BridgedDeviceFactory = Nrf::DeviceFactory<Nrf::MatterBridgedDevice, DeviceType, const char *>
 
using BleBridgedDeviceFactory::BleDataProviderFactory = Nrf::DeviceFactory<Nrf::BridgedDeviceDataProvider, ServiceUuid, UpdateAttributeCallback, InvokeCommandCallback>
 

Enumerations

enum  BleBridgedDeviceFactory::ServiceUuid : uint16_t { BleBridgedDeviceFactory::LedButtonService = 0xbcd1 , BleBridgedDeviceFactory::EnvironmentalSensorService = 0x181a }
 

Functions

BridgedDeviceFactoryBleBridgedDeviceFactory::GetBridgedDeviceFactory ()
 
BleDataProviderFactoryBleBridgedDeviceFactory::GetDataProviderFactory ()
 
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.
 
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.
 
CHIP_ERROR BleBridgedDeviceFactory::RemoveDevice (int endpointId)
 Remove bridged device.
 
const char * BleBridgedDeviceFactory::GetUuidString (uint16_t uuid)
 Get helper string containing Bluetooth LE service name.