![]() |
nRF Connect SDK API 3.3.99
|
#include <ble_bridged_device.h>
Inherits Nrf::BridgedDeviceDataProvider.
Inherited by BleEnvironmentalDataProvider, and BleLBSDataProvider.
Public Types | |
| using | UpdateAttributeCallback |
| using | InvokeCommandCallback |
Public Member Functions | |
| BLEBridgedDeviceProvider (UpdateAttributeCallback updateCallback, InvokeCommandCallback commandCallback) | |
| ~BLEBridgedDeviceProvider () | |
| virtual const bt_uuid * | GetServiceUuid ()=0 |
| virtual int | ParseDiscoveredData (bt_gatt_dm *discoveredData)=0 |
| BLEBridgedDevice & | GetBLEBridgedDevice () |
| void | SetConnectionObject (bt_conn *conn) |
| bt_conn * | GetConnectionObject () |
| void | RemoveConnectionObject () |
| void | InitializeBridgedDevice (bt_addr_le_t address, BLEConnectivityManager::DeviceConnectedCallback callback, void *context) |
| Initialize BLE bridged device. | |
| bool | IsInitiallyConnected () |
| Check if the bridged device has been initially connected. | |
| void | ConfirmInitialConnection () |
| Confirm that the mFirstConnectionCallback has been already called. | |
| bt_addr_le_t | GetBtAddress () |
| uint16_t | GetFailedRecoveryAttempts () |
| Get a number of failed recovery attempts for this provider. | |
| void | NotifyFailedRecovery () |
| Inform provider that recovery attempt for it failed. | |
| void | NotifySuccessfulRecovery () |
| Inform provider that recovery attempt for it succeeded. | |
| virtual void | Init ()=0 |
| virtual void | NotifyUpdateState (chip::ClusterId clusterId, chip::AttributeId attributeId, void *data, size_t dataSize)=0 |
| virtual CHIP_ERROR | UpdateState (chip::ClusterId clusterId, chip::AttributeId attributeId, uint8_t *buffer)=0 |
| CHIP_ERROR | NotifyReachableStatusChange (bool isReachable) |
Protected Attributes | |
| BLEBridgedDevice | mDevice = { 0 } |
| uint16_t | mFailedRecoveryAttempts = 0 |
| UpdateAttributeCallback | mUpdateAttributeCallback |
| InvokeCommandCallback | mInvokeCommandCallback |