![]() |
nRF Connect SDK API 3.3.99
|
#include <ble_environmental_data_provider.h>
Inherits Nrf::BLEBridgedDeviceProvider.
Public Types | |
| using | UpdateAttributeCallback |
| using | InvokeCommandCallback |
Public Member Functions | |
| BleEnvironmentalDataProvider (UpdateAttributeCallback updateCallback, InvokeCommandCallback commandCallback) | |
| ~BleEnvironmentalDataProvider () | |
| void | Init () override |
| void | NotifyUpdateState (chip::ClusterId clusterId, chip::AttributeId attributeId, void *data, size_t dataSize) override |
| CHIP_ERROR | UpdateState (chip::ClusterId clusterId, chip::AttributeId attributeId, uint8_t *buffer) override |
| const bt_uuid * | GetServiceUuid () override |
| int | ParseDiscoveredData (bt_gatt_dm *discoveredData) override |
| 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. | |
| CHIP_ERROR | NotifyReachableStatusChange (bool isReachable) |
Protected Attributes | |
| BLEBridgedDevice | mDevice = { 0 } |
| uint16_t | mFailedRecoveryAttempts = 0 |
| UpdateAttributeCallback | mUpdateAttributeCallback |
| InvokeCommandCallback | mInvokeCommandCallback |