78 struct rts_frame *frame,
void *user_data);
79 void *frame_user_data;
85 uint32_t mode_last_changed;
87 uint8_t rolling_code_window;
115void rts_receiver_set_frame_callback(
struct rts_receiver *receiver,
131void rts_receiver_set_mode_callback(
struct rts_receiver *receiver,
145void rts_receiver_set_mode(
struct rts_receiver *receiver, uint8_t mode);
155void rts_receiver_forget_all_remotes(
struct rts_receiver *receiver);
rts_receiver_mode
Receiver modes.
Definition rts_receiver.h:36
rts_receiver_event
De-duplicated "frame" events.
Definition rts_receiver.h:25
@ RTS_RECEIVER_MODE_COMMAND
The receiver is in command mode.
Definition rts_receiver.h:39
@ RTS_RECEIVER_MODE_PROGRAMMING
The receiver is in programming mode.
Definition rts_receiver.h:38
@ RTS_RECEIVER_MODE_OFF
The receiver is off, will not process events.
Definition rts_receiver.h:37
@ RTS_RECEIVER_EVENT_NONE
No event detected.
Definition rts_receiver.h:26
@ RTS_RECEIVER_EVENT_HOLD_3
"3x Hold" event detected, fired after 6s of repeats
Definition rts_receiver.h:30
@ RTS_RECEIVER_EVENT_PRESS
"Press" event detected, fired on first frame
Definition rts_receiver.h:27
@ RTS_RECEIVER_EVENT_HOLD
"Hold" event detected, fired after 2s of repeats
Definition rts_receiver.h:28
@ RTS_RECEIVER_EVENT_HOLD_2
"2x Hold" event detected, fired after 4s of repeats
Definition rts_receiver.h:29
Assembles pulses received via rts_frame_builder_handle_pulse, into a complete rts_frame,...
Definition rts_frame_builder.h:36
Represents the message "payload" sent by RTS remote controls.
Definition rts_frame.h:32
Provides an interface for a source of RTS pulses, eg a GPIO or radio.
Definition rts_pulse_source.h:35
Simulates a physical RTS receiver device, such as a shade or drapery motor.
Definition rts_receiver.h:72
Provides an interface for a datastore which contains details about remote controls and rolling codes.
Definition rts_remote_store.h:29