Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
switch_state_t Union Reference

Switch state: combination of relay and dimmer state. More...

#include <cs_Packets.h>

Public Attributes

struct {
   uint8_t   dimmer: 7
 
   uint8_t   relay: 1
 
state
 
uint8_t asInt
 

Detailed Description

Switch state: combination of relay and dimmer state.

Relay: 0 = off, 1 = on Dimmer: 0 = off, 100 = fully on

Member Data Documentation

◆ asInt

uint8_t switch_state_t::asInt

◆ dimmer

uint8_t switch_state_t::dimmer

◆ relay

uint8_t switch_state_t::relay

◆ 

struct { ... } switch_state_t::state

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