2021-05-24 16:44:14 +03:00
|
|
|
#pragma once
|
|
|
|
#include "notification.h"
|
2022-01-05 19:10:18 +03:00
|
|
|
#include "notification_messages_notes.h"
|
2021-05-24 16:44:14 +03:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*********************************** Messages **********************************/
|
|
|
|
|
|
|
|
// Display
|
2022-04-29 17:21:12 +03:00
|
|
|
extern const NotificationMessage message_display_backlight_on;
|
|
|
|
extern const NotificationMessage message_display_backlight_off;
|
|
|
|
extern const NotificationMessage message_display_backlight_enforce_on;
|
|
|
|
extern const NotificationMessage message_display_backlight_enforce_auto;
|
2021-05-24 16:44:14 +03:00
|
|
|
|
|
|
|
// Led ON
|
|
|
|
extern const NotificationMessage message_red_255;
|
|
|
|
extern const NotificationMessage message_green_255;
|
|
|
|
extern const NotificationMessage message_blue_255;
|
|
|
|
|
|
|
|
// Led OFF
|
|
|
|
extern const NotificationMessage message_red_0;
|
|
|
|
extern const NotificationMessage message_green_0;
|
|
|
|
extern const NotificationMessage message_blue_0;
|
|
|
|
|
2022-06-09 10:33:46 +03:00
|
|
|
// Led hardware blink control
|
|
|
|
extern const NotificationMessage message_blink_start_10;
|
|
|
|
extern const NotificationMessage message_blink_start_100;
|
|
|
|
extern const NotificationMessage message_blink_stop;
|
|
|
|
|
|
|
|
extern const NotificationMessage message_blink_set_color_red;
|
|
|
|
extern const NotificationMessage message_blink_set_color_green;
|
|
|
|
extern const NotificationMessage message_blink_set_color_blue;
|
|
|
|
extern const NotificationMessage message_blink_set_color_cyan;
|
|
|
|
extern const NotificationMessage message_blink_set_color_magenta;
|
|
|
|
extern const NotificationMessage message_blink_set_color_yellow;
|
|
|
|
extern const NotificationMessage message_blink_set_color_white;
|
|
|
|
|
2021-05-24 16:44:14 +03:00
|
|
|
// Delay
|
2021-06-09 16:04:49 +03:00
|
|
|
extern const NotificationMessage message_delay_1;
|
2021-05-24 16:44:14 +03:00
|
|
|
extern const NotificationMessage message_delay_10;
|
|
|
|
extern const NotificationMessage message_delay_25;
|
|
|
|
extern const NotificationMessage message_delay_50;
|
|
|
|
extern const NotificationMessage message_delay_100;
|
|
|
|
extern const NotificationMessage message_delay_250;
|
|
|
|
extern const NotificationMessage message_delay_500;
|
|
|
|
extern const NotificationMessage message_delay_1000;
|
|
|
|
|
|
|
|
// Sound
|
|
|
|
extern const NotificationMessage message_sound_off;
|
|
|
|
|
|
|
|
// Vibro
|
|
|
|
extern const NotificationMessage message_vibro_on;
|
|
|
|
extern const NotificationMessage message_vibro_off;
|
|
|
|
|
|
|
|
// Reset
|
|
|
|
extern const NotificationMessage message_do_not_reset;
|
|
|
|
|
2021-12-28 18:46:08 +03:00
|
|
|
// Override user settings
|
|
|
|
extern const NotificationMessage message_force_speaker_volume_setting_1f;
|
|
|
|
extern const NotificationMessage message_force_vibro_setting_on;
|
|
|
|
extern const NotificationMessage message_force_vibro_setting_off;
|
|
|
|
extern const NotificationMessage message_force_display_brightness_setting_1f;
|
|
|
|
|
2023-06-06 20:46:01 +03:00
|
|
|
// LCD Messages
|
|
|
|
extern const NotificationMessage message_lcd_contrast_update;
|
|
|
|
|
2021-05-24 16:44:14 +03:00
|
|
|
/****************************** Message sequences ******************************/
|
|
|
|
|
|
|
|
// Reset
|
|
|
|
extern const NotificationSequence sequence_reset_red;
|
|
|
|
extern const NotificationSequence sequence_reset_green;
|
|
|
|
extern const NotificationSequence sequence_reset_blue;
|
|
|
|
extern const NotificationSequence sequence_reset_rgb;
|
|
|
|
extern const NotificationSequence sequence_reset_display;
|
|
|
|
extern const NotificationSequence sequence_reset_sound;
|
|
|
|
extern const NotificationSequence sequence_reset_vibro;
|
|
|
|
|
|
|
|
// Vibro
|
|
|
|
extern const NotificationSequence sequence_set_vibro_on;
|
|
|
|
|
|
|
|
// Display
|
2022-02-24 03:17:40 +03:00
|
|
|
/** Display: backlight wakeup */
|
2022-04-29 17:21:12 +03:00
|
|
|
extern const NotificationSequence sequence_display_backlight_on;
|
2022-02-24 03:17:40 +03:00
|
|
|
/** Display: backlight force off */
|
2022-04-29 17:21:12 +03:00
|
|
|
extern const NotificationSequence sequence_display_backlight_off;
|
|
|
|
/** Display: backlight force off after a delay of 1000ms */
|
|
|
|
extern const NotificationSequence sequence_display_backlight_off_delay_1000;
|
|
|
|
|
2022-02-24 03:17:40 +03:00
|
|
|
/** Display: backlight always on lock */
|
2022-04-29 17:21:12 +03:00
|
|
|
extern const NotificationSequence sequence_display_backlight_enforce_on;
|
2022-02-24 03:17:40 +03:00
|
|
|
/** Display: backlight always on unlock */
|
2022-04-29 17:21:12 +03:00
|
|
|
extern const NotificationSequence sequence_display_backlight_enforce_auto;
|
2021-05-24 16:44:14 +03:00
|
|
|
|
|
|
|
// Charging
|
|
|
|
extern const NotificationSequence sequence_charging;
|
|
|
|
extern const NotificationSequence sequence_charged;
|
|
|
|
extern const NotificationSequence sequence_not_charging;
|
|
|
|
|
|
|
|
// Light up
|
|
|
|
extern const NotificationSequence sequence_set_only_red_255;
|
|
|
|
extern const NotificationSequence sequence_set_only_green_255;
|
|
|
|
extern const NotificationSequence sequence_set_only_blue_255;
|
|
|
|
extern const NotificationSequence sequence_set_red_255;
|
|
|
|
extern const NotificationSequence sequence_set_green_255;
|
|
|
|
extern const NotificationSequence sequence_set_blue_255;
|
|
|
|
|
2022-06-21 17:45:55 +03:00
|
|
|
// Solid colors
|
|
|
|
extern const NotificationSequence sequence_solid_yellow;
|
|
|
|
|
2021-05-24 16:44:14 +03:00
|
|
|
// Blink
|
2021-05-28 17:12:39 +03:00
|
|
|
extern const NotificationSequence sequence_blink_blue_10;
|
2021-05-24 16:44:14 +03:00
|
|
|
extern const NotificationSequence sequence_blink_red_10;
|
|
|
|
extern const NotificationSequence sequence_blink_green_10;
|
|
|
|
extern const NotificationSequence sequence_blink_yellow_10;
|
2021-06-28 17:42:30 +03:00
|
|
|
extern const NotificationSequence sequence_blink_cyan_10;
|
2022-04-28 20:20:59 +03:00
|
|
|
extern const NotificationSequence sequence_blink_magenta_10;
|
2021-05-24 16:44:14 +03:00
|
|
|
|
|
|
|
extern const NotificationSequence sequence_blink_red_100;
|
|
|
|
extern const NotificationSequence sequence_blink_green_100;
|
|
|
|
extern const NotificationSequence sequence_blink_blue_100;
|
|
|
|
extern const NotificationSequence sequence_blink_yellow_100;
|
|
|
|
extern const NotificationSequence sequence_blink_cyan_100;
|
|
|
|
extern const NotificationSequence sequence_blink_magenta_100;
|
|
|
|
extern const NotificationSequence sequence_blink_white_100;
|
|
|
|
|
2022-08-04 15:11:01 +03:00
|
|
|
// Hardware blink
|
|
|
|
extern const NotificationSequence sequence_blink_start_blue;
|
|
|
|
extern const NotificationSequence sequence_blink_start_red;
|
|
|
|
extern const NotificationSequence sequence_blink_start_green;
|
|
|
|
extern const NotificationSequence sequence_blink_start_yellow;
|
|
|
|
extern const NotificationSequence sequence_blink_start_cyan;
|
|
|
|
extern const NotificationSequence sequence_blink_start_magenta;
|
|
|
|
extern const NotificationSequence sequence_blink_stop;
|
|
|
|
|
2021-05-24 16:44:14 +03:00
|
|
|
// General
|
2021-11-26 17:01:03 +03:00
|
|
|
extern const NotificationSequence sequence_single_vibro;
|
2021-06-09 16:04:49 +03:00
|
|
|
extern const NotificationSequence sequence_double_vibro;
|
2021-05-24 16:44:14 +03:00
|
|
|
extern const NotificationSequence sequence_success;
|
2024-01-02 09:43:46 +03:00
|
|
|
extern const NotificationSequence sequence_semi_success;
|
2021-05-24 16:44:14 +03:00
|
|
|
extern const NotificationSequence sequence_error;
|
2021-12-28 18:46:08 +03:00
|
|
|
extern const NotificationSequence sequence_audiovisual_alert;
|
2021-05-24 16:44:14 +03:00
|
|
|
|
2023-06-06 20:46:01 +03:00
|
|
|
// LCD
|
|
|
|
extern const NotificationSequence sequence_lcd_contrast_update;
|
|
|
|
|
2021-05-24 16:44:14 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
2021-05-28 17:12:39 +03:00
|
|
|
#endif
|