56 void toBytes(uint8_t *bytes,
bool obfuscate =
false);
Represents the message "payload" sent by RTS remote controls.
Definition RTSFrame.hpp:24
static void obfuscateBytes(uint8_t *bytes)
Apply in-place XOR obfuscation to a raw byte representation of a frame.
Definition RTSFrame.cpp:27
void toBytes(uint8_t *bytes, bool obfuscate=false)
Convert an RTSFrame to byte representation.
Definition RTSFrame.cpp:22
static uint8_t generateChecksum(uint8_t *bytes)
Generate a checksum for the raw (deobfuscated) bytes of a frame.
Definition RTSFrame.cpp:37
static void deobfuscateBytes(uint8_t *dest, uint8_t *src)
Apply XOR deobfuscation to a raw byte representation of a frame.
Definition RTSFrame.cpp:32
rts_command
Command sent by a remote, or received by a receiver as part of an rts_frame event.
Definition rts_command.h:24
Represents the message "payload" sent by RTS remote controls.
Definition rts_frame.h:32
enum rts_command command
The command we are sending, eg "Up", "Down", "My", or combinations of buttons found on remote control...
Definition rts_frame.h:45