Open RTS
Full implementation of the Somfy RTS protocol
Loading...
Searching...
No Matches
rts_command.h
Go to the documentation of this file.
1#ifndef RTS_COMMAND_H
2#define RTS_COMMAND_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
36
43const char *rts_command_to_string(enum rts_command command);
44
49#ifdef __cplusplus
50} // extern "C"
51#endif
52
53#endif // RTS_COMMAND_H
rts_command
Command sent by a remote, or received by a receiver as part of an rts_frame event.
Definition rts_command.h:24
const char * rts_command_to_string(enum rts_command command)
Get a string representation of the given rts_command.
Definition rts_command.c:3
@ RTS_COMMAND_MY
My/Stop button pressed.
Definition rts_command.h:25
@ RTS_COMMAND_MY_DOWN
My and Down buttons both pressed.
Definition rts_command.h:29
@ RTS_COMMAND_SUN_FLAG
Sun and Flag button pressed (Soliris)
Definition rts_command.h:33
@ RTS_COMMAND_UP
Up button pressed.
Definition rts_command.h:26
@ RTS_COMMAND_MY_UP
My and Up buttons both pressed.
Definition rts_command.h:27
@ RTS_COMMAND_DOWN
Down button pressed.
Definition rts_command.h:28
@ RTS_COMMAND_FLAG
Flag button pressed (Soliris)
Definition rts_command.h:34
@ RTS_COMMAND_PROG
Prog button pressed.
Definition rts_command.h:32
@ RTS_COMMAND_MY_UP_DOWN
My, Up and Down buttons all pressed.
Definition rts_command.h:31
@ RTS_COMMAND_UP_DOWN
Up and Down buttons both pressed.
Definition rts_command.h:30