Loading...
Searching...
No Matches
notification_messages.h
1#pragma once
2#include "notification.h"
3#include "notification_messages_notes.h"
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9/*********************************** Messages **********************************/
10
11// Display
12extern const NotificationMessage message_display_backlight_on;
13extern const NotificationMessage message_display_backlight_off;
14extern const NotificationMessage message_display_backlight_enforce_on;
15extern const NotificationMessage message_display_backlight_enforce_auto;
16
17// Led ON
18extern const NotificationMessage message_red_255;
19extern const NotificationMessage message_green_255;
20extern const NotificationMessage message_blue_255;
21
22// Led OFF
23extern const NotificationMessage message_red_0;
24extern const NotificationMessage message_green_0;
25extern const NotificationMessage message_blue_0;
26
27// Led hardware blink control
28extern const NotificationMessage message_blink_start_10;
29extern const NotificationMessage message_blink_start_100;
30extern const NotificationMessage message_blink_stop;
31
32extern const NotificationMessage message_blink_set_color_red;
33extern const NotificationMessage message_blink_set_color_green;
34extern const NotificationMessage message_blink_set_color_blue;
35extern const NotificationMessage message_blink_set_color_cyan;
36extern const NotificationMessage message_blink_set_color_magenta;
37extern const NotificationMessage message_blink_set_color_yellow;
38extern const NotificationMessage message_blink_set_color_white;
39
40// Delay
41extern const NotificationMessage message_delay_1;
42extern const NotificationMessage message_delay_10;
43extern const NotificationMessage message_delay_25;
44extern const NotificationMessage message_delay_50;
45extern const NotificationMessage message_delay_100;
46extern const NotificationMessage message_delay_250;
47extern const NotificationMessage message_delay_500;
48extern const NotificationMessage message_delay_1000;
49
50// Sound
51extern const NotificationMessage message_sound_off;
52
53// Vibro
54extern const NotificationMessage message_vibro_on;
55extern const NotificationMessage message_vibro_off;
56
57// Reset
58extern const NotificationMessage message_do_not_reset;
59
60// Override user settings
61extern const NotificationMessage message_force_speaker_volume_setting_1f;
62extern const NotificationMessage message_force_vibro_setting_on;
63extern const NotificationMessage message_force_vibro_setting_off;
64extern const NotificationMessage message_force_display_brightness_setting_1f;
65
66// LCD Messages
67extern const NotificationMessage message_lcd_contrast_update;
68
69/****************************** Message sequences ******************************/
70
71// Reset
72extern const NotificationSequence sequence_reset_red;
73extern const NotificationSequence sequence_reset_green;
74extern const NotificationSequence sequence_reset_blue;
75extern const NotificationSequence sequence_reset_rgb;
76extern const NotificationSequence sequence_reset_display;
77extern const NotificationSequence sequence_reset_sound;
78extern const NotificationSequence sequence_reset_vibro;
79
80// Vibro
81extern const NotificationSequence sequence_set_vibro_on;
82
83// Display
85extern const NotificationSequence sequence_display_backlight_on;
87extern const NotificationSequence sequence_display_backlight_off;
89extern const NotificationSequence sequence_display_backlight_off_delay_1000;
90
92extern const NotificationSequence sequence_display_backlight_enforce_on;
94extern const NotificationSequence sequence_display_backlight_enforce_auto;
95
96// Charging
97extern const NotificationSequence sequence_charging;
98extern const NotificationSequence sequence_charged;
99extern const NotificationSequence sequence_not_charging;
100
101// Light up
102extern const NotificationSequence sequence_set_only_red_255;
103extern const NotificationSequence sequence_set_only_green_255;
104extern const NotificationSequence sequence_set_only_blue_255;
105extern const NotificationSequence sequence_set_red_255;
106extern const NotificationSequence sequence_set_green_255;
107extern const NotificationSequence sequence_set_blue_255;
108
109// Solid colors
110extern const NotificationSequence sequence_solid_yellow;
111
112// Blink
113extern const NotificationSequence sequence_blink_blue_10;
114extern const NotificationSequence sequence_blink_red_10;
115extern const NotificationSequence sequence_blink_green_10;
116extern const NotificationSequence sequence_blink_yellow_10;
117extern const NotificationSequence sequence_blink_cyan_10;
118extern const NotificationSequence sequence_blink_magenta_10;
119
120extern const NotificationSequence sequence_blink_red_100;
121extern const NotificationSequence sequence_blink_green_100;
122extern const NotificationSequence sequence_blink_blue_100;
123extern const NotificationSequence sequence_blink_yellow_100;
124extern const NotificationSequence sequence_blink_cyan_100;
125extern const NotificationSequence sequence_blink_magenta_100;
126extern const NotificationSequence sequence_blink_white_100;
127
128// Hardware blink
129extern const NotificationSequence sequence_blink_start_blue;
130extern const NotificationSequence sequence_blink_start_red;
131extern const NotificationSequence sequence_blink_start_green;
132extern const NotificationSequence sequence_blink_start_yellow;
133extern const NotificationSequence sequence_blink_start_cyan;
134extern const NotificationSequence sequence_blink_start_magenta;
135extern const NotificationSequence sequence_blink_stop;
136
137// General
138extern const NotificationSequence sequence_single_vibro;
139extern const NotificationSequence sequence_double_vibro;
140extern const NotificationSequence sequence_success;
141extern const NotificationSequence sequence_semi_success;
142extern const NotificationSequence sequence_error;
143extern const NotificationSequence sequence_audiovisual_alert;
144
145// LCD
146extern const NotificationSequence sequence_lcd_contrast_update;
147
148// Wait for notification queue become empty
149extern const NotificationSequence sequence_empty;
150
151#ifdef __cplusplus
152}
153#endif
Definition notification.h:82