Ares LoRa Serial Driver Core
Loading...
Searching...
No Matches
AresFrame::Led Struct Reference

#include <ares_frame.hpp>

Public Types

enum  LedState : uint8_t {
  OFF = 0 , ON = 1 , BLINK = 2 , FADE = 3 ,
  FETCH = 4
}

Public Attributes

uint8_t led = 0
LedState state = FETCH

Detailed Description

Data for AresFrame::LED frames.

Member Enumeration Documentation

◆ LedState

enum AresFrame::Led::LedState : uint8_t

LED states.

Enumerator
OFF 

LED off.

ON 

LED on.

BLINK 

LED blinking at 1 Hz.

FADE 

LED fading.

FETCH 

Retrieve LED state from firmware.

Member Data Documentation

◆ led

uint8_t AresFrame::Led::led = 0

The LED number/ID.

◆ state

LedState AresFrame::Led::state = FETCH

The LED state frame data.


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