1 /* vim:ts=4 sts=4 et tw=80
5 * for additional information please
6 * see http://lochraster.org/fnordlichtmini
8 * (c) by Alexander Neumann <alexander@bumpern.de>
10 * This program is free software: you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License version 3 as published by
12 * the Free Software Foundation.
14 * This program is distributed in the hope that it will be useful, but WITHOUT
15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
19 * You should have received a copy of the GNU General Public License along with
20 * this program. If not, see <http://www.gnu.org/licenses/>.
23 #ifndef __REMOTE_PROTO
24 #define __REMOTE_PROTO 1
26 #include "../common/remote-proto.h"
28 #include "static_programs.h"
30 struct remote_msg_fade_rgb_t
36 struct rgb_color_t color
;
39 struct remote_msg_fade_hsv_t
45 struct hsv_color_t color
;
48 struct remote_msg_save_rgb_t
56 struct rgb_color_t color
;
59 struct remote_msg_save_hsv_t
67 struct hsv_color_t color
;
70 struct remote_msg_save_current_t
80 struct remote_msg_config_offsets_t
91 struct remote_msg_start_program_t
96 union program_params_t params
;
99 struct remote_msg_stop_t
106 struct remote_msg_modify_current_t
112 struct rgb_color_offset_t rgb
;
113 struct hsv_color_offset_t hsv
;
116 struct remote_msg_pull_int_t
129 /* startup parameters including mode, size: 12 byte */
130 struct startup_parameters_t
132 enum startup_mode_t mode
;
135 /* raw access to data, size: 11 byte */
138 /* structure for startup_mode == STARTUP_PROGRAM
142 uint8_t program_parameters
[PROGRAM_PARAMETER_SIZE
];
147 struct remote_msg_config_startup_t
151 struct startup_parameters_t params
;