nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
OnOffLightDevice Class Reference

#include <onoff_light.h>

Inherits Nrf::MatterBridgedDevice.

Public Member Functions

 OnOffLightDevice (const char *nodeLabel)
 
bool GetOnOff ()
 
void Toggle ()
 
uint16_t GetDeviceType () const override
 
CHIP_ERROR HandleRead (chip::ClusterId clusterId, chip::AttributeId attributeId, uint8_t *buffer, uint16_t maxReadLength) override
 
CHIP_ERROR HandleReadOnOff (chip::AttributeId attributeId, uint8_t *buffer, uint16_t maxReadLength)
 
CHIP_ERROR HandleReadGroups (chip::AttributeId attributeId, uint8_t *buffer, uint16_t maxReadLength)
 
CHIP_ERROR HandleWrite (chip::ClusterId clusterId, chip::AttributeId attributeId, uint8_t *buffer, size_t size) override
 
CHIP_ERROR HandleAttributeChange (chip::ClusterId clusterId, chip::AttributeId attributeId, void *data, size_t dataSize) override
 

Static Public Member Functions

static constexpr uint16_t GetOnOffClusterRevision ()
 
static constexpr uint32_t GetOnOffFeatureMap ()
 
static constexpr uint16_t GetGroupsClusterRevision ()
 
static constexpr uint32_t GetGroupsFeatureMap ()
 
static constexpr uint8_t GetGroupsNameSupportMap ()
 

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