nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
SimulatedGenericSwitchDataProvider Class Reference

#include <simulated_generic_switch_data_provider.h>

Inherits Nrf::BridgedDeviceDataProvider.

Public Types

using UpdateAttributeCallback
 
using InvokeCommandCallback
 

Public Member Functions

 SimulatedGenericSwitchDataProvider (UpdateAttributeCallback updateCallback, InvokeCommandCallback commandCallback)
 
 ~SimulatedGenericSwitchDataProvider ()
 
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
 
CHIP_ERROR NotifyReachableStatusChange (bool isReachable)
 

Protected Attributes

UpdateAttributeCallback mUpdateAttributeCallback
 
InvokeCommandCallback mInvokeCommandCallback
 

The documentation for this class was generated from the following file: