#include <InputArtnet.hpp>
◆ c_InputArtnet()
◆ ~c_InputArtnet()
c_InputArtnet::~c_InputArtnet |
( |
| ) |
|
|
virtual |
◆ Begin()
void c_InputArtnet::Begin |
( |
| ) |
|
|
virtual |
set up the operating environment based on the current config (or defaults)
Implements c_InputCommon.
◆ GetConfig()
void c_InputArtnet::GetConfig |
( |
JsonObject & | jsonConfig | ) |
|
Get the current config used by the driver.
◆ GetDriverName()
void c_InputArtnet::GetDriverName |
( |
String & | sDriverName | ) |
|
|
inlinevirtual |
get the name for the instantiated driver
Implements c_InputCommon.
◆ GetStatus()
void c_InputArtnet::GetStatus |
( |
JsonObject & | jsonStatus | ) |
|
|
virtual |
◆ isShutDownRebootNeeded()
bool c_InputArtnet::isShutDownRebootNeeded |
( |
| ) |
|
|
inlinevirtual |
◆ NetworkStateChanged() [1/2]
void c_InputArtnet::NetworkStateChanged |
( |
bool | IsConnected | ) |
|
|
virtual |
◆ NetworkStateChanged() [2/2]
void c_InputArtnet::NetworkStateChanged |
( |
bool | IsConnected, |
|
|
bool | RebootAllowed ) |
|
private |
◆ onDmxFrame()
void c_InputArtnet::onDmxFrame |
( |
uint16_t | CurrentUniverseId, |
|
|
uint32_t | length, |
|
|
uint8_t | sequence, |
|
|
uint8_t * | data, |
|
|
IPAddress | remoteIP ) |
|
private |
◆ onDmxPoll()
void c_InputArtnet::onDmxPoll |
( |
IPAddress | broadcastIP | ) |
|
|
private |
◆ Process()
virtual void c_InputArtnet::Process |
( |
void | | ) |
|
|
inlinevirtual |
◆ SetBufferInfo()
void c_InputArtnet::SetBufferInfo |
( |
uint32_t | BufferSize | ) |
|
|
virtual |
◆ SetBufferTranslation()
void c_InputArtnet::SetBufferTranslation |
( |
| ) |
|
|
private |
◆ SetConfig()
bool c_InputArtnet::SetConfig |
( |
JsonObject & | jsonConfig | ) |
|
Set a new config in the driver.
◆ SetUpArtnet()
void c_InputArtnet::SetUpArtnet |
( |
| ) |
|
|
private |
◆ validateConfiguration()
void c_InputArtnet::validateConfiguration |
( |
| ) |
|
|
private |
◆ channel_count
uint16_t c_InputArtnet::channel_count = 0 |
|
private |
from sketch globals
Number of channels. Derived from output module configuration.
◆ ChannelsPerUniverse
◆ ConfigFileName
const char c_InputArtnet::ConfigFileName[] |
|
staticprivate |
◆ FirstUniverseChannelOffset
uint16_t c_InputArtnet::FirstUniverseChannelOffset = 1 |
|
private |
Channel to start listening at - 1 based.
◆ lastData
uint8_t c_InputArtnet::lastData = 255 |
|
private |
◆ LastUniverse
uint16_t c_InputArtnet::LastUniverse = 1 |
|
private |
Last Universe to listen for.
◆ MAX_NUM_UNIVERSES
◆ num_packets
uint32_t c_InputArtnet::num_packets = 0 |
|
private |
◆ packet_errors
uint32_t c_InputArtnet::packet_errors = 0 |
|
private |
◆ pArtnet
Artnet* c_InputArtnet::pArtnet = nullptr |
|
private |
◆ PollCounter
uint32_t c_InputArtnet::PollCounter = 0 |
|
private |
◆ startUniverse
uint16_t c_InputArtnet::startUniverse = 1 |
|
private |
JSON configuration parameters.
Universe to listen for
◆ UNIVERSE_MAX
const uint16_t c_InputArtnet::UNIVERSE_MAX = 512 |
|
staticprivate |
◆ UniverseArray
The documentation for this class was generated from the following files: