23#define RTS_FRAME_BYTES 7
76 uint16_t rolling_code, uint32_t remote_address);
86void rts_frame_from_bytes(
struct rts_frame *frame,
const uint8_t *bytes);
98void rts_frame_to_bytes(
struct rts_frame *frame, uint8_t *bytes,
108void rts_frame_obfuscate_bytes(uint8_t *bytes);
118void rts_frame_deobfuscate_bytes(uint8_t *dest,
const uint8_t *src);
128uint8_t rts_frame_generate_checksum(
const uint8_t *bytes);
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
uint32_t remote_address
The three-byte remote address sending this frame.
Definition rts_frame.h:61
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
uint8_t encryption_key
8-bit encryption key, typically generated automatically.
Definition rts_frame.h:39
uint16_t rolling_code
The rolling code of this frame.
Definition rts_frame.h:54