21 virtual const char *
getDecode()
const = 0;
43 const static uint32_t endingMin = 20000U;
58 return duration > endingMin;
uint16_t microseconds_t
Type for durations in micro seconds.
static boolean isEnding(microseconds_t duration)
Tests if the argument is large enough to be considered an ending of a decodable signal.
boolean printDecode(Stream &stream) const
If valid, prints the decode to the stream.
void setValid(bool valid_)
Abstract base class for all decoder classes.
virtual const char * getDecode() const =0
Returns a textual description the decode for human consumption.
This file defines some general data types that are used in the library.
virtual boolean isValid() const
Returns true if the decode was successful.