Go to the documentation of this file.
35 #ifndef _IR_OTHERS_HPP
36 #define _IR_OTHERS_HPP
54 #define DISH_HEADER_MARK 400
55 #define DISH_HEADER_SPACE 6100
56 #define DISH_BIT_MARK 400
57 #define DISH_ONE_SPACE 1700
58 #define DISH_ZERO_SPACE 2800
59 #define DISH_REPEAT_SPACE 6200 // really?
80 #define WHYNTER_BITS 32
81 #define WHYNTER_HEADER_MARK 2850
82 #define WHYNTER_HEADER_SPACE 2850
83 #define WHYNTER_BIT_MARK 750
84 #define WHYNTER_ONE_SPACE 2150
85 #define WHYNTER_ZERO_SPACE 750
113 #endif // _IR_OTHERS_HPP
struct PulseDistanceWidthProtocolConstants WhynterProtocolConstants
#define PROTOCOL_IS_MSB_FIRST
void sendDish(uint16_t aData)
#define WHYNTER_ONE_SPACE
uint16_t numberOfBits
Number of bits received for data (address + command + parity) - to determine protocol length if diffe...
#define WHYNTER_HEADER_SPACE
void sendPulseDistanceWidth(PulseDistanceWidthProtocolConstants *aProtocolConstants, IRRawDataType aData, uint_fast8_t aNumberOfBits, int_fast8_t aNumberOfRepeats)
Sends PulseDistance frames and repeats.
void sendWhynter(uint32_t aData, uint8_t aNumberOfBitsToSend)
irparams_struct * rawDataPtr
Pointer of the raw timing data to be decoded. Mainly the OverflowFlag and the data buffer filled by r...
#define WHYNTER_HEADER_MARK
uint_fast8_t rawlen
counter of entries in rawbuf
bool decodePulseDistanceWidthData(PulseDistanceWidthProtocolConstants *aProtocolConstants, uint_fast8_t aNumberOfBits, uint_fast8_t aStartOffset=3)
Decode pulse distance protocols for PulseDistanceWidthProtocolConstants.
#define WHYNTER_ZERO_SPACE
uint8_t flags
See IRDATA_FLAGS_* definitions above.
bool checkHeader(PulseDistanceWidthProtocolConstants *aProtocolConstants)
#define IRDATA_FLAGS_IS_MSB_FIRST
Value is mainly determined by the (known) protocol.
#define DISH_HEADER_SPACE
decode_type_t protocol
UNKNOWN, NEC, SONY, RC5, PULSE_DISTANCE, ...
struct PulseDistanceWidthProtocolConstants DishProtocolConstants