Merge branch 'dev' into release-candidate
							
								
								
									
										13
									
								
								.editorconfig
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1,13 @@ | |||||||
|  | root = true | ||||||
|  | 
 | ||||||
|  | [*] | ||||||
|  | end_of_line = lf | ||||||
|  | insert_final_newline = true | ||||||
|  | charset = utf-8 | ||||||
|  | 
 | ||||||
|  | [*.{cpp,h,c,py,sh}] | ||||||
|  | indent_style = space | ||||||
|  | indent_size = 4 | ||||||
|  | 
 | ||||||
|  | [{Makefile,*.mk}] | ||||||
|  | indent_size = tab | ||||||
| @ -40,7 +40,7 @@ extern int32_t subghz_app(void* p); | |||||||
| extern int32_t usb_mouse_app(void* p); | extern int32_t usb_mouse_app(void* p); | ||||||
| extern int32_t usb_test_app(void* p); | extern int32_t usb_test_app(void* p); | ||||||
| extern int32_t vibro_test_app(void* p); | extern int32_t vibro_test_app(void* p); | ||||||
| extern int32_t ble_keyboard_app(void* p); | extern int32_t bt_hid_app(void* p); | ||||||
| 
 | 
 | ||||||
| // Plugins
 | // Plugins
 | ||||||
| extern int32_t music_player_app(void* p); | extern int32_t music_player_app(void* p); | ||||||
| @ -65,6 +65,7 @@ extern int32_t bt_settings_app(void* p); | |||||||
| extern int32_t desktop_settings_app(void* p); | extern int32_t desktop_settings_app(void* p); | ||||||
| extern int32_t about_settings_app(void* p); | extern int32_t about_settings_app(void* p); | ||||||
| extern int32_t power_settings_app(void* p); | extern int32_t power_settings_app(void* p); | ||||||
|  | extern int32_t system_settings_app(void* p); | ||||||
| 
 | 
 | ||||||
| const FlipperApplication FLIPPER_SERVICES[] = { | const FlipperApplication FLIPPER_SERVICES[] = { | ||||||
| /* Services */ | /* Services */ | ||||||
| @ -205,6 +206,9 @@ const size_t FLIPPER_ON_SYSTEM_START_COUNT = | |||||||
| 
 | 
 | ||||||
| // Plugin menu
 | // Plugin menu
 | ||||||
| const FlipperApplication FLIPPER_PLUGINS[] = { | const FlipperApplication FLIPPER_PLUGINS[] = { | ||||||
|  | #ifdef APP_BLE_HID | ||||||
|  |     {.app = bt_hid_app, .name = "Bluetooth remote", .stack_size = 1024, .icon = NULL}, | ||||||
|  | #endif | ||||||
| 
 | 
 | ||||||
| #ifdef APP_MUSIC_PLAYER | #ifdef APP_MUSIC_PLAYER | ||||||
|     {.app = music_player_app, .name = "Music Player", .stack_size = 1024, .icon = &A_Plugins_14}, |     {.app = music_player_app, .name = "Music Player", .stack_size = 1024, .icon = &A_Plugins_14}, | ||||||
| @ -219,10 +223,6 @@ const size_t FLIPPER_PLUGINS_COUNT = sizeof(FLIPPER_PLUGINS) / sizeof(FlipperApp | |||||||
| 
 | 
 | ||||||
| // Plugin menu
 | // Plugin menu
 | ||||||
| const FlipperApplication FLIPPER_DEBUG_APPS[] = { | const FlipperApplication FLIPPER_DEBUG_APPS[] = { | ||||||
| #ifdef APP_BLE_KEYBOARD |  | ||||||
|     {.app = ble_keyboard_app, .name = "BLE keyboard demo", .stack_size = 1024, .icon = NULL}, |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
| #ifdef APP_BLINK | #ifdef APP_BLINK | ||||||
|     {.app = blink_test_app, .name = "Blink Test", .stack_size = 1024, .icon = NULL}, |     {.app = blink_test_app, .name = "Blink Test", .stack_size = 1024, .icon = NULL}, | ||||||
| #endif | #endif | ||||||
| @ -312,6 +312,10 @@ const FlipperApplication FLIPPER_SETTINGS_APPS[] = { | |||||||
|     {.app = passport_app, .name = "Passport", .stack_size = 1024, .icon = NULL}, |     {.app = passport_app, .name = "Passport", .stack_size = 1024, .icon = NULL}, | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
|  | #ifdef SRV_GUI | ||||||
|  |     {.app = system_settings_app, .name = "System", .stack_size = 1024, .icon = NULL}, | ||||||
|  | #endif | ||||||
|  | 
 | ||||||
| #ifdef APP_ABOUT | #ifdef APP_ABOUT | ||||||
|     {.app = about_settings_app, .name = "About", .stack_size = 1024, .icon = NULL}, |     {.app = about_settings_app, .name = "About", .stack_size = 1024, .icon = NULL}, | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -47,7 +47,7 @@ APP_SD_TEST	= 1 | |||||||
| APP_VIBRO_TEST = 1 | APP_VIBRO_TEST = 1 | ||||||
| APP_USB_TEST = 1 | APP_USB_TEST = 1 | ||||||
| APP_DISPLAY_TEST = 1 | APP_DISPLAY_TEST = 1 | ||||||
| APP_BLE_KEYBOARD = 1 | APP_BLE_HID = 1 | ||||||
| APP_USB_MOUSE = 1 | APP_USB_MOUSE = 1 | ||||||
| APP_BAD_USB = 1 | APP_BAD_USB = 1 | ||||||
| APP_UART_ECHO = 1 | APP_UART_ECHO = 1 | ||||||
| @ -167,9 +167,9 @@ CFLAGS		+= -DAPP_BAD_USB | |||||||
| SRV_GUI = 1 | SRV_GUI = 1 | ||||||
| endif  | endif  | ||||||
| 
 | 
 | ||||||
| APP_BLE_KEYBOARD ?=0 | APP_BLE_HID ?=0 | ||||||
| ifeq ($(APP_BLE_KEYBOARD), 1) | ifeq ($(APP_BLE_HID), 1) | ||||||
| CFLAGS		+= -DAPP_BLE_KEYBOARD | CFLAGS		+= -DAPP_BLE_HID | ||||||
| SRV_GUI = 1 | SRV_GUI = 1 | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
|  | |||||||
							
								
								
									
										169
									
								
								applications/bt/bt_hid_app/bt_hid.c
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,169 @@ | |||||||
|  | #include "bt_hid.h" | ||||||
|  | #include <furi-hal-bt.h> | ||||||
|  | #include <applications/notification/notification-messages.h> | ||||||
|  | 
 | ||||||
|  | #define TAG "BtHidApp" | ||||||
|  | 
 | ||||||
|  | enum BtDebugSubmenuIndex { | ||||||
|  |     BtHidSubmenuIndexKeynote, | ||||||
|  |     BtHidSubmenuIndexMedia, | ||||||
|  | }; | ||||||
|  | 
 | ||||||
|  | void bt_hid_submenu_callback(void* context, uint32_t index) { | ||||||
|  |     furi_assert(context); | ||||||
|  |     BtHid* app = context; | ||||||
|  |     if(index == BtHidSubmenuIndexKeynote) { | ||||||
|  |         app->view_id = BtHidViewKeynote; | ||||||
|  |         view_dispatcher_switch_to_view(app->view_dispatcher, BtHidViewKeynote); | ||||||
|  |     } else if(index == BtHidSubmenuIndexMedia) { | ||||||
|  |         app->view_id = BtHidViewMedia; | ||||||
|  |         view_dispatcher_switch_to_view(app->view_dispatcher, BtHidViewMedia); | ||||||
|  |     } | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void bt_hid_dialog_callback(DialogExResult result, void* context) { | ||||||
|  |     furi_assert(context); | ||||||
|  |     BtHid* app = context; | ||||||
|  |     if(result == DialogExResultLeft) { | ||||||
|  |         // TODO switch to Submenu after Media is done
 | ||||||
|  |         view_dispatcher_stop(app->view_dispatcher); | ||||||
|  |     } else if(result == DialogExResultRight) { | ||||||
|  |         view_dispatcher_switch_to_view(app->view_dispatcher, app->view_id); | ||||||
|  |     } | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | uint32_t bt_hid_exit_confirm_view(void* context) { | ||||||
|  |     return BtHidViewExitConfirm; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | uint32_t bt_hid_exit(void* context) { | ||||||
|  |     return VIEW_NONE; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void bt_hid_connection_status_changed_callback(BtStatus status, void* context) { | ||||||
|  |     furi_assert(context); | ||||||
|  |     BtHid* bt_hid = context; | ||||||
|  |     bool connected = (status == BtStatusConnected); | ||||||
|  |     if(connected) { | ||||||
|  |         notification_internal_message(bt_hid->notifications, &sequence_set_blue_255); | ||||||
|  |     } else { | ||||||
|  |         notification_internal_message(bt_hid->notifications, &sequence_reset_blue); | ||||||
|  |     } | ||||||
|  |     bt_hid_keynote_set_connected_status(bt_hid->bt_hid_keynote, connected); | ||||||
|  |     bt_hid_media_set_connected_status(bt_hid->bt_hid_media, connected); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | BtHid* bt_hid_app_alloc() { | ||||||
|  |     BtHid* app = furi_alloc(sizeof(BtHid)); | ||||||
|  | 
 | ||||||
|  |     // Load Bluetooth settings
 | ||||||
|  |     bt_settings_load(&app->bt_settings); | ||||||
|  | 
 | ||||||
|  |     // Gui
 | ||||||
|  |     app->gui = furi_record_open("gui"); | ||||||
|  | 
 | ||||||
|  |     // Bt
 | ||||||
|  |     app->bt = furi_record_open("bt"); | ||||||
|  | 
 | ||||||
|  |     // Notifications
 | ||||||
|  |     app->notifications = furi_record_open("notification"); | ||||||
|  | 
 | ||||||
|  |     // View dispatcher
 | ||||||
|  |     app->view_dispatcher = view_dispatcher_alloc(); | ||||||
|  |     view_dispatcher_enable_queue(app->view_dispatcher); | ||||||
|  |     view_dispatcher_attach_to_gui(app->view_dispatcher, app->gui, ViewDispatcherTypeFullscreen); | ||||||
|  | 
 | ||||||
|  |     // Submenu view
 | ||||||
|  |     app->submenu = submenu_alloc(); | ||||||
|  |     submenu_add_item( | ||||||
|  |         app->submenu, "Keynote", BtHidSubmenuIndexKeynote, bt_hid_submenu_callback, app); | ||||||
|  |     submenu_add_item( | ||||||
|  |         app->submenu, "Media player", BtHidSubmenuIndexMedia, bt_hid_submenu_callback, app); | ||||||
|  |     view_set_previous_callback(submenu_get_view(app->submenu), bt_hid_exit); | ||||||
|  |     view_dispatcher_add_view( | ||||||
|  |         app->view_dispatcher, BtHidViewSubmenu, submenu_get_view(app->submenu)); | ||||||
|  | 
 | ||||||
|  |     // Dialog view
 | ||||||
|  |     app->dialog = dialog_ex_alloc(); | ||||||
|  |     dialog_ex_set_result_callback(app->dialog, bt_hid_dialog_callback); | ||||||
|  |     dialog_ex_set_context(app->dialog, app); | ||||||
|  |     dialog_ex_set_left_button_text(app->dialog, "Exit"); | ||||||
|  |     dialog_ex_set_right_button_text(app->dialog, "Stay"); | ||||||
|  |     dialog_ex_set_header(app->dialog, "Close current app?", 16, 12, AlignLeft, AlignTop); | ||||||
|  |     view_dispatcher_add_view( | ||||||
|  |         app->view_dispatcher, BtHidViewExitConfirm, dialog_ex_get_view(app->dialog)); | ||||||
|  | 
 | ||||||
|  |     // Keynote view
 | ||||||
|  |     app->bt_hid_keynote = bt_hid_keynote_alloc(); | ||||||
|  |     view_set_previous_callback( | ||||||
|  |         bt_hid_keynote_get_view(app->bt_hid_keynote), bt_hid_exit_confirm_view); | ||||||
|  |     view_dispatcher_add_view( | ||||||
|  |         app->view_dispatcher, BtHidViewKeynote, bt_hid_keynote_get_view(app->bt_hid_keynote)); | ||||||
|  | 
 | ||||||
|  |     // Media view
 | ||||||
|  |     app->bt_hid_media = bt_hid_media_alloc(); | ||||||
|  |     view_set_previous_callback(bt_hid_media_get_view(app->bt_hid_media), bt_hid_exit_confirm_view); | ||||||
|  |     view_dispatcher_add_view( | ||||||
|  |         app->view_dispatcher, BtHidViewMedia, bt_hid_media_get_view(app->bt_hid_media)); | ||||||
|  | 
 | ||||||
|  |     // TODO switch to menu after Media is done
 | ||||||
|  |     view_dispatcher_switch_to_view(app->view_dispatcher, BtHidViewKeynote); | ||||||
|  | 
 | ||||||
|  |     return app; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void bt_hid_app_free(BtHid* app) { | ||||||
|  |     furi_assert(app); | ||||||
|  | 
 | ||||||
|  |     // Reset notification
 | ||||||
|  |     notification_internal_message(app->notifications, &sequence_reset_blue); | ||||||
|  | 
 | ||||||
|  |     // Free views
 | ||||||
|  |     view_dispatcher_remove_view(app->view_dispatcher, BtHidViewSubmenu); | ||||||
|  |     submenu_free(app->submenu); | ||||||
|  |     view_dispatcher_remove_view(app->view_dispatcher, BtHidViewExitConfirm); | ||||||
|  |     dialog_ex_free(app->dialog); | ||||||
|  |     view_dispatcher_remove_view(app->view_dispatcher, BtHidViewKeynote); | ||||||
|  |     bt_hid_keynote_free(app->bt_hid_keynote); | ||||||
|  |     view_dispatcher_remove_view(app->view_dispatcher, BtHidViewMedia); | ||||||
|  |     bt_hid_media_free(app->bt_hid_media); | ||||||
|  |     view_dispatcher_free(app->view_dispatcher); | ||||||
|  | 
 | ||||||
|  |     // Close records
 | ||||||
|  |     furi_record_close("gui"); | ||||||
|  |     app->gui = NULL; | ||||||
|  |     furi_record_close("notification"); | ||||||
|  |     app->notifications = NULL; | ||||||
|  |     furi_record_close("bt"); | ||||||
|  |     app->bt = NULL; | ||||||
|  | 
 | ||||||
|  |     // Free rest
 | ||||||
|  |     free(app); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | int32_t bt_hid_app(void* p) { | ||||||
|  |     // Switch profile to Hid
 | ||||||
|  |     BtHid* app = bt_hid_app_alloc(); | ||||||
|  |     bt_set_status_changed_callback(app->bt, bt_hid_connection_status_changed_callback, app); | ||||||
|  |     // Change profile
 | ||||||
|  |     if(!bt_set_profile(app->bt, BtProfileHidKeyboard)) { | ||||||
|  |         FURI_LOG_E(TAG, "Failed to switch profile"); | ||||||
|  |         bt_hid_app_free(app); | ||||||
|  |         return -1; | ||||||
|  |     } | ||||||
|  |     furi_hal_bt_start_advertising(); | ||||||
|  | 
 | ||||||
|  |     view_dispatcher_run(app->view_dispatcher); | ||||||
|  | 
 | ||||||
|  |     bt_set_status_changed_callback(app->bt, NULL, NULL); | ||||||
|  |     // Stop advertising if bt was off
 | ||||||
|  |     if(app->bt_settings.enabled) { | ||||||
|  |         furi_hal_bt_stop_advertising(); | ||||||
|  |     } | ||||||
|  |     // Change back profile to Serial
 | ||||||
|  |     bt_set_profile(app->bt, BtProfileSerial); | ||||||
|  | 
 | ||||||
|  |     bt_hid_app_free(app); | ||||||
|  | 
 | ||||||
|  |     return 0; | ||||||
|  | } | ||||||
							
								
								
									
										34
									
								
								applications/bt/bt_hid_app/bt_hid.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1,34 @@ | |||||||
|  | #pragma once | ||||||
|  | 
 | ||||||
|  | #include <furi.h> | ||||||
|  | #include <bt/bt_service/bt.h> | ||||||
|  | #include <gui/gui.h> | ||||||
|  | #include <gui/view.h> | ||||||
|  | #include <gui/view_dispatcher.h> | ||||||
|  | #include <applications/notification/notification.h> | ||||||
|  | #include <applications/bt/bt_settings.h> | ||||||
|  | 
 | ||||||
|  | #include <gui/modules/submenu.h> | ||||||
|  | #include <gui/modules/dialog_ex.h> | ||||||
|  | #include "views/bt_hid_keynote.h" | ||||||
|  | #include "views/bt_hid_media.h" | ||||||
|  | 
 | ||||||
|  | typedef struct { | ||||||
|  |     BtSettings bt_settings; | ||||||
|  |     Bt* bt; | ||||||
|  |     Gui* gui; | ||||||
|  |     NotificationApp* notifications; | ||||||
|  |     ViewDispatcher* view_dispatcher; | ||||||
|  |     Submenu* submenu; | ||||||
|  |     DialogEx* dialog; | ||||||
|  |     BtHidKeynote* bt_hid_keynote; | ||||||
|  |     BtHidMedia* bt_hid_media; | ||||||
|  |     uint32_t view_id; | ||||||
|  | } BtHid; | ||||||
|  | 
 | ||||||
|  | typedef enum { | ||||||
|  |     BtHidViewSubmenu, | ||||||
|  |     BtHidViewKeynote, | ||||||
|  |     BtHidViewMedia, | ||||||
|  |     BtHidViewExitConfirm, | ||||||
|  | } BtHidView; | ||||||
							
								
								
									
										192
									
								
								applications/bt/bt_hid_app/views/bt_hid_keynote.c
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,192 @@ | |||||||
|  | #include "bt_hid_keynote.h" | ||||||
|  | #include <furi.h> | ||||||
|  | #include <furi-hal-bt-hid.h> | ||||||
|  | #include <furi-hal-usb-hid.h> | ||||||
|  | #include <gui/elements.h> | ||||||
|  | 
 | ||||||
|  | struct BtHidKeynote { | ||||||
|  |     View* view; | ||||||
|  | }; | ||||||
|  | 
 | ||||||
|  | typedef struct { | ||||||
|  |     bool left_pressed; | ||||||
|  |     bool up_pressed; | ||||||
|  |     bool right_pressed; | ||||||
|  |     bool down_pressed; | ||||||
|  |     bool ok_pressed; | ||||||
|  |     bool connected; | ||||||
|  | } BtHidKeynoteModel; | ||||||
|  | 
 | ||||||
|  | static void bt_hid_keynote_draw_arrow(Canvas* canvas, uint8_t x, uint8_t y, CanvasDirection dir) { | ||||||
|  |     canvas_draw_triangle(canvas, x, y, 5, 3, dir); | ||||||
|  |     if(dir == CanvasDirectionBottomToTop) { | ||||||
|  |         canvas_draw_line(canvas, x, y + 6, x, y - 1); | ||||||
|  |     } else if(dir == CanvasDirectionTopToBottom) { | ||||||
|  |         canvas_draw_line(canvas, x, y - 6, x, y + 1); | ||||||
|  |     } else if(dir == CanvasDirectionRightToLeft) { | ||||||
|  |         canvas_draw_line(canvas, x + 6, y, x - 1, y); | ||||||
|  |     } else if(dir == CanvasDirectionLeftToRight) { | ||||||
|  |         canvas_draw_line(canvas, x - 6, y, x + 1, y); | ||||||
|  |     } | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | static void bt_hid_keynote_draw_callback(Canvas* canvas, void* context) { | ||||||
|  |     furi_assert(context); | ||||||
|  |     BtHidKeynoteModel* model = context; | ||||||
|  | 
 | ||||||
|  |     // Header
 | ||||||
|  |     canvas_set_font(canvas, FontPrimary); | ||||||
|  |     elements_multiline_text_aligned(canvas, 9, 3, AlignLeft, AlignTop, "Keynote"); | ||||||
|  |     canvas_set_font(canvas, FontSecondary); | ||||||
|  | 
 | ||||||
|  |     // Connected status
 | ||||||
|  |     if(model->connected) { | ||||||
|  |         canvas_draw_icon(canvas, 18, 18, &I_Ble_connected_38x34); | ||||||
|  |         elements_multiline_text_aligned(canvas, 9, 60, AlignLeft, AlignBottom, "Connected"); | ||||||
|  |     } else { | ||||||
|  |         canvas_draw_icon(canvas, 18, 18, &I_Ble_disconnected_24x34); | ||||||
|  |         elements_multiline_text_aligned(canvas, 3, 60, AlignLeft, AlignBottom, "Disconnected"); | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     // Up
 | ||||||
|  |     canvas_draw_icon(canvas, 86, 4, &I_Button_18x18); | ||||||
|  |     if(model->up_pressed) { | ||||||
|  |         elements_slightly_rounded_box(canvas, 89, 6, 13, 13); | ||||||
|  |         canvas_set_color(canvas, ColorWhite); | ||||||
|  |     } | ||||||
|  |     bt_hid_keynote_draw_arrow(canvas, 95, 10, CanvasDirectionBottomToTop); | ||||||
|  |     canvas_set_color(canvas, ColorBlack); | ||||||
|  | 
 | ||||||
|  |     // Down
 | ||||||
|  |     canvas_draw_icon(canvas, 86, 25, &I_Button_18x18); | ||||||
|  |     if(model->down_pressed) { | ||||||
|  |         elements_slightly_rounded_box(canvas, 89, 27, 13, 13); | ||||||
|  |         canvas_set_color(canvas, ColorWhite); | ||||||
|  |     } | ||||||
|  |     bt_hid_keynote_draw_arrow(canvas, 95, 35, CanvasDirectionTopToBottom); | ||||||
|  |     canvas_set_color(canvas, ColorBlack); | ||||||
|  | 
 | ||||||
|  |     // Left
 | ||||||
|  |     canvas_draw_icon(canvas, 65, 25, &I_Button_18x18); | ||||||
|  |     if(model->left_pressed) { | ||||||
|  |         elements_slightly_rounded_box(canvas, 68, 27, 13, 13); | ||||||
|  |         canvas_set_color(canvas, ColorWhite); | ||||||
|  |     } | ||||||
|  |     bt_hid_keynote_draw_arrow(canvas, 72, 33, CanvasDirectionRightToLeft); | ||||||
|  |     canvas_set_color(canvas, ColorBlack); | ||||||
|  | 
 | ||||||
|  |     // Right
 | ||||||
|  |     canvas_draw_icon(canvas, 107, 25, &I_Button_18x18); | ||||||
|  |     if(model->right_pressed) { | ||||||
|  |         elements_slightly_rounded_box(canvas, 110, 27, 13, 13); | ||||||
|  |         canvas_set_color(canvas, ColorWhite); | ||||||
|  |     } | ||||||
|  |     bt_hid_keynote_draw_arrow(canvas, 118, 33, CanvasDirectionLeftToRight); | ||||||
|  |     canvas_set_color(canvas, ColorBlack); | ||||||
|  | 
 | ||||||
|  |     // Ok
 | ||||||
|  |     canvas_draw_icon(canvas, 63, 45, &I_Space_65x18); | ||||||
|  |     if(model->ok_pressed) { | ||||||
|  |         elements_slightly_rounded_box(canvas, 66, 47, 60, 13); | ||||||
|  |         canvas_set_color(canvas, ColorWhite); | ||||||
|  |     } | ||||||
|  |     canvas_draw_icon(canvas, 74, 49, &I_Ok_btn_9x9); | ||||||
|  |     elements_multiline_text_aligned(canvas, 91, 56, AlignLeft, AlignBottom, "Space"); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | static void bt_hid_keynote_process_press(BtHidKeynote* bt_hid_keynote, InputEvent* event) { | ||||||
|  |     with_view_model( | ||||||
|  |         bt_hid_keynote->view, (BtHidKeynoteModel * model) { | ||||||
|  |             if(event->key == InputKeyUp) { | ||||||
|  |                 model->up_pressed = true; | ||||||
|  |                 furi_hal_bt_hid_kb_press(KEY_UP_ARROW); | ||||||
|  |             } else if(event->key == InputKeyDown) { | ||||||
|  |                 model->down_pressed = true; | ||||||
|  |                 furi_hal_bt_hid_kb_press(KEY_DOWN_ARROW); | ||||||
|  |             } else if(event->key == InputKeyLeft) { | ||||||
|  |                 model->left_pressed = true; | ||||||
|  |                 furi_hal_bt_hid_kb_press(KEY_LEFT_ARROW); | ||||||
|  |             } else if(event->key == InputKeyRight) { | ||||||
|  |                 model->right_pressed = true; | ||||||
|  |                 furi_hal_bt_hid_kb_press(KEY_RIGHT_ARROW); | ||||||
|  |             } else if(event->key == InputKeyOk) { | ||||||
|  |                 model->ok_pressed = true; | ||||||
|  |                 furi_hal_bt_hid_kb_press(KEY_SPACE); | ||||||
|  |             } | ||||||
|  |             return true; | ||||||
|  |         }); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | static void bt_hid_keynote_process_release(BtHidKeynote* bt_hid_keynote, InputEvent* event) { | ||||||
|  |     with_view_model( | ||||||
|  |         bt_hid_keynote->view, (BtHidKeynoteModel * model) { | ||||||
|  |             if(event->key == InputKeyUp) { | ||||||
|  |                 model->up_pressed = false; | ||||||
|  |                 furi_hal_bt_hid_kb_release(KEY_UP_ARROW); | ||||||
|  |             } else if(event->key == InputKeyDown) { | ||||||
|  |                 model->down_pressed = false; | ||||||
|  |                 furi_hal_bt_hid_kb_release(KEY_DOWN_ARROW); | ||||||
|  |             } else if(event->key == InputKeyLeft) { | ||||||
|  |                 model->left_pressed = false; | ||||||
|  |                 furi_hal_bt_hid_kb_release(KEY_LEFT_ARROW); | ||||||
|  |             } else if(event->key == InputKeyRight) { | ||||||
|  |                 model->right_pressed = false; | ||||||
|  |                 furi_hal_bt_hid_kb_release(KEY_RIGHT_ARROW); | ||||||
|  |             } else if(event->key == InputKeyOk) { | ||||||
|  |                 model->ok_pressed = false; | ||||||
|  |                 furi_hal_bt_hid_kb_release(KEY_SPACE); | ||||||
|  |             } | ||||||
|  |             return true; | ||||||
|  |         }); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | static bool bt_hid_keynote_input_callback(InputEvent* event, void* context) { | ||||||
|  |     furi_assert(context); | ||||||
|  |     BtHidKeynote* bt_hid_keynote = context; | ||||||
|  |     bool consumed = false; | ||||||
|  | 
 | ||||||
|  |     if(event->type == InputTypePress) { | ||||||
|  |         bt_hid_keynote_process_press(bt_hid_keynote, event); | ||||||
|  |         consumed = true; | ||||||
|  |     } else if(event->type == InputTypeRelease) { | ||||||
|  |         bt_hid_keynote_process_release(bt_hid_keynote, event); | ||||||
|  |         consumed = true; | ||||||
|  |     } else if(event->type == InputTypeShort) { | ||||||
|  |         if(event->key == InputKeyBack) { | ||||||
|  |             furi_hal_hid_kb_release_all(); | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     return consumed; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | BtHidKeynote* bt_hid_keynote_alloc() { | ||||||
|  |     BtHidKeynote* bt_hid_keynote = furi_alloc(sizeof(BtHidKeynote)); | ||||||
|  |     bt_hid_keynote->view = view_alloc(); | ||||||
|  |     view_set_context(bt_hid_keynote->view, bt_hid_keynote); | ||||||
|  |     view_allocate_model(bt_hid_keynote->view, ViewModelTypeLocking, sizeof(BtHidKeynoteModel)); | ||||||
|  |     view_set_draw_callback(bt_hid_keynote->view, bt_hid_keynote_draw_callback); | ||||||
|  |     view_set_input_callback(bt_hid_keynote->view, bt_hid_keynote_input_callback); | ||||||
|  | 
 | ||||||
|  |     return bt_hid_keynote; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void bt_hid_keynote_free(BtHidKeynote* bt_hid_keynote) { | ||||||
|  |     furi_assert(bt_hid_keynote); | ||||||
|  |     view_free(bt_hid_keynote->view); | ||||||
|  |     free(bt_hid_keynote); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | View* bt_hid_keynote_get_view(BtHidKeynote* bt_hid_keynote) { | ||||||
|  |     furi_assert(bt_hid_keynote); | ||||||
|  |     return bt_hid_keynote->view; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void bt_hid_keynote_set_connected_status(BtHidKeynote* bt_hid_keynote, bool connected) { | ||||||
|  |     furi_assert(bt_hid_keynote); | ||||||
|  |     with_view_model( | ||||||
|  |         bt_hid_keynote->view, (BtHidKeynoteModel * model) { | ||||||
|  |             model->connected = connected; | ||||||
|  |             return true; | ||||||
|  |         }); | ||||||
|  | } | ||||||
							
								
								
									
										13
									
								
								applications/bt/bt_hid_app/views/bt_hid_keynote.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1,13 @@ | |||||||
|  | #pragma once | ||||||
|  | 
 | ||||||
|  | #include <gui/view.h> | ||||||
|  | 
 | ||||||
|  | typedef struct BtHidKeynote BtHidKeynote; | ||||||
|  | 
 | ||||||
|  | BtHidKeynote* bt_hid_keynote_alloc(); | ||||||
|  | 
 | ||||||
|  | void bt_hid_keynote_free(BtHidKeynote* bt_hid_keynote); | ||||||
|  | 
 | ||||||
|  | View* bt_hid_keynote_get_view(BtHidKeynote* bt_hid_keynote); | ||||||
|  | 
 | ||||||
|  | void bt_hid_keynote_set_connected_status(BtHidKeynote* bt_hid_keynote, bool connected); | ||||||
							
								
								
									
										193
									
								
								applications/bt/bt_hid_app/views/bt_hid_media.c
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,193 @@ | |||||||
|  | #include "bt_hid_media.h" | ||||||
|  | #include <furi.h> | ||||||
|  | #include <furi-hal-bt-hid.h> | ||||||
|  | #include <furi-hal-usb-hid.h> | ||||||
|  | #include <gui/elements.h> | ||||||
|  | 
 | ||||||
|  | struct BtHidMedia { | ||||||
|  |     View* view; | ||||||
|  | }; | ||||||
|  | 
 | ||||||
|  | typedef struct { | ||||||
|  |     bool left_pressed; | ||||||
|  |     bool up_pressed; | ||||||
|  |     bool right_pressed; | ||||||
|  |     bool down_pressed; | ||||||
|  |     bool ok_pressed; | ||||||
|  |     bool connected; | ||||||
|  | } BtHidMediaModel; | ||||||
|  | 
 | ||||||
|  | static void bt_hid_media_draw_arrow(Canvas* canvas, uint8_t x, uint8_t y, CanvasDirection dir) { | ||||||
|  |     canvas_draw_triangle(canvas, x, y, 5, 3, dir); | ||||||
|  |     if(dir == CanvasDirectionBottomToTop) { | ||||||
|  |         canvas_draw_dot(canvas, x, y - 1); | ||||||
|  |     } else if(dir == CanvasDirectionTopToBottom) { | ||||||
|  |         canvas_draw_dot(canvas, x, y + 1); | ||||||
|  |     } else if(dir == CanvasDirectionRightToLeft) { | ||||||
|  |         canvas_draw_dot(canvas, x - 1, y); | ||||||
|  |     } else if(dir == CanvasDirectionLeftToRight) { | ||||||
|  |         canvas_draw_dot(canvas, x + 1, y); | ||||||
|  |     } | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | static void bt_hid_media_draw_callback(Canvas* canvas, void* context) { | ||||||
|  |     furi_assert(context); | ||||||
|  |     BtHidMediaModel* model = context; | ||||||
|  | 
 | ||||||
|  |     // Header
 | ||||||
|  |     canvas_set_font(canvas, FontPrimary); | ||||||
|  |     elements_multiline_text_aligned(canvas, 9, 3, AlignLeft, AlignTop, "Media player"); | ||||||
|  |     canvas_set_font(canvas, FontSecondary); | ||||||
|  | 
 | ||||||
|  |     // Connected status
 | ||||||
|  |     if(model->connected) { | ||||||
|  |         canvas_draw_icon(canvas, 23, 17, &I_Ble_connected_38x34); | ||||||
|  |         elements_multiline_text_aligned(canvas, 35, 61, AlignCenter, AlignBottom, "Connected"); | ||||||
|  |     } else { | ||||||
|  |         canvas_draw_icon(canvas, 23, 17, &I_Ble_disconnected_24x34); | ||||||
|  |         elements_multiline_text_aligned(canvas, 35, 61, AlignCenter, AlignBottom, "Disconnected"); | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     // Keypad circles
 | ||||||
|  |     canvas_draw_icon(canvas, 76, 8, &I_Circles_47x47); | ||||||
|  | 
 | ||||||
|  |     // Up
 | ||||||
|  |     if(model->up_pressed) { | ||||||
|  |         canvas_draw_icon(canvas, 93, 9, &I_Pressed_Button_13x13); | ||||||
|  |         canvas_set_color(canvas, ColorWhite); | ||||||
|  |     } | ||||||
|  |     canvas_draw_icon(canvas, 96, 12, &I_Volup_8x6); | ||||||
|  |     canvas_set_color(canvas, ColorBlack); | ||||||
|  | 
 | ||||||
|  |     // Down
 | ||||||
|  |     if(model->down_pressed) { | ||||||
|  |         canvas_draw_icon(canvas, 93, 41, &I_Pressed_Button_13x13); | ||||||
|  |         canvas_set_color(canvas, ColorWhite); | ||||||
|  |     } | ||||||
|  |     canvas_draw_icon(canvas, 96, 45, &I_Voldwn_6x6); | ||||||
|  |     canvas_set_color(canvas, ColorBlack); | ||||||
|  | 
 | ||||||
|  |     // Left
 | ||||||
|  |     if(model->left_pressed) { | ||||||
|  |         canvas_draw_icon(canvas, 77, 25, &I_Pressed_Button_13x13); | ||||||
|  |         canvas_set_color(canvas, ColorWhite); | ||||||
|  |     } | ||||||
|  |     bt_hid_media_draw_arrow(canvas, 82, 31, CanvasDirectionRightToLeft); | ||||||
|  |     bt_hid_media_draw_arrow(canvas, 86, 31, CanvasDirectionRightToLeft); | ||||||
|  |     canvas_set_color(canvas, ColorBlack); | ||||||
|  | 
 | ||||||
|  |     // Right
 | ||||||
|  |     if(model->right_pressed) { | ||||||
|  |         canvas_draw_icon(canvas, 109, 25, &I_Pressed_Button_13x13); | ||||||
|  |         canvas_set_color(canvas, ColorWhite); | ||||||
|  |     } | ||||||
|  |     bt_hid_media_draw_arrow(canvas, 112, 31, CanvasDirectionLeftToRight); | ||||||
|  |     bt_hid_media_draw_arrow(canvas, 116, 31, CanvasDirectionLeftToRight); | ||||||
|  |     canvas_set_color(canvas, ColorBlack); | ||||||
|  | 
 | ||||||
|  |     // Ok
 | ||||||
|  |     if(model->ok_pressed) { | ||||||
|  |         canvas_draw_icon(canvas, 93, 25, &I_Pressed_Button_13x13); | ||||||
|  |         canvas_set_color(canvas, ColorWhite); | ||||||
|  |     } | ||||||
|  |     bt_hid_media_draw_arrow(canvas, 96, 31, CanvasDirectionLeftToRight); | ||||||
|  |     canvas_draw_line(canvas, 100, 29, 100, 33); | ||||||
|  |     canvas_draw_line(canvas, 102, 29, 102, 33); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | static void bt_hid_media_process_press(BtHidMedia* bt_hid_media, InputEvent* event) { | ||||||
|  |     with_view_model( | ||||||
|  |         bt_hid_media->view, (BtHidMediaModel * model) { | ||||||
|  |             if(event->key == InputKeyUp) { | ||||||
|  |                 model->up_pressed = true; | ||||||
|  |                 furi_hal_bt_hid_media_press(FuriHalBtHidMediaVolumeUp); | ||||||
|  |             } else if(event->key == InputKeyDown) { | ||||||
|  |                 model->down_pressed = true; | ||||||
|  |                 furi_hal_bt_hid_media_press(FuriHalBtHidMediaVolumeDown); | ||||||
|  |             } else if(event->key == InputKeyLeft) { | ||||||
|  |                 model->left_pressed = true; | ||||||
|  |                 furi_hal_bt_hid_media_press(FuriHalBtHidMediaScanPrevious); | ||||||
|  |             } else if(event->key == InputKeyRight) { | ||||||
|  |                 model->right_pressed = true; | ||||||
|  |                 furi_hal_bt_hid_media_press(FuriHalBtHidMediaScanNext); | ||||||
|  |             } else if(event->key == InputKeyOk) { | ||||||
|  |                 model->ok_pressed = true; | ||||||
|  |                 furi_hal_bt_hid_media_press(FuriHalBtHidMediaPlayPause); | ||||||
|  |             } | ||||||
|  |             return true; | ||||||
|  |         }); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | static void bt_hid_media_process_release(BtHidMedia* bt_hid_media, InputEvent* event) { | ||||||
|  |     with_view_model( | ||||||
|  |         bt_hid_media->view, (BtHidMediaModel * model) { | ||||||
|  |             if(event->key == InputKeyUp) { | ||||||
|  |                 model->up_pressed = false; | ||||||
|  |                 furi_hal_bt_hid_media_release(FuriHalBtHidMediaVolumeUp); | ||||||
|  |             } else if(event->key == InputKeyDown) { | ||||||
|  |                 model->down_pressed = false; | ||||||
|  |                 furi_hal_bt_hid_media_release(FuriHalBtHidMediaVolumeDown); | ||||||
|  |             } else if(event->key == InputKeyLeft) { | ||||||
|  |                 model->left_pressed = false; | ||||||
|  |                 furi_hal_bt_hid_media_release(FuriHalBtHidMediaScanPrevious); | ||||||
|  |             } else if(event->key == InputKeyRight) { | ||||||
|  |                 model->right_pressed = false; | ||||||
|  |                 furi_hal_bt_hid_media_release(FuriHalBtHidMediaScanNext); | ||||||
|  |             } else if(event->key == InputKeyOk) { | ||||||
|  |                 model->ok_pressed = false; | ||||||
|  |                 furi_hal_bt_hid_media_release(FuriHalBtHidMediaPlayPause); | ||||||
|  |             } | ||||||
|  |             return true; | ||||||
|  |         }); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | static bool bt_hid_media_input_callback(InputEvent* event, void* context) { | ||||||
|  |     furi_assert(context); | ||||||
|  |     BtHidMedia* bt_hid_media = context; | ||||||
|  |     bool consumed = false; | ||||||
|  | 
 | ||||||
|  |     if(event->type == InputTypePress) { | ||||||
|  |         bt_hid_media_process_press(bt_hid_media, event); | ||||||
|  |         consumed = true; | ||||||
|  |     } else if(event->type == InputTypeRelease) { | ||||||
|  |         bt_hid_media_process_release(bt_hid_media, event); | ||||||
|  |         consumed = true; | ||||||
|  |     } else if(event->type == InputTypeShort) { | ||||||
|  |         if(event->key == InputKeyBack) { | ||||||
|  |             furi_hal_bt_hid_media_release_all(); | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     return consumed; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | BtHidMedia* bt_hid_media_alloc() { | ||||||
|  |     BtHidMedia* bt_hid_media = furi_alloc(sizeof(BtHidMedia)); | ||||||
|  |     bt_hid_media->view = view_alloc(); | ||||||
|  |     view_set_context(bt_hid_media->view, bt_hid_media); | ||||||
|  |     view_allocate_model(bt_hid_media->view, ViewModelTypeLocking, sizeof(BtHidMediaModel)); | ||||||
|  |     view_set_draw_callback(bt_hid_media->view, bt_hid_media_draw_callback); | ||||||
|  |     view_set_input_callback(bt_hid_media->view, bt_hid_media_input_callback); | ||||||
|  | 
 | ||||||
|  |     return bt_hid_media; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void bt_hid_media_free(BtHidMedia* bt_hid_media) { | ||||||
|  |     furi_assert(bt_hid_media); | ||||||
|  |     view_free(bt_hid_media->view); | ||||||
|  |     free(bt_hid_media); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | View* bt_hid_media_get_view(BtHidMedia* bt_hid_media) { | ||||||
|  |     furi_assert(bt_hid_media); | ||||||
|  |     return bt_hid_media->view; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void bt_hid_media_set_connected_status(BtHidMedia* bt_hid_media, bool connected) { | ||||||
|  |     furi_assert(bt_hid_media); | ||||||
|  |     with_view_model( | ||||||
|  |         bt_hid_media->view, (BtHidMediaModel * model) { | ||||||
|  |             model->connected = connected; | ||||||
|  |             return true; | ||||||
|  |         }); | ||||||
|  | } | ||||||
							
								
								
									
										13
									
								
								applications/bt/bt_hid_app/views/bt_hid_media.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1,13 @@ | |||||||
|  | #pragma once | ||||||
|  | 
 | ||||||
|  | #include <gui/view.h> | ||||||
|  | 
 | ||||||
|  | typedef struct BtHidMedia BtHidMedia; | ||||||
|  | 
 | ||||||
|  | BtHidMedia* bt_hid_media_alloc(); | ||||||
|  | 
 | ||||||
|  | void bt_hid_media_free(BtHidMedia* bt_hid_media); | ||||||
|  | 
 | ||||||
|  | View* bt_hid_media_get_view(BtHidMedia* bt_hid_media); | ||||||
|  | 
 | ||||||
|  | void bt_hid_media_set_connected_status(BtHidMedia* bt_hid_media, bool connected); | ||||||
| @ -2,6 +2,8 @@ | |||||||
| #include "battery_service.h" | #include "battery_service.h" | ||||||
| #include "bt_keys_storage.h" | #include "bt_keys_storage.h" | ||||||
| 
 | 
 | ||||||
|  | #include <applications/notification/notification-messages.h> | ||||||
|  | 
 | ||||||
| #define TAG "BtSrv" | #define TAG "BtSrv" | ||||||
| 
 | 
 | ||||||
| #define BT_RPC_EVENT_BUFF_SENT (1UL << 0) | #define BT_RPC_EVENT_BUFF_SENT (1UL << 0) | ||||||
| @ -29,6 +31,7 @@ static ViewPort* bt_statusbar_view_port_alloc(Bt* bt) { | |||||||
| 
 | 
 | ||||||
| static void bt_pin_code_show_event_handler(Bt* bt, uint32_t pin) { | static void bt_pin_code_show_event_handler(Bt* bt, uint32_t pin) { | ||||||
|     furi_assert(bt); |     furi_assert(bt); | ||||||
|  |     notification_message(bt->notification, &sequence_display_on); | ||||||
|     string_t pin_str; |     string_t pin_str; | ||||||
|     dialog_message_set_icon(bt->dialog_message, &I_BLE_Pairing_128x64, 0, 0); |     dialog_message_set_icon(bt->dialog_message, &I_BLE_Pairing_128x64, 0, 0); | ||||||
|     string_init_printf(pin_str, "Pairing code\n%06d", pin); |     string_init_printf(pin_str, "Pairing code\n%06d", pin); | ||||||
| @ -41,6 +44,7 @@ static void bt_pin_code_show_event_handler(Bt* bt, uint32_t pin) { | |||||||
| 
 | 
 | ||||||
| static bool bt_pin_code_verify_event_handler(Bt* bt, uint32_t pin) { | static bool bt_pin_code_verify_event_handler(Bt* bt, uint32_t pin) { | ||||||
|     furi_assert(bt); |     furi_assert(bt); | ||||||
|  |     notification_message(bt->notification, &sequence_display_on); | ||||||
|     string_t pin_str; |     string_t pin_str; | ||||||
|     dialog_message_set_icon(bt->dialog_message, &I_BLE_Pairing_128x64, 0, 0); |     dialog_message_set_icon(bt->dialog_message, &I_BLE_Pairing_128x64, 0, 0); | ||||||
|     string_init_printf(pin_str, "Verify code\n%06d", pin); |     string_init_printf(pin_str, "Verify code\n%06d", pin); | ||||||
| @ -80,6 +84,8 @@ Bt* bt_alloc() { | |||||||
| 
 | 
 | ||||||
|     // Setup statusbar view port
 |     // Setup statusbar view port
 | ||||||
|     bt->statusbar_view_port = bt_statusbar_view_port_alloc(bt); |     bt->statusbar_view_port = bt_statusbar_view_port_alloc(bt); | ||||||
|  |     // Notification
 | ||||||
|  |     bt->notification = furi_record_open("notification"); | ||||||
|     // Gui
 |     // Gui
 | ||||||
|     bt->gui = furi_record_open("gui"); |     bt->gui = furi_record_open("gui"); | ||||||
|     gui_add_view_port(bt->gui, bt->statusbar_view_port, GuiLayerStatusBarLeft); |     gui_add_view_port(bt->gui, bt->statusbar_view_port, GuiLayerStatusBarLeft); | ||||||
| @ -288,6 +294,9 @@ int32_t bt_srv() { | |||||||
|         if(message.type == BtMessageTypeUpdateStatusbar) { |         if(message.type == BtMessageTypeUpdateStatusbar) { | ||||||
|             // Update statusbar
 |             // Update statusbar
 | ||||||
|             bt_statusbar_update(bt); |             bt_statusbar_update(bt); | ||||||
|  |             if(bt->status_changed_cb) { | ||||||
|  |                 bt->status_changed_cb(bt->status, bt->status_changed_ctx); | ||||||
|  |             } | ||||||
|         } else if(message.type == BtMessageTypeUpdateBatteryLevel) { |         } else if(message.type == BtMessageTypeUpdateBatteryLevel) { | ||||||
|             // Update battery level
 |             // Update battery level
 | ||||||
|             furi_hal_bt_update_battery_level(message.data.battery_level); |             furi_hal_bt_update_battery_level(message.data.battery_level); | ||||||
|  | |||||||
| @ -9,13 +9,20 @@ extern "C" { | |||||||
| 
 | 
 | ||||||
| typedef struct Bt Bt; | typedef struct Bt Bt; | ||||||
| 
 | 
 | ||||||
|  | typedef enum { | ||||||
|  |     BtStatusOff, | ||||||
|  |     BtStatusAdvertising, | ||||||
|  |     BtStatusConnected, | ||||||
|  | } BtStatus; | ||||||
|  | 
 | ||||||
| typedef enum { | typedef enum { | ||||||
|     BtProfileSerial, |     BtProfileSerial, | ||||||
|     BtProfileHidKeyboard, |     BtProfileHidKeyboard, | ||||||
| } BtProfile; | } BtProfile; | ||||||
| 
 | 
 | ||||||
| /**
 | typedef void (*BtStatusChangedCallback)(BtStatus status, void* context); | ||||||
|  * Change BLE Profile | 
 | ||||||
|  | /** Change BLE Profile
 | ||||||
|  * @note Call of this function leads to 2nd core restart |  * @note Call of this function leads to 2nd core restart | ||||||
|  * |  * | ||||||
|  * @param bt        Bt instance |  * @param bt        Bt instance | ||||||
| @ -25,6 +32,14 @@ typedef enum { | |||||||
|  */ |  */ | ||||||
| bool bt_set_profile(Bt* bt, BtProfile profile); | bool bt_set_profile(Bt* bt, BtProfile profile); | ||||||
| 
 | 
 | ||||||
|  | /** Set callback for Bluetooth status change notification
 | ||||||
|  |  * | ||||||
|  |  * @param bt        Bt instance | ||||||
|  |  * @param callback  BtStatusChangedCallback instance | ||||||
|  |  * @param context   pointer to context | ||||||
|  |  */ | ||||||
|  | void bt_set_status_changed_callback(Bt* bt, BtStatusChangedCallback callback, void* context); | ||||||
|  | 
 | ||||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||||
| } | } | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -13,3 +13,10 @@ bool bt_set_profile(Bt* bt, BtProfile profile) { | |||||||
| 
 | 
 | ||||||
|     return result; |     return result; | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | void bt_set_status_changed_callback(Bt* bt, BtStatusChangedCallback callback, void* context) { | ||||||
|  |     furi_assert(bt); | ||||||
|  | 
 | ||||||
|  |     bt->status_changed_cb = callback; | ||||||
|  |     bt->status_changed_ctx = context; | ||||||
|  | } | ||||||
|  | |||||||
| @ -12,17 +12,12 @@ | |||||||
| #include <dialogs/dialogs.h> | #include <dialogs/dialogs.h> | ||||||
| #include <power/power_service/power.h> | #include <power/power_service/power.h> | ||||||
| #include <applications/rpc/rpc.h> | #include <applications/rpc/rpc.h> | ||||||
|  | #include <applications/notification/notification.h> | ||||||
| 
 | 
 | ||||||
| #include "../bt_settings.h" | #include "../bt_settings.h" | ||||||
| 
 | 
 | ||||||
| #define BT_API_UNLOCK_EVENT (1UL << 0) | #define BT_API_UNLOCK_EVENT (1UL << 0) | ||||||
| 
 | 
 | ||||||
| typedef enum { |  | ||||||
|     BtStatusOff, |  | ||||||
|     BtStatusAdvertising, |  | ||||||
|     BtStatusConnected, |  | ||||||
| } BtStatus; |  | ||||||
| 
 |  | ||||||
| typedef enum { | typedef enum { | ||||||
|     BtMessageTypeUpdateStatusbar, |     BtMessageTypeUpdateStatusbar, | ||||||
|     BtMessageTypeUpdateBatteryLevel, |     BtMessageTypeUpdateBatteryLevel, | ||||||
| @ -51,6 +46,7 @@ struct Bt { | |||||||
|     BtStatus status; |     BtStatus status; | ||||||
|     BtProfile profile; |     BtProfile profile; | ||||||
|     osMessageQueueId_t message_queue; |     osMessageQueueId_t message_queue; | ||||||
|  |     NotificationApp* notification; | ||||||
|     Gui* gui; |     Gui* gui; | ||||||
|     ViewPort* statusbar_view_port; |     ViewPort* statusbar_view_port; | ||||||
|     DialogsApp* dialogs; |     DialogsApp* dialogs; | ||||||
| @ -60,4 +56,6 @@ struct Bt { | |||||||
|     RpcSession* rpc_session; |     RpcSession* rpc_session; | ||||||
|     osEventFlagsId_t rpc_event; |     osEventFlagsId_t rpc_event; | ||||||
|     osEventFlagsId_t api_event; |     osEventFlagsId_t api_event; | ||||||
|  |     BtStatusChangedCallback status_changed_cb; | ||||||
|  |     void* status_changed_ctx; | ||||||
| }; | }; | ||||||
|  | |||||||
| @ -2,7 +2,6 @@ | |||||||
| #include <furi-hal.h> | #include <furi-hal.h> | ||||||
| #include <furi-hal-gpio.h> | #include <furi-hal-gpio.h> | ||||||
| #include <furi-hal-info.h> | #include <furi-hal-info.h> | ||||||
| #include <rtc.h> |  | ||||||
| #include <task-control-block.h> | #include <task-control-block.h> | ||||||
| #include <time.h> | #include <time.h> | ||||||
| #include <notification/notification-messages.h> | #include <notification/notification-messages.h> | ||||||
| @ -58,46 +57,40 @@ void cli_command_help(Cli* cli, string_t args, void* context) { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void cli_command_date(Cli* cli, string_t args, void* context) { | void cli_command_date(Cli* cli, string_t args, void* context) { | ||||||
|     RTC_TimeTypeDef time; |     FuriHalRtcDateTime datetime = {0}; | ||||||
|     RTC_DateTypeDef date; |  | ||||||
| 
 | 
 | ||||||
|     if(string_size(args) > 0) { |     if(string_size(args) > 0) { | ||||||
|         uint16_t Hours, Minutes, Seconds, Month, Date, Year, WeekDay; |         uint16_t hours, minutes, seconds, month, day, year, weekday; | ||||||
|         int ret = sscanf( |         int ret = sscanf( | ||||||
|             string_get_cstr(args), |             string_get_cstr(args), | ||||||
|             "%hu:%hu:%hu %hu-%hu-%hu %hu", |             "%hu:%hu:%hu %hu-%hu-%hu %hu", | ||||||
|             &Hours, |             &hours, | ||||||
|             &Minutes, |             &minutes, | ||||||
|             &Seconds, |             &seconds, | ||||||
|             &Month, |             &month, | ||||||
|             &Date, |             &day, | ||||||
|             &Year, |             &year, | ||||||
|             &WeekDay); |             &weekday); | ||||||
|         if(ret == 7) { |         if(ret == 7) { | ||||||
|             time.Hours = Hours; |             datetime.hour = hours; | ||||||
|             time.Minutes = Minutes; |             datetime.minute = minutes; | ||||||
|             time.Seconds = Seconds; |             datetime.second = seconds; | ||||||
|             time.DayLightSaving = RTC_DAYLIGHTSAVING_NONE; |             datetime.weekday = weekday; | ||||||
|             time.StoreOperation = RTC_STOREOPERATION_RESET; |             datetime.month = month; | ||||||
|             date.WeekDay = WeekDay; |             datetime.day = day; | ||||||
|             date.Month = Month; |             datetime.year = year; | ||||||
|             date.Date = Date; |             furi_hal_rtc_set_datetime(&datetime); | ||||||
|             date.Year = Year - 2000; |  | ||||||
|             HAL_RTC_SetTime(&hrtc, &time, RTC_FORMAT_BIN); |  | ||||||
|             HAL_RTC_SetDate(&hrtc, &date, RTC_FORMAT_BIN); |  | ||||||
| 
 |  | ||||||
|             // Verification
 |             // Verification
 | ||||||
|             HAL_RTC_GetTime(&hrtc, &time, RTC_FORMAT_BIN); |             furi_hal_rtc_get_datetime(&datetime); | ||||||
|             HAL_RTC_GetDate(&hrtc, &date, RTC_FORMAT_BIN); |  | ||||||
|             printf( |             printf( | ||||||
|                 "New time is: %.2d:%.2d:%.2d %.2d-%.2d-%.2d %d", |                 "New time is: %.2d:%.2d:%.2d %.2d-%.2d-%.2d %d", | ||||||
|                 time.Hours, |                 datetime.hour, | ||||||
|                 time.Minutes, |                 datetime.minute, | ||||||
|                 time.Seconds, |                 datetime.second, | ||||||
|                 date.Month, |                 datetime.month, | ||||||
|                 date.Date, |                 datetime.day, | ||||||
|                 2000 + date.Year, |                 datetime.year, | ||||||
|                 date.WeekDay); |                 datetime.weekday); | ||||||
|         } else { |         } else { | ||||||
|             printf( |             printf( | ||||||
|                 "Invalid time format, use `hh:mm:ss MM-DD-YYYY WD`. sscanf %d %s", |                 "Invalid time format, use `hh:mm:ss MM-DD-YYYY WD`. sscanf %d %s", | ||||||
| @ -106,19 +99,16 @@ void cli_command_date(Cli* cli, string_t args, void* context) { | |||||||
|             return; |             return; | ||||||
|         } |         } | ||||||
|     } else { |     } else { | ||||||
|         // TODO add get_datetime to core, not use HAL here
 |         furi_hal_rtc_get_datetime(&datetime); | ||||||
|         // READ ORDER MATTERS! Time then date.
 |  | ||||||
|         HAL_RTC_GetTime(&hrtc, &time, RTC_FORMAT_BIN); |  | ||||||
|         HAL_RTC_GetDate(&hrtc, &date, RTC_FORMAT_BIN); |  | ||||||
|         printf( |         printf( | ||||||
|             "%.2d:%.2d:%.2d %.2d-%.2d-%.2d %d", |             "%.2d:%.2d:%.2d %.2d-%.2d-%.2d %d", | ||||||
|             time.Hours, |             datetime.hour, | ||||||
|             time.Minutes, |             datetime.minute, | ||||||
|             time.Seconds, |             datetime.second, | ||||||
|             date.Month, |             datetime.month, | ||||||
|             date.Date, |             datetime.day, | ||||||
|             2000 + date.Year, |             datetime.year, | ||||||
|             date.WeekDay); |             datetime.weekday); | ||||||
|     } |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -1,138 +0,0 @@ | |||||||
| #include <furi.h> |  | ||||||
| #include <gui/gui.h> |  | ||||||
| #include <input/input.h> |  | ||||||
| #include <bt/bt_service/bt.h> |  | ||||||
| #include <furi-hal-bt.h> |  | ||||||
| #include <furi-hal-bt-hid.h> |  | ||||||
| #include <furi-hal-usb-hid.h> |  | ||||||
| 
 |  | ||||||
| #define TAG "BleKeyboardApp" |  | ||||||
| 
 |  | ||||||
| typedef enum { |  | ||||||
|     EventTypeInput, |  | ||||||
| } EventType; |  | ||||||
| 
 |  | ||||||
| typedef struct { |  | ||||||
|     union { |  | ||||||
|         InputEvent input; |  | ||||||
|     }; |  | ||||||
|     EventType type; |  | ||||||
| } BleKeyboardEvent; |  | ||||||
| 
 |  | ||||||
| static void ble_keyboard_render_callback(Canvas* canvas, void* ctx) { |  | ||||||
|     canvas_clear(canvas); |  | ||||||
| 
 |  | ||||||
|     canvas_set_font(canvas, FontPrimary); |  | ||||||
|     canvas_draw_str(canvas, 0, 10, "BLE keypad demo"); |  | ||||||
| 
 |  | ||||||
|     canvas_set_font(canvas, FontSecondary); |  | ||||||
|     canvas_draw_str(canvas, 0, 63, "Hold [back] to exit"); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| static void ble_keyboard_input_callback(InputEvent* input_event, void* ctx) { |  | ||||||
|     osMessageQueueId_t event_queue = ctx; |  | ||||||
| 
 |  | ||||||
|     BleKeyboardEvent event; |  | ||||||
|     event.type = EventTypeInput; |  | ||||||
|     event.input = *input_event; |  | ||||||
|     osMessageQueuePut(event_queue, &event, 0, osWaitForever); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| int32_t ble_keyboard_app(void* p) { |  | ||||||
|     Bt* bt = furi_record_open("bt"); |  | ||||||
|     if(!bt_set_profile(bt, BtProfileHidKeyboard)) { |  | ||||||
|         FURI_LOG_E(TAG, "Failed to switch profile"); |  | ||||||
|         furi_record_close("bt"); |  | ||||||
|         return -1; |  | ||||||
|     } |  | ||||||
|     bool bt_turned_on = furi_hal_bt_is_active(); |  | ||||||
|     if(!bt_turned_on) { |  | ||||||
|         furi_hal_bt_start_advertising(); |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|     osMessageQueueId_t event_queue = osMessageQueueNew(8, sizeof(BleKeyboardEvent), NULL); |  | ||||||
|     furi_check(event_queue); |  | ||||||
|     ViewPort* view_port = view_port_alloc(); |  | ||||||
| 
 |  | ||||||
|     view_port_draw_callback_set(view_port, ble_keyboard_render_callback, NULL); |  | ||||||
|     view_port_input_callback_set(view_port, ble_keyboard_input_callback, event_queue); |  | ||||||
| 
 |  | ||||||
|     // Open GUI and register view_port
 |  | ||||||
|     Gui* gui = furi_record_open("gui"); |  | ||||||
|     gui_add_view_port(gui, view_port, GuiLayerFullscreen); |  | ||||||
| 
 |  | ||||||
|     BleKeyboardEvent event; |  | ||||||
|     while(1) { |  | ||||||
|         osStatus_t event_status = osMessageQueueGet(event_queue, &event, NULL, osWaitForever); |  | ||||||
| 
 |  | ||||||
|         if(event_status == osOK) { |  | ||||||
|             if(event.type == EventTypeInput) { |  | ||||||
|                 if(event.input.type == InputTypeLong && event.input.key == InputKeyBack) { |  | ||||||
|                     furi_hal_bt_hid_kb_release_all(); |  | ||||||
|                     break; |  | ||||||
|                 } |  | ||||||
| 
 |  | ||||||
|                 if(event.input.key == InputKeyBack) { |  | ||||||
|                     if(event.input.type == InputTypePress) { |  | ||||||
|                         furi_hal_bt_hid_kb_press(KEY_ESC); |  | ||||||
|                     } else if(event.input.type == InputTypeRelease) { |  | ||||||
|                         furi_hal_bt_hid_kb_release(KEY_ESC); |  | ||||||
|                     } |  | ||||||
|                 } |  | ||||||
| 
 |  | ||||||
|                 if(event.input.key == InputKeyOk) { |  | ||||||
|                     if(event.input.type == InputTypePress) { |  | ||||||
|                         furi_hal_bt_hid_kb_press(KEY_ENTER); |  | ||||||
|                     } else if(event.input.type == InputTypeRelease) { |  | ||||||
|                         furi_hal_bt_hid_kb_release(KEY_ENTER); |  | ||||||
|                     } |  | ||||||
|                 } |  | ||||||
| 
 |  | ||||||
|                 if(event.input.key == InputKeyRight) { |  | ||||||
|                     if(event.input.type == InputTypePress) { |  | ||||||
|                         furi_hal_bt_hid_kb_press(KEY_RIGHT_ARROW); |  | ||||||
|                     } else if(event.input.type == InputTypeRelease) { |  | ||||||
|                         furi_hal_bt_hid_kb_release(KEY_RIGHT_ARROW); |  | ||||||
|                     } |  | ||||||
|                 } |  | ||||||
| 
 |  | ||||||
|                 if(event.input.key == InputKeyLeft) { |  | ||||||
|                     if(event.input.type == InputTypePress) { |  | ||||||
|                         furi_hal_bt_hid_kb_press(KEY_LEFT_ARROW); |  | ||||||
|                     } else if(event.input.type == InputTypeRelease) { |  | ||||||
|                         furi_hal_bt_hid_kb_release(KEY_LEFT_ARROW); |  | ||||||
|                     } |  | ||||||
|                 } |  | ||||||
| 
 |  | ||||||
|                 if(event.input.key == InputKeyDown) { |  | ||||||
|                     if(event.input.type == InputTypePress) { |  | ||||||
|                         furi_hal_bt_hid_kb_press(KEY_DOWN_ARROW); |  | ||||||
|                     } else if(event.input.type == InputTypeRelease) { |  | ||||||
|                         furi_hal_bt_hid_kb_release(KEY_DOWN_ARROW); |  | ||||||
|                     } |  | ||||||
|                 } |  | ||||||
| 
 |  | ||||||
|                 if(event.input.key == InputKeyUp) { |  | ||||||
|                     if(event.input.type == InputTypePress) { |  | ||||||
|                         furi_hal_bt_hid_kb_press(KEY_UP_ARROW); |  | ||||||
|                     } else if(event.input.type == InputTypeRelease) { |  | ||||||
|                         furi_hal_bt_hid_kb_release(KEY_UP_ARROW); |  | ||||||
|                     } |  | ||||||
|                 } |  | ||||||
|             } |  | ||||||
|         } |  | ||||||
|         view_port_update(view_port); |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|     if(bt_turned_on) { |  | ||||||
|         furi_hal_bt_stop_advertising(); |  | ||||||
|     } |  | ||||||
|     // remove & free all stuff created by app
 |  | ||||||
|     gui_remove_view_port(gui, view_port); |  | ||||||
|     view_port_free(view_port); |  | ||||||
|     osMessageQueueDelete(event_queue); |  | ||||||
|     furi_record_close("gui"); |  | ||||||
|     bt_set_profile(bt, BtProfileSerial); |  | ||||||
|     furi_record_close("bt"); |  | ||||||
|     return 0; |  | ||||||
| } |  | ||||||
| @ -9,20 +9,20 @@ | |||||||
| #define BLINK_COLOR_COUNT 7 | #define BLINK_COLOR_COUNT 7 | ||||||
| 
 | 
 | ||||||
| typedef enum { | typedef enum { | ||||||
|     EventTypeTick, |     BlinkEventTypeTick, | ||||||
|     EventTypeKey, |     BlinkEventTypeInput, | ||||||
| } EventType; | } BlinkEventType; | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     EventType type; |     BlinkEventType type; | ||||||
|     InputEvent input; |     InputEvent input; | ||||||
| } BlinkEvent; | } BlinkEvent; | ||||||
| 
 | 
 | ||||||
| static void blink_test_update(void* ctx) { | static void blink_test_update(void* ctx) { | ||||||
|     furi_assert(ctx); |     furi_assert(ctx); | ||||||
|     osMessageQueueId_t event_queue = ctx; |     osMessageQueueId_t event_queue = ctx; | ||||||
| 
 |     BlinkEvent event = {.type = BlinkEventTypeTick}; | ||||||
|     BlinkEvent event = {.type = EventTypeTick}; |     // It's OK to loose this event if system overloaded
 | ||||||
|     osMessageQueuePut(event_queue, &event, 0, 0); |     osMessageQueuePut(event_queue, &event, 0, 0); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| @ -36,8 +36,8 @@ static void blink_test_input_callback(InputEvent* input_event, void* ctx) { | |||||||
|     furi_assert(ctx); |     furi_assert(ctx); | ||||||
|     osMessageQueueId_t event_queue = ctx; |     osMessageQueueId_t event_queue = ctx; | ||||||
| 
 | 
 | ||||||
|     BlinkEvent event = {.type = EventTypeKey, .input = *input_event}; |     BlinkEvent event = {.type = BlinkEventTypeInput, .input = *input_event}; | ||||||
|     osMessageQueuePut(event_queue, &event, 0, 0); |     osMessageQueuePut(event_queue, &event, 0, osWaitForever); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| int32_t blink_test_app(void* p) { | int32_t blink_test_app(void* p) { | ||||||
| @ -45,7 +45,6 @@ int32_t blink_test_app(void* p) { | |||||||
| 
 | 
 | ||||||
|     // Configure view port
 |     // Configure view port
 | ||||||
|     ViewPort* view_port = view_port_alloc(); |     ViewPort* view_port = view_port_alloc(); | ||||||
|     furi_check(view_port); |  | ||||||
|     view_port_draw_callback_set(view_port, blink_test_draw_callback, NULL); |     view_port_draw_callback_set(view_port, blink_test_draw_callback, NULL); | ||||||
|     view_port_input_callback_set(view_port, blink_test_input_callback, event_queue); |     view_port_input_callback_set(view_port, blink_test_input_callback, event_queue); | ||||||
|     osTimerId_t timer = osTimerNew(blink_test_update, osTimerPeriodic, event_queue, NULL); |     osTimerId_t timer = osTimerNew(blink_test_update, osTimerPeriodic, event_queue, NULL); | ||||||
| @ -72,20 +71,12 @@ int32_t blink_test_app(void* p) { | |||||||
| 
 | 
 | ||||||
|     while(1) { |     while(1) { | ||||||
|         furi_check(osMessageQueueGet(event_queue, &event, NULL, osWaitForever) == osOK); |         furi_check(osMessageQueueGet(event_queue, &event, NULL, osWaitForever) == osOK); | ||||||
|         if(event.type == EventTypeKey) { |         if(event.type == BlinkEventTypeInput) { | ||||||
|             if((event.input.type == InputTypeShort) && (event.input.key == InputKeyBack)) { |             if((event.input.type == InputTypeShort) && (event.input.key == InputKeyBack)) { | ||||||
|                 furi_record_close("notification"); |                 break; | ||||||
|                 view_port_enabled_set(view_port, false); |  | ||||||
|                 gui_remove_view_port(gui, view_port); |  | ||||||
|                 view_port_free(view_port); |  | ||||||
|                 osMessageQueueDelete(event_queue); |  | ||||||
|                 osTimerDelete(timer); |  | ||||||
| 
 |  | ||||||
|                 return 0; |  | ||||||
|             } |             } | ||||||
|         } else { |         } else { | ||||||
|             notification_message(notifications, colors[state]); |             notification_message(notifications, colors[state]); | ||||||
| 
 |  | ||||||
|             state++; |             state++; | ||||||
|             if(state >= BLINK_COLOR_COUNT) { |             if(state >= BLINK_COLOR_COUNT) { | ||||||
|                 state = 0; |                 state = 0; | ||||||
| @ -93,5 +84,14 @@ int32_t blink_test_app(void* p) { | |||||||
|         } |         } | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     osTimerDelete(timer); | ||||||
|  | 
 | ||||||
|  |     gui_remove_view_port(gui, view_port); | ||||||
|  |     view_port_free(view_port); | ||||||
|  |     osMessageQueueDelete(event_queue); | ||||||
|  | 
 | ||||||
|  |     furi_record_close("notification"); | ||||||
|  |     furi_record_close("gui"); | ||||||
|  | 
 | ||||||
|     return 0; |     return 0; | ||||||
| } | } | ||||||
| @ -13,17 +13,6 @@ typedef struct { | |||||||
|     uint16_t ok; |     uint16_t ok; | ||||||
| } KeypadTestState; | } KeypadTestState; | ||||||
| 
 | 
 | ||||||
| typedef enum { |  | ||||||
|     EventTypeInput, |  | ||||||
| } EventType; |  | ||||||
| 
 |  | ||||||
| typedef struct { |  | ||||||
|     union { |  | ||||||
|         InputEvent input; |  | ||||||
|     }; |  | ||||||
|     EventType type; |  | ||||||
| } KeypadTestEvent; |  | ||||||
| 
 |  | ||||||
| static void keypad_test_reset_state(KeypadTestState* state) { | static void keypad_test_reset_state(KeypadTestState* state) { | ||||||
|     state->left = 0; |     state->left = 0; | ||||||
|     state->right = 0; |     state->right = 0; | ||||||
| @ -67,15 +56,11 @@ static void keypad_test_render_callback(Canvas* canvas, void* ctx) { | |||||||
| 
 | 
 | ||||||
| static void keypad_test_input_callback(InputEvent* input_event, void* ctx) { | static void keypad_test_input_callback(InputEvent* input_event, void* ctx) { | ||||||
|     osMessageQueueId_t event_queue = ctx; |     osMessageQueueId_t event_queue = ctx; | ||||||
| 
 |     osMessageQueuePut(event_queue, input_event, 0, osWaitForever); | ||||||
|     KeypadTestEvent event; |  | ||||||
|     event.type = EventTypeInput; |  | ||||||
|     event.input = *input_event; |  | ||||||
|     osMessageQueuePut(event_queue, &event, 0, osWaitForever); |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| int32_t keypad_test_app(void* p) { | int32_t keypad_test_app(void* p) { | ||||||
|     osMessageQueueId_t event_queue = osMessageQueueNew(32, sizeof(KeypadTestEvent), NULL); |     osMessageQueueId_t event_queue = osMessageQueueNew(32, sizeof(InputEvent), NULL); | ||||||
|     furi_check(event_queue); |     furi_check(event_queue); | ||||||
| 
 | 
 | ||||||
|     KeypadTestState _state = {{false, false, false, false, false}, 0, 0, 0, 0, 0}; |     KeypadTestState _state = {{false, false, false, false, false}, 0, 0, 0, 0, 0}; | ||||||
| @ -95,97 +80,75 @@ int32_t keypad_test_app(void* p) { | |||||||
|     Gui* gui = furi_record_open("gui"); |     Gui* gui = furi_record_open("gui"); | ||||||
|     gui_add_view_port(gui, view_port, GuiLayerFullscreen); |     gui_add_view_port(gui, view_port, GuiLayerFullscreen); | ||||||
| 
 | 
 | ||||||
|     KeypadTestEvent event; |     InputEvent event; | ||||||
|     while(1) { |     while(osMessageQueueGet(event_queue, &event, NULL, osWaitForever) == osOK) { | ||||||
|         osStatus_t event_status = osMessageQueueGet(event_queue, &event, NULL, osWaitForever); |  | ||||||
|         KeypadTestState* state = (KeypadTestState*)acquire_mutex_block(&state_mutex); |         KeypadTestState* state = (KeypadTestState*)acquire_mutex_block(&state_mutex); | ||||||
|  |         FURI_LOG_I( | ||||||
|  |             TAG, | ||||||
|  |             "key: %s type: %s", | ||||||
|  |             input_get_key_name(event.key), | ||||||
|  |             input_get_type_name(event.type)); | ||||||
| 
 | 
 | ||||||
|         if(event_status == osOK) { |         if(event.key == InputKeyRight) { | ||||||
|             if(event.type == EventTypeInput) { |             if(event.type == InputTypePress) { | ||||||
|                 FURI_LOG_I( |                 state->press[0] = true; | ||||||
|                     TAG, |             } else if(event.type == InputTypeRelease) { | ||||||
|                     "key: %s type: %s", |                 state->press[0] = false; | ||||||
|                     input_get_key_name(event.input.key), |             } else if(event.type == InputTypeShort) { | ||||||
|                     input_get_type_name(event.input.type)); |                 ++state->right; | ||||||
| 
 |             } | ||||||
|                 if(event.input.type == InputTypeLong && event.input.key == InputKeyBack) { |         } else if(event.key == InputKeyLeft) { | ||||||
|                     release_mutex(&state_mutex, state); |             if(event.type == InputTypePress) { | ||||||
|                     break; |                 state->press[1] = true; | ||||||
|                 } |             } else if(event.type == InputTypeRelease) { | ||||||
| 
 |                 state->press[1] = false; | ||||||
|                 if(event.input.type == InputTypeShort && event.input.key == InputKeyBack) { |             } else if(event.type == InputTypeShort) { | ||||||
|                     keypad_test_reset_state(state); |                 ++state->left; | ||||||
|                 } |             } | ||||||
| 
 |         } else if(event.key == InputKeyUp) { | ||||||
|                 if(event.input.key == InputKeyRight) { |             if(event.type == InputTypePress) { | ||||||
|                     if(event.input.type == InputTypePress) { |                 state->press[2] = true; | ||||||
|                         state->press[0] = true; |             } else if(event.type == InputTypeRelease) { | ||||||
|                     } else if(event.input.type == InputTypeRelease) { |                 state->press[2] = false; | ||||||
|                         state->press[0] = false; |             } else if(event.type == InputTypeShort) { | ||||||
|                     } |                 ++state->up; | ||||||
| 
 |             } | ||||||
|                     if(event.input.type == InputTypeShort) { |         } else if(event.key == InputKeyDown) { | ||||||
|                         ++state->right; |             if(event.type == InputTypePress) { | ||||||
|                     } |                 state->press[3] = true; | ||||||
|                 } |             } else if(event.type == InputTypeRelease) { | ||||||
| 
 |                 state->press[3] = false; | ||||||
|                 if(event.input.key == InputKeyLeft) { |             } else if(event.type == InputTypeShort) { | ||||||
|                     if(event.input.type == InputTypePress) { |                 ++state->down; | ||||||
|                         state->press[1] = true; |             } | ||||||
|                     } else if(event.input.type == InputTypeRelease) { |         } else if(event.key == InputKeyOk) { | ||||||
|                         state->press[1] = false; |             if(event.type == InputTypePress) { | ||||||
|                     } |                 state->press[4] = true; | ||||||
| 
 |             } else if(event.type == InputTypeRelease) { | ||||||
|                     if(event.input.type == InputTypeShort) { |                 state->press[4] = false; | ||||||
|                         ++state->left; |             } else if(event.type == InputTypeShort) { | ||||||
|                     } |                 ++state->ok; | ||||||
|                 } |             } | ||||||
| 
 |         } else if(event.key == InputKeyBack) { | ||||||
|                 if(event.input.key == InputKeyUp) { |             if(event.type == InputTypeLong) { | ||||||
|                     if(event.input.type == InputTypePress) { |                 release_mutex(&state_mutex, state); | ||||||
|                         state->press[2] = true; |                 break; | ||||||
|                     } else if(event.input.type == InputTypeRelease) { |             } else if(event.type == InputTypeShort) { | ||||||
|                         state->press[2] = false; |                 keypad_test_reset_state(state); | ||||||
|                     } |  | ||||||
| 
 |  | ||||||
|                     if(event.input.type == InputTypeShort) { |  | ||||||
|                         ++state->up; |  | ||||||
|                     } |  | ||||||
|                 } |  | ||||||
| 
 |  | ||||||
|                 if(event.input.key == InputKeyDown) { |  | ||||||
|                     if(event.input.type == InputTypePress) { |  | ||||||
|                         state->press[3] = true; |  | ||||||
|                     } else if(event.input.type == InputTypeRelease) { |  | ||||||
|                         state->press[3] = false; |  | ||||||
|                     } |  | ||||||
| 
 |  | ||||||
|                     if(event.input.type == InputTypeShort) { |  | ||||||
|                         ++state->down; |  | ||||||
|                     } |  | ||||||
|                 } |  | ||||||
| 
 |  | ||||||
|                 if(event.input.key == InputKeyOk) { |  | ||||||
|                     if(event.input.type == InputTypePress) { |  | ||||||
|                         state->press[4] = true; |  | ||||||
|                     } else if(event.input.type == InputTypeRelease) { |  | ||||||
|                         state->press[4] = false; |  | ||||||
|                     } |  | ||||||
| 
 |  | ||||||
|                     if(event.input.type == InputTypeShort) { |  | ||||||
|                         ++state->ok; |  | ||||||
|                     } |  | ||||||
|                 } |  | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|         view_port_update(view_port); | 
 | ||||||
|         release_mutex(&state_mutex, state); |         release_mutex(&state_mutex, state); | ||||||
|  |         view_port_update(view_port); | ||||||
|     } |     } | ||||||
|  | 
 | ||||||
|     // remove & free all stuff created by app
 |     // remove & free all stuff created by app
 | ||||||
|     gui_remove_view_port(gui, view_port); |     gui_remove_view_port(gui, view_port); | ||||||
|     view_port_free(view_port); |     view_port_free(view_port); | ||||||
|     osMessageQueueDelete(event_queue); |     osMessageQueueDelete(event_queue); | ||||||
|     delete_mutex(&state_mutex); |     delete_mutex(&state_mutex); | ||||||
| 
 | 
 | ||||||
|  |     furi_record_close("gui"); | ||||||
|  | 
 | ||||||
|     return 0; |     return 0; | ||||||
| } | } | ||||||
|  | |||||||
| @ -5,10 +5,6 @@ | |||||||
| #include <input/input.h> | #include <input/input.h> | ||||||
| #include <notification/notification-messages.h> | #include <notification/notification-messages.h> | ||||||
| 
 | 
 | ||||||
| typedef struct { |  | ||||||
|     InputEvent input; |  | ||||||
| } VibroEvent; |  | ||||||
| 
 |  | ||||||
| void vibro_test_draw_callback(Canvas* canvas, void* ctx) { | void vibro_test_draw_callback(Canvas* canvas, void* ctx) { | ||||||
|     canvas_clear(canvas); |     canvas_clear(canvas); | ||||||
|     canvas_set_font(canvas, FontPrimary); |     canvas_set_font(canvas, FontPrimary); | ||||||
| @ -22,17 +18,14 @@ void vibro_test_draw_callback(Canvas* canvas, void* ctx) { | |||||||
| void vibro_test_input_callback(InputEvent* input_event, void* ctx) { | void vibro_test_input_callback(InputEvent* input_event, void* ctx) { | ||||||
|     furi_assert(ctx); |     furi_assert(ctx); | ||||||
|     osMessageQueueId_t event_queue = ctx; |     osMessageQueueId_t event_queue = ctx; | ||||||
| 
 |     osMessageQueuePut(event_queue, input_event, 0, osWaitForever); | ||||||
|     VibroEvent event = {.input = *input_event}; |  | ||||||
|     osMessageQueuePut(event_queue, &event, 0, 0); |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| int32_t vibro_test_app(void* p) { | int32_t vibro_test_app(void* p) { | ||||||
|     osMessageQueueId_t event_queue = osMessageQueueNew(8, sizeof(VibroEvent), NULL); |     osMessageQueueId_t event_queue = osMessageQueueNew(8, sizeof(InputEvent), NULL); | ||||||
| 
 | 
 | ||||||
|     // Configure view port
 |     // Configure view port
 | ||||||
|     ViewPort* view_port = view_port_alloc(); |     ViewPort* view_port = view_port_alloc(); | ||||||
|     furi_check(view_port); |  | ||||||
|     view_port_draw_callback_set(view_port, vibro_test_draw_callback, NULL); |     view_port_draw_callback_set(view_port, vibro_test_draw_callback, NULL); | ||||||
|     view_port_input_callback_set(view_port, vibro_test_input_callback, event_queue); |     view_port_input_callback_set(view_port, vibro_test_input_callback, event_queue); | ||||||
| 
 | 
 | ||||||
| @ -42,31 +35,31 @@ int32_t vibro_test_app(void* p) { | |||||||
| 
 | 
 | ||||||
|     NotificationApp* notification = furi_record_open("notification"); |     NotificationApp* notification = furi_record_open("notification"); | ||||||
| 
 | 
 | ||||||
|     VibroEvent event; |     InputEvent event; | ||||||
| 
 | 
 | ||||||
|     while(1) { |     while(osMessageQueueGet(event_queue, &event, NULL, osWaitForever) == osOK) { | ||||||
|         furi_check(osMessageQueueGet(event_queue, &event, NULL, osWaitForever) == osOK); |         if(event.type == InputTypeShort && event.key == InputKeyBack) { | ||||||
|         if(event.input.type == InputTypeShort && event.input.key == InputKeyBack) { |  | ||||||
|             notification_message(notification, &sequence_reset_vibro); |             notification_message(notification, &sequence_reset_vibro); | ||||||
|             notification_message(notification, &sequence_reset_green); |             notification_message(notification, &sequence_reset_green); | ||||||
|             furi_record_close("notification"); |             break; | ||||||
|             view_port_enabled_set(view_port, false); |  | ||||||
|             gui_remove_view_port(gui, view_port); |  | ||||||
|             view_port_free(view_port); |  | ||||||
|             osMessageQueueDelete(event_queue); |  | ||||||
| 
 |  | ||||||
|             return 0; |  | ||||||
|         } |         } | ||||||
|         if(event.input.key == InputKeyOk) { |         if(event.key == InputKeyOk) { | ||||||
|             if(event.input.type == InputTypePress) { |             if(event.type == InputTypePress) { | ||||||
|                 notification_message(notification, &sequence_set_vibro_on); |                 notification_message(notification, &sequence_set_vibro_on); | ||||||
|                 notification_message(notification, &sequence_set_green_255); |                 notification_message(notification, &sequence_set_green_255); | ||||||
|             } else if(event.input.type == InputTypeRelease) { |             } else if(event.type == InputTypeRelease) { | ||||||
|                 notification_message(notification, &sequence_reset_vibro); |                 notification_message(notification, &sequence_reset_vibro); | ||||||
|                 notification_message(notification, &sequence_reset_green); |                 notification_message(notification, &sequence_reset_green); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     gui_remove_view_port(gui, view_port); | ||||||
|  |     view_port_free(view_port); | ||||||
|  |     osMessageQueueDelete(event_queue); | ||||||
|  | 
 | ||||||
|  |     furi_record_close("notification"); | ||||||
|  |     furi_record_close("gui"); | ||||||
|  | 
 | ||||||
|     return 0; |     return 0; | ||||||
| } | } | ||||||
| @ -2,6 +2,7 @@ | |||||||
| #include <stdint.h> | #include <stdint.h> | ||||||
| #include <storage/storage.h> | #include <storage/storage.h> | ||||||
| #include <furi.h> | #include <furi.h> | ||||||
|  | #include <furi-hal.h> | ||||||
| #include <math.h> | #include <math.h> | ||||||
| #include <toolbox/saved_struct.h> | #include <toolbox/saved_struct.h> | ||||||
| 
 | 
 | ||||||
| @ -70,20 +71,18 @@ bool dolphin_state_load(DolphinState* dolphin_state) { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| uint64_t dolphin_state_timestamp() { | uint64_t dolphin_state_timestamp() { | ||||||
|     RTC_TimeTypeDef time; |     FuriHalRtcDateTime datetime; | ||||||
|     RTC_DateTypeDef date; |  | ||||||
|     struct tm current; |     struct tm current; | ||||||
| 
 | 
 | ||||||
|     HAL_RTC_GetTime(&hrtc, &time, RTC_FORMAT_BIN); |     furi_hal_rtc_get_datetime(&datetime); | ||||||
|     HAL_RTC_GetDate(&hrtc, &date, RTC_FORMAT_BIN); |  | ||||||
| 
 | 
 | ||||||
|     current.tm_year = date.Year + 100; |     current.tm_year = datetime.year - 1900; | ||||||
|     current.tm_mday = date.Date; |     current.tm_mday = datetime.day; | ||||||
|     current.tm_mon = date.Month - 1; |     current.tm_mon = datetime.month - 1; | ||||||
| 
 | 
 | ||||||
|     current.tm_hour = time.Hours; |     current.tm_hour = datetime.hour; | ||||||
|     current.tm_min = time.Minutes; |     current.tm_min = datetime.minute; | ||||||
|     current.tm_sec = time.Seconds; |     current.tm_sec = datetime.second; | ||||||
| 
 | 
 | ||||||
|     return mktime(¤t); |     return mktime(¤t); | ||||||
| } | } | ||||||
|  | |||||||
| @ -3,7 +3,6 @@ | |||||||
| #include "dolphin_deed.h" | #include "dolphin_deed.h" | ||||||
| #include <stdbool.h> | #include <stdbool.h> | ||||||
| #include <stdint.h> | #include <stdint.h> | ||||||
| #include <rtc.h> |  | ||||||
| #include <time.h> | #include <time.h> | ||||||
| 
 | 
 | ||||||
| typedef struct DolphinState DolphinState; | typedef struct DolphinState DolphinState; | ||||||
|  | |||||||
							
								
								
									
										31
									
								
								applications/gui/canvas.c
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						| @ -47,7 +47,7 @@ void canvas_reset(Canvas* canvas) { | |||||||
| 
 | 
 | ||||||
|     canvas_set_color(canvas, ColorBlack); |     canvas_set_color(canvas, ColorBlack); | ||||||
|     canvas_set_font(canvas, FontSecondary); |     canvas_set_font(canvas, FontSecondary); | ||||||
|     canvas_set_font_direction(canvas, CanvasFontDirectionLeftToRight); |     canvas_set_font_direction(canvas, CanvasDirectionLeftToRight); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void canvas_commit(Canvas* canvas) { | void canvas_commit(Canvas* canvas) { | ||||||
| @ -115,7 +115,7 @@ void canvas_set_color(Canvas* canvas, Color color) { | |||||||
|     u8g2_SetDrawColor(&canvas->fb, color); |     u8g2_SetDrawColor(&canvas->fb, color); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void canvas_set_font_direction(Canvas* canvas, CanvasFontDirection dir) { | void canvas_set_font_direction(Canvas* canvas, CanvasDirection dir) { | ||||||
|     furi_assert(canvas); |     furi_assert(canvas); | ||||||
|     u8g2_SetFontDirection(&canvas->fb, dir); |     u8g2_SetFontDirection(&canvas->fb, dir); | ||||||
| } | } | ||||||
| @ -304,6 +304,33 @@ void canvas_draw_disc(Canvas* canvas, uint8_t x, uint8_t y, uint8_t radius) { | |||||||
|     u8g2_DrawDisc(&canvas->fb, x, y, radius, U8G2_DRAW_ALL); |     u8g2_DrawDisc(&canvas->fb, x, y, radius, U8G2_DRAW_ALL); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | void canvas_draw_triangle( | ||||||
|  |     Canvas* canvas, | ||||||
|  |     uint8_t x, | ||||||
|  |     uint8_t y, | ||||||
|  |     uint8_t base, | ||||||
|  |     uint8_t height, | ||||||
|  |     CanvasDirection dir) { | ||||||
|  |     furi_assert(canvas); | ||||||
|  |     if(dir == CanvasDirectionBottomToTop) { | ||||||
|  |         canvas_draw_line(canvas, x - base / 2, y, x + base / 2, y); | ||||||
|  |         canvas_draw_line(canvas, x - base / 2, y, x, y - height + 1); | ||||||
|  |         canvas_draw_line(canvas, x, y - height + 1, x + base / 2, y); | ||||||
|  |     } else if(dir == CanvasDirectionTopToBottom) { | ||||||
|  |         canvas_draw_line(canvas, x - base / 2, y, x + base / 2, y); | ||||||
|  |         canvas_draw_line(canvas, x - base / 2, y, x, y + height - 1); | ||||||
|  |         canvas_draw_line(canvas, x, y + height - 1, x + base / 2, y); | ||||||
|  |     } else if(dir == CanvasDirectionRightToLeft) { | ||||||
|  |         canvas_draw_line(canvas, x, y - base / 2, x, y + base / 2); | ||||||
|  |         canvas_draw_line(canvas, x, y - base / 2, x - height + 1, y); | ||||||
|  |         canvas_draw_line(canvas, x - height + 1, y, x, y + base / 2); | ||||||
|  |     } else if(dir == CanvasDirectionLeftToRight) { | ||||||
|  |         canvas_draw_line(canvas, x, y - base / 2, x, y + base / 2); | ||||||
|  |         canvas_draw_line(canvas, x, y - base / 2, x + height - 1, y); | ||||||
|  |         canvas_draw_line(canvas, x + height - 1, y, x, y + base / 2); | ||||||
|  |     } | ||||||
|  | } | ||||||
|  | 
 | ||||||
| void canvas_draw_xbm( | void canvas_draw_xbm( | ||||||
|     Canvas* canvas, |     Canvas* canvas, | ||||||
|     uint8_t x, |     uint8_t x, | ||||||
|  | |||||||
							
								
								
									
										29
									
								
								applications/gui/canvas.h
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						| @ -47,11 +47,11 @@ typedef enum { | |||||||
| 
 | 
 | ||||||
| /** Font Direction */ | /** Font Direction */ | ||||||
| typedef enum { | typedef enum { | ||||||
|     CanvasFontDirectionLeftToRight, |     CanvasDirectionLeftToRight, | ||||||
|     CanvasFontDirectionTopToDown, |     CanvasDirectionTopToBottom, | ||||||
|     CanvasFontDirectionRightToLeft, |     CanvasDirectionRightToLeft, | ||||||
|     CanvasFontDirectionDownToTop, |     CanvasDirectionBottomToTop, | ||||||
| } CanvasFontDirection; | } CanvasDirection; | ||||||
| 
 | 
 | ||||||
| /** Font parameters */ | /** Font parameters */ | ||||||
| typedef struct { | typedef struct { | ||||||
| @ -116,7 +116,7 @@ void canvas_set_color(Canvas* canvas, Color color); | |||||||
|  * @param      canvas  Canvas instance |  * @param      canvas  Canvas instance | ||||||
|  * @param      dir     Direction font |  * @param      dir     Direction font | ||||||
|  */ |  */ | ||||||
| void canvas_set_font_direction(Canvas* canvas, CanvasFontDirection dir); | void canvas_set_font_direction(Canvas* canvas, CanvasDirection dir); | ||||||
| 
 | 
 | ||||||
| /** Invert drawing color
 | /** Invert drawing color
 | ||||||
|  * |  * | ||||||
| @ -273,6 +273,23 @@ void canvas_draw_circle(Canvas* canvas, uint8_t x, uint8_t y, uint8_t r); | |||||||
|  */ |  */ | ||||||
| void canvas_draw_disc(Canvas* canvas, uint8_t x, uint8_t y, uint8_t r); | void canvas_draw_disc(Canvas* canvas, uint8_t x, uint8_t y, uint8_t r); | ||||||
| 
 | 
 | ||||||
|  | /** Draw triangle with given base and height lengths and their intersection coordinate
 | ||||||
|  |  * | ||||||
|  |  * @param       canvas  Canvas instance | ||||||
|  |  * @param       x       x coordinate of base and height intersection | ||||||
|  |  * @param       y       y coordinate of base and height intersection | ||||||
|  |  * @param       base    length of triangle side | ||||||
|  |  * @param       height  length of triangle height | ||||||
|  |  * @param       dir     CanvasDirection triangle orientaion | ||||||
|  |  */ | ||||||
|  | void canvas_draw_triangle( | ||||||
|  |     Canvas* canvas, | ||||||
|  |     uint8_t x, | ||||||
|  |     uint8_t y, | ||||||
|  |     uint8_t base, | ||||||
|  |     uint8_t height, | ||||||
|  |     CanvasDirection dir); | ||||||
|  | 
 | ||||||
| /** Draw glyph
 | /** Draw glyph
 | ||||||
|  * |  * | ||||||
|  * @param      canvas  Canvas instance |  * @param      canvas  Canvas instance | ||||||
|  | |||||||
| @ -18,6 +18,8 @@ typedef struct { | |||||||
| 
 | 
 | ||||||
| ARRAY_DEF(MenuItemArray, MenuItem, M_POD_OPLIST); | ARRAY_DEF(MenuItemArray, MenuItem, M_POD_OPLIST); | ||||||
| 
 | 
 | ||||||
|  | #define M_OPL_MenuItemArray_t() ARRAY_OPLIST(MenuItemArray, M_POD_OPLIST) | ||||||
|  | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     MenuItemArray_t items; |     MenuItemArray_t items; | ||||||
|     size_t position; |     size_t position; | ||||||
| @ -136,11 +138,7 @@ Menu* menu_alloc() { | |||||||
| 
 | 
 | ||||||
| void menu_free(Menu* menu) { | void menu_free(Menu* menu) { | ||||||
|     furi_assert(menu); |     furi_assert(menu); | ||||||
|     with_view_model( |     menu_clean(menu); | ||||||
|         menu->view, (MenuModel * model) { |  | ||||||
|             MenuItemArray_clear(model->items); |  | ||||||
|             return true; |  | ||||||
|         }); |  | ||||||
|     view_free(menu->view); |     view_free(menu->view); | ||||||
|     free(menu); |     free(menu); | ||||||
| } | } | ||||||
| @ -153,7 +151,7 @@ View* menu_get_view(Menu* menu) { | |||||||
| void menu_add_item( | void menu_add_item( | ||||||
|     Menu* menu, |     Menu* menu, | ||||||
|     const char* label, |     const char* label, | ||||||
|     IconAnimation* icon, |     const Icon* icon, | ||||||
|     uint32_t index, |     uint32_t index, | ||||||
|     MenuItemCallback callback, |     MenuItemCallback callback, | ||||||
|     void* context) { |     void* context) { | ||||||
| @ -165,7 +163,7 @@ void menu_add_item( | |||||||
|         menu->view, (MenuModel * model) { |         menu->view, (MenuModel * model) { | ||||||
|             item = MenuItemArray_push_new(model->items); |             item = MenuItemArray_push_new(model->items); | ||||||
|             item->label = label; |             item->label = label; | ||||||
|             item->icon = icon; |             item->icon = icon ? icon_animation_alloc(icon) : icon_animation_alloc(&A_Plugins_14); | ||||||
|             view_tie_icon_animation(menu->view, item->icon); |             view_tie_icon_animation(menu->view, item->icon); | ||||||
|             item->index = index; |             item->index = index; | ||||||
|             item->callback = callback; |             item->callback = callback; | ||||||
| @ -178,6 +176,12 @@ void menu_clean(Menu* menu) { | |||||||
|     furi_assert(menu); |     furi_assert(menu); | ||||||
|     with_view_model( |     with_view_model( | ||||||
|         menu->view, (MenuModel * model) { |         menu->view, (MenuModel * model) { | ||||||
|  |             for | ||||||
|  |                 M_EACH(item, model->items, MenuItemArray_t) { | ||||||
|  |                     icon_animation_stop(item->icon); | ||||||
|  |                     icon_animation_free(item->icon); | ||||||
|  |                 } | ||||||
|  | 
 | ||||||
|             MenuItemArray_reset(model->items); |             MenuItemArray_reset(model->items); | ||||||
|             model->position = 0; |             model->position = 0; | ||||||
|             return true; |             return true; | ||||||
|  | |||||||
| @ -49,7 +49,7 @@ View* menu_get_view(Menu* menu); | |||||||
| void menu_add_item( | void menu_add_item( | ||||||
|     Menu* menu, |     Menu* menu, | ||||||
|     const char* label, |     const char* label, | ||||||
|     IconAnimation* icon, |     const Icon* icon, | ||||||
|     uint32_t index, |     uint32_t index, | ||||||
|     MenuItemCallback callback, |     MenuItemCallback callback, | ||||||
|     void* context); |     void* context); | ||||||
|  | |||||||
| @ -258,7 +258,7 @@ void view_dispatcher_handle_input(ViewDispatcher* view_dispatcher, InputEvent* e | |||||||
|         if(view_dispatcher->current_view) { |         if(view_dispatcher->current_view) { | ||||||
|             is_consumed = view_input(view_dispatcher->current_view, event); |             is_consumed = view_input(view_dispatcher->current_view, event); | ||||||
|         } |         } | ||||||
|         if(!is_consumed && event->type == InputTypeShort) { |         if(!is_consumed && (event->type == InputTypeShort || event->type == InputTypeLong)) { | ||||||
|             // TODO remove view navigation handlers
 |             // TODO remove view navigation handlers
 | ||||||
|             uint32_t view_id = VIEW_IGNORE; |             uint32_t view_id = VIEW_IGNORE; | ||||||
|             if(event->key == InputKeyBack) { |             if(event->key == InputKeyBack) { | ||||||
|  | |||||||
| @ -115,8 +115,10 @@ bool IrdaAppSceneRemote::on_event(IrdaApp* app, IrdaAppEvent* event) { | |||||||
|             break; |             break; | ||||||
|         } |         } | ||||||
|     } else if(event->type == IrdaAppEvent::Type::Back) { |     } else if(event->type == IrdaAppEvent::Type::Back) { | ||||||
|         app->search_and_switch_to_previous_scene( |         if(!button_pressed) { | ||||||
|             {IrdaApp::Scene::Start, IrdaApp::Scene::RemoteList}); |             app->search_and_switch_to_previous_scene( | ||||||
|  |                 {IrdaApp::Scene::Start, IrdaApp::Scene::RemoteList}); | ||||||
|  |         } | ||||||
|     } else { |     } else { | ||||||
|         consumed = false; |         consumed = false; | ||||||
|     } |     } | ||||||
|  | |||||||
| @ -279,7 +279,7 @@ static void loader_build_menu() { | |||||||
|         menu_add_item( |         menu_add_item( | ||||||
|             loader_instance->primary_menu, |             loader_instance->primary_menu, | ||||||
|             FLIPPER_APPS[i].name, |             FLIPPER_APPS[i].name, | ||||||
|             FLIPPER_APPS[i].icon ? icon_animation_alloc(FLIPPER_APPS[i].icon) : NULL, |             FLIPPER_APPS[i].icon, | ||||||
|             i, |             i, | ||||||
|             loader_menu_callback, |             loader_menu_callback, | ||||||
|             (void*)&FLIPPER_APPS[i]); |             (void*)&FLIPPER_APPS[i]); | ||||||
| @ -287,26 +287,31 @@ static void loader_build_menu() { | |||||||
|     menu_add_item( |     menu_add_item( | ||||||
|         loader_instance->primary_menu, |         loader_instance->primary_menu, | ||||||
|         "Plugins", |         "Plugins", | ||||||
|         icon_animation_alloc(&A_Plugins_14), |         &A_Plugins_14, | ||||||
|         i++, |         i++, | ||||||
|         loader_submenu_callback, |         loader_submenu_callback, | ||||||
|         (void*)LoaderMenuViewPlugins); |         (void*)LoaderMenuViewPlugins); | ||||||
|     menu_add_item( |     if(furi_hal_rtc_is_flag_set(FuriHalRtcFlagDebug)) { | ||||||
|         loader_instance->primary_menu, |         menu_add_item( | ||||||
|         "Debug tools", |             loader_instance->primary_menu, | ||||||
|         icon_animation_alloc(&A_Debug_14), |             "Debug tools", | ||||||
|         i++, |             &A_Debug_14, | ||||||
|         loader_submenu_callback, |             i++, | ||||||
|         (void*)LoaderMenuViewDebug); |             loader_submenu_callback, | ||||||
|  |             (void*)LoaderMenuViewDebug); | ||||||
|  |     } | ||||||
|     menu_add_item( |     menu_add_item( | ||||||
|         loader_instance->primary_menu, |         loader_instance->primary_menu, | ||||||
|         "Settings", |         "Settings", | ||||||
|         icon_animation_alloc(&A_Settings_14), |         &A_Settings_14, | ||||||
|         i++, |         i++, | ||||||
|         loader_submenu_callback, |         loader_submenu_callback, | ||||||
|         (void*)LoaderMenuViewSettings); |         (void*)LoaderMenuViewSettings); | ||||||
|  | } | ||||||
| 
 | 
 | ||||||
|  | static void loader_build_submenu() { | ||||||
|     FURI_LOG_I(TAG, "Building plugins menu"); |     FURI_LOG_I(TAG, "Building plugins menu"); | ||||||
|  |     size_t i; | ||||||
|     for(i = 0; i < FLIPPER_PLUGINS_COUNT; i++) { |     for(i = 0; i < FLIPPER_PLUGINS_COUNT; i++) { | ||||||
|         loader_add_cli_command((FlipperApplication*)&FLIPPER_PLUGINS[i]); |         loader_add_cli_command((FlipperApplication*)&FLIPPER_PLUGINS[i]); | ||||||
|         submenu_add_item( |         submenu_add_item( | ||||||
| @ -344,12 +349,18 @@ void loader_show_menu() { | |||||||
|     osThreadFlagsSet(loader_instance->loader_thread, LOADER_THREAD_FLAG_SHOW_MENU); |     osThreadFlagsSet(loader_instance->loader_thread, LOADER_THREAD_FLAG_SHOW_MENU); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | void loader_update_menu() { | ||||||
|  |     menu_clean(loader_instance->primary_menu); | ||||||
|  |     loader_build_menu(); | ||||||
|  | } | ||||||
|  | 
 | ||||||
| int32_t loader_srv(void* p) { | int32_t loader_srv(void* p) { | ||||||
|     FURI_LOG_I(TAG, "Starting"); |     FURI_LOG_I(TAG, "Starting"); | ||||||
| 
 | 
 | ||||||
|     loader_instance = loader_alloc(); |     loader_instance = loader_alloc(); | ||||||
| 
 | 
 | ||||||
|     loader_build_menu(); |     loader_build_menu(); | ||||||
|  |     loader_build_submenu(); | ||||||
| 
 | 
 | ||||||
|     // Call on start hooks
 |     // Call on start hooks
 | ||||||
|     for(size_t i = 0; i < FLIPPER_ON_SYSTEM_START_COUNT; i++) { |     for(size_t i = 0; i < FLIPPER_ON_SYSTEM_START_COUNT; i++) { | ||||||
|  | |||||||
| @ -31,3 +31,6 @@ bool loader_is_locked(Loader* instance); | |||||||
| 
 | 
 | ||||||
| /** Show primary loader */ | /** Show primary loader */ | ||||||
| void loader_show_menu(); | void loader_show_menu(); | ||||||
|  | 
 | ||||||
|  | /** Show primary loader */ | ||||||
|  | void loader_update_menu(); | ||||||
|  | |||||||
| @ -6,6 +6,7 @@ | |||||||
| #include "nfc_device.h" | #include "nfc_device.h" | ||||||
| 
 | 
 | ||||||
| #include <furi.h> | #include <furi.h> | ||||||
|  | #include <furi-hal.h> | ||||||
| 
 | 
 | ||||||
| #include <gui/gui.h> | #include <gui/gui.h> | ||||||
| #include <gui/view.h> | #include <gui/view.h> | ||||||
|  | |||||||
| @ -144,7 +144,7 @@ void nfc_worker_emulate(NfcWorker* nfc_worker) { | |||||||
|     NfcDeviceCommonData* data = &nfc_worker->dev_data->nfc_data; |     NfcDeviceCommonData* data = &nfc_worker->dev_data->nfc_data; | ||||||
|     while(nfc_worker->state == NfcWorkerStateEmulate) { |     while(nfc_worker->state == NfcWorkerStateEmulate) { | ||||||
|         if(furi_hal_nfc_listen(data->uid, data->uid_len, data->atqa, data->sak, false, 100)) { |         if(furi_hal_nfc_listen(data->uid, data->uid_len, data->atqa, data->sak, false, 100)) { | ||||||
|             FURI_LOG_I(TAG, "Reader detected"); |             FURI_LOG_D(TAG, "Reader detected"); | ||||||
|         } |         } | ||||||
|         osDelay(10); |         osDelay(10); | ||||||
|     } |     } | ||||||
| @ -174,17 +174,17 @@ void nfc_worker_read_emv_app(NfcWorker* nfc_worker) { | |||||||
|                     result->nfc_data.uid, dev_list[0].dev.nfca.nfcId1, result->nfc_data.uid_len); |                     result->nfc_data.uid, dev_list[0].dev.nfca.nfcId1, result->nfc_data.uid_len); | ||||||
|                 result->nfc_data.protocol = NfcDeviceProtocolEMV; |                 result->nfc_data.protocol = NfcDeviceProtocolEMV; | ||||||
| 
 | 
 | ||||||
|                 FURI_LOG_I(TAG, "Send select PPSE command"); |                 FURI_LOG_D(TAG, "Send select PPSE command"); | ||||||
|                 tx_len = emv_prepare_select_ppse(tx_buff); |                 tx_len = emv_prepare_select_ppse(tx_buff); | ||||||
|                 err = furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false); |                 err = furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false); | ||||||
|                 if(err != ERR_NONE) { |                 if(err != ERR_NONE) { | ||||||
|                     FURI_LOG_E(TAG, "Error during selection PPSE request: %d", err); |                     FURI_LOG_D(TAG, "Error during selection PPSE request: %d", err); | ||||||
|                     furi_hal_nfc_deactivate(); |                     furi_hal_nfc_deactivate(); | ||||||
|                     continue; |                     continue; | ||||||
|                 } |                 } | ||||||
|                 FURI_LOG_I(TAG, "Select PPSE response received. Start parsing response"); |                 FURI_LOG_D(TAG, "Select PPSE response received. Start parsing response"); | ||||||
|                 if(emv_decode_ppse_response(rx_buff, *rx_len, &emv_app)) { |                 if(emv_decode_ppse_response(rx_buff, *rx_len, &emv_app)) { | ||||||
|                     FURI_LOG_I(TAG, "Select PPSE responce parced"); |                     FURI_LOG_D(TAG, "Select PPSE responce parced"); | ||||||
|                     // Notify caller and exit
 |                     // Notify caller and exit
 | ||||||
|                     result->emv_data.aid_len = emv_app.aid_len; |                     result->emv_data.aid_len = emv_app.aid_len; | ||||||
|                     memcpy(result->emv_data.aid, emv_app.aid, emv_app.aid_len); |                     memcpy(result->emv_data.aid, emv_app.aid, emv_app.aid_len); | ||||||
| @ -193,7 +193,7 @@ void nfc_worker_read_emv_app(NfcWorker* nfc_worker) { | |||||||
|                     } |                     } | ||||||
|                     break; |                     break; | ||||||
|                 } else { |                 } else { | ||||||
|                     FURI_LOG_E(TAG, "Can't find pay application"); |                     FURI_LOG_D(TAG, "Can't find pay application"); | ||||||
|                     furi_hal_nfc_deactivate(); |                     furi_hal_nfc_deactivate(); | ||||||
|                     continue; |                     continue; | ||||||
|                 } |                 } | ||||||
| @ -204,7 +204,7 @@ void nfc_worker_read_emv_app(NfcWorker* nfc_worker) { | |||||||
|             } |             } | ||||||
|         } else { |         } else { | ||||||
|             // Can't find EMV card
 |             // Can't find EMV card
 | ||||||
|             FURI_LOG_W(TAG, "Can't find any cards"); |             FURI_LOG_D(TAG, "Can't find any cards"); | ||||||
|             furi_hal_nfc_deactivate(); |             furi_hal_nfc_deactivate(); | ||||||
|         } |         } | ||||||
|         osDelay(20); |         osDelay(20); | ||||||
| @ -235,53 +235,53 @@ void nfc_worker_read_emv(NfcWorker* nfc_worker) { | |||||||
|                     result->nfc_data.uid, dev_list[0].dev.nfca.nfcId1, result->nfc_data.uid_len); |                     result->nfc_data.uid, dev_list[0].dev.nfca.nfcId1, result->nfc_data.uid_len); | ||||||
|                 result->nfc_data.protocol = NfcDeviceProtocolEMV; |                 result->nfc_data.protocol = NfcDeviceProtocolEMV; | ||||||
| 
 | 
 | ||||||
|                 FURI_LOG_I(TAG, "Send select PPSE command"); |                 FURI_LOG_D(TAG, "Send select PPSE command"); | ||||||
|                 tx_len = emv_prepare_select_ppse(tx_buff); |                 tx_len = emv_prepare_select_ppse(tx_buff); | ||||||
|                 err = furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false); |                 err = furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false); | ||||||
|                 if(err != ERR_NONE) { |                 if(err != ERR_NONE) { | ||||||
|                     FURI_LOG_E(TAG, "Error during selection PPSE request: %d", err); |                     FURI_LOG_D(TAG, "Error during selection PPSE request: %d", err); | ||||||
|                     furi_hal_nfc_deactivate(); |                     furi_hal_nfc_deactivate(); | ||||||
|                     continue; |                     continue; | ||||||
|                 } |                 } | ||||||
|                 FURI_LOG_I(TAG, "Select PPSE response received. Start parsing response"); |                 FURI_LOG_D(TAG, "Select PPSE response received. Start parsing response"); | ||||||
|                 if(emv_decode_ppse_response(rx_buff, *rx_len, &emv_app)) { |                 if(emv_decode_ppse_response(rx_buff, *rx_len, &emv_app)) { | ||||||
|                     FURI_LOG_I(TAG, "Select PPSE responce parced"); |                     FURI_LOG_D(TAG, "Select PPSE responce parced"); | ||||||
|                     result->emv_data.aid_len = emv_app.aid_len; |                     result->emv_data.aid_len = emv_app.aid_len; | ||||||
|                     memcpy(result->emv_data.aid, emv_app.aid, emv_app.aid_len); |                     memcpy(result->emv_data.aid, emv_app.aid, emv_app.aid_len); | ||||||
|                 } else { |                 } else { | ||||||
|                     FURI_LOG_E(TAG, "Can't find pay application"); |                     FURI_LOG_D(TAG, "Can't find pay application"); | ||||||
|                     furi_hal_nfc_deactivate(); |                     furi_hal_nfc_deactivate(); | ||||||
|                     continue; |                     continue; | ||||||
|                 } |                 } | ||||||
|                 FURI_LOG_I(TAG, "Starting application ..."); |                 FURI_LOG_D(TAG, "Starting application ..."); | ||||||
|                 tx_len = emv_prepare_select_app(tx_buff, &emv_app); |                 tx_len = emv_prepare_select_app(tx_buff, &emv_app); | ||||||
|                 err = furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false); |                 err = furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false); | ||||||
|                 if(err != ERR_NONE) { |                 if(err != ERR_NONE) { | ||||||
|                     FURI_LOG_E(TAG, "Error during application selection request: %d", err); |                     FURI_LOG_D(TAG, "Error during application selection request: %d", err); | ||||||
|                     furi_hal_nfc_deactivate(); |                     furi_hal_nfc_deactivate(); | ||||||
|                     continue; |                     continue; | ||||||
|                 } |                 } | ||||||
|                 FURI_LOG_I(TAG, "Select application response received. Start parsing response"); |                 FURI_LOG_D(TAG, "Select application response received. Start parsing response"); | ||||||
|                 if(emv_decode_select_app_response(rx_buff, *rx_len, &emv_app)) { |                 if(emv_decode_select_app_response(rx_buff, *rx_len, &emv_app)) { | ||||||
|                     FURI_LOG_I(TAG, "Card name: %s", emv_app.name); |                     FURI_LOG_D(TAG, "Card name: %s", emv_app.name); | ||||||
|                     memcpy(result->emv_data.name, emv_app.name, sizeof(emv_app.name)); |                     memcpy(result->emv_data.name, emv_app.name, sizeof(emv_app.name)); | ||||||
|                 } else if(emv_app.pdol.size > 0) { |                 } else if(emv_app.pdol.size > 0) { | ||||||
|                     FURI_LOG_W(TAG, "Can't find card name, but PDOL is present."); |                     FURI_LOG_D(TAG, "Can't find card name, but PDOL is present."); | ||||||
|                 } else { |                 } else { | ||||||
|                     FURI_LOG_E(TAG, "Can't find card name or PDOL"); |                     FURI_LOG_D(TAG, "Can't find card name or PDOL"); | ||||||
|                     furi_hal_nfc_deactivate(); |                     furi_hal_nfc_deactivate(); | ||||||
|                     continue; |                     continue; | ||||||
|                 } |                 } | ||||||
|                 FURI_LOG_I(TAG, "Starting Get Processing Options command ..."); |                 FURI_LOG_D(TAG, "Starting Get Processing Options command ..."); | ||||||
|                 tx_len = emv_prepare_get_proc_opt(tx_buff, &emv_app); |                 tx_len = emv_prepare_get_proc_opt(tx_buff, &emv_app); | ||||||
|                 err = furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false); |                 err = furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false); | ||||||
|                 if(err != ERR_NONE) { |                 if(err != ERR_NONE) { | ||||||
|                     FURI_LOG_E(TAG, "Error during Get Processing Options command: %d", err); |                     FURI_LOG_D(TAG, "Error during Get Processing Options command: %d", err); | ||||||
|                     furi_hal_nfc_deactivate(); |                     furi_hal_nfc_deactivate(); | ||||||
|                     continue; |                     continue; | ||||||
|                 } |                 } | ||||||
|                 if(emv_decode_get_proc_opt(rx_buff, *rx_len, &emv_app)) { |                 if(emv_decode_get_proc_opt(rx_buff, *rx_len, &emv_app)) { | ||||||
|                     FURI_LOG_I(TAG, "Card number parsed"); |                     FURI_LOG_D(TAG, "Card number parsed"); | ||||||
|                     result->emv_data.number_len = emv_app.card_number_len; |                     result->emv_data.number_len = emv_app.card_number_len; | ||||||
|                     memcpy(result->emv_data.number, emv_app.card_number, emv_app.card_number_len); |                     memcpy(result->emv_data.number, emv_app.card_number, emv_app.card_number_len); | ||||||
|                     // Notify caller and exit
 |                     // Notify caller and exit
 | ||||||
| @ -304,7 +304,7 @@ void nfc_worker_read_emv(NfcWorker* nfc_worker) { | |||||||
|                             err = furi_hal_nfc_data_exchange( |                             err = furi_hal_nfc_data_exchange( | ||||||
|                                 tx_buff, tx_len, &rx_buff, &rx_len, false); |                                 tx_buff, tx_len, &rx_buff, &rx_len, false); | ||||||
|                             if(err != ERR_NONE) { |                             if(err != ERR_NONE) { | ||||||
|                                 FURI_LOG_E( |                                 FURI_LOG_D( | ||||||
|                                     TAG, |                                     TAG, | ||||||
|                                     "Error reading application sfi %d, record %d", |                                     "Error reading application sfi %d, record %d", | ||||||
|                                     sfi, |                                     sfi, | ||||||
| @ -317,7 +317,7 @@ void nfc_worker_read_emv(NfcWorker* nfc_worker) { | |||||||
|                         } |                         } | ||||||
|                     } |                     } | ||||||
|                     if(pan_found) { |                     if(pan_found) { | ||||||
|                         FURI_LOG_I(TAG, "Card PAN found"); |                         FURI_LOG_D(TAG, "Card PAN found"); | ||||||
|                         result->emv_data.number_len = emv_app.card_number_len; |                         result->emv_data.number_len = emv_app.card_number_len; | ||||||
|                         memcpy( |                         memcpy( | ||||||
|                             result->emv_data.number, |                             result->emv_data.number, | ||||||
| @ -339,7 +339,7 @@ void nfc_worker_read_emv(NfcWorker* nfc_worker) { | |||||||
|                         } |                         } | ||||||
|                         break; |                         break; | ||||||
|                     } else { |                     } else { | ||||||
|                         FURI_LOG_E(TAG, "Can't read card number"); |                         FURI_LOG_D(TAG, "Can't read card number"); | ||||||
|                     } |                     } | ||||||
|                     furi_hal_nfc_deactivate(); |                     furi_hal_nfc_deactivate(); | ||||||
|                 } |                 } | ||||||
| @ -350,7 +350,7 @@ void nfc_worker_read_emv(NfcWorker* nfc_worker) { | |||||||
|             } |             } | ||||||
|         } else { |         } else { | ||||||
|             // Can't find EMV card
 |             // Can't find EMV card
 | ||||||
|             FURI_LOG_W(TAG, "Can't find any cards"); |             FURI_LOG_D(TAG, "Can't find any cards"); | ||||||
|             furi_hal_nfc_deactivate(); |             furi_hal_nfc_deactivate(); | ||||||
|         } |         } | ||||||
|         osDelay(20); |         osDelay(20); | ||||||
| @ -412,63 +412,63 @@ void nfc_worker_emulate_apdu(NfcWorker* nfc_worker) { | |||||||
| 
 | 
 | ||||||
|     while(nfc_worker->state == NfcWorkerStateEmulateApdu) { |     while(nfc_worker->state == NfcWorkerStateEmulateApdu) { | ||||||
|         if(furi_hal_nfc_listen(params.uid, params.uid_len, params.atqa, params.sak, false, 300)) { |         if(furi_hal_nfc_listen(params.uid, params.uid_len, params.atqa, params.sak, false, 300)) { | ||||||
|             FURI_LOG_I(TAG, "POS terminal detected"); |             FURI_LOG_D(TAG, "POS terminal detected"); | ||||||
|             // Read data from POS terminal
 |             // Read data from POS terminal
 | ||||||
|             err = furi_hal_nfc_data_exchange(NULL, 0, &rx_buff, &rx_len, false); |             err = furi_hal_nfc_data_exchange(NULL, 0, &rx_buff, &rx_len, false); | ||||||
|             if(err == ERR_NONE) { |             if(err == ERR_NONE) { | ||||||
|                 FURI_LOG_I(TAG, "Received Select PPSE"); |                 FURI_LOG_D(TAG, "Received Select PPSE"); | ||||||
|             } else { |             } else { | ||||||
|                 FURI_LOG_E(TAG, "Error in 1st data exchange: select PPSE"); |                 FURI_LOG_D(TAG, "Error in 1st data exchange: select PPSE"); | ||||||
|                 furi_hal_nfc_deactivate(); |                 furi_hal_nfc_deactivate(); | ||||||
|                 continue; |                 continue; | ||||||
|             } |             } | ||||||
|             FURI_LOG_I(TAG, "Transive SELECT PPSE ANS"); |             FURI_LOG_D(TAG, "Transive SELECT PPSE ANS"); | ||||||
|             tx_len = emv_select_ppse_ans(tx_buff); |             tx_len = emv_select_ppse_ans(tx_buff); | ||||||
|             err = furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false); |             err = furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false); | ||||||
|             if(err == ERR_NONE) { |             if(err == ERR_NONE) { | ||||||
|                 FURI_LOG_I(TAG, "Received Select APP"); |                 FURI_LOG_D(TAG, "Received Select APP"); | ||||||
|             } else { |             } else { | ||||||
|                 FURI_LOG_E(TAG, "Error in 2nd data exchange: select APP"); |                 FURI_LOG_D(TAG, "Error in 2nd data exchange: select APP"); | ||||||
|                 furi_hal_nfc_deactivate(); |                 furi_hal_nfc_deactivate(); | ||||||
|                 continue; |                 continue; | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             FURI_LOG_I(TAG, "Transive SELECT APP ANS"); |             FURI_LOG_D(TAG, "Transive SELECT APP ANS"); | ||||||
|             tx_len = emv_select_app_ans(tx_buff); |             tx_len = emv_select_app_ans(tx_buff); | ||||||
|             err = furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false); |             err = furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false); | ||||||
|             if(err == ERR_NONE) { |             if(err == ERR_NONE) { | ||||||
|                 FURI_LOG_I(TAG, "Received PDOL"); |                 FURI_LOG_D(TAG, "Received PDOL"); | ||||||
|             } else { |             } else { | ||||||
|                 FURI_LOG_E(TAG, "Error in 3rd data exchange: receive PDOL"); |                 FURI_LOG_D(TAG, "Error in 3rd data exchange: receive PDOL"); | ||||||
|                 furi_hal_nfc_deactivate(); |                 furi_hal_nfc_deactivate(); | ||||||
|                 continue; |                 continue; | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             FURI_LOG_I(TAG, "Transive PDOL ANS"); |             FURI_LOG_D(TAG, "Transive PDOL ANS"); | ||||||
|             tx_len = emv_get_proc_opt_ans(tx_buff); |             tx_len = emv_get_proc_opt_ans(tx_buff); | ||||||
|             err = furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false); |             err = furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false); | ||||||
|             if(err == ERR_NONE) { |             if(err == ERR_NONE) { | ||||||
|                 FURI_LOG_I(TAG, "Transive PDOL ANS"); |                 FURI_LOG_D(TAG, "Transive PDOL ANS"); | ||||||
|             } else { |             } else { | ||||||
|                 FURI_LOG_E(TAG, "Error in 4rd data exchange: Transive PDOL ANS"); |                 FURI_LOG_D(TAG, "Error in 4rd data exchange: Transive PDOL ANS"); | ||||||
|                 furi_hal_nfc_deactivate(); |                 furi_hal_nfc_deactivate(); | ||||||
|                 continue; |                 continue; | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             if(*rx_len != sizeof(debug_rx) || memcmp(rx_buff, debug_rx, sizeof(debug_rx))) { |             if(*rx_len != sizeof(debug_rx) || memcmp(rx_buff, debug_rx, sizeof(debug_rx))) { | ||||||
|                 FURI_LOG_E(TAG, "Failed long message test"); |                 FURI_LOG_D(TAG, "Failed long message test"); | ||||||
|             } else { |             } else { | ||||||
|                 FURI_LOG_I(TAG, "Correct debug message received"); |                 FURI_LOG_D(TAG, "Correct debug message received"); | ||||||
|                 tx_len = sizeof(debug_tx); |                 tx_len = sizeof(debug_tx); | ||||||
|                 err = furi_hal_nfc_data_exchange( |                 err = furi_hal_nfc_data_exchange( | ||||||
|                     (uint8_t*)debug_tx, tx_len, &rx_buff, &rx_len, false); |                     (uint8_t*)debug_tx, tx_len, &rx_buff, &rx_len, false); | ||||||
|                 if(err == ERR_NONE) { |                 if(err == ERR_NONE) { | ||||||
|                     FURI_LOG_I(TAG, "Transive Debug message"); |                     FURI_LOG_D(TAG, "Transive Debug message"); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|             furi_hal_nfc_deactivate(); |             furi_hal_nfc_deactivate(); | ||||||
|         } else { |         } else { | ||||||
|             FURI_LOG_W(TAG, "Can't find reader"); |             FURI_LOG_D(TAG, "Can't find reader"); | ||||||
|         } |         } | ||||||
|         osDelay(20); |         osDelay(20); | ||||||
|     } |     } | ||||||
| @ -495,26 +495,26 @@ void nfc_worker_read_mifare_ul(NfcWorker* nfc_worker) { | |||||||
|                    dev_list[0].dev.nfca.sensRes.platformInfo, |                    dev_list[0].dev.nfca.sensRes.platformInfo, | ||||||
|                    dev_list[0].dev.nfca.selRes.sak)) { |                    dev_list[0].dev.nfca.selRes.sak)) { | ||||||
|                 // Get Mifare Ultralight version
 |                 // Get Mifare Ultralight version
 | ||||||
|                 FURI_LOG_I(TAG, "Found Mifare Ultralight tag. Reading tag version"); |                 FURI_LOG_D(TAG, "Found Mifare Ultralight tag. Reading tag version"); | ||||||
|                 tx_len = mf_ul_prepare_get_version(tx_buff); |                 tx_len = mf_ul_prepare_get_version(tx_buff); | ||||||
|                 err = furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false); |                 err = furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false); | ||||||
|                 if(err == ERR_NONE) { |                 if(err == ERR_NONE) { | ||||||
|                     mf_ul_parse_get_version_response(rx_buff, &mf_ul_read); |                     mf_ul_parse_get_version_response(rx_buff, &mf_ul_read); | ||||||
|                     FURI_LOG_I( |                     FURI_LOG_D( | ||||||
|                         TAG, |                         TAG, | ||||||
|                         "Mifare Ultralight Type: %d, Pages: %d", |                         "Mifare Ultralight Type: %d, Pages: %d", | ||||||
|                         mf_ul_read.type, |                         mf_ul_read.type, | ||||||
|                         mf_ul_read.pages_to_read); |                         mf_ul_read.pages_to_read); | ||||||
|                     FURI_LOG_I(TAG, "Reading signature ..."); |                     FURI_LOG_D(TAG, "Reading signature ..."); | ||||||
|                     tx_len = mf_ul_prepare_read_signature(tx_buff); |                     tx_len = mf_ul_prepare_read_signature(tx_buff); | ||||||
|                     if(furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false)) { |                     if(furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false)) { | ||||||
|                         FURI_LOG_W(TAG, "Failed reading signature"); |                         FURI_LOG_D(TAG, "Failed reading signature"); | ||||||
|                         memset(mf_ul_read.data.signature, 0, sizeof(mf_ul_read.data.signature)); |                         memset(mf_ul_read.data.signature, 0, sizeof(mf_ul_read.data.signature)); | ||||||
|                     } else { |                     } else { | ||||||
|                         mf_ul_parse_read_signature_response(rx_buff, &mf_ul_read); |                         mf_ul_parse_read_signature_response(rx_buff, &mf_ul_read); | ||||||
|                     } |                     } | ||||||
|                 } else if(err == ERR_TIMEOUT) { |                 } else if(err == ERR_TIMEOUT) { | ||||||
|                     FURI_LOG_W( |                     FURI_LOG_D( | ||||||
|                         TAG, |                         TAG, | ||||||
|                         "Card doesn't respond to GET VERSION command. Setting default read parameters"); |                         "Card doesn't respond to GET VERSION command. Setting default read parameters"); | ||||||
|                     err = ERR_NONE; |                     err = ERR_NONE; | ||||||
| @ -522,27 +522,27 @@ void nfc_worker_read_mifare_ul(NfcWorker* nfc_worker) { | |||||||
|                     // Reinit device
 |                     // Reinit device
 | ||||||
|                     furi_hal_nfc_deactivate(); |                     furi_hal_nfc_deactivate(); | ||||||
|                     if(!furi_hal_nfc_detect(&dev_list, &dev_cnt, 300, false)) { |                     if(!furi_hal_nfc_detect(&dev_list, &dev_cnt, 300, false)) { | ||||||
|                         FURI_LOG_E(TAG, "Lost connection. Restarting search"); |                         FURI_LOG_D(TAG, "Lost connection. Restarting search"); | ||||||
|                         continue; |                         continue; | ||||||
|                     } |                     } | ||||||
|                 } else { |                 } else { | ||||||
|                     FURI_LOG_E( |                     FURI_LOG_D( | ||||||
|                         TAG, "Error getting Mifare Ultralight version. Error code: %d", err); |                         TAG, "Error getting Mifare Ultralight version. Error code: %d", err); | ||||||
|                     continue; |                     continue; | ||||||
|                 } |                 } | ||||||
| 
 | 
 | ||||||
|                 if(mf_ul_read.support_fast_read) { |                 if(mf_ul_read.support_fast_read) { | ||||||
|                     FURI_LOG_I(TAG, "Reading pages ..."); |                     FURI_LOG_D(TAG, "Reading pages ..."); | ||||||
|                     tx_len = mf_ul_prepare_fast_read(tx_buff, 0x00, mf_ul_read.pages_to_read - 1); |                     tx_len = mf_ul_prepare_fast_read(tx_buff, 0x00, mf_ul_read.pages_to_read - 1); | ||||||
|                     if(furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false)) { |                     if(furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false)) { | ||||||
|                         FURI_LOG_E(TAG, "Failed reading pages"); |                         FURI_LOG_D(TAG, "Failed reading pages"); | ||||||
|                         continue; |                         continue; | ||||||
|                     } else { |                     } else { | ||||||
|                         mf_ul_parse_fast_read_response( |                         mf_ul_parse_fast_read_response( | ||||||
|                             rx_buff, 0x00, mf_ul_read.pages_to_read - 1, &mf_ul_read); |                             rx_buff, 0x00, mf_ul_read.pages_to_read - 1, &mf_ul_read); | ||||||
|                     } |                     } | ||||||
| 
 | 
 | ||||||
|                     FURI_LOG_I(TAG, "Reading 3 counters ..."); |                     FURI_LOG_D(TAG, "Reading 3 counters ..."); | ||||||
|                     for(uint8_t i = 0; i < 3; i++) { |                     for(uint8_t i = 0; i < 3; i++) { | ||||||
|                         tx_len = mf_ul_prepare_read_cnt(tx_buff, i); |                         tx_len = mf_ul_prepare_read_cnt(tx_buff, i); | ||||||
|                         if(furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false)) { |                         if(furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false)) { | ||||||
| @ -553,11 +553,11 @@ void nfc_worker_read_mifare_ul(NfcWorker* nfc_worker) { | |||||||
|                         } |                         } | ||||||
|                     } |                     } | ||||||
| 
 | 
 | ||||||
|                     FURI_LOG_I(TAG, "Checking tearing flags ..."); |                     FURI_LOG_D(TAG, "Checking tearing flags ..."); | ||||||
|                     for(uint8_t i = 0; i < 3; i++) { |                     for(uint8_t i = 0; i < 3; i++) { | ||||||
|                         tx_len = mf_ul_prepare_check_tearing(tx_buff, i); |                         tx_len = mf_ul_prepare_check_tearing(tx_buff, i); | ||||||
|                         if(furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false)) { |                         if(furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false)) { | ||||||
|                             FURI_LOG_E(TAG, "Error checking tearing flag %d", i); |                             FURI_LOG_D(TAG, "Error checking tearing flag %d", i); | ||||||
|                             mf_ul_read.data.tearing[i] = MF_UL_TEARING_FLAG_DEFAULT; |                             mf_ul_read.data.tearing[i] = MF_UL_TEARING_FLAG_DEFAULT; | ||||||
|                         } else { |                         } else { | ||||||
|                             mf_ul_parse_check_tearing_response(rx_buff, i, &mf_ul_read); |                             mf_ul_parse_check_tearing_response(rx_buff, i, &mf_ul_read); | ||||||
| @ -566,10 +566,10 @@ void nfc_worker_read_mifare_ul(NfcWorker* nfc_worker) { | |||||||
|                 } else { |                 } else { | ||||||
|                     // READ card with READ command (4 pages at a time)
 |                     // READ card with READ command (4 pages at a time)
 | ||||||
|                     for(uint8_t page = 0; page < mf_ul_read.pages_to_read; page += 4) { |                     for(uint8_t page = 0; page < mf_ul_read.pages_to_read; page += 4) { | ||||||
|                         FURI_LOG_I(TAG, "Reading pages %d - %d ...", page, page + 3); |                         FURI_LOG_D(TAG, "Reading pages %d - %d ...", page, page + 3); | ||||||
|                         tx_len = mf_ul_prepare_read(tx_buff, page); |                         tx_len = mf_ul_prepare_read(tx_buff, page); | ||||||
|                         if(furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false)) { |                         if(furi_hal_nfc_data_exchange(tx_buff, tx_len, &rx_buff, &rx_len, false)) { | ||||||
|                             FURI_LOG_E(TAG, "Read pages %d - %d failed", page, page + 3); |                             FURI_LOG_D(TAG, "Read pages %d - %d failed", page, page + 3); | ||||||
|                             continue; |                             continue; | ||||||
|                         } else { |                         } else { | ||||||
|                             mf_ul_parse_read_response(rx_buff, page, &mf_ul_read); |                             mf_ul_parse_read_response(rx_buff, page, &mf_ul_read); | ||||||
| @ -596,7 +596,7 @@ void nfc_worker_read_mifare_ul(NfcWorker* nfc_worker) { | |||||||
|                 FURI_LOG_W(TAG, "Tag does not support Mifare Ultralight"); |                 FURI_LOG_W(TAG, "Tag does not support Mifare Ultralight"); | ||||||
|             } |             } | ||||||
|         } else { |         } else { | ||||||
|             FURI_LOG_W(TAG, "Can't find any tags"); |             FURI_LOG_D(TAG, "Can't find any tags"); | ||||||
|         } |         } | ||||||
|         osDelay(100); |         osDelay(100); | ||||||
|     } |     } | ||||||
| @ -613,6 +613,9 @@ void nfc_worker_emulate_mifare_ul(NfcWorker* nfc_worker) { | |||||||
|     // Setup emulation parameters from mifare ultralight data structure
 |     // Setup emulation parameters from mifare ultralight data structure
 | ||||||
|     mf_ul_prepare_emulation(&mf_ul_emulate, &data->mf_ul_data); |     mf_ul_prepare_emulation(&mf_ul_emulate, &data->mf_ul_data); | ||||||
|     while(nfc_worker->state == NfcWorkerStateEmulateMifareUl) { |     while(nfc_worker->state == NfcWorkerStateEmulateMifareUl) { | ||||||
|  |         // WARNING
 | ||||||
|  |         // DO NOT call any blocking functions (e.g. FURI_LOG_*) in this loop,
 | ||||||
|  |         // as any delay will negatively affect the stability of the emulation.
 | ||||||
|         if(furi_hal_nfc_listen( |         if(furi_hal_nfc_listen( | ||||||
|                data->nfc_data.uid, |                data->nfc_data.uid, | ||||||
|                data->nfc_data.uid_len, |                data->nfc_data.uid_len, | ||||||
| @ -620,7 +623,6 @@ void nfc_worker_emulate_mifare_ul(NfcWorker* nfc_worker) { | |||||||
|                data->nfc_data.sak, |                data->nfc_data.sak, | ||||||
|                true, |                true, | ||||||
|                200)) { |                200)) { | ||||||
|             FURI_LOG_D(TAG, "Anticollision passed"); |  | ||||||
|             if(furi_hal_nfc_get_first_frame(&rx_buff, &rx_len)) { |             if(furi_hal_nfc_get_first_frame(&rx_buff, &rx_len)) { | ||||||
|                 // Data exchange loop
 |                 // Data exchange loop
 | ||||||
|                 while(nfc_worker->state == NfcWorkerStateEmulateMifareUl) { |                 while(nfc_worker->state == NfcWorkerStateEmulateMifareUl) { | ||||||
| @ -632,17 +634,17 @@ void nfc_worker_emulate_mifare_ul(NfcWorker* nfc_worker) { | |||||||
|                         if(err == ERR_NONE) { |                         if(err == ERR_NONE) { | ||||||
|                             continue; |                             continue; | ||||||
|                         } else { |                         } else { | ||||||
|                             FURI_LOG_E(TAG, "Communication error: %d", err); |                             FURI_LOG_D(TAG, "Communication error: %d", err); | ||||||
|                             break; |                             break; | ||||||
|                         } |                         } | ||||||
|                     } else { |                     } else { | ||||||
|                         FURI_LOG_W(TAG, "Not valid command: %02X", rx_buff[0]); |                         FURI_LOG_D(TAG, "Not valid command: %02X", rx_buff[0]); | ||||||
|                         furi_hal_nfc_deactivate(); |                         furi_hal_nfc_deactivate(); | ||||||
|                         break; |                         break; | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|             } else { |             } else { | ||||||
|                 FURI_LOG_W(TAG, "Error in 1st data exchange"); |                 FURI_LOG_D(TAG, "Error in 1st data exchange"); | ||||||
|                 furi_hal_nfc_deactivate(); |                 furi_hal_nfc_deactivate(); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
| @ -653,7 +655,7 @@ void nfc_worker_emulate_mifare_ul(NfcWorker* nfc_worker) { | |||||||
|                 nfc_worker->callback(nfc_worker->context); |                 nfc_worker->callback(nfc_worker->context); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|         FURI_LOG_W(TAG, "Can't find reader"); |         FURI_LOG_D(TAG, "Can't find reader"); | ||||||
|         osThreadYield(); |         osThreadYield(); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  | |||||||
							
								
								
									
										7
									
								
								applications/nfc/scenes/nfc_scene_start.c
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						| @ -30,7 +30,12 @@ void nfc_scene_start_on_enter(void* context) { | |||||||
|         submenu, "Saved cards", SubmenuIndexSaved, nfc_scene_start_submenu_callback, nfc); |         submenu, "Saved cards", SubmenuIndexSaved, nfc_scene_start_submenu_callback, nfc); | ||||||
|     submenu_add_item( |     submenu_add_item( | ||||||
|         submenu, "Add manually", SubmenuIndexAddManualy, nfc_scene_start_submenu_callback, nfc); |         submenu, "Add manually", SubmenuIndexAddManualy, nfc_scene_start_submenu_callback, nfc); | ||||||
|     submenu_add_item(submenu, "Debug", SubmenuIndexDebug, nfc_scene_start_submenu_callback, nfc); | 
 | ||||||
|  |     if(furi_hal_rtc_is_flag_set(FuriHalRtcFlagDebug)) { | ||||||
|  |         submenu_add_item( | ||||||
|  |             submenu, "Debug", SubmenuIndexDebug, nfc_scene_start_submenu_callback, nfc); | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|     submenu_set_selected_item( |     submenu_set_selected_item( | ||||||
|         submenu, scene_manager_get_scene_state(nfc->scene_manager, NfcSceneStart)); |         submenu, scene_manager_get_scene_state(nfc->scene_manager, NfcSceneStart)); | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -2,8 +2,7 @@ | |||||||
| #include "rpc_i.h" | #include "rpc_i.h" | ||||||
| #include "status.pb.h" | #include "status.pb.h" | ||||||
| 
 | 
 | ||||||
| #include <furi-hal-info.h> | #include <furi-hal.h> | ||||||
| #include <furi-hal-bootloader.h> |  | ||||||
| #include <power/power_service/power.h> | #include <power/power_service/power.h> | ||||||
| 
 | 
 | ||||||
| void rpc_system_system_ping_process(const PB_Main* msg_request, void* context) { | void rpc_system_system_ping_process(const PB_Main* msg_request, void* context) { | ||||||
| @ -104,7 +103,7 @@ void rpc_system_system_factory_reset_process(const PB_Main* request, void* conte | |||||||
|     furi_assert(request->which_content == PB_Main_system_factory_reset_request_tag); |     furi_assert(request->which_content == PB_Main_system_factory_reset_request_tag); | ||||||
|     furi_assert(context); |     furi_assert(context); | ||||||
| 
 | 
 | ||||||
|     furi_hal_bootloader_set_flags(FuriHalBootloaderFlagFactoryReset); |     furi_hal_rtc_set_flag(FuriHalRtcFlagFactoryReset); | ||||||
|     power_reboot(PowerBootModeNormal); |     power_reboot(PowerBootModeNormal); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -322,7 +322,7 @@ int32_t snake_game_app(void* p) { | |||||||
| 
 | 
 | ||||||
|     ValueMutex state_mutex; |     ValueMutex state_mutex; | ||||||
|     if(!init_mutex(&state_mutex, snake_state, sizeof(SnakeState))) { |     if(!init_mutex(&state_mutex, snake_state, sizeof(SnakeState))) { | ||||||
|         furi_log_print(FURI_LOG_ERROR, "cannot create mutex\r\n"); |         FURI_LOG_E("SnakeGame", "cannot create mutex\r\n"); | ||||||
|         free(snake_state); |         free(snake_state); | ||||||
|         return 255; |         return 255; | ||||||
|     } |     } | ||||||
|  | |||||||
| @ -526,7 +526,7 @@ static void storage_cli_factory_reset(Cli* cli, string_t args, void* context) { | |||||||
|     char c = cli_getc(cli); |     char c = cli_getc(cli); | ||||||
|     if(c == 'y' || c == 'Y') { |     if(c == 'y' || c == 'Y') { | ||||||
|         printf("Data will be wiped after reboot.\r\n"); |         printf("Data will be wiped after reboot.\r\n"); | ||||||
|         furi_hal_bootloader_set_flags(FuriHalBootloaderFlagFactoryReset); |         furi_hal_rtc_set_flag(FuriHalRtcFlagFactoryReset); | ||||||
|         power_reboot(PowerBootModeNormal); |         power_reboot(PowerBootModeNormal); | ||||||
|     } else { |     } else { | ||||||
|         printf("Safe choice.\r\n"); |         printf("Safe choice.\r\n"); | ||||||
|  | |||||||
| @ -69,7 +69,7 @@ static int storage_int_device_read( | |||||||
|     LFSData* lfs_data = c->context; |     LFSData* lfs_data = c->context; | ||||||
|     size_t address = lfs_data->start_address + block * c->block_size + off; |     size_t address = lfs_data->start_address + block * c->block_size + off; | ||||||
| 
 | 
 | ||||||
|     FURI_LOG_D( |     FURI_LOG_T( | ||||||
|         TAG, |         TAG, | ||||||
|         "Device read: block %d, off %d, buffer: %p, size %d, translated address: %p", |         "Device read: block %d, off %d, buffer: %p, size %d, translated address: %p", | ||||||
|         block, |         block, | ||||||
| @ -92,7 +92,7 @@ static int storage_int_device_prog( | |||||||
|     LFSData* lfs_data = c->context; |     LFSData* lfs_data = c->context; | ||||||
|     size_t address = lfs_data->start_address + block * c->block_size + off; |     size_t address = lfs_data->start_address + block * c->block_size + off; | ||||||
| 
 | 
 | ||||||
|     FURI_LOG_D( |     FURI_LOG_T( | ||||||
|         TAG, |         TAG, | ||||||
|         "Device prog: block %d, off %d, buffer: %p, size %d, translated address: %p", |         "Device prog: block %d, off %d, buffer: %p, size %d, translated address: %p", | ||||||
|         block, |         block, | ||||||
| @ -163,15 +163,14 @@ static LFSData* storage_int_lfs_data_alloc() { | |||||||
| 
 | 
 | ||||||
| static void storage_int_lfs_mount(LFSData* lfs_data, StorageData* storage) { | static void storage_int_lfs_mount(LFSData* lfs_data, StorageData* storage) { | ||||||
|     int err; |     int err; | ||||||
|     FuriHalBootloaderFlag bootloader_flags = furi_hal_bootloader_get_flags(); |  | ||||||
|     lfs_t* lfs = &lfs_data->lfs; |     lfs_t* lfs = &lfs_data->lfs; | ||||||
| 
 | 
 | ||||||
|     if(bootloader_flags & FuriHalBootloaderFlagFactoryReset) { |     if(furi_hal_rtc_is_flag_set(FuriHalRtcFlagFactoryReset)) { | ||||||
|         // Factory reset
 |         // Factory reset
 | ||||||
|         err = lfs_format(lfs, &lfs_data->config); |         err = lfs_format(lfs, &lfs_data->config); | ||||||
|         if(err == 0) { |         if(err == 0) { | ||||||
|             FURI_LOG_I(TAG, "Factory reset: Format successful, trying to mount"); |             FURI_LOG_I(TAG, "Factory reset: Format successful, trying to mount"); | ||||||
|             furi_hal_bootloader_set_flags(bootloader_flags & ~FuriHalBootloaderFlagFactoryReset); |             furi_hal_rtc_reset_flag(FuriHalRtcFlagFactoryReset); | ||||||
|             err = lfs_mount(lfs, &lfs_data->config); |             err = lfs_mount(lfs, &lfs_data->config); | ||||||
|             if(err == 0) { |             if(err == 0) { | ||||||
|                 FURI_LOG_I(TAG, "Factory reset: Mounted"); |                 FURI_LOG_I(TAG, "Factory reset: Mounted"); | ||||||
|  | |||||||
| @ -63,7 +63,7 @@ bool storage_settings_scene_factory_reset_on_event(void* context, SceneManagerEv | |||||||
|                 scene_manager_set_scene_state( |                 scene_manager_set_scene_state( | ||||||
|                     app->scene_manager, StorageSettingsFactoryReset, counter); |                     app->scene_manager, StorageSettingsFactoryReset, counter); | ||||||
|             } else { |             } else { | ||||||
|                 furi_hal_bootloader_set_flags(FuriHalBootloaderFlagFactoryReset); |                 furi_hal_rtc_set_flag(FuriHalRtcFlagFactoryReset); | ||||||
|                 power_reboot(PowerBootModeNormal); |                 power_reboot(PowerBootModeNormal); | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -41,9 +41,10 @@ void subghz_scene_start_on_enter(void* context) { | |||||||
|         SubmenuIndexFrequencyAnalyzer, |         SubmenuIndexFrequencyAnalyzer, | ||||||
|         subghz_scene_start_submenu_callback, |         subghz_scene_start_submenu_callback, | ||||||
|         subghz); |         subghz); | ||||||
|     submenu_add_item( |     if(furi_hal_rtc_is_flag_set(FuriHalRtcFlagDebug)) { | ||||||
|         subghz->submenu, "Test", SubmenuIndexTest, subghz_scene_start_submenu_callback, subghz); |         submenu_add_item( | ||||||
| 
 |             subghz->submenu, "Test", SubmenuIndexTest, subghz_scene_start_submenu_callback, subghz); | ||||||
|  |     } | ||||||
|     submenu_set_selected_item( |     submenu_set_selected_item( | ||||||
|         subghz->submenu, scene_manager_get_scene_state(subghz->scene_manager, SubGhzSceneStart)); |         subghz->submenu, scene_manager_get_scene_state(subghz->scene_manager, SubGhzSceneStart)); | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -8,7 +8,7 @@ | |||||||
| #include <toolbox/level_duration.h> | #include <toolbox/level_duration.h> | ||||||
| #include <lib/subghz/protocols/subghz_protocol_princeton.h> | #include <lib/subghz/protocols/subghz_protocol_princeton.h> | ||||||
| 
 | 
 | ||||||
| #define SUBGHZ_TEST_PACKET_COUNT 1000 | #define SUBGHZ_TEST_PACKET_COUNT 500 | ||||||
| 
 | 
 | ||||||
| struct SubghzTestPacket { | struct SubghzTestPacket { | ||||||
|     View* view; |     View* view; | ||||||
| @ -137,6 +137,7 @@ static bool subghz_test_packet_input(InputEvent* event, void* context) { | |||||||
|             if(model->status == SubghzTestPacketModelStatusRx) { |             if(model->status == SubghzTestPacketModelStatusRx) { | ||||||
|                 furi_hal_subghz_stop_async_rx(); |                 furi_hal_subghz_stop_async_rx(); | ||||||
|             } else if(model->status == SubghzTestPacketModelStatusTx) { |             } else if(model->status == SubghzTestPacketModelStatusTx) { | ||||||
|  |                 subghz_encoder_princeton_stop(instance->encoder, millis()); | ||||||
|                 furi_hal_subghz_stop_async_tx(); |                 furi_hal_subghz_stop_async_tx(); | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
| @ -164,7 +165,10 @@ static bool subghz_test_packet_input(InputEvent* event, void* context) { | |||||||
|                 furi_hal_subghz_start_async_rx(subghz_test_packet_rx_callback, instance); |                 furi_hal_subghz_start_async_rx(subghz_test_packet_rx_callback, instance); | ||||||
|             } else { |             } else { | ||||||
|                 subghz_encoder_princeton_set( |                 subghz_encoder_princeton_set( | ||||||
|                     instance->encoder, 0x00AABBCC, SUBGHZ_TEST_PACKET_COUNT); |                     instance->encoder, | ||||||
|  |                     0x00AABBCC, | ||||||
|  |                     SUBGHZ_TEST_PACKET_COUNT, | ||||||
|  |                     subghz_frequencies[model->frequency]); | ||||||
|                 if(!furi_hal_subghz_start_async_tx( |                 if(!furi_hal_subghz_start_async_tx( | ||||||
|                        subghz_encoder_princeton_yield, instance->encoder)) { |                        subghz_encoder_princeton_yield, instance->encoder)) { | ||||||
|                     model->status = SubghzTestPacketModelStatusOnlyRx; |                     model->status = SubghzTestPacketModelStatusOnlyRx; | ||||||
| @ -213,6 +217,7 @@ void subghz_test_packet_exit(void* context) { | |||||||
|             if(model->status == SubghzTestPacketModelStatusRx) { |             if(model->status == SubghzTestPacketModelStatusRx) { | ||||||
|                 furi_hal_subghz_stop_async_rx(); |                 furi_hal_subghz_stop_async_rx(); | ||||||
|             } else if(model->status == SubghzTestPacketModelStatusTx) { |             } else if(model->status == SubghzTestPacketModelStatusTx) { | ||||||
|  |                 subghz_encoder_princeton_stop(instance->encoder, millis()); | ||||||
|                 furi_hal_subghz_stop_async_tx(); |                 furi_hal_subghz_stop_async_tx(); | ||||||
|             } |             } | ||||||
|             return true; |             return true; | ||||||
|  | |||||||
| @ -104,7 +104,10 @@ bool subghz_test_static_input(InputEvent* event, void* context) { | |||||||
|                         FURI_LOG_I(TAG, "TX Start"); |                         FURI_LOG_I(TAG, "TX Start"); | ||||||
| 
 | 
 | ||||||
|                         subghz_encoder_princeton_set( |                         subghz_encoder_princeton_set( | ||||||
|                             instance->encoder, subghz_test_static_keys[model->button], 10000); |                             instance->encoder, | ||||||
|  |                             subghz_test_static_keys[model->button], | ||||||
|  |                             10000, | ||||||
|  |                             subghz_frequencies[model->frequency]); | ||||||
| 
 | 
 | ||||||
|                         furi_hal_subghz_start_async_tx( |                         furi_hal_subghz_start_async_tx( | ||||||
|                             subghz_encoder_princeton_yield, instance->encoder); |                             subghz_encoder_princeton_yield, instance->encoder); | ||||||
| @ -113,6 +116,7 @@ bool subghz_test_static_input(InputEvent* event, void* context) { | |||||||
|                 } else if(event->type == InputTypeRelease) { |                 } else if(event->type == InputTypeRelease) { | ||||||
|                     if(instance->satus_tx == SubghzTestStaticStatusTX) { |                     if(instance->satus_tx == SubghzTestStaticStatusTX) { | ||||||
|                         FURI_LOG_I(TAG, "TX Stop"); |                         FURI_LOG_I(TAG, "TX Stop"); | ||||||
|  |                         subghz_encoder_princeton_stop(instance->encoder, millis()); | ||||||
|                         subghz_encoder_princeton_print_log(instance->encoder); |                         subghz_encoder_princeton_print_log(instance->encoder); | ||||||
|                         furi_hal_subghz_stop_async_tx(); |                         furi_hal_subghz_stop_async_tx(); | ||||||
|                         notification_message(notification, &sequence_reset_red); |                         notification_message(notification, &sequence_reset_red); | ||||||
|  | |||||||
							
								
								
									
										123
									
								
								applications/system/system_settings.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1,123 @@ | |||||||
|  | #include "system_settings.h" | ||||||
|  | #include <loader/loader.h> | ||||||
|  | 
 | ||||||
|  | static uint8_t | ||||||
|  |     uint32_value_index(const uint32_t value, const uint32_t values[], uint8_t values_count) { | ||||||
|  |     int64_t last_value = INT64_MIN; | ||||||
|  |     uint8_t index = 0; | ||||||
|  |     for(uint8_t i = 0; i < values_count; i++) { | ||||||
|  |         if((value >= last_value) && (value <= values[i])) { | ||||||
|  |             index = i; | ||||||
|  |             break; | ||||||
|  |         } | ||||||
|  |         last_value = values[i]; | ||||||
|  |     } | ||||||
|  |     return index; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | const char* const log_level_text[] = { | ||||||
|  |     "Default", | ||||||
|  |     "None", | ||||||
|  |     "Error", | ||||||
|  |     "Warning", | ||||||
|  |     "Info", | ||||||
|  |     "Debug", | ||||||
|  |     "Trace", | ||||||
|  | }; | ||||||
|  | 
 | ||||||
|  | const uint32_t log_level_value[] = { | ||||||
|  |     FuriLogLevelDefault, | ||||||
|  |     FuriLogLevelNone, | ||||||
|  |     FuriLogLevelError, | ||||||
|  |     FuriLogLevelWarn, | ||||||
|  |     FuriLogLevelInfo, | ||||||
|  |     FuriLogLevelDebug, | ||||||
|  |     FuriLogLevelTrace, | ||||||
|  | }; | ||||||
|  | 
 | ||||||
|  | static void log_level_changed(VariableItem* item) { | ||||||
|  |     // SystemSettings* app = variable_item_get_context(item);
 | ||||||
|  |     uint8_t index = variable_item_get_current_value_index(item); | ||||||
|  |     variable_item_set_current_value_text(item, log_level_text[index]); | ||||||
|  |     furi_hal_rtc_set_log_level(log_level_value[index]); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | const char* const debug_text[] = { | ||||||
|  |     "Disable", | ||||||
|  |     "Enable", | ||||||
|  | }; | ||||||
|  | 
 | ||||||
|  | static void debug_changed(VariableItem* item) { | ||||||
|  |     uint8_t index = variable_item_get_current_value_index(item); | ||||||
|  |     variable_item_set_current_value_text(item, debug_text[index]); | ||||||
|  |     if(index) { | ||||||
|  |         furi_hal_rtc_set_flag(FuriHalRtcFlagDebug); | ||||||
|  |     } else { | ||||||
|  |         furi_hal_rtc_reset_flag(FuriHalRtcFlagDebug); | ||||||
|  |     } | ||||||
|  |     loader_update_menu(); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | static uint32_t system_settings_exit(void* context) { | ||||||
|  |     return VIEW_NONE; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | SystemSettings* system_settings_alloc() { | ||||||
|  |     SystemSettings* app = furi_alloc(sizeof(SystemSettings)); | ||||||
|  | 
 | ||||||
|  |     // Load settings
 | ||||||
|  |     app->gui = furi_record_open("gui"); | ||||||
|  | 
 | ||||||
|  |     app->view_dispatcher = view_dispatcher_alloc(); | ||||||
|  |     view_dispatcher_enable_queue(app->view_dispatcher); | ||||||
|  |     view_dispatcher_set_event_callback_context(app->view_dispatcher, app); | ||||||
|  | 
 | ||||||
|  |     view_dispatcher_attach_to_gui(app->view_dispatcher, app->gui, ViewDispatcherTypeFullscreen); | ||||||
|  | 
 | ||||||
|  |     VariableItem* item; | ||||||
|  |     uint8_t value_index; | ||||||
|  |     app->var_item_list = variable_item_list_alloc(); | ||||||
|  | 
 | ||||||
|  |     item = variable_item_list_add( | ||||||
|  |         app->var_item_list, "Log Level", COUNT_OF(log_level_text), log_level_changed, app); | ||||||
|  |     value_index = uint32_value_index( | ||||||
|  |         furi_hal_rtc_get_log_level(), log_level_value, COUNT_OF(log_level_text)); | ||||||
|  |     variable_item_set_current_value_index(item, value_index); | ||||||
|  |     variable_item_set_current_value_text(item, log_level_text[value_index]); | ||||||
|  | 
 | ||||||
|  |     item = variable_item_list_add( | ||||||
|  |         app->var_item_list, "Debug", COUNT_OF(debug_text), debug_changed, app); | ||||||
|  |     value_index = furi_hal_rtc_is_flag_set(FuriHalRtcFlagDebug) ? 1 : 0; | ||||||
|  |     variable_item_set_current_value_index(item, value_index); | ||||||
|  |     variable_item_set_current_value_text(item, debug_text[value_index]); | ||||||
|  | 
 | ||||||
|  |     view_set_previous_callback( | ||||||
|  |         variable_item_list_get_view(app->var_item_list), system_settings_exit); | ||||||
|  |     view_dispatcher_add_view( | ||||||
|  |         app->view_dispatcher, | ||||||
|  |         SystemSettingsViewVarItemList, | ||||||
|  |         variable_item_list_get_view(app->var_item_list)); | ||||||
|  | 
 | ||||||
|  |     view_dispatcher_switch_to_view(app->view_dispatcher, SystemSettingsViewVarItemList); | ||||||
|  | 
 | ||||||
|  |     return app; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void system_settings_free(SystemSettings* app) { | ||||||
|  |     furi_assert(app); | ||||||
|  |     // Variable item list
 | ||||||
|  |     view_dispatcher_remove_view(app->view_dispatcher, SystemSettingsViewVarItemList); | ||||||
|  |     variable_item_list_free(app->var_item_list); | ||||||
|  |     // View dispatcher
 | ||||||
|  |     view_dispatcher_free(app->view_dispatcher); | ||||||
|  |     // Records
 | ||||||
|  |     furi_record_close("gui"); | ||||||
|  |     free(app); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | int32_t system_settings_app(void* p) { | ||||||
|  |     SystemSettings* app = system_settings_alloc(); | ||||||
|  |     view_dispatcher_run(app->view_dispatcher); | ||||||
|  |     system_settings_free(app); | ||||||
|  |     return 0; | ||||||
|  | } | ||||||
							
								
								
									
										18
									
								
								applications/system/system_settings.h
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,18 @@ | |||||||
|  | #pragma once | ||||||
|  | 
 | ||||||
|  | #include <furi.h> | ||||||
|  | #include <furi-hal.h> | ||||||
|  | 
 | ||||||
|  | #include <gui/gui.h> | ||||||
|  | #include <gui/view_dispatcher.h> | ||||||
|  | #include <gui/modules/variable-item-list.h> | ||||||
|  | 
 | ||||||
|  | typedef struct { | ||||||
|  |     Gui* gui; | ||||||
|  |     ViewDispatcher* view_dispatcher; | ||||||
|  |     VariableItemList* var_item_list; | ||||||
|  | } SystemSettings; | ||||||
|  | 
 | ||||||
|  | typedef enum { | ||||||
|  |     SystemSettingsViewVarItemList, | ||||||
|  | } SystemSettingsView; | ||||||
| @ -16,10 +16,10 @@ const uint8_t _A_BoxActive_128x51_0[] = {0x01,0x00,0x61,0x01,0x00,0x78,0x03,0xe0 | |||||||
| const uint8_t _A_BoxActive_128x51_1[] = {0x01,0x00,0x8d,0x01,0x00,0x78,0x03,0xe0,0x1f,0x08,0x08,0x26,0x20,0x00,0xa3,0x84,0x47,0x81,0xef,0x10,0x80,0x83,0xce,0x09,0xe0,0x10,0x3c,0x43,0x33,0x33,0x83,0x83,0xca,0x01,0x0e,0x80,0x70,0x2f,0xe2,0xf4,0x92,0x52,0x43,0x45,0x02,0x0b,0x8c,0x02,0x61,0x80,0x04,0x14,0x3e,0x21,0x3c,0xbc,0x83,0xd2,0x40,0x43,0x18,0x04,0x18,0x9a,0x51,0x08,0x24,0x24,0x1e,0x5f,0xf8,0x08,0x3c,0x46,0x62,0x11,0x11,0xa8,0xc4,0x23,0x13,0x10,0x79,0x40,0x61,0xc0,0xf1,0x19,0x90,0xc4,0xc0,0x09,0x01,0x98,0x03,0xce,0x41,0x40,0x07,0x36,0x00,0xb8,0x31,0x14,0x39,0x50,0x02,0x82,0x0f,0x78,0x04,0x58,0x1e,0x69,0x47,0x07,0x94,0x60,0x1e,0x40,0x62,0x07,0xc1,0x6c,0x41,0xe9,0x88,0x04,0x15,0x02,0x10,0x0f,0x60,0x11,0x52,0x01,0xe6,0x38,0x30,0x30,0xe0,0x4c,0x02,0x0f,0x19,0x47,0x33,0x97,0x24,0xac,0xc2,0x81,0xe9,0x55,0x8a,0xc0,0x19,0x23,0x18,0x89,0x4a,0xa4,0xb4,0x58,0x48,0x3d,0x35,0x72,0xa8,0x04,0x68,0x3e,0x39,0x29,0x4c,0x97,0x93,0x08,0x07,0x8e,0x01,0x5a,0x3f,0xf8,0xbc,0x02,0xc8,0x3f,0x1a,0x94,0xa2,0x4b,0x51,0x84,0xa1,0xc6,0x80,0x0f,0x29,0x7c,0x03,0x09,0x01,0xc4,0x0f,0xc7,0xb1,0x4c,0x85,0x03,0xc7,0x81,0x3f,0x80,0x7f,0x83,0xe3,0x08,0x29,0x08,0x01,0x01,0xe3,0x20,0xe0,0x40,0xff,0xd0,0xa7,0x61,0x03,0xe0,0x3c,0x35,0x78,0x28,0x3c,0x4a,0xa2,0x0f,0x69,0x83,0x78,0x4b,0xc2,0x07,0x18,0x80,0x3e,0x93,0xe4,0xe0,0x70,0x79,0x4a,0x01,0xfd,0x18,0xc1,0x24,0x8b,0x00,0xf1,0x60,0x79,0x42,0x01,0xe2,0x5c,0x10,0x7c,0xc8,0x21,0x18,0xe8,0x04,0x2c,0x10,0x38,0x10,0x7b,0xd8,0x3f,0x1f,0x3f,0x01,0xbc,0x41,0xf3,0xa0,0x6d,0x0f,0xfe,0x17,0x80,0x80,0x09,0x04,0x1e,0xc3,0xc2,0x80,0x41,0x41,0xe3,0x72,0x07,0xbb,0x3c,0xa0,0x18,0x2a,0x3a,0x10,0x43,0xf7,0x7e,0xbe,0x03,0xdc,0xcc,0x40,0xf2,0x81,0x20,0x04,0x1f,0x2c,0x92,0x80,0x83,0xfc,0x06,0x2b,0x32,0x07,0xf8,0x00,0xcd,0x02,0xfa,0x10,0x79,0x44,0x30,0x00,0xfe,0xb0,0x03,0xf3,0xc5,0x11,0x8e,0x03,0xd8,0x6e,0x48,0x22,0xc2,0x7f,0xb0,0x60,0xe6,0x07,0xad,0xe0,0x4e,0x60,0x05,0x3b,0x88,0xbc,0x8b,0xc2,0x0f,0xa8,0x60,0x3f,0x20,0x9c,0x08,0x18,0x3f,0x67,0x00,0x43,0x4b,0x98,0x01,0x63,0x10,0x70,0x7e,0xf8,0x08,0x8a,0x64,0x20,0x05,0x03,0xe4,}; | const uint8_t _A_BoxActive_128x51_1[] = {0x01,0x00,0x8d,0x01,0x00,0x78,0x03,0xe0,0x1f,0x08,0x08,0x26,0x20,0x00,0xa3,0x84,0x47,0x81,0xef,0x10,0x80,0x83,0xce,0x09,0xe0,0x10,0x3c,0x43,0x33,0x33,0x83,0x83,0xca,0x01,0x0e,0x80,0x70,0x2f,0xe2,0xf4,0x92,0x52,0x43,0x45,0x02,0x0b,0x8c,0x02,0x61,0x80,0x04,0x14,0x3e,0x21,0x3c,0xbc,0x83,0xd2,0x40,0x43,0x18,0x04,0x18,0x9a,0x51,0x08,0x24,0x24,0x1e,0x5f,0xf8,0x08,0x3c,0x46,0x62,0x11,0x11,0xa8,0xc4,0x23,0x13,0x10,0x79,0x40,0x61,0xc0,0xf1,0x19,0x90,0xc4,0xc0,0x09,0x01,0x98,0x03,0xce,0x41,0x40,0x07,0x36,0x00,0xb8,0x31,0x14,0x39,0x50,0x02,0x82,0x0f,0x78,0x04,0x58,0x1e,0x69,0x47,0x07,0x94,0x60,0x1e,0x40,0x62,0x07,0xc1,0x6c,0x41,0xe9,0x88,0x04,0x15,0x02,0x10,0x0f,0x60,0x11,0x52,0x01,0xe6,0x38,0x30,0x30,0xe0,0x4c,0x02,0x0f,0x19,0x47,0x33,0x97,0x24,0xac,0xc2,0x81,0xe9,0x55,0x8a,0xc0,0x19,0x23,0x18,0x89,0x4a,0xa4,0xb4,0x58,0x48,0x3d,0x35,0x72,0xa8,0x04,0x68,0x3e,0x39,0x29,0x4c,0x97,0x93,0x08,0x07,0x8e,0x01,0x5a,0x3f,0xf8,0xbc,0x02,0xc8,0x3f,0x1a,0x94,0xa2,0x4b,0x51,0x84,0xa1,0xc6,0x80,0x0f,0x29,0x7c,0x03,0x09,0x01,0xc4,0x0f,0xc7,0xb1,0x4c,0x85,0x03,0xc7,0x81,0x3f,0x80,0x7f,0x83,0xe3,0x08,0x29,0x08,0x01,0x01,0xe3,0x20,0xe0,0x40,0xff,0xd0,0xa7,0x61,0x03,0xe0,0x3c,0x35,0x78,0x28,0x3c,0x4a,0xa2,0x0f,0x69,0x83,0x78,0x4b,0xc2,0x07,0x18,0x80,0x3e,0x93,0xe4,0xe0,0x70,0x79,0x4a,0x01,0xfd,0x18,0xc1,0x24,0x8b,0x00,0xf1,0x60,0x79,0x42,0x01,0xe2,0x5c,0x10,0x7c,0xc8,0x21,0x18,0xe8,0x04,0x2c,0x10,0x38,0x10,0x7b,0xd8,0x3f,0x1f,0x3f,0x01,0xbc,0x41,0xf3,0xa0,0x6d,0x0f,0xfe,0x17,0x80,0x80,0x09,0x04,0x1e,0xc3,0xc2,0x80,0x41,0x41,0xe3,0x72,0x07,0xbb,0x3c,0xa0,0x18,0x2a,0x3a,0x10,0x43,0xf7,0x7e,0xbe,0x03,0xdc,0xcc,0x40,0xf2,0x81,0x20,0x04,0x1f,0x2c,0x92,0x80,0x83,0xfc,0x06,0x2b,0x32,0x07,0xf8,0x00,0xcd,0x02,0xfa,0x10,0x79,0x44,0x30,0x00,0xfe,0xb0,0x03,0xf3,0xc5,0x11,0x8e,0x03,0xd8,0x6e,0x48,0x22,0xc2,0x7f,0xb0,0x60,0xe6,0x07,0xad,0xe0,0x4e,0x60,0x05,0x3b,0x88,0xbc,0x8b,0xc2,0x0f,0xa8,0x60,0x3f,0x20,0x9c,0x08,0x18,0x3f,0x67,0x00,0x43,0x4b,0x98,0x01,0x63,0x10,0x70,0x7e,0xf8,0x08,0x8a,0x64,0x20,0x05,0x03,0xe4,}; | ||||||
| const uint8_t *_A_BoxActive_128x51[] = {_A_BoxActive_128x51_0,_A_BoxActive_128x51_1}; | const uint8_t *_A_BoxActive_128x51[] = {_A_BoxActive_128x51_0,_A_BoxActive_128x51_1}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _A_Box_128x51_0[] = {0x01,0x00,0x1c,0x01,0x00,0x7c,0x03,0xf1,0xff,0x83,0x83,0xf2,0x09,0x00,0x84,0x03,0xf2,0x05,0x00,0x88,0x03,0xf2,0x03,0x00,0x90,0x03,0xfc,0x08,0x38,0x0b,0xf8,0x3f,0x6c,0x18,0x00,0x30,0x83,0xee,0x30,0x46,0x20,0x03,0x7f,0x7f,0xf2,0xf3,0x21,0x80,0x44,0x00,0xd0,0x38,0x04,0xc0,0xc8,0x67,0x48,0x17,0xa0,0x10,0x41,0xfe,0x84,0x80,0x7f,0x83,0xcf,0x00,0x06,0x10,0x7f,0xa9,0x20,0x1f,0xe0,0xf4,0xaa,0x83,0xfb,0x55,0x02,0x07,0xed,0xfe,0x0b,0x40,0x07,0xe7,0xfe,0x04,0x0f,0xce,0x07,0xfc,0x3f,0x9c,0x0f,0x87,0xfe,0x07,0xc0,0x07,0xd4,0x82,0x13,0x40,0x80,0x9c,0x88,0x1f,0x11,0x08,0x50,0x18,0x70,0x00,0x71,0x07,0xc4,0x22,0x18,0x0f,0x27,0x90,0x83,0xe2,0x09,0x1c,0x07,0x94,0x10,0x1f,0x30,0x29,0xd0,0x3c,0xa1,0x00,0xfa,0xef,0xc1,0xc1,0xe2,0xe0,0x70,0x79,0x60,0xbf,0xff,0xf2,0xf8,0xac,0x1c,0x1e,0x5c,0x29,0xfd,0x60,0x1f,0x9a,0x48,0xde,0x80,0x5e,0x2a,0x07,0x07,0x95,0x62,0x3b,0x60,0x0f,0x88,0x3e,0xb6,0x10,0xac,0x06,0x07,0x00,0xa0,0x70,0x79,0x58,0x21,0xb0,0x0a,0x10,0x3e,0xf0,0x10,0xf8,0x04,0xf8,0x1c,0x2b,0x06,0x77,0x9c,0x7e,0x01,0x02,0x07,0xe4,0x68,0x0a,0x38,0x08,0x38,0x3e,0xae,0x80,0x51,0xd0,0x46,0x01,0xf5,0xe8,0x16,0x8e,0x82,0x40,0x0f,0xaf,0x85,0x0e,0x01,0x90,0xe0,0x17,0xe6,0x01,0xc0,0x93,0x83,0xc4,0x1c,0xc0,0xf4,0x80,0x5f,0xa0,0x18,0x80,0x7e,0x6f,0xa0,0x38,0x40,0x7e,0x55,0xa0,0xd8,0x30,0x7e,0x4a,0xbf,0x0a,0xe7,0x07,0xac,0x59,0xde,0x20,0xfc,0x85,0x03,0xe6,0x05,0x00,0x88,0x01,0x0c,0x1f,0x10,0x48,0x04,0x20,0x1f,0x9f,0x8f,0xfc,0x1c,0x1f,0x83,0x46,0x07,0xb8,}; | const uint8_t _A_Box_128x51_0[] = {0x01,0x00,0x1f,0x01,0x00,0x7c,0x03,0xf1,0xff,0x83,0x83,0xf2,0x09,0x00,0x84,0x03,0xf2,0x05,0x00,0x88,0x03,0xf2,0x03,0x00,0x90,0x03,0xfc,0x08,0x38,0x0b,0xf8,0x3f,0x6c,0x18,0x00,0x30,0x83,0xee,0x30,0x46,0x20,0x03,0x7f,0x7f,0xf2,0xf3,0x21,0x80,0x44,0x00,0xd0,0x38,0x04,0xc0,0xc8,0x67,0x48,0x17,0xa0,0x10,0x41,0xfe,0x84,0x80,0x7f,0x83,0xcf,0x00,0x06,0x10,0x7f,0xa9,0x20,0x1f,0xe0,0xf4,0xaa,0x83,0xfb,0x55,0x02,0x07,0xed,0xfe,0x0b,0x40,0x07,0xe7,0xfe,0x04,0x0f,0xce,0x07,0xfc,0x3f,0x9c,0x0f,0x87,0xfe,0x07,0xc0,0x07,0xd4,0x82,0x13,0x40,0x80,0x9c,0x88,0x1f,0x11,0x08,0x50,0x18,0x70,0x00,0x71,0x07,0xc4,0x22,0x18,0x0f,0x27,0x90,0x83,0xe2,0x09,0x1c,0x07,0x94,0x10,0x1f,0x30,0x29,0xd0,0x3c,0xa1,0x00,0xfa,0xef,0xc1,0xc1,0xe2,0xe0,0x70,0x79,0x60,0xbf,0xff,0xf2,0xf8,0xac,0x1c,0x1e,0x5c,0x29,0xfd,0x60,0x1f,0x9a,0x48,0xde,0x80,0x5e,0x2a,0x07,0x07,0x95,0x62,0x3b,0x60,0x0f,0x88,0x3e,0xb6,0x10,0xac,0x06,0x07,0x00,0xa0,0x70,0x79,0x58,0x21,0xb0,0x0a,0x10,0x3e,0xf0,0x10,0xf8,0x04,0xf8,0x1c,0x2b,0x06,0x77,0x9c,0x7e,0x01,0x02,0x07,0xe4,0x68,0x0a,0x38,0x08,0x38,0x3e,0xae,0x80,0x51,0xd0,0x46,0x01,0xf5,0xe8,0x16,0x8e,0x82,0x40,0x0f,0x30,0x19,0x03,0xcf,0xe1,0x43,0x80,0x64,0x38,0x05,0xf9,0x80,0x70,0x24,0xe0,0xf1,0x07,0x30,0x3d,0x20,0x17,0xe8,0x06,0x20,0x1f,0x9b,0xe8,0x0e,0x10,0x1f,0x95,0x68,0x36,0x0c,0x1f,0x92,0xaf,0xc2,0xb9,0xc1,0xeb,0x16,0x77,0x88,0x3f,0x21,0x40,0xf9,0x81,0x40,0x22,0x00,0x43,0x07,0xc4,0x12,0x01,0x08,0x07,0xe7,0xe3,0xff,0x07,0x07,0xe0,0xd1,0x81,0xee,}; | ||||||
| const uint8_t _A_Box_128x51_1[] = {0x01,0x00,0x3f,0x01,0x00,0x78,0x03,0xe0,0x1f,0x08,0x08,0x3f,0x61,0x11,0xe0,0x7e,0xc1,0x3c,0x02,0x0d,0x82,0x40,0x21,0xd0,0x0e,0x05,0xfc,0x1f,0x30,0x28,0x04,0x42,0x01,0x30,0xc0,0x08,0xe4,0x1e,0x32,0x02,0x18,0xc0,0x20,0xc0,0xf8,0xff,0xc0,0x41,0xe2,0x33,0x10,0x88,0x80,0x1e,0x03,0x0e,0x07,0x88,0xcc,0xc1,0xf1,0x30,0x07,0x98,0x0c,0x40,0x0d,0x80,0x2e,0x0c,0x44,0x26,0x30,0x0a,0x00,0x3e,0x60,0x11,0x60,0x7f,0x46,0x01,0xe4,0x06,0x20,0x7c,0x16,0xc4,0x1f,0xe8,0xd2,0x48,0x38,0xe0,0x81,0xe3,0x81,0x30,0x08,0x3f,0x2a,0xb1,0x58,0x04,0x1c,0x1f,0x7a,0xb9,0x54,0x02,0x34,0x0f,0x8c,0x02,0xb4,0x7f,0xf1,0x78,0x05,0x90,0x1e,0xc9,0x81,0xa0,0x03,0xca,0x5f,0x00,0xc2,0x10,0x18,0x1e,0x3c,0x09,0xfc,0x03,0xfc,0x1f,0x18,0x41,0x48,0x41,0xed,0x20,0xe0,0x40,0xff,0xd0,0xa6,0x80,0x89,0x44,0x1e,0xe1,0xe1,0xab,0xc1,0x41,0xe2,0xf1,0x60,0x68,0xcc,0x1b,0xc2,0x5e,0x10,0x38,0xbc,0x58,0x1e,0x84,0xb2,0xa0,0x3c,0x58,0x1e,0x52,0x80,0x7f,0x46,0x30,0x49,0x22,0xc0,0x3c,0x58,0x1e,0x50,0x80,0x78,0x97,0x04,0x1f,0x32,0x08,0x46,0x3a,0x01,0x0b,0x04,0x0e,0x04,0x1e,0xf6,0x0f,0xc7,0xcf,0xc0,0x6f,0x10,0x7c,0xe8,0x1b,0x43,0xff,0x85,0xe0,0x20,0x02,0x41,0x07,0xb0,0xf0,0xa0,0x10,0x50,0x78,0xdc,0x99,0xf5,0x00,0xc1,0x51,0xd0,0x82,0x1f,0xbb,0xf5,0xf0,0x1e,0xe6,0x62,0x07,0x94,0x09,0x00,0x20,0xf9,0x64,0x94,0x04,0x1f,0xe0,0x31,0x59,0x90,0x3f,0xc0,0x06,0x68,0x17,0xd0,0x83,0xca,0x21,0x80,0x07,0xf5,0x80,0x1f,0x9e,0x28,0x8c,0x70,0x1e,0xc3,0x72,0x41,0x16,0x13,0xfd,0x83,0x07,0x30,0x3d,0x6f,0x02,0x73,0x00,0x29,0xdc,0x45,0xe4,0x5e,0x10,0x7d,0x43,0x01,0xf9,0x04,0xe0,0x40,0xc1,0xfb,0x38,0x02,0x1a,0x5c,0xc0,0x0b,0x18,0x83,0x83,0xf7,0xc0,0x44,0x53,0x21,0x00,0x28,0x1f,0x20,}; | const uint8_t _A_Box_128x51_1[] = {0x01,0x00,0x40,0x01,0x00,0x78,0x03,0xe0,0x1f,0x08,0x08,0x3f,0x61,0x11,0xe0,0x7e,0xc1,0x3c,0x02,0x0d,0x82,0x40,0x21,0xd0,0x0e,0x05,0xfc,0x1f,0x30,0x28,0x04,0x42,0x01,0x30,0xc0,0x08,0xe4,0x1e,0x32,0x02,0x18,0xc0,0x20,0xc0,0xf8,0xff,0xc0,0x41,0xe2,0x33,0x10,0x88,0x80,0x1e,0x03,0x0e,0x07,0x88,0xcc,0xc1,0xf1,0x30,0x07,0x98,0x0c,0x40,0x0d,0x80,0x2e,0x0c,0x44,0x26,0x30,0x0a,0x00,0x3e,0x60,0x11,0x60,0x7f,0x46,0x01,0xe4,0x06,0x20,0x7c,0x16,0xc4,0x1f,0xe8,0xd2,0x48,0x38,0xe0,0x81,0xe3,0x81,0x30,0x08,0x3f,0x2a,0xb1,0x58,0x04,0x1c,0x1f,0x7a,0xb9,0x54,0x02,0x34,0x0f,0x8c,0x02,0xb4,0x7f,0xf1,0x78,0x05,0x90,0x1e,0xc9,0x81,0xa0,0x03,0xca,0x5f,0x00,0xc2,0x10,0x18,0x1e,0x3c,0x09,0xfc,0x03,0xfc,0x1f,0x18,0x41,0x48,0x41,0xed,0x20,0xe0,0x40,0xff,0xd0,0xa6,0x80,0x89,0x44,0x1e,0xe1,0xe1,0xab,0xc1,0x41,0xe2,0xf1,0x60,0x68,0xcc,0x1b,0xc2,0x5e,0x10,0x38,0xbc,0x58,0x1e,0x84,0xb2,0xa0,0x3c,0x58,0x1e,0x52,0x80,0x7f,0x46,0x30,0x49,0x22,0xc0,0x3c,0x58,0x1e,0x50,0x80,0x78,0x97,0x04,0x1f,0x32,0x08,0x46,0x3a,0x01,0x0b,0x04,0x0e,0x04,0x1e,0xf6,0x0f,0xc7,0xcf,0xc0,0x6f,0x10,0x7c,0xe8,0x1b,0x43,0xff,0x85,0xe0,0x20,0x02,0x41,0x07,0xb0,0xf0,0xa0,0x10,0x50,0x78,0xdc,0x99,0xf5,0x00,0xc1,0x51,0xd0,0x82,0x1f,0xbb,0xf5,0xf0,0x1e,0xe6,0x62,0x07,0x94,0x09,0x00,0x20,0xf9,0x64,0x94,0x04,0x1f,0xe0,0x31,0x59,0x90,0x3f,0xc1,0xa6,0x68,0x17,0xd0,0x83,0xca,0x21,0x80,0x0f,0xb0,0x3d,0xec,0x00,0xfc,0xf1,0x44,0x63,0x80,0xf6,0x1b,0x92,0x08,0xb0,0x9f,0xec,0x18,0x39,0x81,0xeb,0x78,0x13,0x98,0x01,0x4e,0xe2,0x2f,0x22,0xf0,0x83,0xea,0x18,0x0f,0xc8,0x27,0x02,0x06,0x0f,0xd9,0xc0,0x10,0xd2,0xe6,0x00,0x58,0xc4,0x1c,0x1f,0xbe,0x02,0x22,0x99,0x08,0x01,0x40,0xf9,}; | ||||||
| const uint8_t _A_Box_128x51_2[] = {0x01,0x00,0xf6,0x00,0x00,0x7c,0x03,0xf1,0xff,0x83,0x83,0xf2,0x09,0x00,0x84,0x03,0xf2,0x05,0x00,0x88,0x03,0xf2,0x03,0x00,0x90,0x03,0xfc,0x08,0x38,0x0b,0xf8,0x3f,0x6c,0x18,0x00,0x30,0x83,0xee,0x30,0x46,0x20,0x03,0x7f,0x7f,0xf2,0xf3,0x21,0x80,0x44,0x00,0xd0,0x38,0x04,0xc0,0xc8,0x67,0x48,0x17,0xa0,0x10,0x41,0xfe,0x84,0x80,0x7f,0x83,0xcf,0x00,0x06,0x10,0x7f,0xa9,0x20,0x1f,0xe0,0xf4,0xaa,0x83,0xfb,0x54,0x0f,0xea,0xfc,0x06,0x80,0x0f,0xcd,0xfc,0x00,0x1f,0x9c,0x07,0x70,0x83,0xf2,0x61,0x54,0x31,0x18,0x3e,0x57,0x85,0xa0,0x07,0xf7,0x00,0x1f,0xc2,0xfb,0xc0,0x45,0xc0,0xe8,0x0f,0x8a,0x04,0xe0,0x0e,0x50,0x20,0x7c,0xc8,0x3c,0x10,0x70,0x38,0xc1,0x01,0xf3,0x10,0xa0,0x5f,0x80,0xe2,0x43,0x20,0x7c,0x60,0x2a,0xc0,0x71,0x88,0x03,0xe4,0x34,0x32,0xb0,0x7f,0x07,0xc9,0xc0,0xe0,0xf4,0x95,0x21,0x4c,0x7f,0x30,0x0e,0xb8,0x1c,0x5a,0x0e,0x0f,0x2d,0x06,0x01,0x00,0x40,0xfa,0xe0,0x50,0x40,0xe4,0xb0,0x71,0xc9,0xc8,0xc1,0xfd,0x37,0x07,0x16,0x0c,0x1f,0x51,0xf0,0x79,0x63,0x01,0xf5,0x3f,0x07,0x96,0x40,0x1f,0x4b,0xe1,0x79,0x8d,0x80,0x1f,0x5f,0x85,0x68,0x93,0x9c,0x1e,0x9e,0x08,0x0c,0x20,0x1f,0x90,0x08,0x3c,0x18,0x1f,0xbf,0xe8,0x08,0x3f,0x62,0xc8,0xe8,0x07,0xac,0x28,0x1f,0x30,0x22,0xd8,0x81,0x0c,0x1f,0x10,0x48,0x03,0xf8,0x41,0xf7,0xf8,0xff,0xc1,0xc1,0xf8,0x34,0x60,0x7b,0x80,}; | const uint8_t _A_Box_128x51_2[] = {0x01,0x00,0xf9,0x00,0x00,0x7c,0x03,0xf1,0xff,0x83,0x83,0xf2,0x09,0x00,0x84,0x03,0xf2,0x05,0x00,0x88,0x03,0xf2,0x03,0x00,0x90,0x03,0xfc,0x08,0x38,0x0b,0xf8,0x3f,0x6c,0x18,0x00,0x30,0x83,0xee,0x30,0x46,0x20,0x03,0x7f,0x7f,0xf2,0xf3,0x21,0x80,0x44,0x00,0xd0,0x38,0x04,0xc0,0xc8,0x67,0x48,0x17,0xa0,0x10,0x41,0xfe,0x84,0x80,0x7f,0x83,0xcf,0x00,0x06,0x10,0x7f,0xa9,0x20,0x1f,0xe0,0xf4,0xaa,0x83,0xfb,0x54,0x0f,0xea,0xfc,0x06,0x80,0x0f,0xcd,0xfc,0x00,0x1f,0x9c,0x07,0x70,0x83,0xf2,0x61,0x54,0x31,0x18,0x3e,0x57,0x85,0xa0,0x07,0xf7,0x00,0x1f,0xc2,0xfb,0xc0,0x45,0xc0,0xe8,0x0f,0x8a,0x04,0xe0,0x0e,0x50,0x20,0x7c,0xc8,0x3c,0x10,0x70,0x38,0xc1,0x01,0xf3,0x10,0xa0,0x5f,0x80,0xe2,0x43,0x20,0x7c,0x60,0x2a,0xc0,0x71,0x88,0x03,0xe4,0x34,0x32,0xb0,0x7f,0x07,0xc9,0xc0,0xe0,0xf4,0x95,0x21,0x4c,0x7f,0x30,0x0e,0xb8,0x1c,0x5a,0x0e,0x0f,0x2d,0x06,0x01,0x00,0x40,0xfa,0xe0,0x50,0x40,0xe4,0xb0,0x32,0x99,0x8e,0x4e,0x46,0x0f,0x66,0x7b,0xcd,0xc1,0xc5,0x83,0x07,0xd4,0x7c,0x1e,0x58,0xc0,0x7d,0x4f,0xc1,0xe5,0x90,0x07,0xd2,0xf8,0x5e,0x63,0x60,0x07,0xd7,0xe0,0xb2,0x24,0xe7,0x07,0xa7,0x82,0x03,0x08,0x07,0xe4,0x02,0x0f,0x06,0x07,0xef,0xfa,0x02,0x0f,0xd8,0xb2,0x3a,0x01,0xeb,0x0a,0x07,0xcc,0x09,0x6a,0x60,0x41,0x07,0xc4,0x12,0x00,0xfe,0x10,0x7d,0xfe,0x3f,0xf0,0x70,0x7e,0x0d,0x18,0x1e,0xe0,}; | ||||||
| const uint8_t _A_Box_128x51_3[] = {0x01,0x00,0x37,0x01,0x00,0x78,0x03,0xe0,0x1f,0x08,0x08,0x3f,0x61,0x11,0xe0,0x7e,0xc1,0x3c,0x02,0x0d,0x82,0x40,0x21,0xd0,0x0e,0x05,0xfc,0x1f,0x30,0x28,0x04,0x42,0x01,0x30,0xc0,0x08,0xe4,0x1e,0x32,0x02,0x18,0xc0,0x20,0xc0,0xf8,0xff,0xc0,0x41,0xe2,0x33,0x10,0x88,0x80,0x1e,0x03,0x0e,0x07,0x88,0xcc,0xc1,0xf1,0x30,0x07,0x98,0x0c,0x40,0x0d,0x80,0x2e,0x0c,0x44,0x26,0x30,0x0a,0x00,0x3e,0x60,0x11,0x60,0x7f,0x46,0x01,0xe4,0x06,0x20,0x7c,0x16,0xc4,0x1f,0xe8,0xd2,0x48,0x38,0xe0,0x81,0xe3,0x81,0x30,0x08,0x3f,0x2a,0xb1,0x58,0x04,0x1c,0x1f,0x7a,0xb9,0x54,0x02,0x34,0x0f,0x8c,0x02,0xb4,0x7f,0xf1,0x78,0x05,0x90,0x1e,0xc9,0x81,0xa0,0x03,0xca,0x5f,0x00,0xc2,0x10,0x18,0x1e,0x3c,0x09,0xfc,0x03,0xfc,0x1f,0x18,0x41,0x48,0x41,0xed,0x20,0xe0,0x40,0xff,0xd0,0xa6,0x80,0x89,0x44,0x1e,0xe1,0xe1,0xff,0xdf,0xc1,0xe2,0xf1,0x60,0x68,0xcc,0x1b,0xc4,0x07,0x27,0x8b,0x03,0xde,0x80,0xf1,0x60,0x79,0x4a,0x01,0xfd,0x18,0x07,0x9e,0x01,0xe2,0xc0,0xf2,0x35,0x20,0x3e,0x64,0x10,0x88,0x70,0x20,0xf0,0x20,0xf7,0xb0,0x7e,0x3e,0x60,0xfc,0xd0,0x36,0x85,0x42,0x20,0x01,0xc7,0x83,0xde,0x00,0x99,0x15,0x08,0x81,0x46,0xe2,0xcf,0xa5,0x08,0x88,0xc5,0x9f,0x01,0xf2,0x80,0x55,0x20,0xa0,0xf7,0x33,0x10,0x3c,0x7c,0x1a,0xf3,0x90,0x83,0xe5,0x92,0x35,0x0a,0xf8,0x34,0x41,0xf7,0xb0,0x97,0x81,0x44,0x1f,0x75,0x88,0xf8,0x3e,0x30,0x00,0x21,0x74,0x8e,0xa2,0x54,0x0f,0xda,0xc4,0x74,0x3f,0xd1,0xa0,0x7c,0x01,0xc9,0x04,0x21,0xf2,0x0b,0x90,0x3e,0x76,0x11,0xe0,0x7c,0xa2,0x44,0x5e,0x3c,0x08,0x98,0x3e,0xe1,0x87,0x23,0x07,0xc4,0x11,0xb8,0x60,0xfb,0x9c,0x01,0x0d,0x2e,0x60,0x05,0x8c,0x3a,0x84,0x1f,0x9e,0x02,0x22,0xbd,0xc8,0x01,0x40,0xf9,}; | const uint8_t _A_Box_128x51_3[] = {0x01,0x00,0x3c,0x01,0x00,0x78,0x03,0xe0,0x1f,0x08,0x08,0x3f,0x61,0x11,0xe0,0x7e,0xc1,0x3c,0x02,0x0d,0x82,0x40,0x21,0xd0,0x0e,0x05,0xfc,0x1f,0x30,0x28,0x04,0x42,0x01,0x30,0xc0,0x08,0xe4,0x1e,0x32,0x02,0x18,0xc0,0x20,0xc0,0xf8,0xff,0xc0,0x41,0xe2,0x33,0x10,0x88,0x80,0x1e,0x03,0x0e,0x07,0x88,0xcc,0xc1,0xf1,0x30,0x07,0x98,0x0c,0x40,0x0d,0x80,0x2e,0x0c,0x44,0x26,0x30,0x0a,0x00,0x3e,0x60,0x11,0x60,0x7f,0x46,0x01,0xe4,0x06,0x20,0x7c,0x16,0xc4,0x1f,0xe8,0xd2,0x48,0x38,0xe0,0x81,0xe3,0x81,0x30,0x08,0x3f,0x2a,0xb1,0x58,0x04,0x1c,0x1f,0x7a,0xb9,0x54,0x02,0x34,0x0f,0x8c,0x02,0xb4,0x7f,0xf1,0x78,0x05,0x90,0x1e,0xc9,0x81,0xa0,0x03,0xca,0x5f,0x00,0xc2,0x10,0x18,0x1e,0x3c,0x09,0xfc,0x03,0xfc,0x1f,0x18,0x41,0x48,0x41,0xed,0x20,0xe0,0x40,0xff,0xd0,0xa6,0x80,0x89,0x44,0x1e,0xe1,0xe1,0xff,0xdf,0xc1,0xe2,0xf1,0x60,0x68,0xcc,0x1b,0xc4,0x07,0x27,0x8b,0x03,0xde,0x80,0xf1,0x60,0x79,0x4a,0x01,0xfd,0x18,0x07,0x9e,0x01,0xe2,0xc0,0xf2,0x35,0x20,0x3e,0x64,0x10,0x88,0x70,0x20,0xf0,0x20,0xf7,0xb0,0x7e,0x3e,0x60,0xfc,0xd0,0x36,0x85,0x42,0x20,0x01,0xc7,0x83,0xde,0x00,0x99,0x15,0x08,0x81,0x46,0xe2,0xcf,0xa5,0x08,0x88,0xc5,0x9f,0x01,0xf2,0x80,0x55,0x20,0xa0,0xf7,0x33,0x10,0x3c,0x7c,0x1a,0xf3,0x90,0x83,0xe5,0x92,0x35,0x0a,0xf8,0x34,0x41,0xf7,0xb0,0x97,0x81,0x44,0x1f,0x75,0x88,0xf8,0x3d,0x81,0xa3,0x80,0x02,0x0b,0xa4,0x75,0x12,0xa0,0xfc,0x03,0xd2,0xb1,0x1d,0x07,0xee,0xa2,0x34,0x0f,0x80,0x39,0x20,0x84,0x3e,0x41,0x72,0x07,0xce,0xc2,0x3c,0x0f,0x94,0x48,0x8b,0xc7,0x81,0x13,0x07,0xdc,0x30,0xe4,0x60,0xf8,0x82,0x37,0x0c,0x1f,0x73,0x80,0x21,0xa5,0xcc,0x00,0xb1,0x87,0x50,0x83,0xf3,0xc0,0x44,0x57,0xb9,0x00,0x28,0x1f,0x20,}; | ||||||
| const uint8_t *_A_Box_128x51[] = {_A_Box_128x51_0,_A_Box_128x51_1,_A_Box_128x51_2,_A_Box_128x51_3}; | const uint8_t *_A_Box_128x51[] = {_A_Box_128x51_0,_A_Box_128x51_1,_A_Box_128x51_2,_A_Box_128x51_3}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _A_CardBad_128x51_0[] = {0x01,0x00,0x01,0x01,0x00,0x78,0x03,0xc0,0x1e,0x00,0xf8,0x07,0xfc,0x00,0x33,0xf0,0x75,0x60,0x01,0xe5,0x7f,0x07,0xde,0x4e,0x49,0x49,0xb9,0x03,0xfe,0x01,0x82,0x04,0x0c,0x4a,0x01,0x70,0x8f,0x01,0x46,0x08,0x0f,0x5e,0x30,0x24,0x60,0x50,0x0c,0x44,0x88,0x1f,0x1a,0xaa,0x64,0xeb,0xaf,0x71,0x84,0x48,0xb1,0x93,0xb8,0x39,0x3d,0x72,0x55,0x2a,0x50,0x04,0x6e,0x12,0x2a,0x96,0x28,0x3e,0x20,0xf4,0xc1,0x03,0xcf,0x01,0x22,0xa1,0x03,0xf0,0x7e,0x21,0xf9,0xc6,0x52,0xea,0x57,0x22,0xf8,0xe3,0x21,0x63,0xf6,0x00,0x1d,0x01,0x3f,0xd3,0x05,0x7f,0x83,0xfc,0x1f,0xe0,0xf5,0xcf,0xfc,0xee,0x77,0xe0,0x5b,0x7e,0x28,0x10,0x18,0x25,0x02,0x7f,0xf9,0x93,0x87,0xde,0x11,0x00,0x07,0x8e,0x82,0xff,0xfc,0xc7,0x83,0xe2,0xb9,0x19,0x83,0xf4,0x01,0xf5,0x78,0xa9,0x69,0x60,0x9f,0x01,0x7d,0xd4,0xb7,0xa0,0xf1,0x27,0xd0,0x3c,0x70,0xa0,0xf1,0x37,0xd0,0xfc,0xc1,0xf6,0x00,0x30,0x7f,0xf0,0x01,0xff,0xff,0x83,0xfe,0x01,0xfb,0xf9,0xf0,0x83,0xf6,0x19,0xc6,0x07,0xb0,0xe8,0xe0,0x34,0x0f,0xfc,0x1b,0x90,0x0f,0x69,0x80,0x0c,0xa0,0x5a,0x0f,0xfc,0xd8,0x1e,0xf1,0x80,0x19,0x41,0x3a,0x05,0xd1,0xfe,0x03,0xec,0xff,0x51,0x8b,0x84,0x8a,0x04,0x0f,0xcc,0x44,0x4a,0x0c,0x0f,0xd8,0x54,0x38,0x1f,0xb0,0x68,0xf0,0x7f,0xc7,0xfe,0x5f,0xf0,0x7e,0x1f,0xfc,0x1f,0xd3,0x85,0xf9,0x83,0xe8,0x14,0x70,0x1f,0x00,0x10,0xa7,0xe0,0xf5,0x05,0x18,0x25,0x40,0x1e,0x00,0xf0,0x07,0x80,0x28,}; | const uint8_t _A_CardBad_128x51_0[] = {0x01,0x00,0x01,0x01,0x00,0x78,0x03,0xc0,0x1e,0x00,0xf8,0x07,0xfc,0x00,0x33,0xf0,0x75,0x60,0x01,0xe5,0x7f,0x07,0xde,0x4e,0x49,0x49,0xb9,0x03,0xfe,0x01,0x82,0x04,0x0c,0x4a,0x01,0x70,0x8f,0x01,0x46,0x08,0x0f,0x5e,0x30,0x24,0x60,0x50,0x0c,0x44,0x88,0x1f,0x1a,0xaa,0x64,0xeb,0xaf,0x71,0x84,0x48,0xb1,0x93,0xb8,0x39,0x3d,0x72,0x55,0x2a,0x50,0x04,0x6e,0x12,0x2a,0x96,0x28,0x3e,0x20,0xf4,0xc1,0x03,0xcf,0x01,0x22,0xa1,0x03,0xf0,0x7e,0x21,0xf9,0xc6,0x52,0xea,0x57,0x22,0xf8,0xe3,0x21,0x63,0xf6,0x00,0x1d,0x01,0x3f,0xd3,0x05,0x7f,0x83,0xfc,0x1f,0xe0,0xf5,0xcf,0xfc,0xee,0x77,0xe0,0x5b,0x7e,0x28,0x10,0x18,0x25,0x02,0x7f,0xf9,0x93,0x87,0xde,0x11,0x00,0x07,0x8e,0x82,0xff,0xfc,0xc7,0x83,0xe2,0xb9,0x19,0x83,0xf4,0x01,0xf5,0x78,0xa9,0x69,0x60,0x9f,0x01,0x7d,0xd4,0xb7,0xa0,0xf1,0x27,0xd0,0x3c,0x70,0xa0,0xf1,0x37,0xd0,0xfc,0xc1,0xf6,0x00,0x30,0x7f,0xf0,0x01,0xff,0xff,0x83,0xfe,0x01,0xfb,0xf9,0xf0,0x83,0xf6,0x19,0xc6,0x07,0xb0,0xe8,0xe0,0x34,0x0f,0xfc,0x1b,0x90,0x0f,0x69,0x80,0x0c,0xa0,0x5a,0x0f,0xfc,0xd8,0x1e,0xf1,0x80,0x19,0x41,0x3a,0x05,0xd1,0xfe,0x03,0xec,0xff,0x51,0x8b,0x84,0x8a,0x04,0x0f,0xcc,0x44,0x4a,0x0c,0x0f,0xd8,0x54,0x38,0x1f,0xb0,0x68,0xf0,0x7f,0xc7,0xfe,0x5f,0xf0,0x7e,0x1f,0xfc,0x1f,0xd3,0x85,0xf9,0x83,0xe8,0x14,0x70,0x1f,0x00,0x10,0xa7,0xe0,0xf5,0x05,0x18,0x25,0x40,0x1e,0x00,0xf0,0x07,0x80,0x28,}; | ||||||
| @ -107,8 +107,8 @@ const uint8_t _A_Level1ReadActive_128x51_0[] = {0x01,0x00,0x06,0x02,0x00,0x2e,0x | |||||||
| const uint8_t _A_Level1ReadActive_128x51_1[] = {0x01,0x00,0x06,0x02,0x00,0x2e,0x03,0xff,0x03,0x07,0xe7,0x82,0x01,0x30,0x07,0xe4,0x72,0x01,0xc0,0x07,0xe4,0x18,0x04,0x30,0x10,0x10,0xfe,0x3f,0xff,0xfb,0xf8,0x3d,0x47,0xa5,0x07,0x21,0x8c,0x7c,0x0a,0x3b,0x82,0x72,0xc0,0x84,0x44,0x31,0x41,0xb2,0xf0,0x05,0x85,0x0c,0xa0,0x06,0x50,0x1e,0x96,0x00,0x19,0x43,0x2c,0x12,0x02,0x74,0x06,0x8e,0x11,0x20,0x90,0x83,0xe0,0xf8,0x71,0x89,0x07,0x83,0xb8,0x00,0x10,0x7a,0xc4,0x00,0x67,0x30,0x90,0x49,0x40,0x02,0x48,0x20,0xd9,0xf0,0x0d,0x43,0x10,0x88,0x03,0xea,0x40,0x4b,0x10,0xfd,0xc3,0x03,0x62,0x43,0x12,0xf8,0x83,0xca,0xaa,0x0f,0x69,0x70,0x3c,0x6f,0x0b,0xe9,0x07,0x8c,0xf6,0x01,0x38,0x9e,0x03,0xe6,0x09,0x90,0x9f,0x83,0xc7,0xdc,0x03,0x14,0xc0,0xa7,0xd6,0x09,0xf0,0x07,0x97,0xfe,0x1e,0xf7,0x2f,0xe0,0x3d,0x60,0x13,0xe6,0xc8,0xdf,0xfe,0x0e,0xe1,0xff,0xc1,0xc1,0xeb,0xe0,0x80,0xf8,0x25,0xfc,0x09,0xfb,0xf5,0xc1,0xe3,0x18,0x83,0xc7,0xae,0x84,0xe9,0x07,0x8c,0x22,0x19,0x00,0xf0,0x03,0xed,0xba,0x2f,0x91,0x4d,0x28,0x01,0x20,0x40,0x43,0x25,0x28,0x3e,0x44,0x82,0x00,0x88,0x18,0xf8,0x40,0x03,0x06,0x05,0xaf,0xfb,0xc2,0xeb,0x18,0x1c,0x78,0x48,0xb2,0x01,0x98,0xe0,0x20,0x73,0xf6,0xd8,0xc0,0x62,0x7d,0x84,0xe0,0xc0,0xd1,0xe5,0x30,0x07,0x8a,0xd0,0xe0,0x31,0x18,0x07,0xeb,0x8f,0x03,0xa0,0x02,0x86,0x4e,0x0f,0x3a,0x06,0x03,0x03,0xf1,0x8f,0xe6,0x3f,0xf0,0x1b,0x00,0x68,0x81,0xe7,0xc0,0xe0,0x01,0x06,0xa1,0x1b,0xe7,0x8f,0x44,0x34,0x40,0xf2,0xfc,0x7f,0xdc,0xa5,0x10,0x87,0xdf,0x3f,0xd2,0x10,0x78,0xe8,0x01,0xe3,0xe7,0xff,0xd0,0xc1,0xe5,0xa4,0x83,0xdc,0x3c,0x60,0xf2,0xa8,0x0b,0x07,0xfe,0x34,0x1b,0x07,0x02,0x01,0xf4,0xff,0xfa,0x7f,0xa0,0xf2,0x94,0x0f,0xcf,0x31,0x77,0x1b,0x0f,0xf3,0xf3,0xff,0xc3,0xd8,0x47,0x22,0x44,0x1e,0x07,0x88,0xea,0x37,0x20,0x78,0xf1,0x02,0x23,0x83,0xe0,0xcf,0xe0,0x17,0x06,0xa0,0xa9,0x8a,0xaa,0x0f,0x1f,0x23,0xbc,0x78,0x30,0x18,0x1b,0x90,0xd4,0xc5,0x59,0x01,0x08,0x7c,0x7c,0x16,0x18,0x38,0x28,0x41,0xeb,0xd1,0x01,0x0e,0x10,0x1e,0x33,0x18,0x20,0xa8,0x41,0xeb,0x81,0x01,0x0f,0x18,0x1e,0x31,0x08,0x44,0x13,0xff,0x7f,0x07,0x9e,0x00,0xc6,0x5c,0x20,0x79,0xff,0xe0,0xf2,0x08,0x0e,0x00,0xbc,0x37,0xf0,0x79,0x7a,0x01,0xe3,0x30,0x84,0x07,0x05,0x10,0x20,0x01,0xfe,0x45,0x46,0xa4,0x88,0x1d,0x04,0xc3,0x10,0xbf,0x4f,0xec,0x0d,0x68,0x20,0xf1,0x94,0x83,0xe1,0xc8,0x50,0x10,0x78,0xce,0x5b,0xa2,0x0f,0x37,0x7a,0x58,0x21,0x28,0x81,0x96,0xc0,0x26,0x15,0x00,0x79,0x28,0x44,0x82,0x56,0x08,0x54,0x09,0xca,0x2d,0xa1,0xb0,0x61,0x37,0x7f,0xf9,0x8a,0x04,0xf4,0x10,0xd8,0x37,0x03,0x85,0x01,0xa8,0x54,0x30,0x81,0xd1,0x00,0x14,0x0d,0xe2,0x30,0xb8,0x67,0xc3,0x81,0x37,0xa8,0x57,0x13,0x24,0x00,0x23,0xf8,0x88,0x47,0xf1,0x7c,0x03,0x0f,0x46,0xde,0x0f,0x50,0x01,0xf8,0x1d,0x25,0xff,0xf0,0x85,0xc4,0x00,0x40,}; | const uint8_t _A_Level1ReadActive_128x51_1[] = {0x01,0x00,0x06,0x02,0x00,0x2e,0x03,0xff,0x03,0x07,0xe7,0x82,0x01,0x30,0x07,0xe4,0x72,0x01,0xc0,0x07,0xe4,0x18,0x04,0x30,0x10,0x10,0xfe,0x3f,0xff,0xfb,0xf8,0x3d,0x47,0xa5,0x07,0x21,0x8c,0x7c,0x0a,0x3b,0x82,0x72,0xc0,0x84,0x44,0x31,0x41,0xb2,0xf0,0x05,0x85,0x0c,0xa0,0x06,0x50,0x1e,0x96,0x00,0x19,0x43,0x2c,0x12,0x02,0x74,0x06,0x8e,0x11,0x20,0x90,0x83,0xe0,0xf8,0x71,0x89,0x07,0x83,0xb8,0x00,0x10,0x7a,0xc4,0x00,0x67,0x30,0x90,0x49,0x40,0x02,0x48,0x20,0xd9,0xf0,0x0d,0x43,0x10,0x88,0x03,0xea,0x40,0x4b,0x10,0xfd,0xc3,0x03,0x62,0x43,0x12,0xf8,0x83,0xca,0xaa,0x0f,0x69,0x70,0x3c,0x6f,0x0b,0xe9,0x07,0x8c,0xf6,0x01,0x38,0x9e,0x03,0xe6,0x09,0x90,0x9f,0x83,0xc7,0xdc,0x03,0x14,0xc0,0xa7,0xd6,0x09,0xf0,0x07,0x97,0xfe,0x1e,0xf7,0x2f,0xe0,0x3d,0x60,0x13,0xe6,0xc8,0xdf,0xfe,0x0e,0xe1,0xff,0xc1,0xc1,0xeb,0xe0,0x80,0xf8,0x25,0xfc,0x09,0xfb,0xf5,0xc1,0xe3,0x18,0x83,0xc7,0xae,0x84,0xe9,0x07,0x8c,0x22,0x19,0x00,0xf0,0x03,0xed,0xba,0x2f,0x91,0x4d,0x28,0x01,0x20,0x40,0x43,0x25,0x28,0x3e,0x44,0x82,0x00,0x88,0x18,0xf8,0x40,0x03,0x06,0x05,0xaf,0xfb,0xc2,0xeb,0x18,0x1c,0x78,0x48,0xb2,0x01,0x98,0xe0,0x20,0x73,0xf6,0xd8,0xc0,0x62,0x7d,0x84,0xe0,0xc0,0xd1,0xe5,0x30,0x07,0x8a,0xd0,0xe0,0x31,0x18,0x07,0xeb,0x8f,0x03,0xa0,0x02,0x86,0x4e,0x0f,0x3a,0x06,0x03,0x03,0xf1,0x8f,0xe6,0x3f,0xf0,0x1b,0x00,0x68,0x81,0xe7,0xc0,0xe0,0x01,0x06,0xa1,0x1b,0xe7,0x8f,0x44,0x34,0x40,0xf2,0xfc,0x7f,0xdc,0xa5,0x10,0x87,0xdf,0x3f,0xd2,0x10,0x78,0xe8,0x01,0xe3,0xe7,0xff,0xd0,0xc1,0xe5,0xa4,0x83,0xdc,0x3c,0x60,0xf2,0xa8,0x0b,0x07,0xfe,0x34,0x1b,0x07,0x02,0x01,0xf4,0xff,0xfa,0x7f,0xa0,0xf2,0x94,0x0f,0xcf,0x31,0x77,0x1b,0x0f,0xf3,0xf3,0xff,0xc3,0xd8,0x47,0x22,0x44,0x1e,0x07,0x88,0xea,0x37,0x20,0x78,0xf1,0x02,0x23,0x83,0xe0,0xcf,0xe0,0x17,0x06,0xa0,0xa9,0x8a,0xaa,0x0f,0x1f,0x23,0xbc,0x78,0x30,0x18,0x1b,0x90,0xd4,0xc5,0x59,0x01,0x08,0x7c,0x7c,0x16,0x18,0x38,0x28,0x41,0xeb,0xd1,0x01,0x0e,0x10,0x1e,0x33,0x18,0x20,0xa8,0x41,0xeb,0x81,0x01,0x0f,0x18,0x1e,0x31,0x08,0x44,0x13,0xff,0x7f,0x07,0x9e,0x00,0xc6,0x5c,0x20,0x79,0xff,0xe0,0xf2,0x08,0x0e,0x00,0xbc,0x37,0xf0,0x79,0x7a,0x01,0xe3,0x30,0x84,0x07,0x05,0x10,0x20,0x01,0xfe,0x45,0x46,0xa4,0x88,0x1d,0x04,0xc3,0x10,0xbf,0x4f,0xec,0x0d,0x68,0x20,0xf1,0x94,0x83,0xe1,0xc8,0x50,0x10,0x78,0xce,0x5b,0xa2,0x0f,0x37,0x7a,0x58,0x21,0x28,0x81,0x96,0xc0,0x26,0x15,0x00,0x79,0x28,0x44,0x82,0x56,0x08,0x54,0x09,0xca,0x2d,0xa1,0xb0,0x61,0x37,0x7f,0xf9,0x8a,0x04,0xf4,0x10,0xd8,0x37,0x03,0x85,0x01,0xa8,0x54,0x30,0x81,0xd1,0x00,0x14,0x0d,0xe2,0x30,0xb8,0x67,0xc3,0x81,0x37,0xa8,0x57,0x13,0x24,0x00,0x23,0xf8,0x88,0x47,0xf1,0x7c,0x03,0x0f,0x46,0xde,0x0f,0x50,0x01,0xf8,0x1d,0x25,0xff,0xf0,0x85,0xc4,0x00,0x40,}; | ||||||
| const uint8_t *_A_Level1ReadActive_128x51[] = {_A_Level1ReadActive_128x51_0,_A_Level1ReadActive_128x51_1}; | const uint8_t *_A_Level1ReadActive_128x51[] = {_A_Level1ReadActive_128x51_0,_A_Level1ReadActive_128x51_1}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _A_Level1Read_128x51_0[] = {0x01,0x00,0xa4,0x01,0x00,0x2e,0x03,0xff,0x03,0x07,0xe7,0x82,0x01,0x30,0x07,0xe4,0x72,0x01,0xc0,0x07,0xe4,0x18,0x04,0x30,0x10,0x7d,0x8f,0x4a,0x0e,0x4e,0xb8,0x10,0x89,0x00,0x11,0xc0,0x16,0x14,0x30,0x1f,0x56,0x00,0x19,0x03,0xee,0x80,0x03,0x28,0x40,0x3e,0x8f,0x87,0x18,0x07,0xd4,0x40,0x06,0xc0,0x07,0x8c,0x70,0x21,0xe0,0xfd,0xb0,0x03,0x44,0x1f,0x70,0xc9,0x04,0x81,0x81,0x90,0xc8,0x84,0xb8,0x1f,0xd3,0xd8,0x04,0xe0,0x1f,0x50,0x4c,0x84,0xfc,0x1f,0xe0,0xff,0x07,0xed,0x82,0x3f,0xe0,0x97,0x83,0xee,0x31,0x07,0x8f,0x5d,0x01,0xf7,0x08,0x6e,0x8f,0x80,0x1f,0x6d,0xd2,0xc0,0x40,0x41,0xf3,0x02,0x02,0x1c,0x1c,0x1f,0xc2,0x41,0x00,0x44,0x0c,0x08,0x70,0x60,0x5a,0xff,0xbc,0x31,0xf0,0x7a,0x89,0x0a,0x40,0x33,0x1c,0x04,0x0e,0x7e,0xdb,0x12,0x50,0xf6,0x21,0xe1,0x41,0xf8,0x7f,0xff,0xed,0x41,0xc0,0x05,0x46,0xc0,0x5a,0x3f,0xd7,0x1e,0x07,0x40,0x02,0x8c,0x9c,0x1e,0x74,0x03,0x52,0x7f,0xe0,0x36,0x00,0xd1,0x03,0xcf,0x81,0xc0,0x09,0x90,0x14,0x47,0xa2,0x06,0x30,0x78,0xfe,0x3f,0xe1,0x82,0x0f,0x0d,0xff,0xfd,0x21,0x02,0x8e,0x80,0x1e,0x3e,0x7f,0xfd,0x0c,0x1e,0x58,0x0c,0x3c,0x3f,0xc6,0x0f,0x2a,0x80,0x98,0x7f,0xe3,0x41,0x07,0x96,0xc3,0xfd,0xff,0xfe,0x83,0xca,0x50,0x3f,0x3c,0xc4,0xdc,0x86,0x58,0x0f,0xfe,0x1e,0xc2,0x39,0x1e,0x78,0x20,0x7c,0x47,0x51,0x99,0x12,0x0a,0x71,0xf8,0xc1,0xf0,0x67,0xf0,0x0b,0x81,0xa4,0x54,0xc5,0x15,0x01,0x0f,0x82,0x7f,0xe0,0xe0,0xc0,0x54,0xc2,0x79,0x25,0x31,0x46,0x41,0xe5,0x20,0xf0,0x58,0x60,0xe0,0xa1,0x07,0xac,0x44,0x04,0x33,0x00,0x78,0xcc,0x60,0x82,0xa1,0x07,0xac,0x06,0xe1,0x00,0x8e,0x03,0xc6,0x21,0x08,0x82,0x21,0x04,0x1e,0x66,0x21,0xe0,0x70,0x60,0xe0,0xf3,0xff,0x81,0x46,0x02,0x67,0x10,0xa0,0xa7,0x49,0x58,0x3e,0x09,0x84,0x20,0x38,0x2b,0x92,0x80,0x7f,0x0b,0xc4,0x40,0x2d,0x04,0xc3,0x10,0xbf,0x4f,0xec,0x0f,0x41,0x08,0x07,0xdb,0x90,0xa1,0x20,0xf2,0x86,0x48,0x01,0xe6,0xef,0x40,0x7a,0x42,0xa6,0x15,0x00,0x79,0x28,0x44,0x82,0x56,0x08,0x53,0x7c,0xa0,0xb5,0x0b,0x06,0x13,0x77,0xff,0x98,0xa0,0x4f,0x41,0x0d,0x07,0x94,0x1e,0xa1,0x50,0xc2,0x07,0x44,0x00,0x50,0x37,0x88,0xc2,0xdb,0xe4,0x2e,0x1a,0xe2,0x64,0x80,0x04,0x7f,0x18,0x0c,0x40,0x66,0x5f,0x8e,0x8d,0xbc,0x1e,0xa0,0x02,0xf8,0x00,0x86,0x70,0x17,0x1f,0x08,0xe4,0x40,0x04,}; | const uint8_t _A_Level1Read_128x51_0[] = {0x01,0x00,0xa4,0x01,0x00,0x2e,0x03,0xff,0x03,0x07,0xe7,0x82,0x01,0x30,0x07,0xe4,0x72,0x01,0xc0,0x07,0xe4,0x18,0x04,0x30,0x10,0x7d,0x8f,0x4a,0x0e,0x4e,0xb8,0x10,0x89,0x00,0x11,0xc0,0x16,0x14,0x30,0x1f,0x56,0x00,0x19,0x03,0xee,0x80,0x03,0x28,0x40,0x3e,0x8f,0x87,0x18,0x07,0xd4,0x40,0x06,0xc0,0x07,0x8c,0x70,0x21,0xe0,0xfd,0xb0,0x03,0x44,0x1f,0x70,0xc9,0x04,0x81,0x81,0x90,0xc8,0x84,0xb8,0x1f,0xd3,0xd8,0x04,0xe0,0x1f,0x50,0x4c,0x80,0x3f,0xe7,0xe0,0xff,0x07,0xed,0x82,0x3f,0xe0,0x97,0x83,0xee,0x31,0x07,0x8f,0x5d,0x01,0xf7,0x08,0x6e,0x8f,0x80,0x1f,0x6d,0xd2,0xc0,0x40,0x41,0xf3,0x02,0x02,0x1c,0x1c,0x1f,0xc2,0x41,0x00,0x44,0x0c,0x08,0x70,0x60,0x5a,0xff,0xbc,0x31,0xf0,0x7a,0x89,0x0a,0x40,0x33,0x1c,0x04,0x0e,0x7e,0xdb,0x12,0x50,0xf6,0x21,0xe1,0x41,0xf8,0x7f,0xff,0xed,0x41,0xc0,0x05,0x46,0xc0,0x5a,0x3f,0xd7,0x1e,0x07,0x40,0x02,0x8c,0x9c,0x1e,0x74,0x03,0x52,0x7f,0xe0,0x36,0x00,0xd1,0x03,0xcf,0x81,0xc0,0x09,0x90,0x14,0x47,0xa2,0x06,0x30,0x78,0xfe,0x3f,0xe1,0x82,0x0f,0x0d,0xff,0xfd,0x21,0x02,0x8e,0x80,0x1e,0x3e,0x7f,0xfd,0x0c,0x1e,0x58,0x0c,0x3c,0x3f,0xc6,0x0f,0x2a,0x80,0x98,0x7f,0xe3,0x41,0x07,0x96,0xc3,0xfd,0xff,0xfe,0x83,0xca,0x50,0x3f,0x3c,0xc4,0xdc,0x86,0x58,0x0f,0xfe,0x1e,0xc2,0x39,0x1e,0x78,0x20,0x7c,0x47,0x51,0x99,0x12,0x0a,0x71,0xf8,0xc1,0xf0,0x67,0xf0,0x0b,0x81,0xa4,0x54,0xc5,0x15,0x01,0x0f,0x82,0x7f,0xe0,0xe0,0xc0,0x54,0xc2,0x79,0x25,0x31,0x46,0x41,0xe5,0x20,0xf0,0x58,0x60,0xe0,0xa1,0x07,0xac,0x44,0x04,0x33,0x00,0x78,0xcc,0x60,0x82,0xa1,0x07,0xac,0x06,0xe1,0x00,0x8e,0x03,0xc6,0x21,0x08,0x82,0x21,0x04,0x1e,0x66,0x21,0xe0,0x70,0x60,0xe0,0xf3,0xff,0x81,0x46,0x02,0x67,0x10,0xa0,0xa7,0x49,0x58,0x3e,0x09,0x84,0x20,0x38,0x2b,0x92,0x80,0x7f,0x0b,0xc4,0x40,0x2d,0x04,0xc3,0x10,0xbf,0x4f,0xec,0x0f,0x41,0x08,0x07,0xdb,0x90,0xa1,0x20,0xf2,0x86,0x48,0x01,0xe6,0xef,0x40,0x7a,0x42,0xa6,0x15,0x00,0x79,0x28,0x44,0x82,0x56,0x08,0x53,0x7c,0xa0,0xb5,0x0b,0x06,0x13,0x77,0xff,0x98,0xa0,0x4f,0x41,0x0d,0x07,0x94,0x1e,0xa1,0x50,0xc2,0x07,0x44,0x00,0x50,0x37,0x88,0xc2,0xdb,0xe4,0x2e,0x1a,0xe2,0x64,0x80,0x04,0x7f,0x18,0x0c,0x40,0x66,0x5f,0x8e,0x8d,0xbc,0x1e,0xa0,0x02,0xf8,0x00,0x86,0x70,0x17,0x1f,0x08,0xe4,0x40,0x04,}; | ||||||
| const uint8_t _A_Level1Read_128x51_1[] = {0x01,0x00,0xb0,0x01,0x00,0x2e,0x03,0xff,0x03,0x07,0xe7,0x82,0x01,0x30,0x07,0xe4,0x72,0x01,0xc0,0x07,0xe4,0x18,0x04,0x30,0x10,0x7d,0x8f,0x4a,0x0e,0x4e,0xb8,0x10,0x89,0x00,0x11,0xc0,0x16,0x14,0x30,0x1f,0x56,0x00,0x19,0x03,0xee,0x80,0x03,0x28,0x40,0x3e,0x8f,0x87,0x18,0x07,0xd4,0x40,0x06,0xc0,0x07,0x8c,0x70,0x23,0xe0,0xfd,0x90,0x48,0x01,0xf9,0x0c,0x88,0x03,0xc5,0x81,0x70,0xcc,0x84,0x9c,0x1f,0xbd,0x09,0x74,0x02,0x70,0x0f,0xa8,0x27,0x42,0x5e,0x0f,0xdf,0x80,0x3f,0xe7,0xe0,0xfd,0xf0,0x47,0xfc,0x02,0x11,0x07,0xd4,0x62,0x0f,0x1e,0xba,0x03,0xee,0x10,0xdd,0x1f,0x00,0x3e,0xdb,0xa5,0x80,0x80,0x83,0xe6,0x04,0x04,0x38,0x38,0x3f,0x84,0x82,0x00,0x88,0x18,0x10,0xe0,0xc0,0xb5,0xff,0x78,0x5d,0x62,0x0f,0x41,0x21,0x48,0x06,0x63,0x80,0x81,0xcf,0xdb,0x62,0x4a,0x1e,0xc4,0x3c,0x28,0x3f,0x0f,0xff,0xfd,0xa8,0x38,0x00,0xa8,0xd8,0x0b,0x47,0xfa,0xe3,0xc0,0xe8,0x00,0x51,0x73,0x08,0x3c,0xa8,0x00,0xf3,0xcc,0x7f,0xe0,0x36,0x00,0xd1,0x03,0xcf,0x81,0xc0,0x09,0x94,0x6f,0x9e,0x3d,0x10,0x31,0x03,0xcb,0xf1,0xff,0x0c,0x14,0x02,0x1f,0x7c,0xff,0x48,0x40,0xa3,0xa0,0x07,0x8f,0x9f,0xff,0x43,0x07,0x96,0x02,0x0f,0x70,0xf1,0x83,0xca,0xa0,0x2c,0x1f,0xf8,0xd0,0x41,0xe4,0x5b,0x1f,0x4f,0xf4,0x1e,0x52,0x81,0xf9,0xe6,0x2e,0xe0,0x31,0xfe,0x7e,0x7f,0xf8,0x7b,0x08,0xe4,0x48,0x83,0xc0,0xf1,0x1d,0x46,0xe4,0x15,0x1e,0x38,0x44,0x70,0x7c,0x19,0xfc,0x02,0xe0,0x69,0x15,0x31,0x55,0x42,0xa2,0xed,0x1f,0x07,0x06,0x02,0xa6,0x13,0xc9,0x29,0x8a,0xb3,0x00,0x9c,0x1c,0x87,0xc1,0x61,0x83,0x82,0x84,0x1e,0xbd,0x13,0x68,0x91,0x87,0xc1,0x31,0x82,0x0a,0x84,0x1e,0xb8,0x14,0x99,0x03,0xc6,0x21,0x08,0x82,0x7f,0xef,0xe0,0xf3,0xc0,0x28,0xcc,0x1e,0x7f,0xf8,0x3c,0x82,0x03,0x80,0x2f,0x0d,0xfc,0x1e,0x44,0xf2,0x98,0x42,0x03,0x82,0xb9,0x23,0x40,0xc5,0x46,0xa4,0xbb,0x1d,0x04,0xc3,0x10,0xbf,0x4f,0xec,0x0d,0x68,0x20,0xfb,0x72,0x14,0x04,0x1e,0x33,0x80,0x88,0x83,0xcd,0xde,0x96,0x08,0x4a,0x20,0x65,0x90,0x09,0x85,0x40,0x1e,0x4a,0x11,0x20,0x95,0x82,0x14,0x63,0x1f,0x33,0x68,0x6c,0x18,0x4d,0xdf,0xfe,0x62,0x81,0x3d,0x04,0x35,0x10,0x3c,0x38,0x0d,0x42,0xa1,0x84,0x0e,0x88,0x00,0xa0,0x6f,0x11,0x85,0xc3,0x38,0x1c,0x19,0xbd,0x42,0xb8,0x99,0x20,0x01,0x1f,0xc4,0x9a,0x57,0x00,0x30,0xf4,0x6d,0xe0,0xf5,0x00,0x1f,0x82,0x3e,0xe9,0x1f,0xff,0x84,0x2e,0x20,0x02,}; | const uint8_t _A_Level1Read_128x51_1[] = {0x01,0x00,0xb2,0x01,0x00,0x2e,0x03,0xff,0x03,0x07,0xe7,0x82,0x01,0x30,0x07,0xe4,0x72,0x01,0xc0,0x07,0xe4,0x18,0x04,0x30,0x10,0x7d,0x8f,0x4a,0x0e,0x4e,0xb8,0x10,0x89,0x00,0x11,0xc0,0x16,0x14,0x30,0x1f,0x56,0x00,0x19,0x03,0xee,0x80,0x03,0x28,0x40,0x3e,0x8f,0x87,0x18,0x07,0xd4,0x40,0x06,0xc0,0x07,0x8c,0x70,0x23,0xe0,0xfd,0x90,0x48,0x01,0xf9,0x0c,0x88,0x03,0xc5,0x81,0x70,0xcc,0x84,0x9c,0x1f,0xbd,0x09,0x74,0x02,0x70,0x0f,0xa8,0x27,0x42,0x5e,0x0f,0xdf,0x80,0x7f,0xbe,0x13,0xf0,0x7e,0xf8,0x23,0xfe,0x01,0x88,0x83,0xea,0x31,0x07,0x8f,0x5d,0x01,0xf7,0x08,0x6e,0x8f,0x80,0x1f,0x6d,0xd2,0xc0,0x40,0x41,0xf3,0x02,0x02,0x1c,0x1c,0x1f,0xc2,0x41,0x00,0x44,0x0c,0x08,0x70,0x60,0x5a,0xff,0xbc,0x2e,0xb1,0x07,0xa0,0x90,0xa4,0x03,0x31,0xc0,0x40,0xe7,0xed,0xb1,0x25,0x0f,0x62,0x1e,0x14,0x1f,0x87,0xff,0xfe,0xd4,0x1c,0x00,0x54,0x6c,0x05,0xa3,0xfd,0x71,0xe0,0x74,0x00,0x28,0xb9,0x84,0x1e,0x54,0x00,0x79,0xe6,0x3f,0xf0,0x1b,0x00,0x68,0x81,0xe7,0xc0,0xe0,0x04,0xca,0x37,0xcf,0x1e,0x88,0x18,0x81,0xe5,0xf8,0xff,0x86,0x0a,0x01,0x0f,0xbe,0x7f,0xa4,0x20,0x51,0xd0,0x03,0xc7,0xcf,0xff,0xa1,0x83,0xcb,0x01,0x07,0xb8,0x78,0xc1,0xe5,0x50,0x16,0x0f,0xfc,0x68,0x20,0xf2,0x2d,0x8f,0xa7,0xfa,0x0f,0x29,0x40,0xfc,0xf3,0x17,0x70,0x18,0xff,0x3f,0x3f,0xfc,0x3d,0x84,0x72,0x24,0x41,0xe0,0x78,0x8e,0xa3,0x72,0x0a,0x8f,0x1c,0x22,0x38,0x3e,0x0c,0xfe,0x01,0x70,0x34,0x8a,0x98,0xaa,0xa1,0x51,0x76,0x8f,0x83,0x83,0x01,0x53,0x09,0xe4,0x94,0xc5,0x59,0x80,0x4e,0x0e,0x43,0xe0,0xb0,0xc1,0xc1,0x42,0x0f,0x5e,0x89,0xb4,0x48,0xc3,0xe0,0x98,0xc1,0x05,0x42,0x0f,0x5c,0x0a,0x4c,0x81,0xe3,0x10,0x84,0x41,0x3f,0xf7,0xf0,0x79,0xe0,0x14,0x66,0x0f,0x3f,0xfc,0x1e,0x41,0x01,0xc0,0x17,0x86,0xfe,0x0f,0x22,0x79,0x4c,0x21,0x01,0xc1,0x5c,0x91,0xa0,0x62,0xa3,0x52,0x5d,0x8e,0x82,0x61,0x88,0x5f,0xa7,0xf6,0x06,0xb4,0x10,0x7d,0xb9,0x0a,0x02,0x0f,0x19,0xc0,0x44,0x41,0xe6,0xef,0x4b,0x04,0x25,0x10,0x32,0xc8,0x04,0xc2,0xa0,0x0f,0x25,0x08,0x90,0x4a,0xc1,0x0a,0x31,0x8f,0x99,0xb4,0x36,0x0c,0x26,0xef,0xff,0x31,0x40,0x9e,0x82,0x1a,0x88,0x1e,0x1c,0x06,0xa1,0x50,0xc2,0x07,0x44,0x00,0x50,0x37,0x88,0xc2,0xe1,0x9c,0x0e,0x0c,0xde,0xa1,0x5c,0x4c,0x90,0x00,0x8f,0xe2,0x4d,0x2b,0x80,0x18,0x7a,0x36,0xf0,0x7a,0x80,0x0f,0xc1,0x1f,0x74,0x8f,0xff,0xc2,0x17,0x10,0x01,0x00,}; | ||||||
| const uint8_t *_A_Level1Read_128x51[] = {_A_Level1Read_128x51_0,_A_Level1Read_128x51_1}; | const uint8_t *_A_Level1Read_128x51[] = {_A_Level1Read_128x51_0,_A_Level1Read_128x51_1}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _A_Level1ToysActive_128x51_0[] = {0x01,0x00,0xe5,0x01,0x00,0x78,0x03,0xc0,0x0d,0xf0,0xff,0x80,0x16,0x7e,0x0f,0x68,0x40,0x1d,0xa8,0x00,0x21,0xff,0x04,0xcc,0x1f,0x3c,0x08,0x1f,0x82,0x02,0x0f,0xbb,0x80,0x10,0x60,0xe0,0xf2,0xf1,0xcb,0x3c,0x31,0x8b,0x3c,0x24,0x1e,0x51,0xc0,0x60,0xc3,0x00,0x43,0x88,0xca,0x48,0xa4,0x3a,0x58,0xa0,0x3c,0xe0,0xc0,0xc1,0x09,0x16,0x23,0x2f,0x24,0x90,0xef,0x64,0x80,0xf3,0x81,0x83,0x06,0x60,0x0f,0x2c,0x84,0xa2,0x43,0x85,0xa2,0x03,0xcb,0x00,0x4c,0x2b,0x00,0xfc,0xf8,0xc3,0xf1,0x9b,0xc3,0x81,0xe3,0xc0,0x3a,0x29,0x7c,0xa4,0x20,0x53,0xa0,0x06,0xc8,0xe4,0x20,0x93,0xe0,0x48,0x00,0xa2,0x4b,0x1a,0x00,0x14,0xa0,0x18,0x03,0xfd,0x03,0xd0,0x86,0x20,0xf8,0x2d,0x90,0x00,0x41,0xe3,0x88,0x07,0xbc,0x40,0x1f,0xd1,0x81,0x68,0xab,0x86,0x04,0x0f,0x1e,0x66,0x36,0x73,0x30,0xcb,0xe3,0x2f,0x34,0x91,0xc0,0xc8,0x02,0x42,0x0f,0x2a,0x95,0x4a,0x94,0xb3,0x1a,0x95,0x08,0x1e,0x5f,0x08,0x88,0x3c,0xeb,0xc0,0xf1,0xc8,0x65,0x3b,0xd3,0x30,0x79,0x5e,0x24,0x47,0x72,0xc4,0x50,0x81,0xe3,0xa0,0xca,0x50,0xa1,0x00,0xf3,0x93,0x40,0x3c,0xd0,0xfc,0x45,0x33,0x25,0x49,0x8c,0x79,0xc7,0xe3,0x4e,0x07,0x8f,0xe2,0xcf,0x00,0xfe,0x46,0x0f,0xe9,0x04,0x01,0x0d,0x21,0xf6,0x20,0xf1,0xc0,0x47,0xe4,0x00,0xa2,0x07,0xa5,0x18,0x06,0x3f,0x89,0x3f,0xc1,0xc2,0x25,0x11,0x3f,0xb0,0x3c,0xa6,0x69,0x31,0x9c,0x3d,0x48,0x1e,0xe6,0xf2,0x80,0x6f,0xff,0xe0,0x06,0x9f,0x83,0xc6,0xc0,0x42,0x1e,0x04,0x7e,0x09,0xe0,0x83,0x6c,0x35,0x58,0x1b,0x5e,0x02,0x0c,0x0c,0x1c,0x04,0x3e,0x01,0xe0,0x87,0xc0,0xac,0x10,0x5a,0x85,0x56,0x83,0xd5,0xc0,0x41,0x51,0x43,0xc0,0x57,0x8f,0xc2,0x07,0x02,0xd8,0x41,0xb7,0x1a,0xae,0x06,0xa8,0x3e,0x20,0xf1,0xa0,0x48,0x0f,0xe2,0xb1,0x1a,0x84,0x36,0xb1,0xd5,0xb0,0xd5,0x70,0x21,0xf2,0x07,0x0c,0x03,0xfc,0x0f,0x1d,0x44,0x2b,0x51,0xaa,0xd0,0x10,0x46,0x0c,0xec,0x19,0x05,0x03,0x01,0xff,0x8f,0xc0,0x6a,0x81,0xf2,0xb0,0x07,0xca,0x0a,0x74,0x2e,0x04,0x04,0x1e,0x3a,0xa0,0xfb,0x0b,0xc5,0x4c,0x3f,0x0c,0x04,0x5e,0x03,0x56,0x8a,0x87,0xce,0x83,0x05,0x54,0x14,0x13,0xfd,0xff,0x8c,0x40,0x75,0x71,0xa0,0xf8,0x97,0xc7,0x81,0x0a,0x07,0x97,0xe3,0xff,0x00,0xc6,0x14,0x86,0x3e,0x1f,0x1c,0x05,0x56,0x81,0x0d,0x81,0xad,0x93,0x1c,0x03,0x20,0xb1,0x4f,0xc3,0xe2,0xc8,0x5c,0x3b,0x39,0xe1,0xa0,0xf4,0xc0,0x60,0x41,0xec,0x1f,0x6f,0x85,0x00,0x3f,0xb3,0xe0,0x7b,0xf0,0x20,0xc0,0xf3,0xe8,0x47,0xc3,0xf0,0x5e,0x4f,0xc4,0x7f,0x80,0xb1,0x10,0xfa,0x83,0xd3,0xc0,0x0c,0x2f,0x07,0xfc,0x00,0x2c,0xb1,0xe0,0x05,0x56,0x7e,0x2d,0x54,0x08,0xdf,0xc1,0x0b,0x3c,0x1f,0x30,0x01,0xef,0x00,0xfe,0xb8,0x03,0xfb,0xc0,0x0f,0xee,0x03,0x15,0x40,0x06,}; | const uint8_t _A_Level1ToysActive_128x51_0[] = {0x01,0x00,0xe5,0x01,0x00,0x78,0x03,0xc0,0x0d,0xf0,0xff,0x80,0x16,0x7e,0x0f,0x68,0x40,0x1d,0xa8,0x00,0x21,0xff,0x04,0xcc,0x1f,0x3c,0x08,0x1f,0x82,0x02,0x0f,0xbb,0x80,0x10,0x60,0xe0,0xf2,0xf1,0xcb,0x3c,0x31,0x8b,0x3c,0x24,0x1e,0x51,0xc0,0x60,0xc3,0x00,0x43,0x88,0xca,0x48,0xa4,0x3a,0x58,0xa0,0x3c,0xe0,0xc0,0xc1,0x09,0x16,0x23,0x2f,0x24,0x90,0xef,0x64,0x80,0xf3,0x81,0x83,0x06,0x60,0x0f,0x2c,0x84,0xa2,0x43,0x85,0xa2,0x03,0xcb,0x00,0x4c,0x2b,0x00,0xfc,0xf8,0xc3,0xf1,0x9b,0xc3,0x81,0xe3,0xc0,0x3a,0x29,0x7c,0xa4,0x20,0x53,0xa0,0x06,0xc8,0xe4,0x20,0x93,0xe0,0x48,0x00,0xa2,0x4b,0x1a,0x00,0x14,0xa0,0x18,0x03,0xfd,0x03,0xd0,0x86,0x20,0xf8,0x2d,0x90,0x00,0x41,0xe3,0x88,0x07,0xbc,0x40,0x1f,0xd1,0x81,0x68,0xab,0x86,0x04,0x0f,0x1e,0x66,0x36,0x73,0x30,0xcb,0xe3,0x2f,0x34,0x91,0xc0,0xc8,0x02,0x42,0x0f,0x2a,0x95,0x4a,0x94,0xb3,0x1a,0x95,0x08,0x1e,0x5f,0x08,0x88,0x3c,0xeb,0xc0,0xf1,0xc8,0x65,0x3b,0xd3,0x30,0x79,0x5e,0x24,0x47,0x72,0xc4,0x50,0x81,0xe3,0xa0,0xca,0x50,0xa1,0x00,0xf3,0x93,0x40,0x3c,0xd0,0xfc,0x45,0x33,0x25,0x49,0x8c,0x79,0xc7,0xe3,0x4e,0x07,0x8f,0xe2,0xcf,0x00,0xfe,0x46,0x0f,0xe9,0x04,0x01,0x0d,0x21,0xf6,0x20,0xf1,0xc0,0x47,0xe4,0x00,0xa2,0x07,0xa5,0x18,0x06,0x3f,0x89,0x3f,0xc1,0xc2,0x25,0x11,0x3f,0xb0,0x3c,0xa6,0x69,0x31,0x9c,0x3d,0x48,0x1e,0xe6,0xf2,0x80,0x6f,0xff,0xe0,0x06,0x9f,0x83,0xc6,0xc0,0x42,0x1e,0x04,0x7e,0x09,0xe0,0x83,0x6c,0x35,0x58,0x1b,0x5e,0x02,0x0c,0x0c,0x1c,0x04,0x3e,0x01,0xe0,0x87,0xc0,0xac,0x10,0x5a,0x85,0x56,0x83,0xd5,0xc0,0x41,0x51,0x43,0xc0,0x57,0x8f,0xc2,0x07,0x02,0xd8,0x41,0xb7,0x1a,0xae,0x06,0xa8,0x3e,0x20,0xf1,0xa0,0x48,0x0f,0xe2,0xb1,0x1a,0x84,0x36,0xb1,0xd5,0xb0,0xd5,0x70,0x21,0xf2,0x07,0x0c,0x03,0xfc,0x0f,0x1d,0x44,0x2b,0x51,0xaa,0xd0,0x10,0x46,0x0c,0xec,0x19,0x05,0x03,0x01,0xff,0x8f,0xc0,0x6a,0x81,0xf2,0xb0,0x07,0xca,0x0a,0x74,0x2e,0x04,0x04,0x1e,0x3a,0xa0,0xfb,0x0b,0xc5,0x4c,0x3f,0x0c,0x04,0x5e,0x03,0x56,0x8a,0x87,0xce,0x83,0x05,0x54,0x14,0x13,0xfd,0xff,0x8c,0x40,0x75,0x71,0xa0,0xf8,0x97,0xc7,0x81,0x0a,0x07,0x97,0xe3,0xff,0x00,0xc6,0x14,0x86,0x3e,0x1f,0x1c,0x05,0x56,0x81,0x0d,0x81,0xad,0x93,0x1c,0x03,0x20,0xb1,0x4f,0xc3,0xe2,0xc8,0x5c,0x3b,0x39,0xe1,0xa0,0xf4,0xc0,0x60,0x41,0xec,0x1f,0x6f,0x85,0x00,0x3f,0xb3,0xe0,0x7b,0xf0,0x20,0xc0,0xf3,0xe8,0x47,0xc3,0xf0,0x5e,0x4f,0xc4,0x7f,0x80,0xb1,0x10,0xfa,0x83,0xd3,0xc0,0x0c,0x2f,0x07,0xfc,0x00,0x2c,0xb1,0xe0,0x05,0x56,0x7e,0x2d,0x54,0x08,0xdf,0xc1,0x0b,0x3c,0x1f,0x30,0x01,0xef,0x00,0xfe,0xb8,0x03,0xfb,0xc0,0x0f,0xee,0x03,0x15,0x40,0x06,}; | ||||||
| @ -186,12 +186,6 @@ const uint8_t _A_Level3Lab_128x51_1[] = {0x01,0x00,0x9f,0x02,0x00,0x1e,0x20,0x04 | |||||||
| const uint8_t _A_Level3Lab_128x51_2[] = {0x01,0x00,0xa6,0x02,0x00,0x1e,0x20,0x04,0x34,0x00,0x39,0xfc,0x3f,0xff,0xf9,0xff,0xf8,0x06,0x3f,0xfc,0xb8,0x3c,0xff,0x10,0x1d,0x84,0x04,0x26,0x59,0xef,0x27,0xe7,0xf7,0xbf,0x07,0x9c,0x1a,0x0d,0xb0,0xc4,0xc4,0x28,0x58,0x80,0x79,0x08,0x04,0x1e,0x70,0x18,0x40,0xdc,0x41,0xeb,0x07,0xfe,0x43,0xc1,0xe3,0x80,0xf8,0x44,0x03,0xef,0x81,0xe1,0xdf,0xc1,0xe3,0x40,0x86,0x48,0xc1,0xe5,0x47,0xc4,0x13,0xc6,0xfe,0x4b,0x3a,0x04,0x82,0x05,0x44,0x17,0x90,0x3c,0xe7,0xf2,0x08,0x07,0x02,0x07,0xf0,0x90,0x40,0x69,0x01,0xf4,0xcf,0x4f,0x23,0xe0,0xf1,0x80,0x41,0xe1,0x11,0x1b,0x0e,0x20,0x7e,0xb3,0xc8,0x7c,0x40,0x1e,0x31,0xe8,0x46,0x47,0x21,0x90,0x2f,0xac,0xf2,0x0e,0x0f,0x2f,0xe4,0x27,0x23,0x68,0xc8,0x83,0xcf,0x39,0x9e,0xde,0x40,0xcf,0x03,0x40,0xfa,0xc2,0xc1,0xe5,0xfc,0xe4,0xc4,0x41,0xe2,0x4f,0x14,0x41,0x6a,0x21,0xff,0x71,0x70,0x8b,0xc7,0x90,0x0f,0x5f,0xe4,0x02,0xeb,0x00,0xa7,0x44,0x09,0xe3,0xf0,0x0f,0x91,0xbc,0x41,0xa3,0x03,0xd1,0xc3,0xa0,0x14,0xc3,0x79,0x0f,0xcb,0xc4,0x0f,0x2c,0x07,0xe2,0xa9,0x07,0x07,0x92,0x3c,0x7f,0x86,0xf1,0x07,0x95,0xf2,0x81,0x04,0xd4,0xc6,0x01,0xe2,0xaf,0x20,0xfa,0x83,0xc7,0xe5,0x5a,0x48,0x8d,0x31,0x9e,0x5e,0x04,0x79,0xff,0xaf,0xf2,0x08,0x4c,0xd5,0x82,0x34,0xc7,0x79,0x5f,0x11,0xe6,0x0f,0x1d,0x04,0x52,0x35,0x80,0x81,0x03,0xc6,0x0d,0x06,0xff,0x63,0xc1,0xe5,0x92,0x9b,0xe4,0x2c,0x51,0xbc,0x00,0x7c,0x9c,0x63,0x03,0xfe,0x03,0xd7,0x24,0x1f,0x15,0x80,0xc0,0x56,0x83,0x03,0xf4,0x43,0xc0,0x83,0x92,0xff,0x83,0xcf,0x01,0xff,0x39,0x09,0x04,0x40,0xa2,0xfc,0x1c,0x94,0x7f,0x2f,0xea,0x07,0x8d,0x82,0x01,0x3f,0x80,0x60,0x04,0x43,0x80,0x8f,0xc0,0x3f,0xd1,0xfc,0xd4,0x12,0x33,0x80,0xbf,0x40,0x2f,0x0b,0xd1,0x19,0x17,0xfa,0x43,0x01,0x86,0x49,0x7f,0x30,0xcc,0x06,0x06,0x03,0xe0,0x80,0x78,0x01,0xe4,0x20,0x1f,0xf4,0x3e,0x55,0x02,0x83,0x5f,0x20,0x11,0x2e,0x04,0x07,0xd1,0x71,0x07,0x8c,0x02,0x11,0x08,0x83,0x51,0x7f,0x9f,0x32,0x60,0xc1,0x07,0xa3,0xc8,0xe0,0x7f,0xcb,0xe3,0x0c,0x07,0x8e,0x0a,0x0f,0x06,0x0b,0x90,0x3c,0x6d,0x00,0x51,0x75,0x88,0x3c,0x95,0x24,0x0f,0x24,0x00,0xda,0x22,0x10,0x08,0xf4,0x0e,0x09,0x08,0x83,0xa3,0x04,0x00,0x59,0x8e,0x38,0x3c,0x4e,0x83,0x1f,0x25,0x0c,0xfa,0x06,0x0f,0x4f,0x81,0x3c,0x67,0xc8,0xe1,0x3f,0x0c,0x1a,0x45,0x03,0x32,0x08,0x3c,0xa7,0x1e,0x0c,0x0c,0xd6,0x00,0x50,0x18,0x1c,0x1a,0x54,0x0f,0x58,0x77,0xc2,0x83,0x18,0x80,0x71,0x23,0x30,0xe8,0x18,0x7c,0x8a,0x02,0x12,0x18,0x1f,0xc2,0x40,0x0f,0x1f,0x44,0x65,0xa6,0x23,0xf1,0x07,0x8c,0x08,0x7c,0x23,0x01,0x90,0x19,0x47,0xe1,0x0c,0x07,0x8e,0x20,0x1e,0x51,0xc2,0xc0,0xc0,0x27,0xd1,0x08,0x64,0xc2,0xf1,0xc6,0x07,0xaf,0x83,0xfe,0x31,0x18,0x78,0x3c,0x7b,0x17,0x8c,0x36,0x1e,0x03,0x88,0x82,0x9b,0x8c,0x24,0x30,0x78,0x44,0x13,0x0d,0x3c,0x81,0x29,0x44,0x1e,0xdf,0xc1,0x40,0xc1,0xf8,0x79,0xf8,0x7e,0x02,0x3b,0x88,0x29,0x88,0x00,0xff,0xe5,0xc1,0x81,0xdc,0x3f,0xd1,0x8c,0x04,0x4f,0x11,0x61,0x17,0x21,0x40,0x6f,0x10,0x29,0x85,0xfe,0x60,0x0f,0x1c,0x86,0x84,0x96,0x20,0x01,0xfc,0x3c,0x44,0x78,0x39,0x8f,0x3d,0x83,0x81,0x12,0xc8,0x50,0x5d,0xa4,0xb9,0x10,0x18,0x83,0xc7,0xb1,0xc3,0xe0,0xd0,0x23,0xda,0x08,0x0c,0x24,0x9a,0x40,0xf2,0x8f,0x40,0xbf,0x1c,0x0c,0x0d,0x86,0x28,0x0f,0x18,0x90,0x2c,0x7f,0xc0,0xf2,0x87,0x40,0xaf,0x1c,0x08,0x1c,0x82,0x18,0xe7,0x18,0xa0,0x2c,0x7d,0x00,0xf2,0x87,0xc0,0x6e,0x2c,0x51,0x5a,0x0a,0x04,0x41,0xe5,0x54,0xee,0xc0,0x78,0x50,0x78,0x0d,0xe0,0x1e,0x33,0x03,0x08,0x83,0xcf,0x51,0xaa,0x80,0xec,0x20,0x60,0xf4,0xe0,0x07,0xd7,0xab,0x81,0xc1,0xc0,0x60,0x33,0xcc,0x04,0xfe,0x60,0x6a,0x10,0xfa,0xc0,0xff,0x0d,0x31,0x8e,0x07,0xc7,0xe1,0xff,}; | const uint8_t _A_Level3Lab_128x51_2[] = {0x01,0x00,0xa6,0x02,0x00,0x1e,0x20,0x04,0x34,0x00,0x39,0xfc,0x3f,0xff,0xf9,0xff,0xf8,0x06,0x3f,0xfc,0xb8,0x3c,0xff,0x10,0x1d,0x84,0x04,0x26,0x59,0xef,0x27,0xe7,0xf7,0xbf,0x07,0x9c,0x1a,0x0d,0xb0,0xc4,0xc4,0x28,0x58,0x80,0x79,0x08,0x04,0x1e,0x70,0x18,0x40,0xdc,0x41,0xeb,0x07,0xfe,0x43,0xc1,0xe3,0x80,0xf8,0x44,0x03,0xef,0x81,0xe1,0xdf,0xc1,0xe3,0x40,0x86,0x48,0xc1,0xe5,0x47,0xc4,0x13,0xc6,0xfe,0x4b,0x3a,0x04,0x82,0x05,0x44,0x17,0x90,0x3c,0xe7,0xf2,0x08,0x07,0x02,0x07,0xf0,0x90,0x40,0x69,0x01,0xf4,0xcf,0x4f,0x23,0xe0,0xf1,0x80,0x41,0xe1,0x11,0x1b,0x0e,0x20,0x7e,0xb3,0xc8,0x7c,0x40,0x1e,0x31,0xe8,0x46,0x47,0x21,0x90,0x2f,0xac,0xf2,0x0e,0x0f,0x2f,0xe4,0x27,0x23,0x68,0xc8,0x83,0xcf,0x39,0x9e,0xde,0x40,0xcf,0x03,0x40,0xfa,0xc2,0xc1,0xe5,0xfc,0xe4,0xc4,0x41,0xe2,0x4f,0x14,0x41,0x6a,0x21,0xff,0x71,0x70,0x8b,0xc7,0x90,0x0f,0x5f,0xe4,0x02,0xeb,0x00,0xa7,0x44,0x09,0xe3,0xf0,0x0f,0x91,0xbc,0x41,0xa3,0x03,0xd1,0xc3,0xa0,0x14,0xc3,0x79,0x0f,0xcb,0xc4,0x0f,0x2c,0x07,0xe2,0xa9,0x07,0x07,0x92,0x3c,0x7f,0x86,0xf1,0x07,0x95,0xf2,0x81,0x04,0xd4,0xc6,0x01,0xe2,0xaf,0x20,0xfa,0x83,0xc7,0xe5,0x5a,0x48,0x8d,0x31,0x9e,0x5e,0x04,0x79,0xff,0xaf,0xf2,0x08,0x4c,0xd5,0x82,0x34,0xc7,0x79,0x5f,0x11,0xe6,0x0f,0x1d,0x04,0x52,0x35,0x80,0x81,0x03,0xc6,0x0d,0x06,0xff,0x63,0xc1,0xe5,0x92,0x9b,0xe4,0x2c,0x51,0xbc,0x00,0x7c,0x9c,0x63,0x03,0xfe,0x03,0xd7,0x24,0x1f,0x15,0x80,0xc0,0x56,0x83,0x03,0xf4,0x43,0xc0,0x83,0x92,0xff,0x83,0xcf,0x01,0xff,0x39,0x09,0x04,0x40,0xa2,0xfc,0x1c,0x94,0x7f,0x2f,0xea,0x07,0x8d,0x82,0x01,0x3f,0x80,0x60,0x04,0x43,0x80,0x8f,0xc0,0x3f,0xd1,0xfc,0xd4,0x12,0x33,0x80,0xbf,0x40,0x2f,0x0b,0xd1,0x19,0x17,0xfa,0x43,0x01,0x86,0x49,0x7f,0x30,0xcc,0x06,0x06,0x03,0xe0,0x80,0x78,0x01,0xe4,0x20,0x1f,0xf4,0x3e,0x55,0x02,0x83,0x5f,0x20,0x11,0x2e,0x04,0x07,0xd1,0x71,0x07,0x8c,0x02,0x11,0x08,0x83,0x51,0x7f,0x9f,0x32,0x60,0xc1,0x07,0xa3,0xc8,0xe0,0x7f,0xcb,0xe3,0x0c,0x07,0x8e,0x0a,0x0f,0x06,0x0b,0x90,0x3c,0x6d,0x00,0x51,0x75,0x88,0x3c,0x95,0x24,0x0f,0x24,0x00,0xda,0x22,0x10,0x08,0xf4,0x0e,0x09,0x08,0x83,0xa3,0x04,0x00,0x59,0x8e,0x38,0x3c,0x4e,0x83,0x1f,0x25,0x0c,0xfa,0x06,0x0f,0x4f,0x81,0x3c,0x67,0xc8,0xe1,0x3f,0x0c,0x1a,0x45,0x03,0x32,0x08,0x3c,0xa7,0x1e,0x0c,0x0c,0xd6,0x00,0x50,0x18,0x1c,0x1a,0x54,0x0f,0x58,0x77,0xc2,0x83,0x18,0x80,0x71,0x23,0x30,0xe8,0x18,0x7c,0x8a,0x02,0x12,0x18,0x1f,0xc2,0x40,0x0f,0x1f,0x44,0x65,0xa6,0x23,0xf1,0x07,0x8c,0x08,0x7c,0x23,0x01,0x90,0x19,0x47,0xe1,0x0c,0x07,0x8e,0x20,0x1e,0x51,0xc2,0xc0,0xc0,0x27,0xd1,0x08,0x64,0xc2,0xf1,0xc6,0x07,0xaf,0x83,0xfe,0x31,0x18,0x78,0x3c,0x7b,0x17,0x8c,0x36,0x1e,0x03,0x88,0x82,0x9b,0x8c,0x24,0x30,0x78,0x44,0x13,0x0d,0x3c,0x81,0x29,0x44,0x1e,0xdf,0xc1,0x40,0xc1,0xf8,0x79,0xf8,0x7e,0x02,0x3b,0x88,0x29,0x88,0x00,0xff,0xe5,0xc1,0x81,0xdc,0x3f,0xd1,0x8c,0x04,0x4f,0x11,0x61,0x17,0x21,0x40,0x6f,0x10,0x29,0x85,0xfe,0x60,0x0f,0x1c,0x86,0x84,0x96,0x20,0x01,0xfc,0x3c,0x44,0x78,0x39,0x8f,0x3d,0x83,0x81,0x12,0xc8,0x50,0x5d,0xa4,0xb9,0x10,0x18,0x83,0xc7,0xb1,0xc3,0xe0,0xd0,0x23,0xda,0x08,0x0c,0x24,0x9a,0x40,0xf2,0x8f,0x40,0xbf,0x1c,0x0c,0x0d,0x86,0x28,0x0f,0x18,0x90,0x2c,0x7f,0xc0,0xf2,0x87,0x40,0xaf,0x1c,0x08,0x1c,0x82,0x18,0xe7,0x18,0xa0,0x2c,0x7d,0x00,0xf2,0x87,0xc0,0x6e,0x2c,0x51,0x5a,0x0a,0x04,0x41,0xe5,0x54,0xee,0xc0,0x78,0x50,0x78,0x0d,0xe0,0x1e,0x33,0x03,0x08,0x83,0xcf,0x51,0xaa,0x80,0xec,0x20,0x60,0xf4,0xe0,0x07,0xd7,0xab,0x81,0xc1,0xc0,0x60,0x33,0xcc,0x04,0xfe,0x60,0x6a,0x10,0xfa,0xc0,0xff,0x0d,0x31,0x8e,0x07,0xc7,0xe1,0xff,}; | ||||||
| const uint8_t *_A_Level3Lab_128x51[] = {_A_Level3Lab_128x51_0,_A_Level3Lab_128x51_1,_A_Level3Lab_128x51_2}; | const uint8_t *_A_Level3Lab_128x51[] = {_A_Level3Lab_128x51_0,_A_Level3Lab_128x51_1,_A_Level3Lab_128x51_2}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_LevelUp2_07_0[] = {0x01,0x00,0xf1,0x00,0x00,0x37,0xf2,0x02,0x0f,0xd8,0x3c,0xfc,0x1d,0x9c,0x0e,0x0f,0x84,0x1f,0x96,0x0b,0x86,0x00,0x61,0x91,0x88,0xc4,0x02,0x06,0x0f,0xb8,0x24,0x32,0x01,0x02,0x07,0xe4,0x1a,0x00,0x01,0x10,0x05,0x41,0xbc,0x70,0xf1,0x08,0x80,0x2a,0x05,0x19,0x88,0x42,0x01,0xf7,0x83,0xe6,0xc9,0xca,0x22,0x00,0xaf,0xfe,0x92,0xdf,0x10,0x07,0xde,0x07,0xaf,0x5f,0x98,0x03,0xee,0x03,0xd4,0xef,0x48,0x01,0xfb,0x9f,0x07,0xe5,0x24,0x1e,0x34,0x00,0x7e,0x65,0x3a,0xe0,0xfc,0xa5,0xcb,0x29,0x00,0xfc,0x81,0x76,0x2f,0xf8,0x00,0x7e,0x4f,0xe8,0x60,0xfc,0xfd,0x7c,0x70,0x20,0xfc,0x86,0x03,0x4a,0x02,0xdf,0xb4,0x19,0x83,0xea,0x07,0x00,0x6f,0x08,0x3e,0xb0,0x00,0xb1,0x7f,0x08,0x3e,0xb8,0x00,0x21,0x83,0x83,0xed,0x76,0x3e,0x01,0xfe,0x4c,0x30,0x11,0xf0,0x7e,0x44,0x2f,0xc5,0xfd,0xf8,0x17,0xc4,0x5f,0xa3,0xfe,0xb0,0x40,0x27,0x80,0xfc,0xe0,0x7f,0xc6,0x04,0x9f,0xb8,0x82,0xbf,0xa3,0x00,0xfe,0x5e,0x88,0x3f,0xc1,0xfa,0xcd,0x10,0x7e,0xc1,0x01,0x74,0x0f,0xf0,0x07,0x80,0x3c,0x00,0x38,0x8d,0xf4,0x92,0x09,0x5f,0xfa,0x41,0x62,0xa0,0xf8,0xc1,0x03,0xc6,0x83,0x14,0x82,0x03,0xe3,0x30,0x0f,0xed,0x46,0x78,0x1e,0x38,0xff,0x90,0x3e,0x79,0x01,0xf2,0xc0,0xc4,0x81,0xf2,0x3f,0x38,0x0c,0x45,0x07,0x38,0x89,0xf4,0x6e,0xf9,0x1f,0xf8,0xdf,0x43,0xf0,0x00,0xf0,0x07,0x80,0x2c,}; |  | ||||||
| const uint8_t *_I_LevelUp2_07[] = {_I_LevelUp2_07_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_LevelUp2_06_0[] = {0x01,0x00,0x11,0x01,0x00,0x37,0xf2,0x02,0x0f,0xd8,0x3c,0xfc,0x1d,0x9c,0x0e,0x0f,0x84,0x17,0x18,0x00,0x19,0x58,0x2e,0x18,0x01,0x84,0xc1,0x80,0x43,0x18,0x8c,0x40,0x20,0x60,0xf8,0x86,0x00,0x86,0x08,0x03,0x18,0x10,0xfe,0xe0,0x82,0x31,0x12,0x95,0xe0,0x65,0x3e,0x38,0x78,0x94,0xa1,0xc0,0xf8,0x81,0x46,0x62,0x10,0x80,0x29,0x03,0xe3,0x07,0xcd,0x93,0x94,0x44,0x01,0x5f,0xfd,0x25,0xbe,0x20,0x0f,0xbc,0x0f,0x5e,0xbf,0x30,0x07,0xdc,0x07,0xa9,0xde,0x90,0x03,0xf7,0x3e,0x0f,0xca,0x48,0x3c,0x68,0x00,0xfc,0xca,0x75,0xc1,0xf9,0x4b,0x96,0x52,0x01,0xf9,0x02,0xec,0x5f,0xdc,0xc6,0x0f,0x99,0xfd,0x0c,0x1e,0x5c,0x00,0x7c,0x7e,0xbe,0x38,0x10,0xf9,0xac,0xc8,0x00,0x36,0x07,0x91,0x83,0x4a,0x02,0x2f,0xa7,0x61,0x03,0xe1,0xaa,0x70,0x31,0x51,0x07,0xeb,0x00,0x0b,0x17,0xf0,0x83,0xe8,0xb0,0x50,0x70,0x7d,0xae,0xc7,0xc0,0x4f,0xc9,0x86,0x02,0x3e,0x0f,0xc8,0x85,0xf8,0xbf,0x40,0x02,0xf8,0x17,0xc4,0x5f,0xa3,0xfe,0x51,0x0c,0xf0,0x1f,0x9c,0x0f,0xf8,0xc0,0x81,0xf0,0xc5,0x28,0x80,0xfd,0x19,0xc8,0x00,0x48,0xc0,0x3e,0xd8,0x04,0x09,0x31,0x7c,0x0e,0xc8,0x1e,0xaa,0x61,0x66,0x23,0xfc,0xcf,0xfb,0x00,0x82,0x02,0xe8,0x1f,0xe0,0x0f,0x00,0x78,0x00,0x71,0x1b,0xe9,0x24,0x12,0xbf,0xf4,0x82,0xc5,0x41,0xf1,0x82,0x07,0x8d,0x06,0x29,0x04,0x07,0xc6,0x60,0x1f,0xda,0x8c,0xf0,0x3c,0x71,0xff,0x20,0x7c,0xf2,0x03,0xe5,0x81,0x89,0x03,0xe4,0x7e,0x70,0x18,0x8a,0x0e,0x71,0x13,0xe8,0xdd,0xf2,0x3f,0xf1,0xbe,0x87,0xe0,0x01,0xe0,0x0f,0x00,0x58,}; |  | ||||||
| const uint8_t *_I_LevelUp2_06[] = {_I_LevelUp2_06_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_LevelUp2_04_0[] = {0x01,0x00,0x16,0x01,0x00,0x37,0xf2,0x02,0x0f,0xda,0xbc,0xfc,0x1d,0x9c,0x0f,0x5f,0xac,0x1f,0x97,0x0b,0xaf,0x54,0x61,0x9b,0x8d,0xd6,0xaa,0x06,0x0f,0xba,0xa5,0x76,0xaa,0x0f,0xcd,0x66,0xbb,0x55,0x06,0x07,0xdd,0x5b,0xef,0x5f,0x86,0x83,0xef,0x55,0xbb,0xdd,0x42,0x81,0xf7,0xd7,0xee,0xdd,0xe3,0xa0,0xfb,0xff,0xeb,0xbd,0xf1,0xa0,0x7d,0xf5,0x7a,0xf5,0xf9,0xa8,0x36,0x60,0x90,0x0d,0x5f,0xfb,0xfd,0x2a,0xb0,0x03,0xe2,0x39,0x00,0xaa,0xf5,0x7b,0xf7,0x59,0xc0,0x3e,0x26,0x10,0x0f,0x5f,0xfb,0x7f,0x6a,0x84,0x0f,0xea,0xba,0x40,0x1a,0xa9,0x3e,0xfd,0x7a,0xef,0x57,0xa9,0x3f,0x9d,0xdb,0xff,0x55,0x3f,0x9b,0xff,0x5e,0xa8,0x1f,0x7f,0xef,0xaf,0x57,0xab,0xf1,0x07,0xd3,0x78,0x40,0x03,0x01,0x06,0xc4,0x08,0x7e,0x35,0x50,0x00,0x83,0xe6,0x1c,0x9f,0x10,0xfe,0x46,0x30,0x01,0xd1,0xae,0x87,0xea,0x01,0xc0,0x0e,0x8e,0xbc,0x3f,0x50,0x0b,0x05,0x57,0xea,0x21,0x1e,0x08,0x3e,0x76,0x07,0xf1,0x10,0x8e,0x06,0x06,0x0f,0x8a,0x85,0xfc,0xbf,0x90,0x0f,0x81,0x7f,0x60,0x17,0x01,0xf9,0x83,0xe7,0x81,0xe1,0xd5,0x6f,0x83,0xf7,0x70,0xe0,0x7f,0xea,0xe3,0xfc,0x30,0x10,0xff,0x20,0x15,0x82,0xfe,0xc0,0x35,0x01,0xff,0x0f,0xf6,0xb0,0x3f,0xd5,0x40,0xff,0x87,0xc8,0x1d,0x40,0x0f,0x00,0x76,0x23,0x7d,0x24,0x82,0x57,0xfe,0x90,0x58,0xa8,0x3e,0x30,0x40,0xf1,0xa0,0xc5,0x20,0x80,0xf8,0xcc,0x03,0xfb,0x51,0x9e,0x07,0x8e,0x3f,0xe4,0x0f,0x9e,0x40,0x7c,0xb0,0x31,0x20,0x7c,0x8f,0xce,0x03,0x11,0x82,0x17,0xe6,0x7d,0x1b,0xbe,0x47,0xfe,0x37,0xd0,0xfc,0x00,0x3c,0x01,0xe0,0x0b,}; | const uint8_t _I_LevelUp2_04_0[] = {0x01,0x00,0x16,0x01,0x00,0x37,0xf2,0x02,0x0f,0xda,0xbc,0xfc,0x1d,0x9c,0x0f,0x5f,0xac,0x1f,0x97,0x0b,0xaf,0x54,0x61,0x9b,0x8d,0xd6,0xaa,0x06,0x0f,0xba,0xa5,0x76,0xaa,0x0f,0xcd,0x66,0xbb,0x55,0x06,0x07,0xdd,0x5b,0xef,0x5f,0x86,0x83,0xef,0x55,0xbb,0xdd,0x42,0x81,0xf7,0xd7,0xee,0xdd,0xe3,0xa0,0xfb,0xff,0xeb,0xbd,0xf1,0xa0,0x7d,0xf5,0x7a,0xf5,0xf9,0xa8,0x36,0x60,0x90,0x0d,0x5f,0xfb,0xfd,0x2a,0xb0,0x03,0xe2,0x39,0x00,0xaa,0xf5,0x7b,0xf7,0x59,0xc0,0x3e,0x26,0x10,0x0f,0x5f,0xfb,0x7f,0x6a,0x84,0x0f,0xea,0xba,0x40,0x1a,0xa9,0x3e,0xfd,0x7a,0xef,0x57,0xa9,0x3f,0x9d,0xdb,0xff,0x55,0x3f,0x9b,0xff,0x5e,0xa8,0x1f,0x7f,0xef,0xaf,0x57,0xab,0xf1,0x07,0xd3,0x78,0x40,0x03,0x01,0x06,0xc4,0x08,0x7e,0x35,0x50,0x00,0x83,0xe6,0x1c,0x9f,0x10,0xfe,0x46,0x30,0x01,0xd1,0xae,0x87,0xea,0x01,0xc0,0x0e,0x8e,0xbc,0x3f,0x50,0x0b,0x05,0x57,0xea,0x21,0x1e,0x08,0x3e,0x76,0x07,0xf1,0x10,0x8e,0x06,0x06,0x0f,0x8a,0x85,0xfc,0xbf,0x90,0x0f,0x81,0x7f,0x60,0x17,0x01,0xf9,0x83,0xe7,0x81,0xe1,0xd5,0x6f,0x83,0xf7,0x70,0xe0,0x7f,0xea,0xe3,0xfc,0x30,0x10,0xff,0x20,0x15,0x82,0xfe,0xc0,0x35,0x01,0xff,0x0f,0xf6,0xb0,0x3f,0xd5,0x40,0xff,0x87,0xc8,0x1d,0x40,0x0f,0x00,0x76,0x23,0x7d,0x24,0x82,0x57,0xfe,0x90,0x58,0xa8,0x3e,0x30,0x40,0xf1,0xa0,0xc5,0x20,0x80,0xf8,0xcc,0x03,0xfb,0x51,0x9e,0x07,0x8e,0x3f,0xe4,0x0f,0x9e,0x40,0x7c,0xb0,0x31,0x20,0x7c,0x8f,0xce,0x03,0x11,0x82,0x17,0xe6,0x7d,0x1b,0xbe,0x47,0xfe,0x37,0xd0,0xfc,0x00,0x3c,0x01,0xe0,0x0b,}; | ||||||
| const uint8_t *_I_LevelUp2_04[] = {_I_LevelUp2_04_0}; | const uint8_t *_I_LevelUp2_04[] = {_I_LevelUp2_04_0}; | ||||||
| 
 | 
 | ||||||
| @ -201,33 +195,39 @@ const uint8_t *_I_LevelUp2_05[] = {_I_LevelUp2_05_0}; | |||||||
| const uint8_t _I_LevelUp2_01_0[] = {0x01,0x00,0xdc,0x00,0x00,0x37,0xe2,0x02,0x0f,0xd8,0x3c,0xfc,0x1d,0x9c,0x08,0x0f,0x80,0x1f,0x96,0x08,0x06,0x00,0x61,0x91,0x80,0x10,0xc0,0xc1,0xf7,0x04,0x01,0x0c,0x08,0x1f,0xd0,0x60,0x7d,0x83,0x0a,0x18,0x0f,0xb1,0x61,0x42,0x01,0xf7,0x03,0xf8,0x41,0xca,0x44,0x00,0x98,0x0f,0x62,0x09,0x10,0x07,0xe5,0xa2,0x19,0x30,0x07,0xe7,0xb2,0x11,0x20,0x07,0xe7,0x92,0x1e,0x0f,0xe8,0x5d,0x00,0x1f,0x9a,0x48,0x78,0x3f,0x20,0x7e,0xc0,0x7e,0xc0,0xbf,0x10,0x7c,0x00,0x3f,0x3c,0x10,0x30,0x7e,0x80,0x84,0x1f,0x85,0x34,0x6f,0xe8,0x3f,0x20,0x60,0xfd,0xc0,0x02,0xcc,0x1f,0x5c,0x08,0x03,0x34,0x81,0xf4,0xbb,0x18,0x70,0x3f,0x26,0x18,0x02,0x01,0x03,0xea,0x21,0x7e,0x1f,0xef,0xc2,0x07,0x10,0x17,0xec,0x02,0x3c,0x0f,0xcb,0x07,0x00,0x18,0x46,0xfb,0xbf,0xa7,0xf8,0x7c,0x40,0xfc,0x8c,0x03,0xfa,0x10,0x0f,0xf0,0x7f,0x43,0x01,0xfd,0x04,0x05,0xd0,0x3f,0xc0,0x1e,0x00,0xf0,0x00,0xe2,0x37,0xd2,0x48,0x25,0x7f,0xe9,0x05,0x8a,0x83,0xe3,0x04,0x0f,0x1a,0x0c,0x52,0x08,0x0f,0x8c,0xc0,0x3f,0xb5,0x19,0xe0,0x78,0xe3,0xfe,0x40,0xf9,0xe4,0x07,0xcb,0x03,0x12,0x07,0xc8,0xfc,0xe0,0x31,0x14,0x1c,0xe2,0x27,0xd1,0xbb,0xe4,0x7f,0xe3,0x7d,0x0f,0xc0,0x03,0xc0,0x1e,0x00,0xb0,}; | const uint8_t _I_LevelUp2_01_0[] = {0x01,0x00,0xdc,0x00,0x00,0x37,0xe2,0x02,0x0f,0xd8,0x3c,0xfc,0x1d,0x9c,0x08,0x0f,0x80,0x1f,0x96,0x08,0x06,0x00,0x61,0x91,0x80,0x10,0xc0,0xc1,0xf7,0x04,0x01,0x0c,0x08,0x1f,0xd0,0x60,0x7d,0x83,0x0a,0x18,0x0f,0xb1,0x61,0x42,0x01,0xf7,0x03,0xf8,0x41,0xca,0x44,0x00,0x98,0x0f,0x62,0x09,0x10,0x07,0xe5,0xa2,0x19,0x30,0x07,0xe7,0xb2,0x11,0x20,0x07,0xe7,0x92,0x1e,0x0f,0xe8,0x5d,0x00,0x1f,0x9a,0x48,0x78,0x3f,0x20,0x7e,0xc0,0x7e,0xc0,0xbf,0x10,0x7c,0x00,0x3f,0x3c,0x10,0x30,0x7e,0x80,0x84,0x1f,0x85,0x34,0x6f,0xe8,0x3f,0x20,0x60,0xfd,0xc0,0x02,0xcc,0x1f,0x5c,0x08,0x03,0x34,0x81,0xf4,0xbb,0x18,0x70,0x3f,0x26,0x18,0x02,0x01,0x03,0xea,0x21,0x7e,0x1f,0xef,0xc2,0x07,0x10,0x17,0xec,0x02,0x3c,0x0f,0xcb,0x07,0x00,0x18,0x46,0xfb,0xbf,0xa7,0xf8,0x7c,0x40,0xfc,0x8c,0x03,0xfa,0x10,0x0f,0xf0,0x7f,0x43,0x01,0xfd,0x04,0x05,0xd0,0x3f,0xc0,0x1e,0x00,0xf0,0x00,0xe2,0x37,0xd2,0x48,0x25,0x7f,0xe9,0x05,0x8a,0x83,0xe3,0x04,0x0f,0x1a,0x0c,0x52,0x08,0x0f,0x8c,0xc0,0x3f,0xb5,0x19,0xe0,0x78,0xe3,0xfe,0x40,0xf9,0xe4,0x07,0xcb,0x03,0x12,0x07,0xc8,0xfc,0xe0,0x31,0x14,0x1c,0xe2,0x27,0xd1,0xbb,0xe4,0x7f,0xe3,0x7d,0x0f,0xc0,0x03,0xc0,0x1e,0x00,0xb0,}; | ||||||
| const uint8_t *_I_LevelUp2_01[] = {_I_LevelUp2_01_0}; | const uint8_t *_I_LevelUp2_01[] = {_I_LevelUp2_01_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_LevelUp2_02_0[] = {0x01,0x00,0xe1,0x00,0x00,0x37,0xe2,0x02,0x0f,0xda,0xbc,0xfc,0x1d,0x9c,0x0d,0x5f,0xa8,0x1f,0x97,0x0a,0xaf,0x54,0x61,0x9b,0x8d,0x56,0xaa,0x06,0x0f,0xba,0xa5,0x56,0xaa,0x0f,0xcd,0x60,0x7c,0x60,0xc0,0xfb,0xab,0x07,0xc6,0x1a,0x0f,0xb0,0xf0,0xea,0xa1,0x47,0xec,0xfa,0xd5,0xe3,0xa0,0xfb,0xd5,0xfe,0xb5,0xd1,0xa0,0x7d,0xd5,0x6f,0xb5,0xd9,0xa8,0x7f,0x3d,0xda,0xa9,0x50,0x7f,0x3e,0xb5,0xfb,0xa8,0x7f,0x75,0x76,0xa0,0xff,0x55,0x43,0xfb,0xaf,0x70,0x65,0x5b,0xfb,0x57,0xea,0xa7,0xf3,0xd5,0xab,0xd5,0x2f,0xfb,0xab,0x01,0x5f,0xee,0xa8,0x1f,0x61,0xf2,0xaa,0x83,0xec,0x7a,0x21,0xfc,0xc0,0x07,0x88,0x3f,0x7c,0x0d,0x56,0xe8,0x3f,0x96,0x0a,0xaa,0x78,0x43,0xf7,0xb0,0xd5,0x10,0x08,0x1f,0x55,0x0b,0xf8,0xff,0x7e,0x1a,0xb1,0xfe,0xdc,0x07,0xfd,0xe0,0x5f,0x10,0x7e,0xf8,0x03,0xfe,0x30,0x12,0xff,0x6b,0x01,0xfe,0xd4,0x07,0xfc,0x3f,0xda,0xc0,0xff,0x55,0x03,0xfe,0x1f,0x20,0x75,0x00,0x3c,0x01,0xd8,0x8d,0xf4,0x92,0x09,0x5f,0xfa,0x41,0x62,0xa0,0xf8,0xc1,0x03,0xc6,0x83,0x14,0x82,0x03,0xe3,0x30,0x0f,0xed,0x46,0x78,0x1e,0x38,0xff,0x90,0x3e,0x79,0x01,0xf2,0xc0,0xc4,0x81,0xf2,0x3f,0x38,0x0c,0x46,0x08,0x5f,0x99,0xf4,0x6e,0xf9,0x1f,0xf8,0xdf,0x43,0xf0,0x00,0xf0,0x07,0x80,0x2c,}; |  | ||||||
| const uint8_t *_I_LevelUp2_02[] = {_I_LevelUp2_02_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_LevelUp2_03_0[] = {0x01,0x00,0xa3,0x00,0x00,0x37,0xf2,0x02,0x0f,0xdf,0xfc,0xfc,0x1d,0x9c,0x0f,0xff,0xfc,0x1f,0x9f,0x00,0x78,0x8c,0x33,0xf0,0x0f,0x18,0x19,0x3b,0x01,0xfe,0x0f,0x18,0x38,0x3e,0xff,0xc0,0xf1,0x87,0x83,0xfc,0xfd,0x80,0x01,0x8f,0x83,0xfc,0x1f,0xca,0x0c,0x07,0xf8,0x3c,0xaf,0xe0,0xff,0x07,0xf8,0x3f,0x9c,0x18,0x8f,0x20,0x7f,0x83,0xff,0xff,0x01,0x07,0xf8,0x3f,0xcb,0xfc,0x0f,0xac,0x00,0x3f,0xb8,0x00,0xfe,0xf0,0x03,0xfb,0xe0,0x0f,0xf0,0x7f,0x83,0xfc,0x9f,0xe6,0xff,0x07,0xf0,0xc1,0x01,0xf7,0xf8,0x07,0xf8,0x3f,0xc1,0xfd,0xfc,0x07,0xf8,0x3f,0xc1,0xfc,0x00,0xf0,0x06,0xe2,0x37,0xd2,0x48,0x25,0x7f,0xe9,0x05,0x8a,0x83,0xe3,0x04,0x0f,0x1a,0x0c,0x52,0x08,0x0f,0x8c,0xc0,0x3f,0xb5,0x19,0xe0,0x78,0xe3,0xfe,0x40,0xf9,0xe4,0x07,0xcb,0x03,0x12,0x07,0xc8,0xfc,0xe0,0x31,0x18,0x21,0x7e,0x67,0xd1,0xbb,0xe4,0x7f,0xe3,0x7d,0x0f,0xc0,0x03,0xc0,0x1e,0x00,0xb0,}; | const uint8_t _I_LevelUp2_03_0[] = {0x01,0x00,0xa3,0x00,0x00,0x37,0xf2,0x02,0x0f,0xdf,0xfc,0xfc,0x1d,0x9c,0x0f,0xff,0xfc,0x1f,0x9f,0x00,0x78,0x8c,0x33,0xf0,0x0f,0x18,0x19,0x3b,0x01,0xfe,0x0f,0x18,0x38,0x3e,0xff,0xc0,0xf1,0x87,0x83,0xfc,0xfd,0x80,0x01,0x8f,0x83,0xfc,0x1f,0xca,0x0c,0x07,0xf8,0x3c,0xaf,0xe0,0xff,0x07,0xf8,0x3f,0x9c,0x18,0x8f,0x20,0x7f,0x83,0xff,0xff,0x01,0x07,0xf8,0x3f,0xcb,0xfc,0x0f,0xac,0x00,0x3f,0xb8,0x00,0xfe,0xf0,0x03,0xfb,0xe0,0x0f,0xf0,0x7f,0x83,0xfc,0x9f,0xe6,0xff,0x07,0xf0,0xc1,0x01,0xf7,0xf8,0x07,0xf8,0x3f,0xc1,0xfd,0xfc,0x07,0xf8,0x3f,0xc1,0xfc,0x00,0xf0,0x06,0xe2,0x37,0xd2,0x48,0x25,0x7f,0xe9,0x05,0x8a,0x83,0xe3,0x04,0x0f,0x1a,0x0c,0x52,0x08,0x0f,0x8c,0xc0,0x3f,0xb5,0x19,0xe0,0x78,0xe3,0xfe,0x40,0xf9,0xe4,0x07,0xcb,0x03,0x12,0x07,0xc8,0xfc,0xe0,0x31,0x18,0x21,0x7e,0x67,0xd1,0xbb,0xe4,0x7f,0xe3,0x7d,0x0f,0xc0,0x03,0xc0,0x1e,0x00,0xb0,}; | ||||||
| const uint8_t *_I_LevelUp2_03[] = {_I_LevelUp2_03_0}; | const uint8_t *_I_LevelUp2_03[] = {_I_LevelUp2_03_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_LevelUp3_05_0[] = {0x01,0x00,0x34,0x01,0x00,0x37,0xf2,0x0e,0x0f,0xd8,0x3c,0xe0,0x1d,0x9c,0x08,0x6f,0xc0,0x1f,0x96,0x08,0xc6,0x42,0x02,0x0f,0xb8,0xc4,0xc2,0x21,0x03,0x07,0xdc,0x12,0x41,0x10,0x81,0x03,0xfa,0x0c,0x0f,0xb8,0x37,0x82,0x3f,0x0c,0x06,0x45,0x00,0x04,0x30,0x28,0xc4,0x42,0x10,0x6c,0x90,0x10,0xc0,0xf9,0x92,0x78,0xc0,0x5c,0xc0,0x09,0x80,0x35,0x0f,0xfe,0x49,0x69,0x88,0x40,0x2f,0x82,0x07,0x35,0x0f,0x06,0x2f,0x51,0x98,0x60,0x16,0x50,0x5a,0x1a,0x0e,0x53,0xa7,0x20,0x1b,0x11,0xb5,0xc1,0xe3,0xf4,0xcf,0x48,0x0d,0xf6,0x1f,0x1c,0x99,0x35,0xc1,0xeb,0x14,0xe8,0xd0,0xc1,0xf9,0x2c,0xa4,0xd1,0x01,0xf7,0xc2,0xec,0x5f,0xf9,0x00,0xfb,0xc1,0x4f,0xe8,0x7e,0x80,0x7d,0xfe,0xbe,0x78,0x1d,0x3c,0x03,0xfd,0x0f,0x06,0x2c,0x70,0x04,0x30,0xcc,0x16,0x02,0x60,0xa5,0x10,0x03,0x5c,0x12,0x24,0x0c,0x18,0xc0,0x3e,0x13,0x05,0x83,0x80,0x42,0x21,0x80,0xf8,0x68,0x95,0x04,0x62,0x22,0x22,0x78,0xcd,0x82,0x01,0x07,0x81,0x03,0xea,0x41,0x20,0xf0,0x40,0x01,0xf7,0x30,0xd0,0x47,0xc1,0xf9,0x10,0xbf,0x18,0x90,0x01,0x1f,0x08,0x1b,0xd0,0xa0,0x33,0x01,0x7c,0xc0,0x07,0xe2,0x6f,0x10,0x18,0x80,0x1c,0xbc,0x33,0xc8,0x04,0x3e,0x03,0x80,0x18,0xb7,0x82,0x3f,0xc0,0xff,0xc0,0xf8,0x10,0x11,0xfc,0x4e,0x0a,0x04,0xb4,0x22,0x7d,0x2f,0x04,0x02,0x40,0xfb,0x84,0x00,0x48,0x1f,0xe0,0xfb,0x86,0x03,0xfa,0x08,0x0f,0x20,0x05,0x83,0xfc,0x01,0xe0,0x0d,0xc4,0x6f,0xa4,0x90,0x4a,0xff,0xd2,0x0b,0x15,0x07,0xc6,0x08,0x1e,0x34,0x18,0xa4,0x10,0x1f,0x19,0x80,0x7f,0x6a,0x33,0xc0,0xf1,0xc7,0xfc,0x81,0xf3,0xc8,0x0f,0x96,0x06,0x24,0x0f,0x91,0xf9,0xc0,0x62,0x28,0x31,0x07,0xc4,0xfa,0x37,0x7c,0x8f,0xfc,0x6f,0xa1,0xf8,0x00,0x78,0x03,0xc0,0x16,}; | const uint8_t _I_LevelUp2_02_0[] = {0x01,0x00,0xe1,0x00,0x00,0x37,0xe2,0x02,0x0f,0xda,0xbc,0xfc,0x1d,0x9c,0x0d,0x5f,0xa8,0x1f,0x97,0x0a,0xaf,0x54,0x61,0x9b,0x8d,0x56,0xaa,0x06,0x0f,0xba,0xa5,0x56,0xaa,0x0f,0xcd,0x60,0x7c,0x60,0xc0,0xfb,0xab,0x07,0xc6,0x1a,0x0f,0xb0,0xf0,0xea,0xa1,0x47,0xec,0xfa,0xd5,0xe3,0xa0,0xfb,0xd5,0xfe,0xb5,0xd1,0xa0,0x7d,0xd5,0x6f,0xb5,0xd9,0xa8,0x7f,0x3d,0xda,0xa9,0x50,0x7f,0x3e,0xb5,0xfb,0xa8,0x7f,0x75,0x76,0xa0,0xff,0x55,0x43,0xfb,0xaf,0x70,0x65,0x5b,0xfb,0x57,0xea,0xa7,0xf3,0xd5,0xab,0xd5,0x2f,0xfb,0xab,0x01,0x5f,0xee,0xa8,0x1f,0x61,0xf2,0xaa,0x83,0xec,0x7a,0x21,0xfc,0xc0,0x07,0x88,0x3f,0x7c,0x0d,0x56,0xe8,0x3f,0x96,0x0a,0xaa,0x78,0x43,0xf7,0xb0,0xd5,0x10,0x08,0x1f,0x55,0x0b,0xf8,0xff,0x7e,0x1a,0xb1,0xfe,0xdc,0x07,0xfd,0xe0,0x5f,0x10,0x7e,0xf8,0x03,0xfe,0x30,0x12,0xff,0x6b,0x01,0xfe,0xd4,0x07,0xfc,0x3f,0xda,0xc0,0xff,0x55,0x03,0xfe,0x1f,0x20,0x75,0x00,0x3c,0x01,0xd8,0x8d,0xf4,0x92,0x09,0x5f,0xfa,0x41,0x62,0xa0,0xf8,0xc1,0x03,0xc6,0x83,0x14,0x82,0x03,0xe3,0x30,0x0f,0xed,0x46,0x78,0x1e,0x38,0xff,0x90,0x3e,0x79,0x01,0xf2,0xc0,0xc4,0x81,0xf2,0x3f,0x38,0x0c,0x46,0x08,0x5f,0x99,0xf4,0x6e,0xf9,0x1f,0xf8,0xdf,0x43,0xf0,0x00,0xf0,0x07,0x80,0x2c,}; | ||||||
| const uint8_t *_I_LevelUp3_05[] = {_I_LevelUp3_05_0}; | const uint8_t *_I_LevelUp2_02[] = {_I_LevelUp2_02_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_LevelUp3_04_0[] = {0x01,0x00,0x21,0x01,0x00,0x37,0xf2,0x0e,0x0f,0xda,0xbc,0xf4,0x1d,0x9c,0x0d,0x7f,0xe8,0x1f,0x97,0x0a,0xef,0x56,0x02,0x0f,0xbd,0xc6,0xeb,0x75,0x03,0x07,0xdd,0x52,0xeb,0x55,0x07,0xe6,0xb3,0x55,0xba,0x83,0x03,0xee,0xad,0xf5,0xaf,0xc3,0x41,0xf6,0x1e,0x1d,0xd4,0x28,0xfd,0x9d,0xdb,0xbc,0x74,0x1f,0x7f,0xfd,0x77,0xae,0x34,0x0f,0xbe,0xad,0x5e,0xab,0x35,0x06,0xcc,0x12,0x01,0xeb,0xdf,0x7e,0xe5,0x56,0x00,0x7c,0x47,0x20,0x15,0x5f,0xaf,0x7e,0xeb,0x38,0x07,0xc4,0xc0,0x3e,0x5b,0xbb,0x54,0x20,0x7f,0x55,0x5a,0xa9,0x04,0x49,0xf7,0xeb,0x2f,0x8f,0xb8,0x1f,0x7d,0x6e,0xed,0xff,0xba,0x9f,0xcd,0xff,0xaf,0xd4,0x0f,0xbf,0xf7,0xdf,0xab,0xf7,0xf8,0x83,0xeb,0x5d,0xaa,0x60,0x8c,0x04,0x1b,0x10,0x26,0xf8,0x98,0x06,0xba,0x0f,0x98,0x74,0x03,0x56,0x1f,0x1d,0x70,0x3e,0x63,0x18,0x00,0xf1,0x55,0xc1,0xf3,0x00,0xe0,0x7a,0xb5,0x5a,0xfd,0x50,0x3e,0xac,0x17,0x5f,0xad,0x56,0xaf,0xc1,0x07,0xce,0xc0,0xfe,0x24,0x01,0xc0,0xc0,0xc1,0xf1,0x50,0xbf,0x90,0x04,0x7f,0x7f,0x02,0xfe,0xc0,0x2e,0x0f,0xf1,0x3f,0xdf,0x03,0xc3,0xaa,0xdf,0x18,0x04,0x1f,0x37,0x0e,0x07,0xfe,0xaf,0xd5,0xaa,0x8b,0xe8,0xc0,0x5f,0xa3,0xfd,0xc0,0x2b,0x03,0xe1,0x0f,0xe6,0xa0,0xbe,0x21,0xff,0x0f,0xe6,0xb0,0x3f,0xd5,0x40,0xff,0x87,0xc8,0x1d,0x40,0x0f,0x00,0x76,0x23,0x7d,0x24,0x82,0x57,0xfe,0x90,0x58,0xa8,0x3e,0x30,0x40,0xf1,0xa0,0xc5,0x20,0x80,0xf8,0xcc,0x03,0xfb,0x51,0x9e,0x07,0x8e,0x3f,0xe4,0x0f,0x9e,0x40,0x7c,0xb0,0x31,0x20,0x7c,0x8f,0xce,0x03,0x11,0x82,0x17,0xe6,0x7d,0x1b,0xbe,0x47,0xfe,0x37,0xd0,0xfc,0x00,0x3c,0x01,0xe0,0x0b,}; | const uint8_t _I_LevelUp2_06_0[] = {0x01,0x00,0x11,0x01,0x00,0x37,0xf2,0x02,0x0f,0xd8,0x3c,0xfc,0x1d,0x9c,0x0e,0x0f,0x84,0x17,0x18,0x00,0x19,0x58,0x2e,0x18,0x01,0x84,0xc1,0x80,0x43,0x18,0x8c,0x40,0x20,0x60,0xf8,0x86,0x00,0x86,0x08,0x03,0x18,0x10,0xfe,0xe0,0x82,0x31,0x12,0x95,0xe0,0x65,0x3e,0x38,0x78,0x94,0xa1,0xc0,0xf8,0x81,0x46,0x62,0x10,0x80,0x29,0x03,0xe3,0x07,0xcd,0x93,0x94,0x44,0x01,0x5f,0xfd,0x25,0xbe,0x20,0x0f,0xbc,0x0f,0x5e,0xbf,0x30,0x07,0xdc,0x07,0xa9,0xde,0x90,0x03,0xf7,0x3e,0x0f,0xca,0x48,0x3c,0x68,0x00,0xfc,0xca,0x75,0xc1,0xf9,0x4b,0x96,0x52,0x01,0xf9,0x02,0xec,0x5f,0xdc,0xc6,0x0f,0x99,0xfd,0x0c,0x1e,0x5c,0x00,0x7c,0x7e,0xbe,0x38,0x10,0xf9,0xac,0xc8,0x00,0x36,0x07,0x91,0x83,0x4a,0x02,0x2f,0xa7,0x61,0x03,0xe1,0xaa,0x70,0x31,0x51,0x07,0xeb,0x00,0x0b,0x17,0xf0,0x83,0xe8,0xb0,0x50,0x70,0x7d,0xae,0xc7,0xc0,0x4f,0xc9,0x86,0x02,0x3e,0x0f,0xc8,0x85,0xf8,0xbf,0x40,0x02,0xf8,0x17,0xc4,0x5f,0xa3,0xfe,0x51,0x0c,0xf0,0x1f,0x9c,0x0f,0xf8,0xc0,0x81,0xf0,0xc5,0x28,0x80,0xfd,0x19,0xc8,0x00,0x48,0xc0,0x3e,0xd8,0x04,0x09,0x31,0x7c,0x0e,0xc8,0x1e,0xaa,0x61,0x66,0x23,0xfc,0xcf,0xfb,0x00,0x82,0x02,0xe8,0x1f,0xe0,0x0f,0x00,0x78,0x00,0x71,0x1b,0xe9,0x24,0x12,0xbf,0xf4,0x82,0xc5,0x41,0xf1,0x82,0x07,0x8d,0x06,0x29,0x04,0x07,0xc6,0x60,0x1f,0xda,0x8c,0xf0,0x3c,0x71,0xff,0x20,0x7c,0xf2,0x03,0xe5,0x81,0x89,0x03,0xe4,0x7e,0x70,0x18,0x8a,0x0e,0x71,0x13,0xe8,0xdd,0xf2,0x3f,0xf1,0xbe,0x87,0xe0,0x01,0xe0,0x0f,0x00,0x58,}; | ||||||
| const uint8_t *_I_LevelUp3_04[] = {_I_LevelUp3_04_0}; | const uint8_t *_I_LevelUp2_06[] = {_I_LevelUp2_06_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_LevelUp3_06_0[] = {0x01,0x00,0x30,0x01,0x00,0x37,0xf2,0x0e,0x0f,0xd8,0x3c,0xe0,0x1d,0x9c,0x08,0x6f,0xc0,0x17,0x18,0x00,0x19,0x58,0x23,0x19,0x08,0x08,0x42,0x20,0xc0,0x21,0x8c,0x4c,0x22,0x10,0x30,0x7c,0x43,0x00,0x43,0x04,0x90,0x44,0x20,0x43,0xfb,0x07,0x90,0x94,0xaf,0x03,0x29,0xf0,0x47,0xc4,0xa5,0x0e,0x07,0xc4,0x0a,0x31,0x10,0x84,0x01,0x48,0x1f,0x10,0x3e,0x64,0x9e,0x30,0x3f,0xbf,0xfc,0x92,0xd3,0x10,0x07,0xdf,0x06,0x2f,0x51,0x98,0x03,0xee,0x83,0x94,0xe9,0xc8,0x01,0xf9,0xf4,0xcf,0x03,0xf7,0x29,0x93,0xa0,0x03,0xf2,0x29,0xd1,0xa1,0x83,0xf2,0x59,0x49,0xa2,0x03,0xef,0x85,0xd8,0xbf,0xf2,0x01,0xf7,0x82,0x9f,0xd0,0xfd,0x00,0x51,0xe0,0x03,0xe3,0xf5,0xf3,0xc0,0xe9,0xc0,0xc4,0xb3,0x20,0x00,0xd8,0x1e,0x47,0x82,0xc0,0x4c,0x20,0x22,0xfa,0x83,0x03,0x06,0x30,0x0f,0x76,0xa9,0xe0,0xc5,0x43,0x0c,0x0f,0xd6,0x02,0x82,0x31,0x11,0x11,0x00,0x23,0x80,0x43,0x18,0x3c,0x08,0x1f,0x52,0x09,0x07,0x80,0x6c,0x20,0xfa,0x98,0x68,0x23,0xe0,0xfc,0x88,0x5f,0x8c,0x48,0x00,0x8f,0x84,0x0c,0x06,0x30,0x41,0x7d,0xc0,0x07,0xe2,0x6f,0xb2,0xf0,0xcf,0x20,0x10,0xf3,0x7d,0xff,0xe0,0x7c,0x08,0x08,0x3e,0x18,0xa5,0x10,0x80,0x5c,0x20,0x00,0xf1,0x67,0x20,0x01,0x23,0x00,0x12,0x07,0xc3,0x00,0x81,0x22,0x01,0x11,0x7c,0x1b,0x08,0x1e,0xb2,0x06,0x62,0xbf,0xcc,0x3f,0x60,0x02,0x82,0x12,0xe8,0x1f,0xe0,0x0f,0x00,0x78,0x00,0x71,0x1b,0xe9,0x24,0x12,0xbf,0xf4,0x82,0xc5,0x41,0xf1,0x82,0x07,0x8d,0x06,0x29,0x04,0x07,0xc6,0x60,0x1f,0xda,0x8c,0xf0,0x3c,0x71,0xff,0x20,0x7c,0xf2,0x03,0xe5,0x81,0x89,0x03,0xe4,0x7e,0x70,0x18,0x8a,0x0c,0x41,0xf1,0x3e,0x8d,0xdf,0x23,0xff,0x1b,0xe8,0x7e,0x00,0x1e,0x00,0xf0,0x05,0x80,}; | const uint8_t _I_LevelUp2_07_0[] = {0x01,0x00,0xf1,0x00,0x00,0x37,0xf2,0x02,0x0f,0xd8,0x3c,0xfc,0x1d,0x9c,0x0e,0x0f,0x84,0x1f,0x96,0x0b,0x86,0x00,0x61,0x91,0x88,0xc4,0x02,0x06,0x0f,0xb8,0x24,0x32,0x01,0x02,0x07,0xe4,0x1a,0x00,0x01,0x10,0x05,0x41,0xbc,0x70,0xf1,0x08,0x80,0x2a,0x05,0x19,0x88,0x42,0x01,0xf7,0x83,0xe6,0xc9,0xca,0x22,0x00,0xaf,0xfe,0x92,0xdf,0x10,0x07,0xde,0x07,0xaf,0x5f,0x98,0x03,0xee,0x03,0xd4,0xef,0x48,0x01,0xfb,0x9f,0x07,0xe5,0x24,0x1e,0x34,0x00,0x7e,0x65,0x3a,0xe0,0xfc,0xa5,0xcb,0x29,0x00,0xfc,0x81,0x76,0x2f,0xf8,0x00,0x7e,0x4f,0xe8,0x60,0xfc,0xfd,0x7c,0x70,0x20,0xfc,0x86,0x03,0x4a,0x02,0xdf,0xb4,0x19,0x83,0xea,0x07,0x00,0x6f,0x08,0x3e,0xb0,0x00,0xb1,0x7f,0x08,0x3e,0xb8,0x00,0x21,0x83,0x83,0xed,0x76,0x3e,0x01,0xfe,0x4c,0x30,0x11,0xf0,0x7e,0x44,0x2f,0xc5,0xfd,0xf8,0x17,0xc4,0x5f,0xa3,0xfe,0xb0,0x40,0x27,0x80,0xfc,0xe0,0x7f,0xc6,0x04,0x9f,0xb8,0x82,0xbf,0xa3,0x00,0xfe,0x5e,0x88,0x3f,0xc1,0xfa,0xcd,0x10,0x7e,0xc1,0x01,0x74,0x0f,0xf0,0x07,0x80,0x3c,0x00,0x38,0x8d,0xf4,0x92,0x09,0x5f,0xfa,0x41,0x62,0xa0,0xf8,0xc1,0x03,0xc6,0x83,0x14,0x82,0x03,0xe3,0x30,0x0f,0xed,0x46,0x78,0x1e,0x38,0xff,0x90,0x3e,0x79,0x01,0xf2,0xc0,0xc4,0x81,0xf2,0x3f,0x38,0x0c,0x45,0x07,0x38,0x89,0xf4,0x6e,0xf9,0x1f,0xf8,0xdf,0x43,0xf0,0x00,0xf0,0x07,0x80,0x2c,}; | ||||||
| const uint8_t *_I_LevelUp3_06[] = {_I_LevelUp3_06_0}; | const uint8_t *_I_LevelUp2_07[] = {_I_LevelUp2_07_0}; | ||||||
| 
 |  | ||||||
| const uint8_t _I_LevelUp3_07_0[] = {0x01,0x00,0x0b,0x01,0x00,0x37,0xf2,0x0e,0x0f,0xd8,0x3c,0xe0,0x1d,0x9c,0x08,0x6f,0xc0,0x1f,0x96,0x08,0xc6,0x42,0x02,0x0f,0xb8,0xc4,0xc2,0x21,0x03,0x07,0xdc,0x12,0x41,0x10,0x81,0x03,0xfa,0x0c,0x0f,0xb8,0x37,0x82,0x3f,0x0c,0x07,0xdc,0x0a,0x31,0x10,0x84,0x03,0xee,0x07,0xcc,0x93,0xc6,0x01,0xf7,0xff,0x92,0x5a,0x62,0x00,0xfb,0xe0,0xc5,0xea,0x33,0x00,0x7d,0xd0,0x72,0x9d,0x39,0x00,0x3f,0x3e,0x99,0xe0,0x7e,0xe5,0x32,0x74,0x00,0x7e,0x45,0x3a,0x34,0x30,0x7e,0x4b,0x29,0x34,0x40,0x7d,0xf0,0xbb,0x17,0xfe,0x40,0x3e,0xf0,0x53,0xfa,0x1f,0xa0,0x1f,0x7f,0xaf,0x9e,0x07,0x4e,0x0f,0xb8,0x66,0x0b,0x01,0x30,0x80,0xb7,0xec,0x18,0x31,0x80,0x7d,0xe0,0xe0,0x10,0x88,0x60,0x3e,0xb0,0x14,0x11,0x88,0x88,0x88,0x01,0x1c,0x0b,0x04,0x02,0x0f,0x02,0x07,0xd4,0x82,0x41,0xe0,0x80,0x03,0xee,0x61,0xa0,0x8f,0x83,0xf2,0x21,0x7e,0x31,0x20,0x02,0x3e,0x10,0x30,0x18,0xc1,0x05,0xf7,0x00,0x1f,0x89,0xbe,0xcb,0xc3,0x3c,0x80,0x43,0xcd,0xf7,0xff,0x81,0xf0,0x20,0x29,0xfb,0x88,0x40,0x2e,0x10,0x00,0x7d,0xc6,0x00,0x24,0x0f,0xb8,0x40,0x04,0x81,0xfe,0x0f,0xb8,0x60,0x3f,0xa0,0x80,0xf2,0x00,0x58,0x3f,0xc0,0x1e,0x00,0xdc,0x46,0xfa,0x49,0x04,0xaf,0xfd,0x20,0xb1,0x50,0x7c,0x60,0x81,0xe3,0x41,0x8a,0x41,0x01,0xf1,0x98,0x07,0xf6,0xa3,0x3c,0x0f,0x1c,0x7f,0xc8,0x1f,0x3c,0x80,0xf9,0x60,0x62,0x40,0xf9,0x1f,0x9c,0x06,0x22,0x83,0x10,0x7c,0x4f,0xa3,0x77,0xc8,0xff,0xc6,0xfa,0x1f,0x80,0x07,0x80,0x3c,0x01,0x60,}; |  | ||||||
| const uint8_t *_I_LevelUp3_07[] = {_I_LevelUp3_07_0}; |  | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_LevelUp3_03_0[] = {0x01,0x00,0xa3,0x00,0x00,0x37,0xf2,0x02,0x0f,0xdf,0xfc,0xfc,0x1d,0x9c,0x0f,0xff,0xfc,0x1f,0x9f,0x00,0x78,0x8c,0x33,0xf0,0x0f,0x18,0x19,0x3b,0x01,0xfe,0x0f,0x18,0x38,0x3e,0xff,0xc0,0xf1,0x87,0x83,0xfc,0xfd,0x80,0x01,0x8f,0x83,0xfc,0x1f,0xca,0x0c,0x07,0xf8,0x3c,0xaf,0xe0,0xff,0x07,0xf8,0x3f,0x9c,0x18,0x8f,0x20,0x7f,0x83,0xff,0xff,0x01,0x07,0xf8,0x3f,0xcb,0xfc,0x0f,0xac,0x00,0x3f,0xb8,0x00,0xfe,0xf0,0x03,0xfb,0xe0,0x0f,0xf0,0x7f,0x83,0xfc,0x9f,0xe6,0xff,0x07,0xf0,0xc1,0x01,0xf7,0xf8,0x07,0xf8,0x3f,0xc1,0xfd,0xfc,0x07,0xf8,0x3f,0xc1,0xfc,0x00,0xf0,0x06,0xe2,0x37,0xd2,0x48,0x25,0x7f,0xe9,0x05,0x8a,0x83,0xe3,0x04,0x0f,0x1a,0x0c,0x52,0x08,0x0f,0x8c,0xc0,0x3f,0xb5,0x19,0xe0,0x78,0xe3,0xfe,0x40,0xf9,0xe4,0x07,0xcb,0x03,0x12,0x07,0xc8,0xfc,0xe0,0x31,0x18,0x21,0x7e,0x67,0xd1,0xbb,0xe4,0x7f,0xe3,0x7d,0x0f,0xc0,0x03,0xc0,0x1e,0x00,0xb0,}; | const uint8_t _I_LevelUp3_03_0[] = {0x01,0x00,0xa3,0x00,0x00,0x37,0xf2,0x02,0x0f,0xdf,0xfc,0xfc,0x1d,0x9c,0x0f,0xff,0xfc,0x1f,0x9f,0x00,0x78,0x8c,0x33,0xf0,0x0f,0x18,0x19,0x3b,0x01,0xfe,0x0f,0x18,0x38,0x3e,0xff,0xc0,0xf1,0x87,0x83,0xfc,0xfd,0x80,0x01,0x8f,0x83,0xfc,0x1f,0xca,0x0c,0x07,0xf8,0x3c,0xaf,0xe0,0xff,0x07,0xf8,0x3f,0x9c,0x18,0x8f,0x20,0x7f,0x83,0xff,0xff,0x01,0x07,0xf8,0x3f,0xcb,0xfc,0x0f,0xac,0x00,0x3f,0xb8,0x00,0xfe,0xf0,0x03,0xfb,0xe0,0x0f,0xf0,0x7f,0x83,0xfc,0x9f,0xe6,0xff,0x07,0xf0,0xc1,0x01,0xf7,0xf8,0x07,0xf8,0x3f,0xc1,0xfd,0xfc,0x07,0xf8,0x3f,0xc1,0xfc,0x00,0xf0,0x06,0xe2,0x37,0xd2,0x48,0x25,0x7f,0xe9,0x05,0x8a,0x83,0xe3,0x04,0x0f,0x1a,0x0c,0x52,0x08,0x0f,0x8c,0xc0,0x3f,0xb5,0x19,0xe0,0x78,0xe3,0xfe,0x40,0xf9,0xe4,0x07,0xcb,0x03,0x12,0x07,0xc8,0xfc,0xe0,0x31,0x18,0x21,0x7e,0x67,0xd1,0xbb,0xe4,0x7f,0xe3,0x7d,0x0f,0xc0,0x03,0xc0,0x1e,0x00,0xb0,}; | ||||||
| const uint8_t *_I_LevelUp3_03[] = {_I_LevelUp3_03_0}; | const uint8_t *_I_LevelUp3_03[] = {_I_LevelUp3_03_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_LevelUp3_02_0[] = {0x01,0x00,0xf4,0x00,0x00,0x37,0xf2,0x02,0x0f,0xda,0xbc,0xfc,0x1d,0x9c,0x0f,0x5f,0xac,0x1f,0x97,0x0b,0xaf,0x54,0x61,0x9b,0x8d,0xd6,0xaa,0x06,0x0f,0xba,0xa5,0x76,0xaa,0x0f,0xcd,0x66,0xbb,0x55,0x06,0x07,0xdd,0x5b,0xef,0x5f,0x86,0x83,0xef,0x55,0xbb,0xdd,0x42,0x81,0xf7,0xd7,0xee,0xdd,0xe3,0xa0,0xfb,0xff,0xeb,0xbd,0xf1,0xa0,0x7d,0xf5,0x7a,0xf5,0xf9,0xa8,0x3e,0xf5,0x7f,0xef,0xf4,0xa8,0x1f,0x75,0x5e,0xaf,0x7e,0xea,0x0f,0xbf,0x5f,0xfb,0x7f,0x6a,0x07,0xdd,0x74,0x80,0x35,0x50,0xfe,0x6b,0xbd,0x5e,0xa4,0xfe,0x77,0x6f,0xfd,0x54,0xfe,0x6f,0xfd,0x7a,0xa0,0x7d,0xff,0xbe,0xbd,0x5e,0xac,0x04,0x1f,0x4d,0xe1,0x00,0x08,0x3e,0xea,0xd5,0x50,0x00,0x83,0xef,0x56,0x1f,0xdc,0x00,0x74,0x6b,0xa1,0xfb,0xe0,0x07,0x47,0x5e,0x1f,0xbb,0x05,0x57,0xea,0x3f,0xcd,0x81,0xfc,0x47,0xf9,0x50,0xbf,0x97,0xf7,0xe0,0x5f,0xeb,0x80,0xff,0xbc,0x1a,0xad,0xf0,0x7f,0x38,0x1f,0xfa,0xba,0x7f,0x4c,0x02,0xbf,0xda,0xc2,0xff,0xb5,0x01,0xff,0x0f,0xf6,0xb0,0x3f,0xd5,0x40,0xff,0x87,0xc8,0x1d,0x40,0x0f,0x00,0x76,0x23,0x7d,0x24,0x82,0x57,0xfe,0x90,0x58,0xa8,0x3e,0x30,0x40,0xf1,0xa0,0xc5,0x20,0x80,0xf8,0xcc,0x03,0xfb,0x51,0x9e,0x07,0x8e,0x3f,0xe4,0x0f,0x9e,0x40,0x7c,0xb0,0x31,0x20,0x7c,0x8f,0xce,0x03,0x11,0x82,0x17,0xe6,0x7d,0x1b,0xbe,0x47,0xfe,0x37,0xd0,0xfc,0x00,0x3c,0x01,0xe0,0x0b,}; | const uint8_t _I_LevelUp3_07_0[] = {0x01,0x00,0x0b,0x01,0x00,0x37,0xf2,0x0e,0x0f,0xd8,0x3c,0xe0,0x1d,0x9c,0x08,0x6f,0xc0,0x1f,0x96,0x08,0xc6,0x42,0x02,0x0f,0xb8,0xc4,0xc2,0x21,0x03,0x07,0xdc,0x12,0x41,0x10,0x81,0x03,0xfa,0x0c,0x0f,0xb8,0x37,0x82,0x3f,0x0c,0x07,0xdc,0x0a,0x31,0x10,0x84,0x03,0xee,0x07,0xcc,0x93,0xc6,0x01,0xf7,0xff,0x92,0x5a,0x62,0x00,0xfb,0xe0,0xc5,0xea,0x33,0x00,0x7d,0xd0,0x72,0x9d,0x39,0x00,0x3f,0x3e,0x99,0xe0,0x7e,0xe5,0x32,0x74,0x00,0x7e,0x45,0x3a,0x34,0x30,0x7e,0x4b,0x29,0x34,0x40,0x7d,0xf0,0xbb,0x17,0xfe,0x40,0x3e,0xf0,0x53,0xfa,0x1f,0xa0,0x1f,0x7f,0xaf,0x9e,0x07,0x4e,0x0f,0xb8,0x66,0x0b,0x01,0x30,0x80,0xb7,0xec,0x18,0x31,0x80,0x7d,0xe0,0xe0,0x10,0x88,0x60,0x3e,0xb0,0x14,0x11,0x88,0x88,0x88,0x01,0x1c,0x0b,0x04,0x02,0x0f,0x02,0x07,0xd4,0x82,0x41,0xe0,0x80,0x03,0xee,0x61,0xa0,0x8f,0x83,0xf2,0x21,0x7e,0x31,0x20,0x02,0x3e,0x10,0x30,0x18,0xc1,0x05,0xf7,0x00,0x1f,0x89,0xbe,0xcb,0xc3,0x3c,0x80,0x43,0xcd,0xf7,0xff,0x81,0xf0,0x20,0x29,0xfb,0x88,0x40,0x2e,0x10,0x00,0x7d,0xc6,0x00,0x24,0x0f,0xb8,0x40,0x04,0x81,0xfe,0x0f,0xb8,0x60,0x3f,0xa0,0x80,0xf2,0x00,0x58,0x3f,0xc0,0x1e,0x00,0xdc,0x46,0xfa,0x49,0x04,0xaf,0xfd,0x20,0xb1,0x50,0x7c,0x60,0x81,0xe3,0x41,0x8a,0x41,0x01,0xf1,0x98,0x07,0xf6,0xa3,0x3c,0x0f,0x1c,0x7f,0xc8,0x1f,0x3c,0x80,0xf9,0x60,0x62,0x40,0xf9,0x1f,0x9c,0x06,0x22,0x83,0x10,0x7c,0x4f,0xa3,0x77,0xc8,0xff,0xc6,0xfa,0x1f,0x80,0x07,0x80,0x3c,0x01,0x60,}; | ||||||
| const uint8_t *_I_LevelUp3_02[] = {_I_LevelUp3_02_0}; | const uint8_t *_I_LevelUp3_07[] = {_I_LevelUp3_07_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_LevelUp3_01_0[] = {0x01,0x00,0xf1,0x00,0x00,0x37,0xf2,0x02,0x0f,0xd8,0x3c,0xfc,0x1d,0x9c,0x0e,0x0f,0x84,0x1f,0x96,0x0b,0x86,0x00,0x61,0x91,0x88,0xc4,0x02,0x06,0x0f,0xb8,0x24,0x32,0x01,0x02,0x07,0xe4,0x1a,0x00,0x01,0x10,0x05,0x41,0xbc,0x70,0xf1,0x08,0x80,0x2a,0x05,0x19,0x88,0x42,0x01,0xf7,0x83,0xe6,0xc9,0xca,0x22,0x00,0xaf,0xfe,0x92,0xdf,0x10,0x07,0xde,0x07,0xaf,0x5f,0x98,0x03,0xee,0x03,0xd4,0xef,0x48,0x01,0xfb,0x9f,0x07,0xe5,0x24,0x1e,0x34,0x00,0x7e,0x65,0x3a,0xe0,0xfc,0xa5,0xcb,0x29,0x00,0xfc,0x81,0x76,0x2f,0xf8,0x00,0x7e,0x4f,0xe8,0x60,0xfc,0xfd,0x7c,0x70,0x20,0xfc,0x86,0x03,0x4a,0x02,0xdf,0xb4,0x19,0x83,0xea,0x07,0x00,0x6f,0x08,0x3e,0xb0,0x00,0xb1,0x7f,0x08,0x3e,0xb8,0x00,0x21,0x83,0x83,0xed,0x76,0x3e,0x01,0xfe,0x4c,0x30,0x11,0xf0,0x7e,0x44,0x2f,0xc5,0xfd,0xf8,0x17,0xc4,0x5f,0xa3,0xfe,0xb0,0x40,0x27,0x80,0xfc,0xe0,0x7f,0xc6,0x04,0x9f,0xb8,0x82,0xbf,0xa3,0x00,0xfe,0x5e,0x88,0x3f,0xc1,0xfa,0xcd,0x10,0x7e,0xc1,0x01,0x74,0x0f,0xf0,0x07,0x80,0x3c,0x00,0x38,0x8d,0xf4,0x92,0x09,0x5f,0xfa,0x41,0x62,0xa0,0xf8,0xc1,0x03,0xc6,0x83,0x14,0x82,0x03,0xe3,0x30,0x0f,0xed,0x46,0x78,0x1e,0x38,0xff,0x90,0x3e,0x79,0x01,0xf2,0xc0,0xc4,0x81,0xf2,0x3f,0x38,0x0c,0x45,0x07,0x38,0x89,0xf4,0x6e,0xf9,0x1f,0xf8,0xdf,0x43,0xf0,0x00,0xf0,0x07,0x80,0x2c,}; | const uint8_t _I_LevelUp3_01_0[] = {0x01,0x00,0xf1,0x00,0x00,0x37,0xf2,0x02,0x0f,0xd8,0x3c,0xfc,0x1d,0x9c,0x0e,0x0f,0x84,0x1f,0x96,0x0b,0x86,0x00,0x61,0x91,0x88,0xc4,0x02,0x06,0x0f,0xb8,0x24,0x32,0x01,0x02,0x07,0xe4,0x1a,0x00,0x01,0x10,0x05,0x41,0xbc,0x70,0xf1,0x08,0x80,0x2a,0x05,0x19,0x88,0x42,0x01,0xf7,0x83,0xe6,0xc9,0xca,0x22,0x00,0xaf,0xfe,0x92,0xdf,0x10,0x07,0xde,0x07,0xaf,0x5f,0x98,0x03,0xee,0x03,0xd4,0xef,0x48,0x01,0xfb,0x9f,0x07,0xe5,0x24,0x1e,0x34,0x00,0x7e,0x65,0x3a,0xe0,0xfc,0xa5,0xcb,0x29,0x00,0xfc,0x81,0x76,0x2f,0xf8,0x00,0x7e,0x4f,0xe8,0x60,0xfc,0xfd,0x7c,0x70,0x20,0xfc,0x86,0x03,0x4a,0x02,0xdf,0xb4,0x19,0x83,0xea,0x07,0x00,0x6f,0x08,0x3e,0xb0,0x00,0xb1,0x7f,0x08,0x3e,0xb8,0x00,0x21,0x83,0x83,0xed,0x76,0x3e,0x01,0xfe,0x4c,0x30,0x11,0xf0,0x7e,0x44,0x2f,0xc5,0xfd,0xf8,0x17,0xc4,0x5f,0xa3,0xfe,0xb0,0x40,0x27,0x80,0xfc,0xe0,0x7f,0xc6,0x04,0x9f,0xb8,0x82,0xbf,0xa3,0x00,0xfe,0x5e,0x88,0x3f,0xc1,0xfa,0xcd,0x10,0x7e,0xc1,0x01,0x74,0x0f,0xf0,0x07,0x80,0x3c,0x00,0x38,0x8d,0xf4,0x92,0x09,0x5f,0xfa,0x41,0x62,0xa0,0xf8,0xc1,0x03,0xc6,0x83,0x14,0x82,0x03,0xe3,0x30,0x0f,0xed,0x46,0x78,0x1e,0x38,0xff,0x90,0x3e,0x79,0x01,0xf2,0xc0,0xc4,0x81,0xf2,0x3f,0x38,0x0c,0x45,0x07,0x38,0x89,0xf4,0x6e,0xf9,0x1f,0xf8,0xdf,0x43,0xf0,0x00,0xf0,0x07,0x80,0x2c,}; | ||||||
| const uint8_t *_I_LevelUp3_01[] = {_I_LevelUp3_01_0}; | const uint8_t *_I_LevelUp3_01[] = {_I_LevelUp3_01_0}; | ||||||
| 
 | 
 | ||||||
|  | const uint8_t _I_LevelUp3_06_0[] = {0x01,0x00,0x30,0x01,0x00,0x37,0xf2,0x0e,0x0f,0xd8,0x3c,0xe0,0x1d,0x9c,0x08,0x6f,0xc0,0x17,0x18,0x00,0x19,0x58,0x23,0x19,0x08,0x08,0x42,0x20,0xc0,0x21,0x8c,0x4c,0x22,0x10,0x30,0x7c,0x43,0x00,0x43,0x04,0x90,0x44,0x20,0x43,0xfb,0x07,0x90,0x94,0xaf,0x03,0x29,0xf0,0x47,0xc4,0xa5,0x0e,0x07,0xc4,0x0a,0x31,0x10,0x84,0x01,0x48,0x1f,0x10,0x3e,0x64,0x9e,0x30,0x3f,0xbf,0xfc,0x92,0xd3,0x10,0x07,0xdf,0x06,0x2f,0x51,0x98,0x03,0xee,0x83,0x94,0xe9,0xc8,0x01,0xf9,0xf4,0xcf,0x03,0xf7,0x29,0x93,0xa0,0x03,0xf2,0x29,0xd1,0xa1,0x83,0xf2,0x59,0x49,0xa2,0x03,0xef,0x85,0xd8,0xbf,0xf2,0x01,0xf7,0x82,0x9f,0xd0,0xfd,0x00,0x51,0xe0,0x03,0xe3,0xf5,0xf3,0xc0,0xe9,0xc0,0xc4,0xb3,0x20,0x00,0xd8,0x1e,0x47,0x82,0xc0,0x4c,0x20,0x22,0xfa,0x83,0x03,0x06,0x30,0x0f,0x76,0xa9,0xe0,0xc5,0x43,0x0c,0x0f,0xd6,0x02,0x82,0x31,0x11,0x11,0x00,0x23,0x80,0x43,0x18,0x3c,0x08,0x1f,0x52,0x09,0x07,0x80,0x6c,0x20,0xfa,0x98,0x68,0x23,0xe0,0xfc,0x88,0x5f,0x8c,0x48,0x00,0x8f,0x84,0x0c,0x06,0x30,0x41,0x7d,0xc0,0x07,0xe2,0x6f,0xb2,0xf0,0xcf,0x20,0x10,0xf3,0x7d,0xff,0xe0,0x7c,0x08,0x08,0x3e,0x18,0xa5,0x10,0x80,0x5c,0x20,0x00,0xf1,0x67,0x20,0x01,0x23,0x00,0x12,0x07,0xc3,0x00,0x81,0x22,0x01,0x11,0x7c,0x1b,0x08,0x1e,0xb2,0x06,0x62,0xbf,0xcc,0x3f,0x60,0x02,0x82,0x12,0xe8,0x1f,0xe0,0x0f,0x00,0x78,0x00,0x71,0x1b,0xe9,0x24,0x12,0xbf,0xf4,0x82,0xc5,0x41,0xf1,0x82,0x07,0x8d,0x06,0x29,0x04,0x07,0xc6,0x60,0x1f,0xda,0x8c,0xf0,0x3c,0x71,0xff,0x20,0x7c,0xf2,0x03,0xe5,0x81,0x89,0x03,0xe4,0x7e,0x70,0x18,0x8a,0x0c,0x41,0xf1,0x3e,0x8d,0xdf,0x23,0xff,0x1b,0xe8,0x7e,0x00,0x1e,0x00,0xf0,0x05,0x80,}; | ||||||
|  | const uint8_t *_I_LevelUp3_06[] = {_I_LevelUp3_06_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_LevelUp3_04_0[] = {0x01,0x00,0x21,0x01,0x00,0x37,0xf2,0x0e,0x0f,0xda,0xbc,0xf4,0x1d,0x9c,0x0d,0x7f,0xe8,0x1f,0x97,0x0a,0xef,0x56,0x02,0x0f,0xbd,0xc6,0xeb,0x75,0x03,0x07,0xdd,0x52,0xeb,0x55,0x07,0xe6,0xb3,0x55,0xba,0x83,0x03,0xee,0xad,0xf5,0xaf,0xc3,0x41,0xf6,0x1e,0x1d,0xd4,0x28,0xfd,0x9d,0xdb,0xbc,0x74,0x1f,0x7f,0xfd,0x77,0xae,0x34,0x0f,0xbe,0xad,0x5e,0xab,0x35,0x06,0xcc,0x12,0x01,0xeb,0xdf,0x7e,0xe5,0x56,0x00,0x7c,0x47,0x20,0x15,0x5f,0xaf,0x7e,0xeb,0x38,0x07,0xc4,0xc0,0x3e,0x5b,0xbb,0x54,0x20,0x7f,0x55,0x5a,0xa9,0x04,0x49,0xf7,0xeb,0x2f,0x8f,0xb8,0x1f,0x7d,0x6e,0xed,0xff,0xba,0x9f,0xcd,0xff,0xaf,0xd4,0x0f,0xbf,0xf7,0xdf,0xab,0xf7,0xf8,0x83,0xeb,0x5d,0xaa,0x60,0x8c,0x04,0x1b,0x10,0x26,0xf8,0x98,0x06,0xba,0x0f,0x98,0x74,0x03,0x56,0x1f,0x1d,0x70,0x3e,0x63,0x18,0x00,0xf1,0x55,0xc1,0xf3,0x00,0xe0,0x7a,0xb5,0x5a,0xfd,0x50,0x3e,0xac,0x17,0x5f,0xad,0x56,0xaf,0xc1,0x07,0xce,0xc0,0xfe,0x24,0x01,0xc0,0xc0,0xc1,0xf1,0x50,0xbf,0x90,0x04,0x7f,0x7f,0x02,0xfe,0xc0,0x2e,0x0f,0xf1,0x3f,0xdf,0x03,0xc3,0xaa,0xdf,0x18,0x04,0x1f,0x37,0x0e,0x07,0xfe,0xaf,0xd5,0xaa,0x8b,0xe8,0xc0,0x5f,0xa3,0xfd,0xc0,0x2b,0x03,0xe1,0x0f,0xe6,0xa0,0xbe,0x21,0xff,0x0f,0xe6,0xb0,0x3f,0xd5,0x40,0xff,0x87,0xc8,0x1d,0x40,0x0f,0x00,0x76,0x23,0x7d,0x24,0x82,0x57,0xfe,0x90,0x58,0xa8,0x3e,0x30,0x40,0xf1,0xa0,0xc5,0x20,0x80,0xf8,0xcc,0x03,0xfb,0x51,0x9e,0x07,0x8e,0x3f,0xe4,0x0f,0x9e,0x40,0x7c,0xb0,0x31,0x20,0x7c,0x8f,0xce,0x03,0x11,0x82,0x17,0xe6,0x7d,0x1b,0xbe,0x47,0xfe,0x37,0xd0,0xfc,0x00,0x3c,0x01,0xe0,0x0b,}; | ||||||
|  | const uint8_t *_I_LevelUp3_04[] = {_I_LevelUp3_04_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_LevelUp3_02_0[] = {0x01,0x00,0xf4,0x00,0x00,0x37,0xf2,0x02,0x0f,0xda,0xbc,0xfc,0x1d,0x9c,0x0f,0x5f,0xac,0x1f,0x97,0x0b,0xaf,0x54,0x61,0x9b,0x8d,0xd6,0xaa,0x06,0x0f,0xba,0xa5,0x76,0xaa,0x0f,0xcd,0x66,0xbb,0x55,0x06,0x07,0xdd,0x5b,0xef,0x5f,0x86,0x83,0xef,0x55,0xbb,0xdd,0x42,0x81,0xf7,0xd7,0xee,0xdd,0xe3,0xa0,0xfb,0xff,0xeb,0xbd,0xf1,0xa0,0x7d,0xf5,0x7a,0xf5,0xf9,0xa8,0x3e,0xf5,0x7f,0xef,0xf4,0xa8,0x1f,0x75,0x5e,0xaf,0x7e,0xea,0x0f,0xbf,0x5f,0xfb,0x7f,0x6a,0x07,0xdd,0x74,0x80,0x35,0x50,0xfe,0x6b,0xbd,0x5e,0xa4,0xfe,0x77,0x6f,0xfd,0x54,0xfe,0x6f,0xfd,0x7a,0xa0,0x7d,0xff,0xbe,0xbd,0x5e,0xac,0x04,0x1f,0x4d,0xe1,0x00,0x08,0x3e,0xea,0xd5,0x50,0x00,0x83,0xef,0x56,0x1f,0xdc,0x00,0x74,0x6b,0xa1,0xfb,0xe0,0x07,0x47,0x5e,0x1f,0xbb,0x05,0x57,0xea,0x3f,0xcd,0x81,0xfc,0x47,0xf9,0x50,0xbf,0x97,0xf7,0xe0,0x5f,0xeb,0x80,0xff,0xbc,0x1a,0xad,0xf0,0x7f,0x38,0x1f,0xfa,0xba,0x7f,0x4c,0x02,0xbf,0xda,0xc2,0xff,0xb5,0x01,0xff,0x0f,0xf6,0xb0,0x3f,0xd5,0x40,0xff,0x87,0xc8,0x1d,0x40,0x0f,0x00,0x76,0x23,0x7d,0x24,0x82,0x57,0xfe,0x90,0x58,0xa8,0x3e,0x30,0x40,0xf1,0xa0,0xc5,0x20,0x80,0xf8,0xcc,0x03,0xfb,0x51,0x9e,0x07,0x8e,0x3f,0xe4,0x0f,0x9e,0x40,0x7c,0xb0,0x31,0x20,0x7c,0x8f,0xce,0x03,0x11,0x82,0x17,0xe6,0x7d,0x1b,0xbe,0x47,0xfe,0x37,0xd0,0xfc,0x00,0x3c,0x01,0xe0,0x0b,}; | ||||||
|  | const uint8_t *_I_LevelUp3_02[] = {_I_LevelUp3_02_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_LevelUp3_05_0[] = {0x01,0x00,0x34,0x01,0x00,0x37,0xf2,0x0e,0x0f,0xd8,0x3c,0xe0,0x1d,0x9c,0x08,0x6f,0xc0,0x1f,0x96,0x08,0xc6,0x42,0x02,0x0f,0xb8,0xc4,0xc2,0x21,0x03,0x07,0xdc,0x12,0x41,0x10,0x81,0x03,0xfa,0x0c,0x0f,0xb8,0x37,0x82,0x3f,0x0c,0x06,0x45,0x00,0x04,0x30,0x28,0xc4,0x42,0x10,0x6c,0x90,0x10,0xc0,0xf9,0x92,0x78,0xc0,0x5c,0xc0,0x09,0x80,0x35,0x0f,0xfe,0x49,0x69,0x88,0x40,0x2f,0x82,0x07,0x35,0x0f,0x06,0x2f,0x51,0x98,0x60,0x16,0x50,0x5a,0x1a,0x0e,0x53,0xa7,0x20,0x1b,0x11,0xb5,0xc1,0xe3,0xf4,0xcf,0x48,0x0d,0xf6,0x1f,0x1c,0x99,0x35,0xc1,0xeb,0x14,0xe8,0xd0,0xc1,0xf9,0x2c,0xa4,0xd1,0x01,0xf7,0xc2,0xec,0x5f,0xf9,0x00,0xfb,0xc1,0x4f,0xe8,0x7e,0x80,0x7d,0xfe,0xbe,0x78,0x1d,0x3c,0x03,0xfd,0x0f,0x06,0x2c,0x70,0x04,0x30,0xcc,0x16,0x02,0x60,0xa5,0x10,0x03,0x5c,0x12,0x24,0x0c,0x18,0xc0,0x3e,0x13,0x05,0x83,0x80,0x42,0x21,0x80,0xf8,0x68,0x95,0x04,0x62,0x22,0x22,0x78,0xcd,0x82,0x01,0x07,0x81,0x03,0xea,0x41,0x20,0xf0,0x40,0x01,0xf7,0x30,0xd0,0x47,0xc1,0xf9,0x10,0xbf,0x18,0x90,0x01,0x1f,0x08,0x1b,0xd0,0xa0,0x33,0x01,0x7c,0xc0,0x07,0xe2,0x6f,0x10,0x18,0x80,0x1c,0xbc,0x33,0xc8,0x04,0x3e,0x03,0x80,0x18,0xb7,0x82,0x3f,0xc0,0xff,0xc0,0xf8,0x10,0x11,0xfc,0x4e,0x0a,0x04,0xb4,0x22,0x7d,0x2f,0x04,0x02,0x40,0xfb,0x84,0x00,0x48,0x1f,0xe0,0xfb,0x86,0x03,0xfa,0x08,0x0f,0x20,0x05,0x83,0xfc,0x01,0xe0,0x0d,0xc4,0x6f,0xa4,0x90,0x4a,0xff,0xd2,0x0b,0x15,0x07,0xc6,0x08,0x1e,0x34,0x18,0xa4,0x10,0x1f,0x19,0x80,0x7f,0x6a,0x33,0xc0,0xf1,0xc7,0xfc,0x81,0xf3,0xc8,0x0f,0x96,0x06,0x24,0x0f,0x91,0xf9,0xc0,0x62,0x28,0x31,0x07,0xc4,0xfa,0x37,0x7c,0x8f,0xfc,0x6f,0xa1,0xf8,0x00,0x78,0x03,0xc0,0x16,}; | ||||||
|  | const uint8_t *_I_LevelUp3_05[] = {_I_LevelUp3_05_0}; | ||||||
|  | 
 | ||||||
| const uint8_t _A_LevelUpPending_128x51_0[] = {0x01,0x00,0xa9,0x01,0x00,0x1c,0xfc,0x1d,0xbf,0x0e,0x04,0x04,0x1f,0x90,0xc8,0x04,0x18,0x1f,0x90,0x28,0x04,0x20,0x1d,0x62,0xd2,0x98,0x03,0xfe,0x01,0x80,0xf9,0xdf,0x39,0xd8,0x7f,0x45,0x2e,0xe4,0x2b,0x18,0x04,0x80,0x04,0x34,0x00,0x08,0xc5,0x20,0xb1,0x1c,0x0c,0xa2,0x91,0x8a,0x07,0x94,0x40,0x04,0x38,0x00,0x78,0xc4,0x01,0xe5,0x29,0xa4,0x42,0x81,0xe7,0xf8,0x07,0x8c,0x06,0x81,0xf6,0x9e,0x47,0xf0,0x3e,0xaa,0x48,0xbc,0xe1,0x10,0x48,0x0e,0x02,0x07,0x40,0xaa,0x41,0x03,0xe3,0x2c,0xa4,0x60,0x81,0xe5,0x00,0xba,0x40,0xbe,0x1d,0xfa,0x06,0x50,0x1e,0x43,0xf2,0x07,0x16,0x13,0x77,0x02,0x86,0x70,0x30,0x31,0x3b,0xe8,0x3c,0x7d,0x1b,0x3b,0x88,0x7c,0xa8,0x9f,0xa8,0x14,0x0e,0x00,0xb1,0xad,0x17,0xef,0x84,0x04,0x10,0x7d,0x78,0xae,0x72,0x20,0x7f,0x83,0xf3,0xf3,0x07,0x88,0xc0,0x3f,0xe0,0xf4,0x53,0x08,0x00,0xe8,0xb8,0xc2,0xf0,0xd5,0x60,0x1f,0x09,0xe6,0x7f,0xc7,0xc0,0x07,0x1e,0x03,0x09,0x79,0x81,0xfe,0x35,0x4a,0x51,0xa2,0xd0,0x62,0x9c,0x11,0x29,0xe0,0x30,0x42,0xe1,0xae,0x07,0xc4,0x1e,0x51,0x0e,0x01,0xdc,0x41,0xe6,0x15,0x1d,0x7d,0xa8,0x5e,0x58,0xf1,0x78,0x83,0xce,0xc1,0x81,0x5f,0x0d,0x56,0x6a,0x1f,0x18,0xa4,0x06,0x08,0x2f,0x40,0x78,0xc0,0xf8,0x1a,0xa8,0xd0,0x3c,0x64,0x83,0xf2,0x27,0x9f,0x81,0xb8,0x3e,0x0a,0xbc,0x74,0x1e,0x34,0x42,0xf8,0x9b,0xd3,0xe1,0x80,0x83,0xfe,0x35,0xf1,0xf4,0x74,0xdc,0x20,0x10,0xaf,0xf7,0xfe,0x66,0x0f,0xbf,0xd7,0xfc,0x1f,0xbc,0x20,0x78,0xc8,0x41,0xf3,0x18,0x80,0x40,0xa7,0xfc,0x09,0x18,0x3f,0x2f,0xd0,0x0f,0x78,0x3f,0x3f,0x90,0x1e,0xe0,0x3e,0x61,0x00,0xf2,0x83,0xfc,0x01,0xf9,0xa8,0x8f,0xf0,0x1f,0xe8,0x0f,0x7a,0x87,0xff,0xc2,0x0f,0x98,0x20,0x3c,0x74,0x1f,0xad,0xfb,0x64,0xc1,0xed,0x80,0x80,0xd0,0x2a,0xb8,0x70,0x7e,0x60,0x35,0x70,0x60,0x7c,0xc0,0x81,0xe3,0x00,0xab,0x41,0x60,0xc0,0xfb,0x84,0x6f,0x21,0xc4,0x51,0x00,0x38,0xb4,0x60,0x37,0x0f,0x84,0x3c,0x1f,0x03,0xd2,0x27,0x8a,0x90,0x61,0x80,0xf8,0x08,0x9c,0x0e,0x18,0xb5,0x10,0x03,0x70,0x20,0x01,0xd1,0x80,0x77,0xa1,0xf1,0x00,0x7b,0x83,0x44,0x1e,0x5f,0x08,0x3c,0xc0,0x1f,0x83,0x01,0x90,0x03,0xde,0xc0,0x0f,0x33,0xa0,0x81,0x0c,0x00,0x81,0x81,0x07,0xa1,0x18,0x40,0x0c,0x38,0x11,0x51,0xc1,0x8c,0xc2,0x00,0x62,0xc0,0x83,0xcd,0x1c,0x2f,0x07,0x3c,0x08,0x3f,0x61,0x00,0xf4,0x02,0x8b,0x81,0xc0,}; | const uint8_t _A_LevelUpPending_128x51_0[] = {0x01,0x00,0xa9,0x01,0x00,0x1c,0xfc,0x1d,0xbf,0x0e,0x04,0x04,0x1f,0x90,0xc8,0x04,0x18,0x1f,0x90,0x28,0x04,0x20,0x1d,0x62,0xd2,0x98,0x03,0xfe,0x01,0x80,0xf9,0xdf,0x39,0xd8,0x7f,0x45,0x2e,0xe4,0x2b,0x18,0x04,0x80,0x04,0x34,0x00,0x08,0xc5,0x20,0xb1,0x1c,0x0c,0xa2,0x91,0x8a,0x07,0x94,0x40,0x04,0x38,0x00,0x78,0xc4,0x01,0xe5,0x29,0xa4,0x42,0x81,0xe7,0xf8,0x07,0x8c,0x06,0x81,0xf6,0x9e,0x47,0xf0,0x3e,0xaa,0x48,0xbc,0xe1,0x10,0x48,0x0e,0x02,0x07,0x40,0xaa,0x41,0x03,0xe3,0x2c,0xa4,0x60,0x81,0xe5,0x00,0xba,0x40,0xbe,0x1d,0xfa,0x06,0x50,0x1e,0x43,0xf2,0x07,0x16,0x13,0x77,0x02,0x86,0x70,0x30,0x31,0x3b,0xe8,0x3c,0x7d,0x1b,0x3b,0x88,0x7c,0xa8,0x9f,0xa8,0x14,0x0e,0x00,0xb1,0xad,0x17,0xef,0x84,0x04,0x10,0x7d,0x78,0xae,0x72,0x20,0x7f,0x83,0xf3,0xf3,0x07,0x88,0xc0,0x3f,0xe0,0xf4,0x53,0x08,0x00,0xe8,0xb8,0xc2,0xf0,0xd5,0x60,0x1f,0x09,0xe6,0x7f,0xc7,0xc0,0x07,0x1e,0x03,0x09,0x79,0x81,0xfe,0x35,0x4a,0x51,0xa2,0xd0,0x62,0x9c,0x11,0x29,0xe0,0x30,0x42,0xe1,0xae,0x07,0xc4,0x1e,0x51,0x0e,0x01,0xdc,0x41,0xe6,0x15,0x1d,0x7d,0xa8,0x5e,0x58,0xf1,0x78,0x83,0xce,0xc1,0x81,0x5f,0x0d,0x56,0x6a,0x1f,0x18,0xa4,0x06,0x08,0x2f,0x40,0x78,0xc0,0xf8,0x1a,0xa8,0xd0,0x3c,0x64,0x83,0xf2,0x27,0x9f,0x81,0xb8,0x3e,0x0a,0xbc,0x74,0x1e,0x34,0x42,0xf8,0x9b,0xd3,0xe1,0x80,0x83,0xfe,0x35,0xf1,0xf4,0x74,0xdc,0x20,0x10,0xaf,0xf7,0xfe,0x66,0x0f,0xbf,0xd7,0xfc,0x1f,0xbc,0x20,0x78,0xc8,0x41,0xf3,0x18,0x80,0x40,0xa7,0xfc,0x09,0x18,0x3f,0x2f,0xd0,0x0f,0x78,0x3f,0x3f,0x90,0x1e,0xe0,0x3e,0x61,0x00,0xf2,0x83,0xfc,0x01,0xf9,0xa8,0x8f,0xf0,0x1f,0xe8,0x0f,0x7a,0x87,0xff,0xc2,0x0f,0x98,0x20,0x3c,0x74,0x1f,0xad,0xfb,0x64,0xc1,0xed,0x80,0x80,0xd0,0x2a,0xb8,0x70,0x7e,0x60,0x35,0x70,0x60,0x7c,0xc0,0x81,0xe3,0x00,0xab,0x41,0x60,0xc0,0xfb,0x84,0x6f,0x21,0xc4,0x51,0x00,0x38,0xb4,0x60,0x37,0x0f,0x84,0x3c,0x1f,0x03,0xd2,0x27,0x8a,0x90,0x61,0x80,0xf8,0x08,0x9c,0x0e,0x18,0xb5,0x10,0x03,0x70,0x20,0x01,0xd1,0x80,0x77,0xa1,0xf1,0x00,0x7b,0x83,0x44,0x1e,0x5f,0x08,0x3c,0xc0,0x1f,0x83,0x01,0x90,0x03,0xde,0xc0,0x0f,0x33,0xa0,0x81,0x0c,0x00,0x81,0x81,0x07,0xa1,0x18,0x40,0x0c,0x38,0x11,0x51,0xc1,0x8c,0xc2,0x00,0x62,0xc0,0x83,0xcd,0x1c,0x2f,0x07,0x3c,0x08,0x3f,0x61,0x00,0xf4,0x02,0x8b,0x81,0xc0,}; | ||||||
| const uint8_t _A_LevelUpPending_128x51_1[] = {0x01,0x00,0xad,0x01,0x00,0x1c,0xfc,0x1d,0xbf,0x0e,0x04,0x04,0x1f,0x90,0xc8,0x04,0x18,0x1f,0x90,0x28,0x04,0x20,0x1d,0x62,0xd2,0x98,0x03,0xfe,0x01,0x80,0xf9,0xdf,0x39,0xd8,0x7f,0x45,0x2e,0xe4,0x2b,0x18,0x04,0x80,0x04,0x34,0x00,0x08,0xc5,0x20,0xb1,0x1c,0x0c,0xa2,0x91,0x8a,0x07,0x94,0x40,0x04,0x38,0x00,0x78,0xc4,0x01,0xe5,0x29,0xa4,0x42,0x81,0xe7,0xf8,0x07,0x8c,0x06,0x81,0xf6,0x9e,0x47,0xf0,0x3e,0xaa,0x48,0xbc,0xe1,0x10,0x48,0x0e,0x02,0x07,0x40,0xaa,0x41,0x03,0xe3,0x2c,0xa4,0x60,0x81,0xe5,0x00,0xba,0x40,0xbe,0x1d,0xfa,0x06,0x50,0x1e,0x43,0xf2,0x07,0x16,0x13,0x75,0x02,0x86,0x70,0x30,0x31,0x3b,0xe8,0x3c,0x7d,0x1b,0x3b,0x88,0x7c,0xa8,0x9f,0xa8,0x14,0x0e,0x00,0xb1,0xad,0x17,0xeb,0x84,0x04,0x10,0x7d,0x50,0xae,0x72,0x20,0x7e,0x68,0x81,0xfd,0x81,0x83,0xc4,0x60,0x1f,0xf0,0x7a,0x29,0x84,0x00,0x74,0x1c,0x61,0x78,0x6a,0xb0,0x0f,0x84,0xf3,0x3f,0xe3,0xe0,0x03,0x8f,0x01,0x3c,0xbc,0x40,0xff,0x1a,0xa5,0x28,0xd1,0x68,0x31,0x4e,0x08,0x94,0xf0,0x16,0x26,0x00,0xd7,0x03,0xe2,0x0f,0x28,0x87,0x00,0xee,0x20,0xf2,0x36,0x96,0xbe,0xd4,0x2f,0x2c,0x78,0xbc,0x41,0xe9,0x82,0x01,0x0d,0x56,0x6a,0x1f,0x18,0xa4,0x06,0x08,0x2f,0x4e,0x00,0x3c,0x78,0x1a,0xa8,0xd0,0x3c,0x64,0x83,0xf2,0x27,0x98,0x3c,0x60,0x3e,0x0a,0xbc,0x34,0x1e,0x34,0x42,0xf8,0x9b,0xd3,0x81,0x83,0x82,0xfe,0x35,0xf0,0xf4,0x74,0xf0,0x20,0x30,0x9f,0xf7,0xfe,0x16,0x0f,0x9f,0x04,0x07,0xf3,0xff,0x07,0xe4,0x03,0x82,0x0f,0x15,0x88,0x83,0xea,0x03,0x0f,0xe0,0x24,0x84,0x01,0x17,0x00,0x78,0xcf,0xa0,0x13,0x30,0x7e,0x7c,0x20,0x13,0x60,0x7e,0x70,0x21,0xf7,0xc0,0x7c,0xca,0x01,0xe3,0x00,0xff,0x5f,0xc1,0xf3,0x38,0x07,0x97,0xc3,0xa6,0x0f,0x98,0xc0,0x3c,0xa8,0x1b,0x00,0x7c,0xc2,0x30,0x10,0x18,0x64,0x03,0x30,0x0f,0xc1,0x90,0xc4,0x1d,0x26,0x00,0x58,0x20,0x3c,0x7c,0x10,0x78,0xe0,0x3f,0x30,0x1f,0xd8,0x38,0xbe,0x60,0x40,0xf1,0x80,0x00,0x86,0x04,0x0f,0x88,0x18,0x3c,0x8c,0x43,0x04,0x07,0xc0,0xb4,0x43,0xe6,0x0f,0x80,0x50,0xd0,0x00,0x83,0xc0,0x81,0xc2,0x01,0xef,0xc0,0x46,0x08,0x10,0x64,0x10,0x20,0x7c,0x03,0x44,0x1e,0x58,0x08,0x1a,0x94,0x40,0x0d,0x60,0x07,0x99,0x90,0x66,0x00,0xf7,0x90,0x03,0xd4,0x0c,0x20,0x06,0x0c,0x08,0x28,0xe0,0xc4,0x61,0x00,0x34,0x40,0x1e,0x8a,0x41,0x77,0x48,0x3d,0x58,0x0e,0x68,0x10,0x79,0x81,0x46,0x06,0x0f,0x60,}; | const uint8_t _A_LevelUpPending_128x51_1[] = {0x01,0x00,0xad,0x01,0x00,0x1c,0xfc,0x1d,0xbf,0x0e,0x04,0x04,0x1f,0x90,0xc8,0x04,0x18,0x1f,0x90,0x28,0x04,0x20,0x1d,0x62,0xd2,0x98,0x03,0xfe,0x01,0x80,0xf9,0xdf,0x39,0xd8,0x7f,0x45,0x2e,0xe4,0x2b,0x18,0x04,0x80,0x04,0x34,0x00,0x08,0xc5,0x20,0xb1,0x1c,0x0c,0xa2,0x91,0x8a,0x07,0x94,0x40,0x04,0x38,0x00,0x78,0xc4,0x01,0xe5,0x29,0xa4,0x42,0x81,0xe7,0xf8,0x07,0x8c,0x06,0x81,0xf6,0x9e,0x47,0xf0,0x3e,0xaa,0x48,0xbc,0xe1,0x10,0x48,0x0e,0x02,0x07,0x40,0xaa,0x41,0x03,0xe3,0x2c,0xa4,0x60,0x81,0xe5,0x00,0xba,0x40,0xbe,0x1d,0xfa,0x06,0x50,0x1e,0x43,0xf2,0x07,0x16,0x13,0x75,0x02,0x86,0x70,0x30,0x31,0x3b,0xe8,0x3c,0x7d,0x1b,0x3b,0x88,0x7c,0xa8,0x9f,0xa8,0x14,0x0e,0x00,0xb1,0xad,0x17,0xeb,0x84,0x04,0x10,0x7d,0x50,0xae,0x72,0x20,0x7e,0x68,0x81,0xfd,0x81,0x83,0xc4,0x60,0x1f,0xf0,0x7a,0x29,0x84,0x00,0x74,0x1c,0x61,0x78,0x6a,0xb0,0x0f,0x84,0xf3,0x3f,0xe3,0xe0,0x03,0x8f,0x01,0x3c,0xbc,0x40,0xff,0x1a,0xa5,0x28,0xd1,0x68,0x31,0x4e,0x08,0x94,0xf0,0x16,0x26,0x00,0xd7,0x03,0xe2,0x0f,0x28,0x87,0x00,0xee,0x20,0xf2,0x36,0x96,0xbe,0xd4,0x2f,0x2c,0x78,0xbc,0x41,0xe9,0x82,0x01,0x0d,0x56,0x6a,0x1f,0x18,0xa4,0x06,0x08,0x2f,0x4e,0x00,0x3c,0x78,0x1a,0xa8,0xd0,0x3c,0x64,0x83,0xf2,0x27,0x98,0x3c,0x60,0x3e,0x0a,0xbc,0x34,0x1e,0x34,0x42,0xf8,0x9b,0xd3,0x81,0x83,0x82,0xfe,0x35,0xf0,0xf4,0x74,0xf0,0x20,0x30,0x9f,0xf7,0xfe,0x16,0x0f,0x9f,0x04,0x07,0xf3,0xff,0x07,0xe4,0x03,0x82,0x0f,0x15,0x88,0x83,0xea,0x03,0x0f,0xe0,0x24,0x84,0x01,0x17,0x00,0x78,0xcf,0xa0,0x13,0x30,0x7e,0x7c,0x20,0x13,0x60,0x7e,0x70,0x21,0xf7,0xc0,0x7c,0xca,0x01,0xe3,0x00,0xff,0x5f,0xc1,0xf3,0x38,0x07,0x97,0xc3,0xa6,0x0f,0x98,0xc0,0x3c,0xa8,0x1b,0x00,0x7c,0xc2,0x30,0x10,0x18,0x64,0x03,0x30,0x0f,0xc1,0x90,0xc4,0x1d,0x26,0x00,0x58,0x20,0x3c,0x7c,0x10,0x78,0xe0,0x3f,0x30,0x1f,0xd8,0x38,0xbe,0x60,0x40,0xf1,0x80,0x00,0x86,0x04,0x0f,0x88,0x18,0x3c,0x8c,0x43,0x04,0x07,0xc0,0xb4,0x43,0xe6,0x0f,0x80,0x50,0xd0,0x00,0x83,0xc0,0x81,0xc2,0x01,0xef,0xc0,0x46,0x08,0x10,0x64,0x10,0x20,0x7c,0x03,0x44,0x1e,0x58,0x08,0x1a,0x94,0x40,0x0d,0x60,0x07,0x99,0x90,0x66,0x00,0xf7,0x90,0x03,0xd4,0x0c,0x20,0x06,0x0c,0x08,0x28,0xe0,0xc4,0x61,0x00,0x34,0x40,0x1e,0x8a,0x41,0x77,0x48,0x3d,0x58,0x0e,0x68,0x10,0x79,0x81,0x46,0x06,0x0f,0x60,}; | ||||||
| const uint8_t *_A_LevelUpPending_128x51[] = {_A_LevelUpPending_128x51_0,_A_LevelUpPending_128x51_1}; | const uint8_t *_A_LevelUpPending_128x51[] = {_A_LevelUpPending_128x51_0,_A_LevelUpPending_128x51_1}; | ||||||
| @ -276,26 +276,26 @@ const uint8_t _A_Waves_128x52_0[] = {0x01,0x00,0xba,0x01,0x00,0x78,0x03,0xc0,0x0 | |||||||
| const uint8_t _A_Waves_128x52_1[] = {0x01,0x00,0xbf,0x01,0x00,0x78,0x03,0xc0,0x0f,0xe0,0xf3,0xc0,0xc0,0x83,0xf8,0x07,0xce,0x03,0xff,0x0f,0x0a,0x10,0x4c,0x80,0x0f,0xfe,0x8e,0x01,0x08,0x1f,0x57,0xc0,0x19,0x7c,0x20,0xe0,0xf9,0xff,0xc0,0x47,0xe5,0xff,0x1f,0xce,0x7c,0x36,0x51,0xcf,0xf8,0xc2,0x30,0x11,0x92,0x79,0x61,0x23,0xe3,0x08,0xe0,0x46,0x61,0x00,0x42,0x9e,0x8b,0xe2,0x81,0x18,0x42,0x1c,0xe0,0x08,0x62,0x34,0x07,0xa7,0xc2,0xe0,0x04,0x2c,0x81,0x60,0x80,0x04,0x0f,0x3b,0x87,0x00,0x32,0x60,0xf5,0x15,0x1d,0xe3,0x00,0x0f,0xbf,0xf4,0x7e,0xf0,0x06,0x11,0xe1,0x40,0x81,0xeb,0xc0,0xff,0xff,0xc1,0xe5,0x7a,0x07,0x9f,0xf8,0x14,0x20,0x02,0x81,0xfc,0x3f,0x60,0xc1,0xea,0x88,0x06,0x05,0xff,0xaa,0x80,0x0e,0xfa,0xe3,0x20,0x78,0xea,0xa7,0xfe,0x0f,0xfe,0xa8,0x00,0x91,0xe0,0x60,0xef,0xa1,0xfe,0x0a,0xaf,0xfe,0xbe,0x1c,0x3a,0xa5,0x56,0xa2,0xaf,0x2b,0xc7,0xd6,0xbf,0xea,0x0e,0x9e,0x2b,0x55,0x2a,0xff,0x6a,0xcb,0x25,0xe0,0xd5,0xea,0x87,0x48,0x00,0x2f,0xff,0x5d,0xb4,0x5c,0x0a,0xbd,0x54,0x76,0xa0,0x01,0x81,0xef,0xd0,0xc7,0xaf,0x0f,0xa7,0x56,0xac,0x02,0x18,0x0f,0xf0,0x1e,0x75,0xe0,0xfa,0x4a,0xb5,0x1a,0xaf,0x53,0x2c,0x52,0x87,0xbc,0x0f,0x9f,0xd7,0xff,0x7f,0xaa,0xdd,0x47,0x62,0x0f,0x3b,0xc5,0x44,0x3c,0x50,0xe0,0x58,0xeb,0xed,0x48,0xc1,0x17,0x9f,0xc0,0x3e,0x34,0x5e,0xa9,0x60,0x8f,0x02,0x0d,0x16,0x31,0xd8,0x07,0xe4,0xc1,0x21,0x00,0xfb,0xcf,0xa3,0x0c,0x03,0x97,0x80,0x7e,0x49,0x72,0x10,0x10,0x34,0x66,0x01,0x73,0x43,0x8f,0xfd,0xfc,0x93,0x00,0x68,0xd0,0x01,0xe7,0xab,0x7d,0xa0,0x3c,0x8b,0xc7,0x3e,0x2a,0x0d,0x54,0x1e,0xf0,0x01,0x31,0x3b,0x85,0xe2,0x60,0x04,0xb8,0x17,0x8c,0x74,0x46,0xb2,0x00,0x27,0x82,0x01,0x04,0x3e,0x90,0x34,0x5c,0x84,0x00,0x4e,0x04,0x06,0x30,0x04,0x20,0x78,0xc1,0x81,0xed,0x80,0x81,0xc8,0x01,0xe4,0x1d,0x10,0x7b,0xff,0x20,0xe6,0x02,0xc0,0x03,0xc7,0xfc,0x1e,0x76,0x20,0x8b,0x04,0x1e,0x50,0xc2,0x82,0xde,0x20,0x11,0xc2,0x81,0x03,0xce,0xf8,0x6b,0x32,0xb1,0x4e,0x20,0x05,0x01,0x12,0x88,0x58,0x70,0x17,0xf8,0x03,0x01,0x02,0x83,0x60,0x58,0x8c,0x14,0x4c,0x49,0x26,0x40,0x0e,0x03,0x03,0xa0,0x85,0x09,0x09,0x01,0x10,0x0b,0xf0,0x7c,0x86,0xc2,0x80,0x74,0xc9,0x07,0xc8,0x1f,0x10,0x03,0x80,0x8f,0xcf,0xf0,0x0f,0x89,0xe0,0x15,0x39,0x00,0xf8,0xfe,0x7f,0xff,0xe6,0xa1,0x80,0x42,0x07,0xcf,0xff,0x4c,0x16,0x02,0x3e,0x0f,0x6f,0x84,0x07,0xf8,0x74,0x60,0xfb,0x7f,0x96,0xcb,0x00,0xbf,0xe2,0x07,0xf0,0x36,0x5b,0xf8,}; | const uint8_t _A_Waves_128x52_1[] = {0x01,0x00,0xbf,0x01,0x00,0x78,0x03,0xc0,0x0f,0xe0,0xf3,0xc0,0xc0,0x83,0xf8,0x07,0xce,0x03,0xff,0x0f,0x0a,0x10,0x4c,0x80,0x0f,0xfe,0x8e,0x01,0x08,0x1f,0x57,0xc0,0x19,0x7c,0x20,0xe0,0xf9,0xff,0xc0,0x47,0xe5,0xff,0x1f,0xce,0x7c,0x36,0x51,0xcf,0xf8,0xc2,0x30,0x11,0x92,0x79,0x61,0x23,0xe3,0x08,0xe0,0x46,0x61,0x00,0x42,0x9e,0x8b,0xe2,0x81,0x18,0x42,0x1c,0xe0,0x08,0x62,0x34,0x07,0xa7,0xc2,0xe0,0x04,0x2c,0x81,0x60,0x80,0x04,0x0f,0x3b,0x87,0x00,0x32,0x60,0xf5,0x15,0x1d,0xe3,0x00,0x0f,0xbf,0xf4,0x7e,0xf0,0x06,0x11,0xe1,0x40,0x81,0xeb,0xc0,0xff,0xff,0xc1,0xe5,0x7a,0x07,0x9f,0xf8,0x14,0x20,0x02,0x81,0xfc,0x3f,0x60,0xc1,0xea,0x88,0x06,0x05,0xff,0xaa,0x80,0x0e,0xfa,0xe3,0x20,0x78,0xea,0xa7,0xfe,0x0f,0xfe,0xa8,0x00,0x91,0xe0,0x60,0xef,0xa1,0xfe,0x0a,0xaf,0xfe,0xbe,0x1c,0x3a,0xa5,0x56,0xa2,0xaf,0x2b,0xc7,0xd6,0xbf,0xea,0x0e,0x9e,0x2b,0x55,0x2a,0xff,0x6a,0xcb,0x25,0xe0,0xd5,0xea,0x87,0x48,0x00,0x2f,0xff,0x5d,0xb4,0x5c,0x0a,0xbd,0x54,0x76,0xa0,0x01,0x81,0xef,0xd0,0xc7,0xaf,0x0f,0xa7,0x56,0xac,0x02,0x18,0x0f,0xf0,0x1e,0x75,0xe0,0xfa,0x4a,0xb5,0x1a,0xaf,0x53,0x2c,0x52,0x87,0xbc,0x0f,0x9f,0xd7,0xff,0x7f,0xaa,0xdd,0x47,0x62,0x0f,0x3b,0xc5,0x44,0x3c,0x50,0xe0,0x58,0xeb,0xed,0x48,0xc1,0x17,0x9f,0xc0,0x3e,0x34,0x5e,0xa9,0x60,0x8f,0x02,0x0d,0x16,0x31,0xd8,0x07,0xe4,0xc1,0x21,0x00,0xfb,0xcf,0xa3,0x0c,0x03,0x97,0x80,0x7e,0x49,0x72,0x10,0x10,0x34,0x66,0x01,0x73,0x43,0x8f,0xfd,0xfc,0x93,0x00,0x68,0xd0,0x01,0xe7,0xab,0x7d,0xa0,0x3c,0x8b,0xc7,0x3e,0x2a,0x0d,0x54,0x1e,0xf0,0x01,0x31,0x3b,0x85,0xe2,0x60,0x04,0xb8,0x17,0x8c,0x74,0x46,0xb2,0x00,0x27,0x82,0x01,0x04,0x3e,0x90,0x34,0x5c,0x84,0x00,0x4e,0x04,0x06,0x30,0x04,0x20,0x78,0xc1,0x81,0xed,0x80,0x81,0xc8,0x01,0xe4,0x1d,0x10,0x7b,0xff,0x20,0xe6,0x02,0xc0,0x03,0xc7,0xfc,0x1e,0x76,0x20,0x8b,0x04,0x1e,0x50,0xc2,0x82,0xde,0x20,0x11,0xc2,0x81,0x03,0xce,0xf8,0x6b,0x32,0xb1,0x4e,0x20,0x05,0x01,0x12,0x88,0x58,0x70,0x17,0xf8,0x03,0x01,0x02,0x83,0x60,0x58,0x8c,0x14,0x4c,0x49,0x26,0x40,0x0e,0x03,0x03,0xa0,0x85,0x09,0x09,0x01,0x10,0x0b,0xf0,0x7c,0x86,0xc2,0x80,0x74,0xc9,0x07,0xc8,0x1f,0x10,0x03,0x80,0x8f,0xcf,0xf0,0x0f,0x89,0xe0,0x15,0x39,0x00,0xf8,0xfe,0x7f,0xff,0xe6,0xa1,0x80,0x42,0x07,0xcf,0xff,0x4c,0x16,0x02,0x3e,0x0f,0x6f,0x84,0x07,0xf8,0x74,0x60,0xfb,0x7f,0x96,0xcb,0x00,0xbf,0xe2,0x07,0xf0,0x36,0x5b,0xf8,}; | ||||||
| const uint8_t *_A_Waves_128x52[] = {_A_Waves_128x52_0,_A_Waves_128x52_1}; | const uint8_t *_A_Waves_128x52[] = {_A_Waves_128x52_0,_A_Waves_128x52_1}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_dir_10px_0[] = {0x01,0x00,0x11,0x00,0x00,0x0c,0xfe,0x01,0x41,0x80,0x7f,0xe0,0x70,0x18,0x10,0x05,0x7f,0xd0,0x10,0x88,0x80,}; |  | ||||||
| const uint8_t *_I_dir_10px[] = {_I_dir_10px_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_Nfc_10px_0[] = {0x00,0x80,0x00,0x00,0x01,0x22,0x02,0x43,0x02,0x45,0x02,0x49,0x02,0x31,0x02,0x22,0x02,0x00,0x01,0x80,0x00,}; | const uint8_t _I_Nfc_10px_0[] = {0x00,0x80,0x00,0x00,0x01,0x22,0x02,0x43,0x02,0x45,0x02,0x49,0x02,0x31,0x02,0x22,0x02,0x00,0x01,0x80,0x00,}; | ||||||
| const uint8_t *_I_Nfc_10px[] = {_I_Nfc_10px_0}; | const uint8_t *_I_Nfc_10px[] = {_I_Nfc_10px_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_sub1_10px_0[] = {0x01,0x00,0x12,0x00,0x81,0x40,0x69,0x30,0x2c,0x2c,0x0b,0x6a,0x01,0x28,0x0c,0x0a,0x65,0x01,0x98,0x40,0x00,0x26,}; |  | ||||||
| const uint8_t *_I_sub1_10px[] = {_I_sub1_10px_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_ir_10px_0[] = {0x00,0xFC,0x00,0x02,0x01,0x79,0x02,0x84,0x00,0x30,0x00,0x00,0x00,0x30,0x00,0x58,0x00,0x78,0x00,0xFF,0x03,}; | const uint8_t _I_ir_10px_0[] = {0x00,0xFC,0x00,0x02,0x01,0x79,0x02,0x84,0x00,0x30,0x00,0x00,0x00,0x30,0x00,0x58,0x00,0x78,0x00,0xFF,0x03,}; | ||||||
| const uint8_t *_I_ir_10px[] = {_I_ir_10px_0}; | const uint8_t *_I_ir_10px[] = {_I_ir_10px_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_ibutt_10px_0[] = {0x00,0x80,0x03,0x40,0x02,0x20,0x02,0x10,0x01,0x8E,0x00,0x41,0x00,0x2D,0x00,0x2D,0x00,0x21,0x00,0x1E,0x00,}; | const uint8_t _I_ble_10px_0[] = {0x00,0x04,0x00,0x8C,0x00,0x15,0x01,0x56,0x02,0x8C,0x02,0x8C,0x02,0x56,0x02,0x15,0x01,0x8C,0x00,0x04,0x00,}; | ||||||
| const uint8_t *_I_ibutt_10px[] = {_I_ibutt_10px_0}; | const uint8_t *_I_ble_10px[] = {_I_ble_10px_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_sub1_10px_0[] = {0x01,0x00,0x12,0x00,0x81,0x40,0x69,0x30,0x2c,0x2c,0x0b,0x6a,0x01,0x28,0x0c,0x0a,0x65,0x01,0x98,0x40,0x00,0x26,}; | ||||||
|  | const uint8_t *_I_sub1_10px[] = {_I_sub1_10px_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_dir_10px_0[] = {0x01,0x00,0x11,0x00,0x00,0x0c,0xfe,0x01,0x41,0x80,0x7f,0xe0,0x70,0x18,0x10,0x05,0x7f,0xd0,0x10,0x88,0x80,}; | ||||||
|  | const uint8_t *_I_dir_10px[] = {_I_dir_10px_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_unknown_10px_0[] = {0x01,0x00,0x12,0x00,0xbc,0x40,0x39,0x90,0x0c,0x24,0x03,0x81,0x00,0xb0,0x40,0x26,0x00,0x12,0x00,0x08,0x14,0xc0,}; | const uint8_t _I_unknown_10px_0[] = {0x01,0x00,0x12,0x00,0xbc,0x40,0x39,0x90,0x0c,0x24,0x03,0x81,0x00,0xb0,0x40,0x26,0x00,0x12,0x00,0x08,0x14,0xc0,}; | ||||||
| const uint8_t *_I_unknown_10px[] = {_I_unknown_10px_0}; | const uint8_t *_I_unknown_10px[] = {_I_unknown_10px_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_ble_10px_0[] = {0x00,0x04,0x00,0x8C,0x00,0x15,0x01,0x56,0x02,0x8C,0x02,0x8C,0x02,0x56,0x02,0x15,0x01,0x8C,0x00,0x04,0x00,}; | const uint8_t _I_ibutt_10px_0[] = {0x00,0x80,0x03,0x40,0x02,0x20,0x02,0x10,0x01,0x8E,0x00,0x41,0x00,0x2D,0x00,0x2D,0x00,0x21,0x00,0x1E,0x00,}; | ||||||
| const uint8_t *_I_ble_10px[] = {_I_ble_10px_0}; | const uint8_t *_I_ibutt_10px[] = {_I_ibutt_10px_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_125_10px_0[] = {0x00,0xE0,0x00,0x00,0x01,0x0E,0x02,0x31,0x02,0x45,0x02,0x91,0x00,0xAA,0x00,0x92,0x00,0x44,0x00,0x38,0x00,}; | const uint8_t _I_125_10px_0[] = {0x00,0xE0,0x00,0x00,0x01,0x0E,0x02,0x31,0x02,0x45,0x02,0x91,0x00,0xAA,0x00,0x92,0x00,0x44,0x00,0x38,0x00,}; | ||||||
| const uint8_t *_I_125_10px[] = {_I_125_10px_0}; | const uint8_t *_I_125_10px[] = {_I_125_10px_0}; | ||||||
| @ -303,95 +303,119 @@ const uint8_t *_I_125_10px[] = {_I_125_10px_0}; | |||||||
| const uint8_t _I_BLE_Pairing_128x64_0[] = {0x01,0x00,0xb7,0x01,0x00,0x6c,0x38,0x1f,0xd0,0x10,0x76,0xe0,0x03,0xdd,0x40,0x07,0xf4,0x82,0x01,0x08,0x07,0xf4,0xc0,0x1f,0x91,0x08,0x07,0x00,0x1f,0xc0,0x0d,0x1e,0xe8,0x3f,0xc0,0x03,0x58,0x80,0xcf,0x11,0xd9,0xaf,0x85,0x77,0x01,0xf7,0x60,0xf8,0x45,0xff,0x05,0xed,0x9e,0x7c,0x09,0xdb,0xe0,0x2f,0x78,0x03,0x3c,0x8e,0xee,0x8a,0x43,0x81,0xfb,0x0c,0x66,0xe8,0xfc,0x59,0xba,0x6f,0x28,0x1b,0xfb,0xa3,0x80,0xfc,0xa0,0x1f,0xc6,0x86,0xbf,0xc3,0x78,0xce,0x04,0x19,0x26,0x77,0xfa,0x43,0xbe,0x12,0xa0,0x7e,0xf8,0x2a,0xa2,0x02,0xff,0x89,0x27,0x01,0xbf,0x99,0x38,0x8a,0xfc,0x0f,0x8e,0x07,0xfe,0x0e,0x94,0x2c,0x07,0xfc,0x7f,0x1f,0xf5,0x00,0xc3,0x00,0xe4,0x31,0x13,0xd1,0x00,0x0a,0xb8,0x19,0x25,0x91,0xc0,0x81,0xe2,0xb9,0x4d,0x5d,0x78,0x64,0x2e,0x84,0x80,0x61,0x07,0x02,0x3e,0x2a,0xa4,0xa2,0x00,0xf2,0x40,0x20,0xe3,0x21,0xa0,0x62,0x9f,0x60,0x05,0x02,0x3e,0x36,0x41,0x66,0x23,0x20,0x51,0xfc,0x40,0x68,0x0f,0x15,0x90,0x60,0x20,0x1b,0x09,0x89,0x70,0x46,0x42,0x07,0x14,0x99,0x41,0xe8,0x1f,0x18,0x0c,0x07,0xc1,0x19,0xff,0xc3,0xce,0x6b,0x54,0x8f,0xe0,0x3f,0x90,0x78,0x17,0x02,0x1a,0x70,0x39,0x01,0xa0,0xb1,0x53,0xb5,0x88,0xc7,0xe0,0x98,0x08,0x3a,0xd5,0xe8,0x97,0xd0,0x78,0xcf,0xe1,0x07,0xf1,0x0d,0x08,0x00,0x74,0x10,0x80,0x18,0xe8,0x97,0xc3,0xf2,0xff,0xc4,0x03,0xe3,0x04,0x8c,0x19,0xcc,0x00,0x35,0x0c,0x3c,0x03,0xf9,0x3f,0xb0,0x8f,0xc6,0x31,0x0e,0x0f,0x90,0x90,0xb5,0x45,0xc1,0xf8,0x4f,0xf0,0xde,0x18,0xcc,0x82,0x08,0x1f,0x22,0x20,0xd0,0x3a,0xab,0xd1,0xe0,0x5f,0xa1,0x1b,0x19,0x8d,0x02,0x04,0x9a,0x1d,0x04,0x28,0x26,0x36,0xa8,0x05,0xf0,0xe0,0x3f,0x04,0xf8,0xd0,0x30,0x55,0xfa,0xad,0x54,0x3e,0x35,0x09,0xab,0xac,0xbf,0x2b,0xf2,0x0a,0x0e,0xfb,0x55,0xaa,0x0f,0x94,0x68,0x04,0x30,0x6f,0xd3,0x7c,0xb0,0x15,0x0f,0xfd,0x7f,0xeb,0x05,0x4f,0x0b,0x60,0xa3,0x1f,0x28,0x0b,0xfc,0xbc,0x30,0x1f,0xf7,0xfe,0x54,0x2c,0x18,0x30,0x3c,0x6f,0x00,0xf2,0x1c,0x8c,0xf8,0x10,0x3c,0x00,0xf8,0xd5,0x5c,0x05,0xb8,0xb0,0xaa,0xdb,0x01,0x2b,0x31,0x0a,0xdc,0xa7,0x00,0xe6,0x00,0x0c,0x56,0x00,0x7e,0x10,0x00,0xcc,0x01,0xf0,0x1f,0x1b,0x40,0x2e,0x00,0x07,0x16,0x10,0x90,0x02,0xe5,0x90,0x06,0x29,0x00,0x2a,0xa9,0x00,0x2f,0x10,0x02,0xa5,0x10,0x02,0xf1,0x00,0x2a,0xa0,0x0d,0xc0,0x00,0xec,0x01,0xfd,0x60,0x17,0x6a,0xc0,0x60,0x40,0xfd,0xc0,0x30,0x04,0x01,0xb0,0xb0,0x7f,0x45,0x80,}; | const uint8_t _I_BLE_Pairing_128x64_0[] = {0x01,0x00,0xb7,0x01,0x00,0x6c,0x38,0x1f,0xd0,0x10,0x76,0xe0,0x03,0xdd,0x40,0x07,0xf4,0x82,0x01,0x08,0x07,0xf4,0xc0,0x1f,0x91,0x08,0x07,0x00,0x1f,0xc0,0x0d,0x1e,0xe8,0x3f,0xc0,0x03,0x58,0x80,0xcf,0x11,0xd9,0xaf,0x85,0x77,0x01,0xf7,0x60,0xf8,0x45,0xff,0x05,0xed,0x9e,0x7c,0x09,0xdb,0xe0,0x2f,0x78,0x03,0x3c,0x8e,0xee,0x8a,0x43,0x81,0xfb,0x0c,0x66,0xe8,0xfc,0x59,0xba,0x6f,0x28,0x1b,0xfb,0xa3,0x80,0xfc,0xa0,0x1f,0xc6,0x86,0xbf,0xc3,0x78,0xce,0x04,0x19,0x26,0x77,0xfa,0x43,0xbe,0x12,0xa0,0x7e,0xf8,0x2a,0xa2,0x02,0xff,0x89,0x27,0x01,0xbf,0x99,0x38,0x8a,0xfc,0x0f,0x8e,0x07,0xfe,0x0e,0x94,0x2c,0x07,0xfc,0x7f,0x1f,0xf5,0x00,0xc3,0x00,0xe4,0x31,0x13,0xd1,0x00,0x0a,0xb8,0x19,0x25,0x91,0xc0,0x81,0xe2,0xb9,0x4d,0x5d,0x78,0x64,0x2e,0x84,0x80,0x61,0x07,0x02,0x3e,0x2a,0xa4,0xa2,0x00,0xf2,0x40,0x20,0xe3,0x21,0xa0,0x62,0x9f,0x60,0x05,0x02,0x3e,0x36,0x41,0x66,0x23,0x20,0x51,0xfc,0x40,0x68,0x0f,0x15,0x90,0x60,0x20,0x1b,0x09,0x89,0x70,0x46,0x42,0x07,0x14,0x99,0x41,0xe8,0x1f,0x18,0x0c,0x07,0xc1,0x19,0xff,0xc3,0xce,0x6b,0x54,0x8f,0xe0,0x3f,0x90,0x78,0x17,0x02,0x1a,0x70,0x39,0x01,0xa0,0xb1,0x53,0xb5,0x88,0xc7,0xe0,0x98,0x08,0x3a,0xd5,0xe8,0x97,0xd0,0x78,0xcf,0xe1,0x07,0xf1,0x0d,0x08,0x00,0x74,0x10,0x80,0x18,0xe8,0x97,0xc3,0xf2,0xff,0xc4,0x03,0xe3,0x04,0x8c,0x19,0xcc,0x00,0x35,0x0c,0x3c,0x03,0xf9,0x3f,0xb0,0x8f,0xc6,0x31,0x0e,0x0f,0x90,0x90,0xb5,0x45,0xc1,0xf8,0x4f,0xf0,0xde,0x18,0xcc,0x82,0x08,0x1f,0x22,0x20,0xd0,0x3a,0xab,0xd1,0xe0,0x5f,0xa1,0x1b,0x19,0x8d,0x02,0x04,0x9a,0x1d,0x04,0x28,0x26,0x36,0xa8,0x05,0xf0,0xe0,0x3f,0x04,0xf8,0xd0,0x30,0x55,0xfa,0xad,0x54,0x3e,0x35,0x09,0xab,0xac,0xbf,0x2b,0xf2,0x0a,0x0e,0xfb,0x55,0xaa,0x0f,0x94,0x68,0x04,0x30,0x6f,0xd3,0x7c,0xb0,0x15,0x0f,0xfd,0x7f,0xeb,0x05,0x4f,0x0b,0x60,0xa3,0x1f,0x28,0x0b,0xfc,0xbc,0x30,0x1f,0xf7,0xfe,0x54,0x2c,0x18,0x30,0x3c,0x6f,0x00,0xf2,0x1c,0x8c,0xf8,0x10,0x3c,0x00,0xf8,0xd5,0x5c,0x05,0xb8,0xb0,0xaa,0xdb,0x01,0x2b,0x31,0x0a,0xdc,0xa7,0x00,0xe6,0x00,0x0c,0x56,0x00,0x7e,0x10,0x00,0xcc,0x01,0xf0,0x1f,0x1b,0x40,0x2e,0x00,0x07,0x16,0x10,0x90,0x02,0xe5,0x90,0x06,0x29,0x00,0x2a,0xa9,0x00,0x2f,0x10,0x02,0xa5,0x10,0x02,0xf1,0x00,0x2a,0xa0,0x0d,0xc0,0x00,0xec,0x01,0xfd,0x60,0x17,0x6a,0xc0,0x60,0x40,0xfd,0xc0,0x30,0x04,0x01,0xb0,0xb0,0x7f,0x45,0x80,}; | ||||||
| const uint8_t *_I_BLE_Pairing_128x64[] = {_I_BLE_Pairing_128x64_0}; | const uint8_t *_I_BLE_Pairing_128x64[] = {_I_BLE_Pairing_128x64_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_UsbTree_48x22_0[] = {0x01,0x00,0x3c,0x00,0x00,0x14,0x3c,0x08,0x78,0x08,0xf8,0x10,0xff,0xe0,0x59,0xb0,0x04,0x52,0xc0,0x1d,0x48,0xc0,0x9d,0x00,0xa7,0x02,0x80,0x41,0x80,0xa5,0x0e,0x02,0xa4,0xfb,0xfe,0x00,0xa1,0x49,0x04,0x48,0x0a,0x81,0xd1,0xc0,0x40,0x45,0x26,0x05,0x30,0x01,0x41,0xbe,0x10,0x30,0x2c,0x7e,0x3f,0xe0,0x59,0x80,0x04,0x50,0x0a,0x60,}; | const uint8_t _I_Voldwn_6x6_0[] = {0x00,0x08,0x0C,0x2F,0x2F,0x0C,0x08,}; | ||||||
| const uint8_t *_I_UsbTree_48x22[] = {_I_UsbTree_48x22_0}; | const uint8_t *_I_Voldwn_6x6[] = {_I_Voldwn_6x6_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_EviWaiting2_18x21_0[] = {0x01,0x00,0x31,0x00,0x86,0x70,0x20,0x10,0x6c,0x04,0x06,0x0f,0x80,0x81,0xf3,0xf9,0xf0,0x3f,0xff,0xfc,0x04,0x7f,0xef,0xfc,0x04,0x04,0xa0,0xb2,0xeb,0xed,0xe0,0x7f,0x7f,0xb8,0x08,0xf1,0xf8,0xf0,0xd4,0xff,0x3f,0xf0,0x0f,0xc5,0xfe,0x01,0xf0,0x9f,0xc0,0x38,0x10,0xf8,0x00,}; | const uint8_t _I_Volup_8x6_0[] = {0x00,0x48,0x8C,0xAF,0xAF,0x8C,0x48,}; | ||||||
| const uint8_t *_I_EviWaiting2_18x21[] = {_I_EviWaiting2_18x21_0}; | const uint8_t *_I_Volup_8x6[] = {_I_Volup_8x6_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Button_18x18_0[] = {0x01,0x00,0x19,0x00,0xfc,0x7f,0xe0,0x10,0x68,0x04,0x06,0x07,0x00,0x81,0x00,0xbc,0x05,0xe0,0x23,0x83,0xc0,0x20,0x7f,0xef,0xfc,0x07,0xf8,0x32,0x10,}; | ||||||
|  | const uint8_t *_I_Button_18x18[] = {_I_Button_18x18_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Pressed_Button_13x13_0[] = {0x01,0x00,0x12,0x00,0xf8,0x40,0x7f,0x90,0x7f,0xf4,0x3c,0x02,0x3f,0xf8,0xf8,0x05,0xc1,0xa6,0x13,0x10,0xb8,0x80,}; | ||||||
|  | const uint8_t *_I_Pressed_Button_13x13[] = {_I_Pressed_Button_13x13_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Ble_disconnected_24x34_0[] = {0x01,0x00,0x3c,0x00,0x80,0x7f,0xe0,0x1c,0x08,0x04,0x0e,0x61,0x00,0x86,0x42,0x20,0x11,0x08,0x24,0x02,0x40,0x02,0x28,0x14,0x32,0x80,0x02,0x28,0x0c,0xf3,0x00,0x02,0x3e,0x60,0x08,0xf8,0x30,0xcc,0x18,0x08,0xa0,0x3c,0xf0,0x58,0x80,0x88,0x2e,0xa0,0xb4,0x0b,0xb0,0x8d,0x02,0xea,0x3b,0x52,0x3a,0x94,0x08,0xac,0x45,0xc2,0x31,0x10,}; | ||||||
|  | const uint8_t *_I_Ble_disconnected_24x34[] = {_I_Ble_disconnected_24x34_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Space_65x18_0[] = {0x01,0x00,0x26,0x00,0xfc,0x7f,0xc0,0x09,0x7f,0x80,0x41,0x81,0xeb,0x80,0x80,0x40,0xc3,0x2d,0x01,0x04,0x78,0x23,0xc1,0x1e,0x08,0xf0,0x47,0x82,0x3c,0x11,0x70,0x73,0xeb,0x40,0x7f,0xc8,0xf5,0xff,0xc0,0x3f,0x89,0x87,}; | ||||||
|  | const uint8_t *_I_Space_65x18[] = {_I_Space_65x18_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Circles_47x47_0[] = {0x01,0x00,0x7e,0x00,0x00,0x0f,0xe2,0x3e,0x04,0x2c,0x04,0x1f,0xc0,0x05,0x2b,0x00,0x08,0x60,0x60,0x21,0x8c,0x00,0x86,0x18,0x02,0x18,0x20,0x08,0x62,0x00,0xe4,0x0a,0x0e,0x00,0x40,0x70,0x0a,0x00,0xb0,0xe0,0x32,0x00,0x29,0xc0,0x80,0xaa,0x1f,0x21,0x39,0x42,0x00,0xa7,0x08,0x02,0xa8,0xd0,0x86,0xc4,0x05,0x1f,0x84,0x1c,0x0a,0x30,0x22,0x28,0x92,0x46,0x40,0x05,0x11,0x61,0x01,0x4a,0x02,0x3e,0x10,0x28,0x91,0x04,0x02,0x32,0x08,0x08,0x14,0xe8,0x00,0xf2,0x09,0x90,0x17,0xc0,0xbe,0x05,0x41,0x7a,0x0e,0xd4,0x8e,0xc5,0x36,0x2f,0x99,0xad,0x4e,0xea,0x89,0xb4,0xda,0xab,0x6d,0x7e,0xac,0xb5,0x6b,0xab,0x8d,0x9d,0xea,0xfb,0x5c,0x04,0x1f,0xe0,0x26,0x3f,0xc4,0x3c,0x06,0x20,}; | ||||||
|  | const uint8_t *_I_Circles_47x47[] = {_I_Circles_47x47_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Ok_btn_9x9_0[] = {0x01,0x00,0x0f,0x00,0xbe,0x40,0x30,0x50,0x09,0xcc,0x06,0xfa,0x01,0x40,0x38,0x82,0xc4,0x1e,0x20,}; | ||||||
|  | const uint8_t *_I_Ok_btn_9x9[] = {_I_Ok_btn_9x9_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Ble_connected_38x34_0[] = {0x01,0x00,0x60,0x00,0x80,0x7f,0xc0,0x65,0xc0,0xff,0xc0,0xc0,0x83,0xf0,0xff,0xc3,0xc0,0x83,0xf8,0xff,0xc7,0xc0,0x83,0xfc,0xff,0xcf,0xc0,0x8d,0xfe,0xf9,0xdf,0xe0,0x10,0x30,0x21,0xc1,0xff,0xfc,0x31,0x40,0xc3,0x80,0x87,0x0c,0xff,0xcc,0xc0,0x83,0x1c,0x02,0x1c,0x62,0x7f,0xf3,0xfe,0x4c,0x27,0x00,0x42,0xb8,0x4e,0x3f,0xf3,0x0f,0xff,0x80,0x04,0x20,0x11,0xe0,0x00,0x84,0x44,0x20,0x47,0x07,0x20,0x60,0xc4,0x48,0x2c,0x41,0xb2,0x10,0x14,0x94,0x85,0x43,0x2f,0x21,0xa1,0x0e,0xf2,0x86,0x44,0x82,0x26,0x91,0x48,0x80,}; | ||||||
|  | const uint8_t *_I_Ble_connected_38x34[] = {_I_Ble_connected_38x34_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_Clock_18x18_0[] = {0x01,0x00,0x31,0x00,0xe0,0x43,0xe0,0x1f,0x09,0xfc,0x03,0xf1,0x7f,0x80,0x47,0x3c,0x10,0x0d,0xf7,0xde,0x02,0x02,0x2d,0xff,0xde,0x07,0x7f,0xfd,0xc0,0xff,0xff,0xc0,0x11,0xdf,0xff,0x30,0x3d,0xff,0xca,0x07,0x3e,0xfa,0x85,0xc7,0xe5,0x01,0x10,0x10,0x98,0x85,0x84,0x32,0x20,}; | const uint8_t _I_Clock_18x18_0[] = {0x01,0x00,0x31,0x00,0xe0,0x43,0xe0,0x1f,0x09,0xfc,0x03,0xf1,0x7f,0x80,0x47,0x3c,0x10,0x0d,0xf7,0xde,0x02,0x02,0x2d,0xff,0xde,0x07,0x7f,0xfd,0xc0,0xff,0xff,0xc0,0x11,0xdf,0xff,0x30,0x3d,0xff,0xca,0x07,0x3e,0xfa,0x85,0xc7,0xe5,0x01,0x10,0x10,0x98,0x85,0x84,0x32,0x20,}; | ||||||
| const uint8_t *_I_Clock_18x18[] = {_I_Clock_18x18_0}; | const uint8_t *_I_Clock_18x18[] = {_I_Clock_18x18_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_Smile_18x18_0[] = {0x01,0x00,0x2d,0x00,0xe0,0x43,0xe0,0x1f,0x09,0xfc,0x03,0xf1,0x7f,0x80,0x7f,0x3f,0xf0,0x0f,0xf7,0xfe,0x02,0x02,0x2f,0xff,0xfe,0x07,0xcf,0xe7,0xc0,0xf0,0xf8,0x70,0x11,0x82,0x08,0x1c,0x41,0x42,0xdf,0x7d,0xe0,0x37,0xcf,0xc0,0x98,0xc5,0x84,0x32,0x20,}; |  | ||||||
| const uint8_t *_I_Smile_18x18[] = {_I_Smile_18x18_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_EviSmile1_18x21_0[] = {0x01,0x00,0x39,0x00,0x86,0x70,0x20,0x10,0x6c,0x04,0x06,0x0f,0x80,0x81,0xf3,0xf9,0xf0,0x3f,0xff,0xfc,0x04,0x7f,0xef,0xfc,0x04,0x04,0xbf,0x7d,0xfc,0x0f,0xcf,0x9f,0x81,0xf1,0xf1,0xf0,0x3c,0x3e,0x1e,0x07,0x8f,0xe3,0x86,0x9b,0xbd,0xef,0x80,0xef,0x3e,0x90,0x0b,0xc5,0xe2,0x01,0xf0,0x9f,0xc0,0x38,0x10,0xf8,0x00,}; |  | ||||||
| const uint8_t *_I_EviSmile1_18x21[] = {_I_EviSmile1_18x21_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_Percent_10x14_0[] = {0x00,0x0C,0x03,0x1E,0x03,0x33,0x03,0xB3,0x03,0xDE,0x01,0xEC,0x00,0x70,0x00,0x38,0x00,0xDC,0x00,0xEE,0x01,0x37,0x03,0x33,0x03,0xE3,0x01,0xC3,0x00,}; |  | ||||||
| const uint8_t *_I_Percent_10x14[] = {_I_Percent_10x14_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_Error_18x18_0[] = {0x01,0x00,0x2c,0x00,0xe0,0x43,0xe0,0x1f,0x09,0xfc,0x03,0xf1,0x7f,0x80,0x7f,0x3f,0xf0,0x0e,0x77,0x3e,0x03,0x8e,0xe3,0xc0,0x63,0xfe,0x38,0x1c,0xff,0xe1,0x03,0xbf,0xfe,0x00,0x46,0x08,0x20,0x71,0x05,0x08,0x34,0x42,0x02,0x13,0x10,0xb0,0x86,0x44,}; | const uint8_t _I_Error_18x18_0[] = {0x01,0x00,0x2c,0x00,0xe0,0x43,0xe0,0x1f,0x09,0xfc,0x03,0xf1,0x7f,0x80,0x7f,0x3f,0xf0,0x0e,0x77,0x3e,0x03,0x8e,0xe3,0xc0,0x63,0xfe,0x38,0x1c,0xff,0xe1,0x03,0xbf,0xfe,0x00,0x46,0x08,0x20,0x71,0x05,0x08,0x34,0x42,0x02,0x13,0x10,0xb0,0x86,0x44,}; | ||||||
| const uint8_t *_I_Error_18x18[] = {_I_Error_18x18_0}; | const uint8_t *_I_Error_18x18[] = {_I_Error_18x18_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_EviWaiting1_18x21_0[] = {0x01,0x00,0x34,0x00,0x86,0x70,0x20,0x10,0x6c,0x04,0x06,0x0f,0x80,0x81,0xf3,0xf9,0xf0,0x3f,0xff,0xfc,0x04,0x7f,0xef,0xfc,0x04,0x04,0xa0,0xb2,0xdb,0xeb,0xe0,0x7b,0xfd,0xfc,0x0f,0x3f,0x9f,0x81,0xf1,0xf8,0xe1,0xa9,0xfe,0x7f,0xe0,0x1f,0x8b,0xfc,0x03,0xe1,0x3f,0x80,0x70,0x21,0xf0,0x00,}; |  | ||||||
| const uint8_t *_I_EviWaiting1_18x21[] = {_I_EviWaiting1_18x21_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_EviSmile2_18x21_0[] = {0x01,0x00,0x37,0x00,0x00,0x14,0x3b,0x81,0x01,0x83,0xe0,0x20,0x7c,0xfe,0x7c,0x0f,0xff,0xff,0x01,0x1f,0xfb,0xff,0x01,0x01,0x2f,0x9f,0x3f,0x03,0xe3,0xe3,0xe0,0x78,0x7c,0x3c,0x0f,0x1f,0xc7,0x0d,0x37,0x3b,0x99,0x01,0xcf,0x79,0x20,0x33,0xcf,0x84,0x03,0xf1,0x7f,0x80,0x7c,0x27,0xf0,0x0e,0x04,0x3e,0x00,}; | const uint8_t _I_EviSmile2_18x21_0[] = {0x01,0x00,0x37,0x00,0x00,0x14,0x3b,0x81,0x01,0x83,0xe0,0x20,0x7c,0xfe,0x7c,0x0f,0xff,0xff,0x01,0x1f,0xfb,0xff,0x01,0x01,0x2f,0x9f,0x3f,0x03,0xe3,0xe3,0xe0,0x78,0x7c,0x3c,0x0f,0x1f,0xc7,0x0d,0x37,0x3b,0x99,0x01,0xcf,0x79,0x20,0x33,0xcf,0x84,0x03,0xf1,0x7f,0x80,0x7c,0x27,0xf0,0x0e,0x04,0x3e,0x00,}; | ||||||
| const uint8_t *_I_EviSmile2_18x21[] = {_I_EviSmile2_18x21_0}; | const uint8_t *_I_EviSmile2_18x21[] = {_I_EviSmile2_18x21_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_ButtonRightSmall_3x5_0[] = {0x00,0x01,0x03,0x07,0x03,0x01,}; | const uint8_t _I_EviWaiting1_18x21_0[] = {0x01,0x00,0x34,0x00,0x86,0x70,0x20,0x10,0x6c,0x04,0x06,0x0f,0x80,0x81,0xf3,0xf9,0xf0,0x3f,0xff,0xfc,0x04,0x7f,0xef,0xfc,0x04,0x04,0xa0,0xb2,0xdb,0xeb,0xe0,0x7b,0xfd,0xfc,0x0f,0x3f,0x9f,0x81,0xf1,0xf8,0xe1,0xa9,0xfe,0x7f,0xe0,0x1f,0x8b,0xfc,0x03,0xe1,0x3f,0x80,0x70,0x21,0xf0,0x00,}; | ||||||
| const uint8_t *_I_ButtonRightSmall_3x5[] = {_I_ButtonRightSmall_3x5_0}; | const uint8_t *_I_EviWaiting1_18x21[] = {_I_EviWaiting1_18x21_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_EviSmile1_18x21_0[] = {0x01,0x00,0x39,0x00,0x86,0x70,0x20,0x10,0x6c,0x04,0x06,0x0f,0x80,0x81,0xf3,0xf9,0xf0,0x3f,0xff,0xfc,0x04,0x7f,0xef,0xfc,0x04,0x04,0xbf,0x7d,0xfc,0x0f,0xcf,0x9f,0x81,0xf1,0xf1,0xf0,0x3c,0x3e,0x1e,0x07,0x8f,0xe3,0x86,0x9b,0xbd,0xef,0x80,0xef,0x3e,0x90,0x0b,0xc5,0xe2,0x01,0xf0,0x9f,0xc0,0x38,0x10,0xf8,0x00,}; | ||||||
|  | const uint8_t *_I_EviSmile1_18x21[] = {_I_EviSmile1_18x21_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_EviWaiting2_18x21_0[] = {0x01,0x00,0x31,0x00,0x86,0x70,0x20,0x10,0x6c,0x04,0x06,0x0f,0x80,0x81,0xf3,0xf9,0xf0,0x3f,0xff,0xfc,0x04,0x7f,0xef,0xfc,0x04,0x04,0xa0,0xb2,0xeb,0xed,0xe0,0x7f,0x7f,0xb8,0x08,0xf1,0xf8,0xf0,0xd4,0xff,0x3f,0xf0,0x0f,0xc5,0xfe,0x01,0xf0,0x9f,0xc0,0x38,0x10,0xf8,0x00,}; | ||||||
|  | const uint8_t *_I_EviWaiting2_18x21[] = {_I_EviWaiting2_18x21_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_UsbTree_48x22_0[] = {0x01,0x00,0x3c,0x00,0x00,0x14,0x3c,0x08,0x78,0x08,0xf8,0x10,0xff,0xe0,0x59,0xb0,0x04,0x52,0xc0,0x1d,0x48,0xc0,0x9d,0x00,0xa7,0x02,0x80,0x41,0x80,0xa5,0x0e,0x02,0xa4,0xfb,0xfe,0x00,0xa1,0x49,0x04,0x48,0x0a,0x81,0xd1,0xc0,0x40,0x45,0x26,0x05,0x30,0x01,0x41,0xbe,0x10,0x30,0x2c,0x7e,0x3f,0xe0,0x59,0x80,0x04,0x50,0x0a,0x60,}; | ||||||
|  | const uint8_t *_I_UsbTree_48x22[] = {_I_UsbTree_48x22_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Smile_18x18_0[] = {0x01,0x00,0x2d,0x00,0xe0,0x43,0xe0,0x1f,0x09,0xfc,0x03,0xf1,0x7f,0x80,0x7f,0x3f,0xf0,0x0f,0xf7,0xfe,0x02,0x02,0x2f,0xff,0xfe,0x07,0xcf,0xe7,0xc0,0xf0,0xf8,0x70,0x11,0x82,0x08,0x1c,0x41,0x42,0xdf,0x7d,0xe0,0x37,0xcf,0xc0,0x98,0xc5,0x84,0x32,0x20,}; | ||||||
|  | const uint8_t *_I_Smile_18x18[] = {_I_Smile_18x18_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Percent_10x14_0[] = {0x00,0x0C,0x03,0x1E,0x03,0x33,0x03,0xB3,0x03,0xDE,0x01,0xEC,0x00,0x70,0x00,0x38,0x00,0xDC,0x00,0xEE,0x01,0x37,0x03,0x33,0x03,0xE3,0x01,0xC3,0x00,}; | ||||||
|  | const uint8_t *_I_Percent_10x14[] = {_I_Percent_10x14_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_ButtonLeft_4x7_0[] = {0x00,0x08,0x0C,0x0E,0x0F,0x0E,0x0C,0x08,}; | const uint8_t _I_ButtonLeft_4x7_0[] = {0x00,0x08,0x0C,0x0E,0x0F,0x0E,0x0C,0x08,}; | ||||||
| const uint8_t *_I_ButtonLeft_4x7[] = {_I_ButtonLeft_4x7_0}; | const uint8_t *_I_ButtonLeft_4x7[] = {_I_ButtonLeft_4x7_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_ButtonLeftSmall_3x5_0[] = {0x00,0x04,0x06,0x07,0x06,0x04,}; | const uint8_t _I_ButtonRight_4x7_0[] = {0x00,0x01,0x03,0x07,0x0F,0x07,0x03,0x01,}; | ||||||
| const uint8_t *_I_ButtonLeftSmall_3x5[] = {_I_ButtonLeftSmall_3x5_0}; | const uint8_t *_I_ButtonRight_4x7[] = {_I_ButtonRight_4x7_0}; | ||||||
| 
 |  | ||||||
| const uint8_t _I_DFU_128x50_0[] = {0x01,0x00,0x2e,0x02,0x00,0x57,0xfe,0x0e,0x0e,0xcf,0x84,0x02,0x70,0x0f,0xc8,0x74,0x03,0x80,0x0e,0xbc,0x7c,0x04,0x06,0x30,0x30,0x74,0xe0,0x2f,0xe0,0x42,0x82,0x03,0xe7,0x81,0xff,0x02,0x14,0x20,0x1f,0x3e,0x00,0x79,0xc4,0x01,0xfd,0x20,0x07,0xd5,0xd4,0xe2,0x53,0xf2,0x74,0xff,0xe1,0x40,0x41,0x87,0xd8,0x01,0xf1,0x60,0xf0,0x43,0xca,0x43,0xe0,0xa7,0x83,0xe2,0x30,0x01,0x29,0x84,0x7b,0x20,0x0f,0x88,0x30,0x3c,0xb1,0x90,0x1d,0x00,0xfa,0x30,0x3f,0xf8,0xcc,0x02,0xc6,0x31,0x1f,0x83,0x49,0xa8,0x16,0x0a,0xf4,0x7f,0x00,0x21,0x1f,0x04,0x38,0x06,0x20,0x04,0x90,0x46,0x35,0xf0,0xfa,0x00,0xcc,0x7f,0x10,0x14,0x0b,0x46,0x20,0xd5,0x70,0x50,0xb4,0x06,0xf1,0x00,0x9f,0x03,0xd7,0x09,0x81,0xd7,0xc0,0x8b,0x85,0x38,0xc0,0x50,0x41,0xeb,0x63,0xc0,0x07,0xc6,0x90,0xbf,0x2b,0x05,0x01,0xb8,0xb1,0x0c,0x06,0xae,0x01,0x24,0x6f,0x94,0x42,0x80,0xb2,0x49,0xc4,0x33,0x80,0x1f,0x18,0x93,0xfc,0xa1,0x14,0x0e,0x02,0x9c,0x43,0xc3,0x07,0x81,0xfc,0x03,0xe2,0xc0,0x28,0x14,0x10,0x5e,0x3f,0x03,0xc0,0xcf,0xf8,0x10,0x0f,0xe5,0x56,0x03,0x05,0xf0,0x40,0x20,0x20,0xf2,0x42,0x0d,0xfd,0x72,0x30,0x0f,0xf8,0x7c,0x41,0xe3,0x80,0x10,0x0d,0x00,0x5c,0x4a,0xd1,0x87,0xf8,0x39,0xf5,0x5c,0x0c,0x0b,0xe0,0x1c,0x10,0x78,0xfc,0x02,0x04,0x20,0x1f,0xf7,0x0f,0x57,0x80,0x81,0x5e,0x13,0x83,0x01,0x1f,0x97,0xff,0xfe,0x03,0x2e,0x07,0x57,0x03,0x01,0xbf,0x1d,0x45,0x70,0x27,0xe4,0xff,0x8c,0x07,0xf5,0x83,0xe0,0xcf,0xe1,0x00,0xf6,0x10,0x8c,0x07,0xb1,0x07,0xc1,0xfc,0x63,0xe5,0xd2,0x07,0x8f,0x80,0x1a,0x21,0xe1,0xc0,0x71,0xe0,0x20,0xf1,0x24,0x88,0x34,0x62,0x00,0xe3,0x3f,0x8d,0xfe,0x81,0x80,0xc1,0xf8,0x5b,0xe2,0x0f,0x18,0xc7,0xf0,0x1e,0x50,0x35,0xa0,0xc8,0x3f,0x98,0x30,0x70,0x87,0x44,0x1e,0x21,0xe3,0xf8,0x02,0x4b,0xaf,0x01,0x81,0xb3,0xca,0x01,0x1c,0x25,0x94,0x01,0x04,0x58,0x8d,0x5c,0x0b,0xc6,0x08,0x10,0x78,0xc3,0x3f,0xf0,0x72,0x88,0x98,0x8b,0x89,0x55,0x82,0xc7,0x9b,0xe5,0x00,0x87,0x26,0xc4,0x46,0x20,0xf2,0xd1,0x87,0xc6,0x0c,0xdf,0x21,0x50,0x8a,0xc7,0x00,0x38,0x2e,0x04,0x42,0xaf,0x05,0x06,0x0a,0xb8,0x70,0x0f,0x91,0x80,0x5c,0x03,0xc5,0x30,0x84,0x6a,0xe1,0x40,0xf1,0x7b,0x0f,0x00,0x7a,0x24,0x21,0x07,0x94,0x33,0x09,0x57,0x8a,0x93,0x85,0xec,0x3e,0x00,0x79,0x0b,0x88,0x06,0x3c,0x3f,0xfc,0xa8,0x1e,0x21,0x91,0x76,0x90,0x90,0x40,0x03,0xe0,0xe0,0x78,0x3f,0xd5,0x58,0x0e,0x08,0x32,0x3f,0x88,0xa8,0x90,0x8c,0x25,0x30,0xbc,0x7f,0xb5,0x50,0x1b,0xe0,0x20,0x7f,0x92,0x33,0x88,0x97,0x4a,0x07,0x0c,0x9e,0x5f,0xeb,0xaa,0xf2,0x74,0x8d,0x17,0x80,0x06,0x29,0xf1,0xe0,0x71,0xfb,0xfd,0x71,0xd8,0xff,0xf8,0x21,0x71,0x04,0x87,0x01,0xc1,0xa1,0xff,0x83,0xe7,0xf0,0xff,0xc1,0x51,0xe4,0xdd,0x1b,0x07,0xc2,0x63,0xf6,0x0f,0x9f,0xeb,0x5f,0x02,0x77,0x8a,0xc4,0xa3,0x17,0xc8,0x44,0x8c,0x34,0x20,0x71,0xfe,0x99,0x04,0x88,0x40,0x01,0xc3,0x47,0xf0,0x93,0x0f,0xf4,0x28,0x0e,0x3a,0xad,0x50,0x39,0x30,0x1f,0x18,0x3d,0x0e,0x31,0xff,0x3d,0x0c,0x02,0xa8,0x03,0x20,0x01,0x7e,0x3f,0xf8,0x09,0x06,0x33,0xfe,0x1b,0x50,}; |  | ||||||
| const uint8_t *_I_DFU_128x50[] = {_I_DFU_128x50_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_Warning_30x23_0[] = {0x01,0x00,0x47,0x00,0x80,0x70,0x00,0x65,0xe0,0x80,0x80,0xc7,0xe1,0x03,0x01,0xaf,0xe2,0x0e,0x03,0x19,0xe4,0x3c,0x06,0xb3,0xe8,0xf8,0x0c,0x67,0xf3,0xf0,0x1a,0x60,0x27,0xf7,0xf1,0x50,0xcf,0xff,0xe0,0x34,0xf0,0x00,0xc6,0x03,0xf0,0x01,0x8c,0x0c,0x06,0x7f,0x80,0x18,0xc1,0xff,0x9f,0xff,0xfc,0x3c,0x06,0x7f,0xe0,0x58,0xc7,0xff,0xe0,0x31,0x00,0x88,0x00,0x67,0xff,0xe0,0x18,0xc7,0xc0,}; |  | ||||||
| const uint8_t *_I_Warning_30x23[] = {_I_Warning_30x23_0}; |  | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_ButtonDown_7x4_0[] = {0x00,0x7F,0x3E,0x1C,0x08,}; | const uint8_t _I_ButtonDown_7x4_0[] = {0x00,0x7F,0x3E,0x1C,0x08,}; | ||||||
| const uint8_t *_I_ButtonDown_7x4[] = {_I_ButtonDown_7x4_0}; | const uint8_t *_I_ButtonDown_7x4[] = {_I_ButtonDown_7x4_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_ButtonRight_4x7_0[] = {0x00,0x01,0x03,0x07,0x0F,0x07,0x03,0x01,}; | const uint8_t _I_ButtonUp_7x4_0[] = {0x00,0x08,0x1C,0x3E,0x7F,}; | ||||||
| const uint8_t *_I_ButtonRight_4x7[] = {_I_ButtonRight_4x7_0}; | const uint8_t *_I_ButtonUp_7x4[] = {_I_ButtonUp_7x4_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Warning_30x23_0[] = {0x01,0x00,0x47,0x00,0x80,0x70,0x00,0x65,0xe0,0x80,0x80,0xc7,0xe1,0x03,0x01,0xaf,0xe2,0x0e,0x03,0x19,0xe4,0x3c,0x06,0xb3,0xe8,0xf8,0x0c,0x67,0xf3,0xf0,0x1a,0x60,0x27,0xf7,0xf1,0x50,0xcf,0xff,0xe0,0x34,0xf0,0x00,0xc6,0x03,0xf0,0x01,0x8c,0x0c,0x06,0x7f,0x80,0x18,0xc1,0xff,0x9f,0xff,0xfc,0x3c,0x06,0x7f,0xe0,0x58,0xc7,0xff,0xe0,0x31,0x00,0x88,0x00,0x67,0xff,0xe0,0x18,0xc7,0xc0,}; | ||||||
|  | const uint8_t *_I_Warning_30x23[] = {_I_Warning_30x23_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_DFU_128x50_0[] = {0x01,0x00,0x2e,0x02,0x00,0x57,0xfe,0x0e,0x0e,0xcf,0x84,0x02,0x70,0x0f,0xc8,0x74,0x03,0x80,0x0e,0xbc,0x7c,0x04,0x06,0x30,0x30,0x74,0xe0,0x2f,0xe0,0x42,0x82,0x03,0xe7,0x81,0xff,0x02,0x14,0x20,0x1f,0x3e,0x00,0x79,0xc4,0x01,0xfd,0x20,0x07,0xd5,0xd4,0xe2,0x53,0xf2,0x74,0xff,0xe1,0x40,0x41,0x87,0xd8,0x01,0xf1,0x60,0xf0,0x43,0xca,0x43,0xe0,0xa7,0x83,0xe2,0x30,0x01,0x29,0x84,0x7b,0x20,0x0f,0x88,0x30,0x3c,0xb1,0x90,0x1d,0x00,0xfa,0x30,0x3f,0xf8,0xcc,0x02,0xc6,0x31,0x1f,0x83,0x49,0xa8,0x16,0x0a,0xf4,0x7f,0x00,0x21,0x1f,0x04,0x38,0x06,0x20,0x04,0x90,0x46,0x35,0xf0,0xfa,0x00,0xcc,0x7f,0x10,0x14,0x0b,0x46,0x20,0xd5,0x70,0x50,0xb4,0x06,0xf1,0x00,0x9f,0x03,0xd7,0x09,0x81,0xd7,0xc0,0x8b,0x85,0x38,0xc0,0x50,0x41,0xeb,0x63,0xc0,0x07,0xc6,0x90,0xbf,0x2b,0x05,0x01,0xb8,0xb1,0x0c,0x06,0xae,0x01,0x24,0x6f,0x94,0x42,0x80,0xb2,0x49,0xc4,0x33,0x80,0x1f,0x18,0x93,0xfc,0xa1,0x14,0x0e,0x02,0x9c,0x43,0xc3,0x07,0x81,0xfc,0x03,0xe2,0xc0,0x28,0x14,0x10,0x5e,0x3f,0x03,0xc0,0xcf,0xf8,0x10,0x0f,0xe5,0x56,0x03,0x05,0xf0,0x40,0x20,0x20,0xf2,0x42,0x0d,0xfd,0x72,0x30,0x0f,0xf8,0x7c,0x41,0xe3,0x80,0x10,0x0d,0x00,0x5c,0x4a,0xd1,0x87,0xf8,0x39,0xf5,0x5c,0x0c,0x0b,0xe0,0x1c,0x10,0x78,0xfc,0x02,0x04,0x20,0x1f,0xf7,0x0f,0x57,0x80,0x81,0x5e,0x13,0x83,0x01,0x1f,0x97,0xff,0xfe,0x03,0x2e,0x07,0x57,0x03,0x01,0xbf,0x1d,0x45,0x70,0x27,0xe4,0xff,0x8c,0x07,0xf5,0x83,0xe0,0xcf,0xe1,0x00,0xf6,0x10,0x8c,0x07,0xb1,0x07,0xc1,0xfc,0x63,0xe5,0xd2,0x07,0x8f,0x80,0x1a,0x21,0xe1,0xc0,0x71,0xe0,0x20,0xf1,0x24,0x88,0x34,0x62,0x00,0xe3,0x3f,0x8d,0xfe,0x81,0x80,0xc1,0xf8,0x5b,0xe2,0x0f,0x18,0xc7,0xf0,0x1e,0x50,0x35,0xa0,0xc8,0x3f,0x98,0x30,0x70,0x87,0x44,0x1e,0x21,0xe3,0xf8,0x02,0x4b,0xaf,0x01,0x81,0xb3,0xca,0x01,0x1c,0x25,0x94,0x01,0x04,0x58,0x8d,0x5c,0x0b,0xc6,0x08,0x10,0x78,0xc3,0x3f,0xf0,0x72,0x88,0x98,0x8b,0x89,0x55,0x82,0xc7,0x9b,0xe5,0x00,0x87,0x26,0xc4,0x46,0x20,0xf2,0xd1,0x87,0xc6,0x0c,0xdf,0x21,0x50,0x8a,0xc7,0x00,0x38,0x2e,0x04,0x42,0xaf,0x05,0x06,0x0a,0xb8,0x70,0x0f,0x91,0x80,0x5c,0x03,0xc5,0x30,0x84,0x6a,0xe1,0x40,0xf1,0x7b,0x0f,0x00,0x7a,0x24,0x21,0x07,0x94,0x33,0x09,0x57,0x8a,0x93,0x85,0xec,0x3e,0x00,0x79,0x0b,0x88,0x06,0x3c,0x3f,0xfc,0xa8,0x1e,0x21,0x91,0x76,0x90,0x90,0x40,0x03,0xe0,0xe0,0x78,0x3f,0xd5,0x58,0x0e,0x08,0x32,0x3f,0x88,0xa8,0x90,0x8c,0x25,0x30,0xbc,0x7f,0xb5,0x50,0x1b,0xe0,0x20,0x7f,0x92,0x33,0x88,0x97,0x4a,0x07,0x0c,0x9e,0x5f,0xeb,0xaa,0xf2,0x74,0x8d,0x17,0x80,0x06,0x29,0xf1,0xe0,0x71,0xfb,0xfd,0x71,0xd8,0xff,0xf8,0x21,0x71,0x04,0x87,0x01,0xc1,0xa1,0xff,0x83,0xe7,0xf0,0xff,0xc1,0x51,0xe4,0xdd,0x1b,0x07,0xc2,0x63,0xf6,0x0f,0x9f,0xeb,0x5f,0x02,0x77,0x8a,0xc4,0xa3,0x17,0xc8,0x44,0x8c,0x34,0x20,0x71,0xfe,0x99,0x04,0x88,0x40,0x01,0xc3,0x47,0xf0,0x93,0x0f,0xf4,0x28,0x0e,0x3a,0xad,0x50,0x39,0x30,0x1f,0x18,0x3d,0x0e,0x31,0xff,0x3d,0x0c,0x02,0xa8,0x03,0x20,0x01,0x7e,0x3f,0xf8,0x09,0x06,0x33,0xfe,0x1b,0x50,}; | ||||||
|  | const uint8_t *_I_DFU_128x50[] = {_I_DFU_128x50_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_ButtonRightSmall_3x5_0[] = {0x00,0x01,0x03,0x07,0x03,0x01,}; | ||||||
|  | const uint8_t *_I_ButtonRightSmall_3x5[] = {_I_ButtonRightSmall_3x5_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_ButtonCenter_7x7_0[] = {0x00,0x1C,0x22,0x5D,0x5D,0x5D,0x22,0x1C,}; | const uint8_t _I_ButtonCenter_7x7_0[] = {0x00,0x1C,0x22,0x5D,0x5D,0x5D,0x22,0x1C,}; | ||||||
| const uint8_t *_I_ButtonCenter_7x7[] = {_I_ButtonCenter_7x7_0}; | const uint8_t *_I_ButtonCenter_7x7[] = {_I_ButtonCenter_7x7_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_ButtonUp_7x4_0[] = {0x00,0x08,0x1C,0x3E,0x7F,}; | const uint8_t _I_ButtonLeftSmall_3x5_0[] = {0x00,0x04,0x06,0x07,0x06,0x04,}; | ||||||
| const uint8_t *_I_ButtonUp_7x4[] = {_I_ButtonUp_7x4_0}; | const uint8_t *_I_ButtonLeftSmall_3x5[] = {_I_ButtonLeftSmall_3x5_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_DolphinOkay_41x43_0[] = {0x01,0x00,0xa0,0x00,0x00,0x0f,0x82,0x3e,0x05,0x38,0xf7,0x80,0x08,0x58,0x08,0x0c,0x02,0x0e,0x05,0x1b,0x00,0x08,0x63,0x00,0x21,0x88,0x00,0x86,0x40,0x02,0x18,0x40,0x08,0x68,0x00,0x21,0x82,0x06,0x88,0x0a,0xf0,0x21,0x39,0x09,0x84,0x02,0x20,0x57,0x09,0x98,0x15,0x67,0xc0,0x54,0xbe,0x81,0x4f,0x01,0xfe,0x02,0x9d,0x03,0xc4,0x20,0x10,0x29,0x7c,0x80,0xa9,0xfe,0x02,0xac,0x14,0x0a,0x77,0xc8,0x58,0x8c,0xf0,0x11,0x51,0x79,0xff,0x61,0x44,0x93,0x81,0x02,0xc4,0x9e,0x60,0xb2,0xf0,0xa0,0x46,0x0c,0x17,0x14,0x99,0x1a,0x07,0x80,0x59,0x49,0x82,0x21,0xc0,0xa4,0x82,0x24,0xb9,0x20,0x88,0x1c,0x47,0xc2,0x07,0x11,0x54,0xa0,0x60,0x53,0xb8,0x0a,0x4b,0xf3,0x03,0x87,0x81,0x4a,0x0d,0xfc,0x1a,0x98,0x68,0xb8,0x01,0x51,0x13,0x15,0xe0,0x82,0x7f,0x8d,0x78,0x38,0xbf,0xff,0xfa,0xb8,0x60,0xbf,0x1b,0xf9,0x50,0x14,0xea,0xe7,0x02,0x02,0x8e,0xac,0x94,0x40,}; | const uint8_t _I_DolphinOkay_41x43_0[] = {0x01,0x00,0xa0,0x00,0x00,0x0f,0x82,0x3e,0x05,0x38,0xf7,0x80,0x08,0x58,0x08,0x0c,0x02,0x0e,0x05,0x1b,0x00,0x08,0x63,0x00,0x21,0x88,0x00,0x86,0x40,0x02,0x18,0x40,0x08,0x68,0x00,0x21,0x82,0x06,0x88,0x0a,0xf0,0x21,0x39,0x09,0x84,0x02,0x20,0x57,0x09,0x98,0x15,0x67,0xc0,0x54,0xbe,0x81,0x4f,0x01,0xfe,0x02,0x9d,0x03,0xc4,0x20,0x10,0x29,0x7c,0x80,0xa9,0xfe,0x02,0xac,0x14,0x0a,0x77,0xc8,0x58,0x8c,0xf0,0x11,0x51,0x79,0xff,0x61,0x44,0x93,0x81,0x02,0xc4,0x9e,0x60,0xb2,0xf0,0xa0,0x46,0x0c,0x17,0x14,0x99,0x1a,0x07,0x80,0x59,0x49,0x82,0x21,0xc0,0xa4,0x82,0x24,0xb9,0x20,0x88,0x1c,0x47,0xc2,0x07,0x11,0x54,0xa0,0x60,0x53,0xb8,0x0a,0x4b,0xf3,0x03,0x87,0x81,0x4a,0x0d,0xfc,0x1a,0x98,0x68,0xb8,0x01,0x51,0x13,0x15,0xe0,0x82,0x7f,0x8d,0x78,0x38,0xbf,0xff,0xfa,0xb8,0x60,0xbf,0x1b,0xf9,0x50,0x14,0xea,0xe7,0x02,0x02,0x8e,0xac,0x94,0x40,}; | ||||||
| const uint8_t *_I_DolphinOkay_41x43[] = {_I_DolphinOkay_41x43_0}; | const uint8_t *_I_DolphinOkay_41x43[] = {_I_DolphinOkay_41x43_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_DolphinFirstStart4_67x53_0[] = {0x01,0x00,0x1f,0x01,0x00,0x17,0xc3,0xfe,0x08,0x68,0x74,0x02,0x0e,0x07,0x4c,0x04,0x06,0x01,0x18,0x04,0x25,0x00,0x04,0x36,0x00,0x42,0x48,0x02,0x88,0x00,0x28,0x80,0x0c,0xa0,0x40,0x83,0x84,0x00,0xca,0x08,0x08,0x30,0x21,0x83,0x0c,0x2c,0x81,0xe3,0x04,0x20,0xc0,0x80,0x02,0x31,0x32,0x11,0x02,0x27,0x00,0x5d,0x40,0x45,0x87,0x90,0x3e,0x7c,0x00,0x43,0x84,0x4e,0x60,0x43,0x30,0x89,0x82,0x12,0x80,0x15,0x20,0x40,0x99,0xc8,0x22,0x7b,0x88,0x10,0x20,0x82,0x27,0x7c,0x82,0x9d,0x48,0x22,0x5f,0x0d,0xfc,0x08,0x10,0x41,0x12,0xf8,0x57,0xc2,0x28,0x30,0x1e,0x07,0x9e,0x06,0x87,0x25,0x79,0xc4,0x20,0x40,0x83,0x21,0x14,0x22,0x08,0x08,0x38,0x2a,0xb8,0xd9,0x47,0x0a,0x14,0x09,0xf0,0x54,0x47,0x1f,0x81,0x82,0x1a,0xde,0x8e,0x33,0xd1,0xc7,0x81,0x0f,0x0e,0x45,0x18,0x20,0xa1,0xe6,0xf2,0x10,0x89,0xa0,0x70,0x11,0x00,0x41,0x46,0x03,0x86,0x55,0x10,0x40,0xc1,0x82,0x25,0x20,0x04,0x11,0x94,0x80,0x43,0x10,0x84,0x01,0x46,0xc0,0xbd,0x38,0x40,0x20,0x8f,0x49,0x08,0xc4,0x1c,0xc8,0x22,0x50,0x38,0x20,0x20,0x86,0xe4,0x83,0x10,0x41,0x8b,0x87,0xf9,0x03,0x81,0xc0,0x81,0x05,0x81,0xc0,0x40,0xf3,0x90,0x60,0x41,0x70,0x2c,0x17,0x01,0xc0,0xc1,0x41,0x05,0x30,0x98,0x43,0x04,0x65,0x01,0x04,0x0c,0x32,0x38,0x91,0x18,0x04,0x14,0x10,0x38,0x18,0x1e,0xac,0x7c,0x41,0x11,0x88,0x5f,0xfc,0x17,0x55,0xa9,0x82,0x06,0x05,0xbc,0x85,0x02,0x08,0xc6,0x32,0x0f,0xe5,0x5e,0x1a,0x08,0x5c,0x06,0xaa,0x34,0x08,0x4a,0x06,0x02,0xab,0x75,0xf0,0x4f,0xc1,0x05,0x80,0x08,0x8e,0xab,0x7f,0xea,0x04,0x11,0x80,0x6a,0xa0,0x02,0x03,0x08,}; |  | ||||||
| const uint8_t *_I_DolphinFirstStart4_67x53[] = {_I_DolphinFirstStart4_67x53_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_DolphinFirstStart2_59x51_0[] = {0x01,0x00,0x2e,0x01,0x00,0x1f,0xfe,0x06,0x05,0x3f,0xc7,0xfe,0x01,0x1c,0x03,0x16,0x02,0xaf,0x0f,0x80,0x58,0x01,0xc7,0xaa,0x80,0x82,0xc4,0x0e,0x55,0x6b,0x28,0x10,0x81,0x45,0xab,0x8d,0x01,0xca,0x04,0x1a,0x1a,0xac,0x1c,0x0e,0x50,0x48,0x06,0xc0,0x3c,0x40,0x01,0x84,0x40,0x2b,0x15,0x51,0xd9,0xc4,0x20,0x1a,0xc9,0x50,0x1c,0xe4,0x02,0xe1,0x8a,0x81,0xd7,0x55,0x0a,0x03,0x9d,0x02,0x01,0x5c,0x82,0x81,0xd7,0xc0,0x3a,0x10,0x3a,0x12,0x88,0xc8,0x60,0x11,0x07,0xa0,0x1c,0x68,0x00,0xf6,0xe0,0x22,0x50,0x0e,0x36,0x00,0x7b,0x68,0x00,0x83,0xa0,0x11,0x08,0x1c,0x6a,0x03,0x42,0x44,0x1e,0xc0,0x28,0x50,0x61,0xf9,0x56,0x00,0xe3,0x60,0x40,0x88,0x1c,0x75,0x01,0x42,0x07,0x9d,0x50,0x5e,0x4b,0x01,0x37,0x8e,0xb0,0x0e,0x51,0xd8,0x04,0xc2,0x01,0xd4,0x5d,0x1c,0x02,0x30,0x7f,0x14,0x99,0x5c,0x20,0x11,0x48,0x07,0x58,0x0e,0x20,0x81,0xd0,0x23,0x04,0x1e,0x30,0x80,0x38,0xd4,0x11,0x82,0x0f,0x18,0x40,0xb0,0xb0,0x50,0x3d,0x58,0x1c,0x52,0x85,0xf1,0x83,0x75,0x58,0x64,0x49,0x1a,0xfc,0x17,0x57,0x01,0x88,0x25,0x0b,0x55,0x02,0xaa,0xc0,0x64,0x14,0x08,0x1e,0x02,0xaa,0x1f,0x18,0x0f,0x00,0xbe,0x20,0xf1,0x80,0x82,0x46,0x01,0x03,0x82,0xe0,0x04,0xa3,0xab,0x46,0x0e,0x32,0x15,0x80,0xb5,0x40,0x2a,0xa4,0x21,0x98,0x43,0x70,0x13,0x58,0x04,0xac,0xa4,0x3c,0x08,0xd6,0x02,0x35,0x00,0x8a,0xcd,0x06,0xa3,0x1d,0xa0,0x24,0x46,0x57,0xe8,0x26,0x8c,0xdb,0x80,0x84,0x18,0xad,0x42,0x07,0x5f,0xbf,0xb9,0x8a,0x17,0x80,0xff,0x6a,0xb0,0x46,0x91,0x07,0x88,0xc4,0x4a,0x43,0x1f,0x07,0x92,0xc4,0x49,0x82,0x9b,0x25,0x98,0xc0,0x28,0xa0,0x73,0x1f,0x0b,0x50,0x81,0xea,0x07,0x40,0x7b,0xac,0x44,0x0e,0xa0,}; |  | ||||||
| const uint8_t *_I_DolphinFirstStart2_59x51[] = {_I_DolphinFirstStart2_59x51_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_DolphinFirstStart5_54x49_0[] = {0x01,0x00,0x0b,0x01,0x00,0x0f,0xf2,0xfe,0x06,0x48,0x1e,0x02,0x06,0x05,0x2e,0x00,0x08,0x61,0x80,0x62,0x98,0x00,0x86,0x20,0x06,0x28,0x40,0x08,0x64,0x00,0x62,0x82,0x00,0x86,0x80,0x06,0x28,0x14,0x72,0x01,0x80,0x03,0x14,0x06,0x44,0x03,0x20,0x49,0x00,0xc4,0x0c,0x61,0x13,0x81,0x07,0x90,0x0c,0xff,0xa8,0x18,0xcc,0xe0,0x10,0x78,0x60,0x18,0xc9,0xe3,0x10,0x03,0x0e,0x02,0x02,0x4f,0x19,0x00,0x18,0x78,0x10,0x12,0x78,0xc8,0x0a,0xc3,0xf8,0x80,0xc1,0x80,0xc5,0xe0,0xff,0x8f,0x47,0xe1,0x27,0x03,0x0d,0xfc,0x80,0x3b,0xc9,0x74,0x43,0x81,0x0f,0xb0,0x40,0x2b,0xd2,0xd3,0x71,0x07,0x87,0x5f,0x16,0x84,0x54,0x23,0xe3,0x21,0xab,0xc5,0x61,0x1a,0x82,0xf0,0xf0,0x35,0x70,0xa8,0x45,0x50,0x2a,0x3e,0x0a,0xac,0x1e,0x11,0x28,0x03,0x0f,0xc3,0xfe,0x06,0x19,0xa0,0x18,0x6f,0x9f,0x08,0x7c,0x22,0x30,0x06,0x1d,0xfc,0x3e,0x21,0x08,0x00,0x8f,0x01,0x7a,0x31,0x08,0x24,0x42,0x21,0xf0,0x5e,0x08,0x18,0x44,0xe3,0x0f,0x59,0x92,0xb4,0x96,0x66,0x06,0x58,0x10,0x19,0x60,0x20,0x64,0x46,0x08,0x19,0x27,0x00,0x65,0x9f,0x81,0x93,0xd1,0x2b,0x03,0x17,0x82,0x3f,0x50,0x9a,0x81,0x87,0x51,0x1e,0xf0,0x68,0x69,0x40,0x61,0xea,0x9d,0x86,0x1d,0x45,0x80,0x61,0x2d,0x48,0xc2,0x67,0x8d,0x12,0x3a,0x06,0x19,0x02,0x88,0x74,0x4b,0x21,0x03,0x1d,0x08,0xca,0x21,0x41,0x06,0x93,0xe8,0xa1,0x85,0x31,0xe9,0x24,0x48,0x20,0x30,0x1b,0x10,0x18,0x77,0x8f,0xa1,0x80,0xcc,0x40,0xc3,0x56,0x0b,0x8c,0x0a,0x22,0xba,0x12,0x88,0x81,0x84,}; |  | ||||||
| const uint8_t *_I_DolphinFirstStart5_54x49[] = {_I_DolphinFirstStart5_54x49_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_DolphinFirstStart0_70x53_0[] = {0x01,0x00,0x5a,0x01,0x80,0x60,0x3f,0xf7,0xf0,0x42,0xf8,0x01,0x43,0x07,0x04,0x24,0x72,0x01,0xc0,0x9d,0x82,0x13,0xff,0xff,0xbd,0x70,0x20,0x20,0x72,0xe0,0x40,0x2a,0x11,0xdb,0x00,0x6c,0xec,0x10,0x0d,0x44,0x3a,0x71,0x0e,0x04,0x14,0x42,0x01,0x54,0x86,0xd3,0x27,0x02,0x44,0xd4,0x41,0xb0,0xf2,0x10,0x42,0x55,0x38,0x71,0x1b,0x10,0x18,0xa0,0x41,0x11,0xb1,0xc8,0x28,0x98,0x09,0xfc,0x00,0x72,0x35,0x49,0x8d,0x0b,0xc1,0x70,0xf0,0x10,0x4b,0x51,0x11,0xc2,0x6c,0x0a,0xa3,0x03,0x80,0x7f,0xbf,0xf3,0x08,0x46,0x60,0x90,0x30,0x60,0x50,0xd8,0x2c,0x11,0x0c,0x71,0x5c,0x60,0xf8,0x0f,0xcf,0x3f,0x81,0x80,0xa1,0x9e,0x86,0x0f,0xc0,0x82,0x64,0x30,0x3e,0x09,0x84,0x03,0xf1,0x03,0xa0,0x40,0xa4,0x18,0x39,0xfc,0x20,0x52,0x30,0x19,0x07,0xc6,0x8e,0x4a,0x18,0x22,0x74,0x60,0x1a,0x0f,0xc6,0x3c,0x60,0x5c,0x05,0x28,0xe4,0x3f,0x99,0xf8,0x22,0x28,0x7e,0x05,0x91,0xa8,0x7f,0x23,0xf0,0x59,0x00,0xac,0x63,0xe0,0x81,0xcf,0x4f,0xe0,0xb1,0x81,0x58,0xc3,0xc1,0x08,0x24,0x1f,0xf9,0x68,0x6a,0x1f,0xe9,0xff,0x16,0x02,0x34,0x13,0x50,0x82,0x0a,0xea,0x60,0x1f,0xf9,0xf0,0x41,0x05,0x1d,0x30,0x09,0x18,0x60,0x15,0xa3,0xe8,0x83,0x47,0xe0,0xec,0x2c,0xaf,0xf2,0x0e,0x08,0x1f,0xc1,0x18,0x60,0x1a,0xaf,0xc2,0x6c,0x89,0x62,0x03,0x19,0xad,0xe5,0x70,0x44,0x62,0x80,0x5a,0xa1,0x4f,0x63,0x23,0x0c,0x7a,0xaa,0x4d,0x11,0xe9,0x00,0x06,0x73,0xaa,0x25,0x0a,0x78,0xaf,0x90,0x09,0x25,0x54,0x56,0x5f,0x04,0x30,0xc0,0x64,0x7a,0xa1,0x11,0x7e,0x20,0x18,0x0f,0x3c,0x82,0xaa,0x04,0x18,0x0d,0xf8,0x16,0x33,0xe8,0x84,0xa8,0x08,0x3c,0x33,0x00,0xf0,0x20,0x71,0x08,0xa9,0x38,0x86,0x62,0x62,0x18,0x40,0x44,0x80,0x09,0x04,0x08,0x90,0x01,0x20,0x41,0x17,0x22,0x90,0x01,0x3e,0x00,0x76,0x80,0x1d,0x48,0x00,0x8d,0x91,0x00,0x34,0xf8,0x20,0xe2,0xa7,0x9c,0x06,0x5c,0x11,0x02,0x28,0x5d,0x91,0x35,0x48,0xaf,0xf8,0x04,0x3f,0xf9,0x88,0x20,0x01,}; |  | ||||||
| const uint8_t *_I_DolphinFirstStart0_70x53[] = {_I_DolphinFirstStart0_70x53_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_DolphinFirstStart6_58x54_0[] = {0x01,0x00,0x21,0x01,0x00,0x0f,0xf2,0x7e,0x06,0x4c,0x04,0x0f,0x81,0x03,0x03,0x9d,0x80,0x04,0x30,0xc0,0x39,0xc6,0x00,0x43,0x30,0x03,0x9c,0x10,0x04,0x34,0x00,0x39,0xc0,0x84,0x44,0x07,0x38,0x08,0x0d,0x41,0x68,0x13,0x70,0x39,0x08,0xd0,0x56,0xa1,0xd1,0x03,0x94,0x80,0x04,0x30,0x68,0x04,0x20,0x0e,0x84,0x91,0x03,0xa9,0x64,0x62,0x80,0x41,0x88,0x40,0x3f,0xc6,0xf1,0xfe,0x43,0xc0,0xe3,0x80,0xff,0xff,0xe0,0x3f,0xf8,0xf8,0x1c,0x78,0x18,0x1f,0xfe,0x0f,0x02,0x12,0x18,0x47,0x03,0x82,0x10,0x1e,0x08,0x1c,0xf5,0x60,0x71,0xd4,0x81,0xcf,0xab,0xff,0xd5,0xf5,0xc0,0xe3,0x04,0xe0,0x03,0x86,0xae,0x27,0x28,0x27,0x40,0x0e,0x21,0x91,0x03,0x96,0x80,0x0e,0x34,0x18,0x79,0x28,0x60,0x95,0x00,0x38,0xf8,0x20,0x27,0xd1,0x82,0x6a,0x03,0xc3,0x1c,0x39,0x94,0x0a,0xa1,0xc0,0xc5,0x2f,0xca,0x05,0x02,0x90,0x24,0x56,0x04,0x68,0x10,0x01,0x4f,0x80,0xea,0x5b,0x10,0x38,0x83,0x8d,0xa0,0x30,0x30,0x38,0xa3,0x09,0xc0,0x20,0xf2,0x03,0x90,0xc0,0x46,0xe2,0x91,0x2f,0x80,0xfc,0xe0,0x1e,0x08,0x02,0x54,0x47,0x62,0x27,0x2f,0xfb,0x14,0xdc,0xc6,0xb5,0x30,0x38,0x8b,0x05,0x6a,0x60,0x01,0x89,0x00,0xc8,0x16,0x50,0x29,0x10,0x1c,0x8d,0x25,0x05,0xa1,0x15,0xc9,0xfe,0x50,0xaa,0x08,0x10,0x67,0x01,0x22,0x8a,0xe0,0x60,0xe5,0xf2,0x07,0x8e,0xa8,0xb0,0x49,0xe1,0x00,0x0d,0xd4,0x68,0x5a,0x00,0x39,0x46,0x88,0x84,0x07,0x30,0xe8,0x81,0xc6,0x40,0x4d,0x11,0x91,0x17,0x06,0x40,0x65,0x11,0x51,0x01,0xc6,0x81,0x04,0x32,0x18,0x1e,0x92,0x64,0x00,0x11,0x68,0x81,0xd6,0xa0,0x07,0x16,0x22,0x6b,0x0a,0x82,0x07,0x3f,0x05,0x4d,0xdc,0x24,0x21,}; |  | ||||||
| const uint8_t *_I_DolphinFirstStart6_58x54[] = {_I_DolphinFirstStart6_58x54_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_DolphinFirstStart1_59x53_0[] = {0x01,0x00,0x1e,0x01,0x00,0x0e,0x03,0xfe,0x07,0x5b,0x84,0x02,0x06,0x07,0x48,0x64,0x02,0x08,0x07,0x48,0x14,0x02,0x10,0x07,0x48,0x0c,0x03,0x21,0x3f,0x13,0x18,0x84,0xa8,0x00,0x75,0x8c,0x00,0xca,0x00,0x0b,0x28,0x20,0x1d,0xa0,0x59,0xe0,0x39,0x48,0x07,0x03,0x81,0xd5,0x81,0xd6,0x81,0x55,0x8c,0x01,0xc6,0x21,0x00,0x87,0x68,0x25,0x52,0x40,0x39,0x7c,0x21,0xf5,0x08,0xa8,0x1d,0x20,0xfa,0x88,0x70,0x1c,0xfd,0x10,0x3a,0xa4,0x1f,0x88,0x54,0x18,0x85,0x52,0x09,0xbe,0x81,0xc1,0x0c,0x83,0x10,0x94,0x40,0x39,0xf0,0x19,0x21,0xc8,0x62,0x12,0x0c,0x04,0x0e,0x0c,0x07,0x38,0x07,0x86,0x07,0x18,0x03,0x94,0xc2,0x01,0x9e,0x81,0xca,0x38,0x89,0x21,0x0f,0x0c,0x03,0xf9,0x27,0x13,0x94,0xd0,0xb6,0x70,0x20,0x38,0xda,0x80,0xe5,0x10,0x03,0x95,0x59,0x54,0x70,0x10,0x38,0xda,0xc0,0xc3,0xfe,0xc1,0xab,0x0b,0xaa,0x2a,0x1c,0x05,0x81,0x58,0x38,0x09,0xd0,0x5c,0xa3,0xe0,0x72,0x86,0xae,0x8d,0x40,0x34,0x06,0xa1,0xc0,0xc0,0xe3,0xc0,0x65,0x1c,0x19,0x58,0x29,0xe1,0x00,0x14,0x28,0x0a,0x26,0x61,0x00,0x15,0x58,0x0a,0x2e,0x34,0xd6,0x42,0x9e,0x6b,0x54,0x82,0x92,0x08,0x1e,0x63,0x41,0x1d,0x0a,0x88,0x60,0x1d,0x42,0x11,0x5c,0x01,0xe5,0x3c,0x03,0x97,0x30,0x0e,0x42,0x42,0x80,0xd0,0x82,0xe4,0x07,0x28,0x17,0x10,0x1e,0xb0,0x4a,0x20,0x3d,0x61,0x1a,0x80,0x79,0x0f,0x0a,0x21,0x70,0x07,0x90,0x1c,0xa4,0x1a,0x00,0x7a,0xd0,0x0e,0x42,0x34,0x20,0x10,0xe0,0x00,0xed,0x00,0xa1,0x82,0xc8,0xc6,0x74,0x40,0xd9,0x01,0xce,0x84,0x07,0x69,0x10,0xcc,0x80,0xe7,0x5c,0x03,0xb4,0xa8,0x96,0x40,0x73,0x8a,0x96,0xc8,0x0c,0x40,}; |  | ||||||
| const uint8_t *_I_DolphinFirstStart1_59x53[] = {_I_DolphinFirstStart1_59x53_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_DolphinFirstStart8_56x51_0[] = {0x01,0x00,0xfd,0x00,0x00,0x17,0x83,0xff,0x01,0x03,0x1c,0x72,0x01,0x06,0x03,0x1c,0x0e,0x01,0x18,0x02,0x96,0x00,0x04,0x36,0x00,0x31,0x50,0x01,0x24,0x1c,0x29,0x00,0x28,0xa0,0x40,0x21,0x88,0x01,0x8a,0x08,0x02,0x18,0x40,0x18,0x80,0x64,0x09,0x20,0x89,0x81,0x98,0x3c,0x42,0x63,0x03,0x30,0xcc,0x70,0x10,0x71,0xd9,0x01,0x86,0xc1,0x1c,0x03,0x24,0x42,0x7e,0x50,0x12,0x91,0x62,0x2f,0xf8,0x0e,0x00,0x18,0xb9,0x17,0x1c,0x04,0x83,0x02,0x06,0x1e,0x27,0xc4,0x54,0x20,0x62,0xf2,0x7c,0xe0,0x52,0x0c,0x10,0x88,0x7c,0x9f,0xf8,0x28,0x18,0x41,0xa5,0xff,0x85,0x48,0x30,0x80,0xd1,0xe4,0x5f,0xc1,0xa3,0x84,0x26,0x0f,0x23,0xfe,0x1b,0x18,0x44,0x16,0x01,0x90,0x81,0xc1,0x62,0x10,0x84,0xc0,0xf8,0x20,0x30,0x28,0x84,0x40,0x1a,0x25,0x11,0x82,0x42,0x22,0x11,0xf4,0xd9,0xc1,0x02,0x22,0xb2,0x38,0x14,0xc1,0x8e,0x90,0x14,0xc1,0xa2,0x86,0x02,0xc6,0x30,0x31,0x06,0x8c,0x0c,0x26,0x02,0x56,0x9d,0x04,0x0c,0x6a,0xa1,0x03,0x21,0x20,0x68,0x5f,0xe7,0xa9,0x00,0x86,0x85,0x01,0x8f,0xe0,0x08,0xe3,0x00,0xe1,0x02,0xc6,0xfe,0x16,0x23,0xe1,0x13,0x10,0xa4,0x82,0xb1,0x12,0x88,0x00,0xf0,0x91,0xe0,0x6a,0xfd,0x63,0xfc,0x08,0x78,0x18,0xb5,0x5e,0xad,0xfb,0x84,0xa0,0x95,0x48,0xad,0x54,0x4a,0x50,0x4d,0x44,0x6b,0x56,0x0d,0x28,0x45,0x42,0x6a,0x0d,0x38,0x46,0x02,0x55,0xaa,0x35,0x25,0x52,0xac,0x06,0x4b,0x04,0xa8,0x0c,0x94,0x03,0xa0,0x80,0x04,}; |  | ||||||
| const uint8_t *_I_DolphinFirstStart8_56x51[] = {_I_DolphinFirstStart8_56x51_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_DolphinFirstStart7_61x51_0[] = {0x01,0x00,0x13,0x01,0x00,0x17,0x03,0xff,0x01,0x03,0xa4,0xe2,0x01,0x0e,0x03,0xa4,0x1a,0x01,0x30,0x03,0x1e,0x00,0x2a,0x3c,0x00,0x39,0xd0,0x00,0x65,0x03,0x01,0x94,0x80,0x06,0x50,0x40,0x19,0x44,0x00,0x65,0x08,0x01,0xb0,0x2c,0xe2,0x81,0xb6,0x86,0x0a,0xd8,0x7c,0x20,0x75,0x85,0x10,0xcc,0x06,0x50,0x50,0x3b,0x10,0xce,0x00,0x69,0x20,0x79,0x7c,0x20,0x20,0x71,0xc0,0x07,0xca,0xf1,0x02,0x81,0x01,0xc6,0x3a,0x07,0x1f,0xe4,0x10,0x0e,0x53,0xe0,0x38,0xe7,0xa0,0xa0,0x72,0xbb,0x81,0xca,0x12,0x68,0x1c,0x05,0x5c,0x0e,0x3f,0xe8,0xc8,0x1c,0xab,0xe0,0x72,0x94,0x81,0xda,0xb2,0x07,0x5f,0xe0,0x3d,0xbf,0x95,0x44,0x20,0x81,0xce,0xf1,0x2f,0x03,0x94,0xb8,0xae,0x51,0x00,0x39,0x47,0x60,0xd0,0x84,0x70,0x81,0xcb,0x44,0x9d,0x10,0x3a,0x58,0xce,0xe6,0x07,0x29,0x10,0x18,0xa0,0x50,0x88,0x76,0x02,0x22,0x07,0x49,0x8e,0x02,0x24,0x07,0x4e,0x0e,0x02,0x12,0x96,0x38,0x44,0x07,0x02,0x8f,0x1c,0x07,0x1c,0x4e,0x30,0x1c,0x10,0x3c,0x6c,0x13,0x80,0x38,0xc0,0xb0,0x80,0xf1,0x6e,0x90,0x1c,0x71,0x10,0xd7,0x49,0x81,0xc7,0x20,0x0f,0x17,0xe9,0x42,0x20,0x91,0x09,0xeb,0x24,0xe2,0x10,0x49,0x07,0x6f,0xff,0x80,0x56,0x88,0x1c,0xa2,0xae,0xd1,0x66,0x89,0xe0,0x68,0x11,0xb8,0x06,0xc0,0x2e,0x40,0x71,0x9a,0xc0,0x2b,0x00,0x73,0xc0,0x7a,0xe0,0x09,0x12,0x03,0x95,0x57,0xff,0x17,0x03,0x9c,0x03,0x57,0xaa,0x78,0x94,0x40,0xa6,0x35,0x5a,0xac,0x14,0x0e,0x9a,0xad,0x50,0xf8,0x41,0x05,0x00,0x83,0x55,0x14,0x06,0x07,0x18,0x54,0xa0,0x0e,0xb0,0x60,0x31,0xc0,0x00,}; | const uint8_t _I_DolphinFirstStart7_61x51_0[] = {0x01,0x00,0x13,0x01,0x00,0x17,0x03,0xff,0x01,0x03,0xa4,0xe2,0x01,0x0e,0x03,0xa4,0x1a,0x01,0x30,0x03,0x1e,0x00,0x2a,0x3c,0x00,0x39,0xd0,0x00,0x65,0x03,0x01,0x94,0x80,0x06,0x50,0x40,0x19,0x44,0x00,0x65,0x08,0x01,0xb0,0x2c,0xe2,0x81,0xb6,0x86,0x0a,0xd8,0x7c,0x20,0x75,0x85,0x10,0xcc,0x06,0x50,0x50,0x3b,0x10,0xce,0x00,0x69,0x20,0x79,0x7c,0x20,0x20,0x71,0xc0,0x07,0xca,0xf1,0x02,0x81,0x01,0xc6,0x3a,0x07,0x1f,0xe4,0x10,0x0e,0x53,0xe0,0x38,0xe7,0xa0,0xa0,0x72,0xbb,0x81,0xca,0x12,0x68,0x1c,0x05,0x5c,0x0e,0x3f,0xe8,0xc8,0x1c,0xab,0xe0,0x72,0x94,0x81,0xda,0xb2,0x07,0x5f,0xe0,0x3d,0xbf,0x95,0x44,0x20,0x81,0xce,0xf1,0x2f,0x03,0x94,0xb8,0xae,0x51,0x00,0x39,0x47,0x60,0xd0,0x84,0x70,0x81,0xcb,0x44,0x9d,0x10,0x3a,0x58,0xce,0xe6,0x07,0x29,0x10,0x18,0xa0,0x50,0x88,0x76,0x02,0x22,0x07,0x49,0x8e,0x02,0x24,0x07,0x4e,0x0e,0x02,0x12,0x96,0x38,0x44,0x07,0x02,0x8f,0x1c,0x07,0x1c,0x4e,0x30,0x1c,0x10,0x3c,0x6c,0x13,0x80,0x38,0xc0,0xb0,0x80,0xf1,0x6e,0x90,0x1c,0x71,0x10,0xd7,0x49,0x81,0xc7,0x20,0x0f,0x17,0xe9,0x42,0x20,0x91,0x09,0xeb,0x24,0xe2,0x10,0x49,0x07,0x6f,0xff,0x80,0x56,0x88,0x1c,0xa2,0xae,0xd1,0x66,0x89,0xe0,0x68,0x11,0xb8,0x06,0xc0,0x2e,0x40,0x71,0x9a,0xc0,0x2b,0x00,0x73,0xc0,0x7a,0xe0,0x09,0x12,0x03,0x95,0x57,0xff,0x17,0x03,0x9c,0x03,0x57,0xaa,0x78,0x94,0x40,0xa6,0x35,0x5a,0xac,0x14,0x0e,0x9a,0xad,0x50,0xf8,0x41,0x05,0x00,0x83,0x55,0x14,0x06,0x07,0x18,0x54,0xa0,0x0e,0xb0,0x60,0x31,0xc0,0x00,}; | ||||||
| const uint8_t *_I_DolphinFirstStart7_61x51[] = {_I_DolphinFirstStart7_61x51_0}; | const uint8_t *_I_DolphinFirstStart7_61x51[] = {_I_DolphinFirstStart7_61x51_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_Flipper_young_80x60_0[] = {0x01,0x00,0xa3,0x01,0x00,0x1e,0x03,0xff,0xff,0x87,0x82,0x57,0xf1,0x83,0x90,0xde,0x01,0x2b,0x0e,0x83,0x70,0xfb,0x10,0x10,0x41,0xf8,0x27,0x70,0xcc,0x34,0xc6,0x0e,0x09,0x3e,0x04,0x86,0x21,0x0c,0x90,0xc3,0x03,0xa9,0xe7,0xb0,0x46,0x2c,0x51,0x40,0x4a,0x63,0x38,0x31,0x0a,0x34,0x90,0x12,0x91,0x8e,0x3c,0xff,0x89,0x4c,0x04,0xa4,0x43,0xfd,0xf3,0xc3,0xf2,0x01,0x29,0xe0,0x2b,0x8e,0x72,0xa0,0x46,0x4b,0xe0,0x30,0xba,0x10,0x22,0xca,0x1c,0x0b,0x26,0x09,0x3c,0x04,0x0c,0x08,0x59,0xc8,0x21,0x64,0xc4,0x47,0x98,0x82,0x81,0x0a,0xe0,0x21,0x39,0x04,0x34,0x88,0x60,0x93,0xa0,0x45,0x4b,0x06,0xa3,0x40,0x48,0xfc,0x20,0xf0,0x82,0xa2,0x4d,0x60,0x11,0xe9,0xc2,0x19,0x64,0xd0,0x08,0x1f,0x80,0x7e,0x60,0x01,0x92,0x60,0x20,0x38,0x05,0x21,0x7c,0x3f,0xf0,0x1a,0xe6,0x00,0xe6,0x21,0x32,0x1a,0x0c,0x0e,0x91,0x80,0x8f,0xc0,0x06,0x25,0xcc,0xbf,0xc1,0xaa,0x10,0x0b,0xfc,0x02,0x60,0x2e,0x2c,0x04,0x32,0xc1,0x00,0xff,0x40,0x68,0x00,0x91,0x89,0xc0,0x21,0x20,0x51,0xfe,0x41,0xf0,0x00,0x91,0xc4,0xcf,0xe2,0x40,0x51,0xfc,0x0c,0x86,0x07,0x80,0xe2,0xdf,0xda,0x25,0xf0,0x9f,0xc0,0x21,0x98,0x0f,0x27,0xfd,0xa2,0x5e,0x01,0x90,0xc4,0x30,0x1e,0x2f,0xfc,0xa1,0x3a,0x45,0x41,0xb0,0x60,0x3e,0x5e,0x79,0x4a,0x10,0xbf,0xe2,0x61,0xc0,0x82,0x52,0x01,0xff,0x36,0x8e,0x3b,0xe5,0xff,0x04,0x9f,0xf8,0x78,0x3b,0x8f,0x97,0xf8,0x12,0x7f,0xc3,0x78,0xf8,0x3e,0x5f,0xc0,0x49,0xfe,0x08,0xc2,0x17,0x1f,0xcd,0xa5,0xac,0x5f,0x02,0x30,0xc0,0x30,0x5f,0xfd,0x23,0xbc,0xbc,0x1f,0xf0,0xc1,0x5f,0xaa,0x8e,0x52,0x28,0x10,0x10,0x6f,0x1b,0x28,0x57,0x81,0x66,0x25,0x01,0x80,0x4e,0x28,0x15,0x98,0xad,0xc3,0xfd,0xff,0xff,0x91,0x87,0xc1,0x80,0xd4,0xc2,0xb2,0x03,0xb1,0x5b,0x13,0x34,0x6a,0xf1,0x58,0x84,0x0e,0x1d,0x00,0x23,0x14,0x0f,0x55,0x0a,0x88,0x67,0x0d,0x83,0x7c,0x04,0x8c,0x0a,0xa9,0x15,0x90,0x7c,0x07,0x23,0xf8,0x80,0xc1,0xa0,0xda,0x88,0x54,0x82,0x00,0x2f,0x1f,0xe4,0x3c,0x7a,0x35,0x08,0xab,0x20,0x7f,0x03,0xc1,0x2d,0x96,0x82,0x14,0xce,0x20,0x02,0x04,0xc6,0x00,0x60,0x20,0x01,0x84,0xc4,0x6a,0x21,0x36,0x3b,0x8c,0xf0,0x3c,0xc8,0x02,0x1b,0x88,0x01,0xe1,0x80,0x98,0x2d,0x10,0x01,0xb0,0x05,0xa1,0x00,0x3d,0xf8,0x13,0x17,0x81,0x47,0x80,0x0b,0xc0,0x28,0x8e,0x02,0xa4,0x81,0x2c,0xf0,0x20,0x01,0x00,}; | const uint8_t _I_DolphinFirstStart4_67x53_0[] = {0x01,0x00,0x1f,0x01,0x00,0x17,0xc3,0xfe,0x08,0x68,0x74,0x02,0x0e,0x07,0x4c,0x04,0x06,0x01,0x18,0x04,0x25,0x00,0x04,0x36,0x00,0x42,0x48,0x02,0x88,0x00,0x28,0x80,0x0c,0xa0,0x40,0x83,0x84,0x00,0xca,0x08,0x08,0x30,0x21,0x83,0x0c,0x2c,0x81,0xe3,0x04,0x20,0xc0,0x80,0x02,0x31,0x32,0x11,0x02,0x27,0x00,0x5d,0x40,0x45,0x87,0x90,0x3e,0x7c,0x00,0x43,0x84,0x4e,0x60,0x43,0x30,0x89,0x82,0x12,0x80,0x15,0x20,0x40,0x99,0xc8,0x22,0x7b,0x88,0x10,0x20,0x82,0x27,0x7c,0x82,0x9d,0x48,0x22,0x5f,0x0d,0xfc,0x08,0x10,0x41,0x12,0xf8,0x57,0xc2,0x28,0x30,0x1e,0x07,0x9e,0x06,0x87,0x25,0x79,0xc4,0x20,0x40,0x83,0x21,0x14,0x22,0x08,0x08,0x38,0x2a,0xb8,0xd9,0x47,0x0a,0x14,0x09,0xf0,0x54,0x47,0x1f,0x81,0x82,0x1a,0xde,0x8e,0x33,0xd1,0xc7,0x81,0x0f,0x0e,0x45,0x18,0x20,0xa1,0xe6,0xf2,0x10,0x89,0xa0,0x70,0x11,0x00,0x41,0x46,0x03,0x86,0x55,0x10,0x40,0xc1,0x82,0x25,0x20,0x04,0x11,0x94,0x80,0x43,0x10,0x84,0x01,0x46,0xc0,0xbd,0x38,0x40,0x20,0x8f,0x49,0x08,0xc4,0x1c,0xc8,0x22,0x50,0x38,0x20,0x20,0x86,0xe4,0x83,0x10,0x41,0x8b,0x87,0xf9,0x03,0x81,0xc0,0x81,0x05,0x81,0xc0,0x40,0xf3,0x90,0x60,0x41,0x70,0x2c,0x17,0x01,0xc0,0xc1,0x41,0x05,0x30,0x98,0x43,0x04,0x65,0x01,0x04,0x0c,0x32,0x38,0x91,0x18,0x04,0x14,0x10,0x38,0x18,0x1e,0xac,0x7c,0x41,0x11,0x88,0x5f,0xfc,0x17,0x55,0xa9,0x82,0x06,0x05,0xbc,0x85,0x02,0x08,0xc6,0x32,0x0f,0xe5,0x5e,0x1a,0x08,0x5c,0x06,0xaa,0x34,0x08,0x4a,0x06,0x02,0xab,0x75,0xf0,0x4f,0xc1,0x05,0x80,0x08,0x8e,0xab,0x7f,0xea,0x04,0x11,0x80,0x6a,0xa0,0x02,0x03,0x08,}; | ||||||
| const uint8_t *_I_Flipper_young_80x60[] = {_I_Flipper_young_80x60_0}; | const uint8_t *_I_DolphinFirstStart4_67x53[] = {_I_DolphinFirstStart4_67x53_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_DolphinFirstStart3_57x48_0[] = {0x01,0x00,0x12,0x01,0x00,0x16,0x03,0xff,0x07,0x03,0xa5,0x82,0x01,0x38,0x03,0xa4,0x62,0x01,0xc0,0x03,0xa4,0x10,0x04,0x30,0x10,0x39,0xc0,0x80,0x48,0x0c,0x40,0x91,0x7e,0x20,0x60,0x72,0x84,0x02,0x8b,0x78,0x12,0x28,0x80,0x68,0x85,0x87,0x20,0x11,0x18,0x5c,0x80,0xe8,0x01,0x19,0xc5,0x00,0x0e,0x62,0xc1,0x9f,0x01,0xcb,0xe9,0x03,0x84,0x60,0x20,0xf8,0x00,0x38,0xd7,0x21,0xb1,0x0f,0x04,0x04,0x0e,0x5a,0x89,0xd4,0x83,0xc0,0x4b,0x3a,0xc5,0x54,0xcc,0x20,0x51,0x00,0x8e,0xc3,0x54,0x80,0x13,0xf8,0x81,0xc6,0xc1,0x55,0x01,0x8c,0x78,0x0e,0x30,0xee,0x06,0xaa,0x05,0xe0,0xae,0x01,0xc6,0x23,0x80,0xaa,0xc1,0x60,0x1a,0x90,0x38,0xc8,0x60,0x1a,0xb8,0x54,0x02,0xad,0x07,0x80,0xd0,0x40,0x83,0x15,0x80,0x7b,0x21,0x10,0x1c,0x0c,0x03,0x7f,0x2a,0x80,0x4d,0x00,0xe3,0x01,0xf8,0xf0,0x2a,0xf0,0x08,0x60,0x1c,0x60,0x41,0xd1,0xdf,0x1a,0x44,0x0e,0x50,0x68,0x05,0xe3,0x07,0x02,0x82,0x01,0xc6,0x19,0x00,0xf8,0x5f,0xe0,0x20,0x72,0xfa,0x40,0x7f,0xc2,0xb1,0x03,0x88,0x68,0x7f,0xf6,0xb4,0x28,0xc0,0x80,0xe3,0x88,0xaa,0xc7,0x40,0xe9,0x50,0xd5,0x41,0x94,0xa2,0x07,0x29,0x87,0x52,0x02,0x07,0x12,0x30,0xc1,0x22,0x16,0x86,0x29,0x01,0xca,0x30,0xf6,0x10,0x39,0xc2,0x23,0x10,0x6c,0x00,0x1d,0x3d,0x10,0x1b,0x02,0xe0,0x41,0x03,0x08,0x75,0x0c,0x60,0x0e,0x4f,0x11,0x0a,0x0c,0x18,0x0e,0x96,0x06,0x28,0x81,0xd3,0x01,0x1f,0x01,0x90,0x1c,0xdc,0xc2,0x01,0x15,0xd0,0x81,0xdc,0x4c,0x30,0x30,0x3f,0x00,0xc4,0x0e,0x30,0x20,0x3c,0x8c,0xc8,0x0f,0x2b,0x41,}; | const uint8_t _I_DolphinFirstStart3_57x48_0[] = {0x01,0x00,0x12,0x01,0x00,0x16,0x03,0xff,0x07,0x03,0xa5,0x82,0x01,0x38,0x03,0xa4,0x62,0x01,0xc0,0x03,0xa4,0x10,0x04,0x30,0x10,0x39,0xc0,0x80,0x48,0x0c,0x40,0x91,0x7e,0x20,0x60,0x72,0x84,0x02,0x8b,0x78,0x12,0x28,0x80,0x68,0x85,0x87,0x20,0x11,0x18,0x5c,0x80,0xe8,0x01,0x19,0xc5,0x00,0x0e,0x62,0xc1,0x9f,0x01,0xcb,0xe9,0x03,0x84,0x60,0x20,0xf8,0x00,0x38,0xd7,0x21,0xb1,0x0f,0x04,0x04,0x0e,0x5a,0x89,0xd4,0x83,0xc0,0x4b,0x3a,0xc5,0x54,0xcc,0x20,0x51,0x00,0x8e,0xc3,0x54,0x80,0x13,0xf8,0x81,0xc6,0xc1,0x55,0x01,0x8c,0x78,0x0e,0x30,0xee,0x06,0xaa,0x05,0xe0,0xae,0x01,0xc6,0x23,0x80,0xaa,0xc1,0x60,0x1a,0x90,0x38,0xc8,0x60,0x1a,0xb8,0x54,0x02,0xad,0x07,0x80,0xd0,0x40,0x83,0x15,0x80,0x7b,0x21,0x10,0x1c,0x0c,0x03,0x7f,0x2a,0x80,0x4d,0x00,0xe3,0x01,0xf8,0xf0,0x2a,0xf0,0x08,0x60,0x1c,0x60,0x41,0xd1,0xdf,0x1a,0x44,0x0e,0x50,0x68,0x05,0xe3,0x07,0x02,0x82,0x01,0xc6,0x19,0x00,0xf8,0x5f,0xe0,0x20,0x72,0xfa,0x40,0x7f,0xc2,0xb1,0x03,0x88,0x68,0x7f,0xf6,0xb4,0x28,0xc0,0x80,0xe3,0x88,0xaa,0xc7,0x40,0xe9,0x50,0xd5,0x41,0x94,0xa2,0x07,0x29,0x87,0x52,0x02,0x07,0x12,0x30,0xc1,0x22,0x16,0x86,0x29,0x01,0xca,0x30,0xf6,0x10,0x39,0xc2,0x23,0x10,0x6c,0x00,0x1d,0x3d,0x10,0x1b,0x02,0xe0,0x41,0x03,0x08,0x75,0x0c,0x60,0x0e,0x4f,0x11,0x0a,0x0c,0x18,0x0e,0x96,0x06,0x28,0x81,0xd3,0x01,0x1f,0x01,0x90,0x1c,0xdc,0xc2,0x01,0x15,0xd0,0x81,0xdc,0x4c,0x30,0x30,0x3f,0x00,0xc4,0x0e,0x30,0x20,0x3c,0x8c,0xc8,0x0f,0x2b,0x41,}; | ||||||
| const uint8_t *_I_DolphinFirstStart3_57x48[] = {_I_DolphinFirstStart3_57x48_0}; | const uint8_t *_I_DolphinFirstStart3_57x48[] = {_I_DolphinFirstStart3_57x48_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_ArrowUpFilled_14x15_0[] = {0x00,0xC0,0x00,0x20,0x01,0xD0,0x02,0xE8,0x05,0xF4,0x0B,0xFA,0x17,0x61,0x21,0xAF,0x3D,0x68,0x05,0xA8,0x05,0x68,0x05,0xA8,0x05,0xE8,0x05,0x08,0x04,0xF8,0x07,}; | const uint8_t _I_Flipper_young_80x60_0[] = {0x01,0x00,0xa3,0x01,0x00,0x1e,0x03,0xff,0xff,0x87,0x82,0x57,0xf1,0x83,0x90,0xde,0x01,0x2b,0x0e,0x83,0x70,0xfb,0x10,0x10,0x41,0xf8,0x27,0x70,0xcc,0x34,0xc6,0x0e,0x09,0x3e,0x04,0x86,0x21,0x0c,0x90,0xc3,0x03,0xa9,0xe7,0xb0,0x46,0x2c,0x51,0x40,0x4a,0x63,0x38,0x31,0x0a,0x34,0x90,0x12,0x91,0x8e,0x3c,0xff,0x89,0x4c,0x04,0xa4,0x43,0xfd,0xf3,0xc3,0xf2,0x01,0x29,0xe0,0x2b,0x8e,0x72,0xa0,0x46,0x4b,0xe0,0x30,0xba,0x10,0x22,0xca,0x1c,0x0b,0x26,0x09,0x3c,0x04,0x0c,0x08,0x59,0xc8,0x21,0x64,0xc4,0x47,0x98,0x82,0x81,0x0a,0xe0,0x21,0x39,0x04,0x34,0x88,0x60,0x93,0xa0,0x45,0x4b,0x06,0xa3,0x40,0x48,0xfc,0x20,0xf0,0x82,0xa2,0x4d,0x60,0x11,0xe9,0xc2,0x19,0x64,0xd0,0x08,0x1f,0x80,0x7e,0x60,0x01,0x92,0x60,0x20,0x38,0x05,0x21,0x7c,0x3f,0xf0,0x1a,0xe6,0x00,0xe6,0x21,0x32,0x1a,0x0c,0x0e,0x91,0x80,0x8f,0xc0,0x06,0x25,0xcc,0xbf,0xc1,0xaa,0x10,0x0b,0xfc,0x02,0x60,0x2e,0x2c,0x04,0x32,0xc1,0x00,0xff,0x40,0x68,0x00,0x91,0x89,0xc0,0x21,0x20,0x51,0xfe,0x41,0xf0,0x00,0x91,0xc4,0xcf,0xe2,0x40,0x51,0xfc,0x0c,0x86,0x07,0x80,0xe2,0xdf,0xda,0x25,0xf0,0x9f,0xc0,0x21,0x98,0x0f,0x27,0xfd,0xa2,0x5e,0x01,0x90,0xc4,0x30,0x1e,0x2f,0xfc,0xa1,0x3a,0x45,0x41,0xb0,0x60,0x3e,0x5e,0x79,0x4a,0x10,0xbf,0xe2,0x61,0xc0,0x82,0x52,0x01,0xff,0x36,0x8e,0x3b,0xe5,0xff,0x04,0x9f,0xf8,0x78,0x3b,0x8f,0x97,0xf8,0x12,0x7f,0xc3,0x78,0xf8,0x3e,0x5f,0xc0,0x49,0xfe,0x08,0xc2,0x17,0x1f,0xcd,0xa5,0xac,0x5f,0x02,0x30,0xc0,0x30,0x5f,0xfd,0x23,0xbc,0xbc,0x1f,0xf0,0xc1,0x5f,0xaa,0x8e,0x52,0x28,0x10,0x10,0x6f,0x1b,0x28,0x57,0x81,0x66,0x25,0x01,0x80,0x4e,0x28,0x15,0x98,0xad,0xc3,0xfd,0xff,0xff,0x91,0x87,0xc1,0x80,0xd4,0xc2,0xb2,0x03,0xb1,0x5b,0x13,0x34,0x6a,0xf1,0x58,0x84,0x0e,0x1d,0x00,0x23,0x14,0x0f,0x55,0x0a,0x88,0x67,0x0d,0x83,0x7c,0x04,0x8c,0x0a,0xa9,0x15,0x90,0x7c,0x07,0x23,0xf8,0x80,0xc1,0xa0,0xda,0x88,0x54,0x82,0x00,0x2f,0x1f,0xe4,0x3c,0x7a,0x35,0x08,0xab,0x20,0x7f,0x03,0xc1,0x2d,0x96,0x82,0x14,0xce,0x20,0x02,0x04,0xc6,0x00,0x60,0x20,0x01,0x84,0xc4,0x6a,0x21,0x36,0x3b,0x8c,0xf0,0x3c,0xc8,0x02,0x1b,0x88,0x01,0xe1,0x80,0x98,0x2d,0x10,0x01,0xb0,0x05,0xa1,0x00,0x3d,0xf8,0x13,0x17,0x81,0x47,0x80,0x0b,0xc0,0x28,0x8e,0x02,0xa4,0x81,0x2c,0xf0,0x20,0x01,0x00,}; | ||||||
| const uint8_t *_I_ArrowUpFilled_14x15[] = {_I_ArrowUpFilled_14x15_0}; | const uint8_t *_I_Flipper_young_80x60[] = {_I_Flipper_young_80x60_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_DolphinFirstStart0_70x53_0[] = {0x01,0x00,0x5a,0x01,0x80,0x60,0x3f,0xf7,0xf0,0x42,0xf8,0x01,0x43,0x07,0x04,0x24,0x72,0x01,0xc0,0x9d,0x82,0x13,0xff,0xff,0xbd,0x70,0x20,0x20,0x72,0xe0,0x40,0x2a,0x11,0xdb,0x00,0x6c,0xec,0x10,0x0d,0x44,0x3a,0x71,0x0e,0x04,0x14,0x42,0x01,0x54,0x86,0xd3,0x27,0x02,0x44,0xd4,0x41,0xb0,0xf2,0x10,0x42,0x55,0x38,0x71,0x1b,0x10,0x18,0xa0,0x41,0x11,0xb1,0xc8,0x28,0x98,0x09,0xfc,0x00,0x72,0x35,0x49,0x8d,0x0b,0xc1,0x70,0xf0,0x10,0x4b,0x51,0x11,0xc2,0x6c,0x0a,0xa3,0x03,0x80,0x7f,0xbf,0xf3,0x08,0x46,0x60,0x90,0x30,0x60,0x50,0xd8,0x2c,0x11,0x0c,0x71,0x5c,0x60,0xf8,0x0f,0xcf,0x3f,0x81,0x80,0xa1,0x9e,0x86,0x0f,0xc0,0x82,0x64,0x30,0x3e,0x09,0x84,0x03,0xf1,0x03,0xa0,0x40,0xa4,0x18,0x39,0xfc,0x20,0x52,0x30,0x19,0x07,0xc6,0x8e,0x4a,0x18,0x22,0x74,0x60,0x1a,0x0f,0xc6,0x3c,0x60,0x5c,0x05,0x28,0xe4,0x3f,0x99,0xf8,0x22,0x28,0x7e,0x05,0x91,0xa8,0x7f,0x23,0xf0,0x59,0x00,0xac,0x63,0xe0,0x81,0xcf,0x4f,0xe0,0xb1,0x81,0x58,0xc3,0xc1,0x08,0x24,0x1f,0xf9,0x68,0x6a,0x1f,0xe9,0xff,0x16,0x02,0x34,0x13,0x50,0x82,0x0a,0xea,0x60,0x1f,0xf9,0xf0,0x41,0x05,0x1d,0x30,0x09,0x18,0x60,0x15,0xa3,0xe8,0x83,0x47,0xe0,0xec,0x2c,0xaf,0xf2,0x0e,0x08,0x1f,0xc1,0x18,0x60,0x1a,0xaf,0xc2,0x6c,0x89,0x62,0x03,0x19,0xad,0xe5,0x70,0x44,0x62,0x80,0x5a,0xa1,0x4f,0x63,0x23,0x0c,0x7a,0xaa,0x4d,0x11,0xe9,0x00,0x06,0x73,0xaa,0x25,0x0a,0x78,0xaf,0x90,0x09,0x25,0x54,0x56,0x5f,0x04,0x30,0xc0,0x64,0x7a,0xa1,0x11,0x7e,0x20,0x18,0x0f,0x3c,0x82,0xaa,0x04,0x18,0x0d,0xf8,0x16,0x33,0xe8,0x84,0xa8,0x08,0x3c,0x33,0x00,0xf0,0x20,0x71,0x08,0xa9,0x38,0x86,0x62,0x62,0x18,0x40,0x44,0x80,0x09,0x04,0x08,0x90,0x01,0x20,0x41,0x17,0x22,0x90,0x01,0x3e,0x00,0x76,0x80,0x1d,0x48,0x00,0x8d,0x91,0x00,0x34,0xf8,0x20,0xe2,0xa7,0x9c,0x06,0x5c,0x11,0x02,0x28,0x5d,0x91,0x35,0x48,0xaf,0xf8,0x04,0x3f,0xf9,0x88,0x20,0x01,}; | ||||||
|  | const uint8_t *_I_DolphinFirstStart0_70x53[] = {_I_DolphinFirstStart0_70x53_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_DolphinFirstStart2_59x51_0[] = {0x01,0x00,0x2e,0x01,0x00,0x1f,0xfe,0x06,0x05,0x3f,0xc7,0xfe,0x01,0x1c,0x03,0x16,0x02,0xaf,0x0f,0x80,0x58,0x01,0xc7,0xaa,0x80,0x82,0xc4,0x0e,0x55,0x6b,0x28,0x10,0x81,0x45,0xab,0x8d,0x01,0xca,0x04,0x1a,0x1a,0xac,0x1c,0x0e,0x50,0x48,0x06,0xc0,0x3c,0x40,0x01,0x84,0x40,0x2b,0x15,0x51,0xd9,0xc4,0x20,0x1a,0xc9,0x50,0x1c,0xe4,0x02,0xe1,0x8a,0x81,0xd7,0x55,0x0a,0x03,0x9d,0x02,0x01,0x5c,0x82,0x81,0xd7,0xc0,0x3a,0x10,0x3a,0x12,0x88,0xc8,0x60,0x11,0x07,0xa0,0x1c,0x68,0x00,0xf6,0xe0,0x22,0x50,0x0e,0x36,0x00,0x7b,0x68,0x00,0x83,0xa0,0x11,0x08,0x1c,0x6a,0x03,0x42,0x44,0x1e,0xc0,0x28,0x50,0x61,0xf9,0x56,0x00,0xe3,0x60,0x40,0x88,0x1c,0x75,0x01,0x42,0x07,0x9d,0x50,0x5e,0x4b,0x01,0x37,0x8e,0xb0,0x0e,0x51,0xd8,0x04,0xc2,0x01,0xd4,0x5d,0x1c,0x02,0x30,0x7f,0x14,0x99,0x5c,0x20,0x11,0x48,0x07,0x58,0x0e,0x20,0x81,0xd0,0x23,0x04,0x1e,0x30,0x80,0x38,0xd4,0x11,0x82,0x0f,0x18,0x40,0xb0,0xb0,0x50,0x3d,0x58,0x1c,0x52,0x85,0xf1,0x83,0x75,0x58,0x64,0x49,0x1a,0xfc,0x17,0x57,0x01,0x88,0x25,0x0b,0x55,0x02,0xaa,0xc0,0x64,0x14,0x08,0x1e,0x02,0xaa,0x1f,0x18,0x0f,0x00,0xbe,0x20,0xf1,0x80,0x82,0x46,0x01,0x03,0x82,0xe0,0x04,0xa3,0xab,0x46,0x0e,0x32,0x15,0x80,0xb5,0x40,0x2a,0xa4,0x21,0x98,0x43,0x70,0x13,0x58,0x04,0xac,0xa4,0x3c,0x08,0xd6,0x02,0x35,0x00,0x8a,0xcd,0x06,0xa3,0x1d,0xa0,0x24,0x46,0x57,0xe8,0x26,0x8c,0xdb,0x80,0x84,0x18,0xad,0x42,0x07,0x5f,0xbf,0xb9,0x8a,0x17,0x80,0xff,0x6a,0xb0,0x46,0x91,0x07,0x88,0xc4,0x4a,0x43,0x1f,0x07,0x92,0xc4,0x49,0x82,0x9b,0x25,0x98,0xc0,0x28,0xa0,0x73,0x1f,0x0b,0x50,0x81,0xea,0x07,0x40,0x7b,0xac,0x44,0x0e,0xa0,}; | ||||||
|  | const uint8_t *_I_DolphinFirstStart2_59x51[] = {_I_DolphinFirstStart2_59x51_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_DolphinFirstStart6_58x54_0[] = {0x01,0x00,0x21,0x01,0x00,0x0f,0xf2,0x7e,0x06,0x4c,0x04,0x0f,0x81,0x03,0x03,0x9d,0x80,0x04,0x30,0xc0,0x39,0xc6,0x00,0x43,0x30,0x03,0x9c,0x10,0x04,0x34,0x00,0x39,0xc0,0x84,0x44,0x07,0x38,0x08,0x0d,0x41,0x68,0x13,0x70,0x39,0x08,0xd0,0x56,0xa1,0xd1,0x03,0x94,0x80,0x04,0x30,0x68,0x04,0x20,0x0e,0x84,0x91,0x03,0xa9,0x64,0x62,0x80,0x41,0x88,0x40,0x3f,0xc6,0xf1,0xfe,0x43,0xc0,0xe3,0x80,0xff,0xff,0xe0,0x3f,0xf8,0xf8,0x1c,0x78,0x18,0x1f,0xfe,0x0f,0x02,0x12,0x18,0x47,0x03,0x82,0x10,0x1e,0x08,0x1c,0xf5,0x60,0x71,0xd4,0x81,0xcf,0xab,0xff,0xd5,0xf5,0xc0,0xe3,0x04,0xe0,0x03,0x86,0xae,0x27,0x28,0x27,0x40,0x0e,0x21,0x91,0x03,0x96,0x80,0x0e,0x34,0x18,0x79,0x28,0x60,0x95,0x00,0x38,0xf8,0x20,0x27,0xd1,0x82,0x6a,0x03,0xc3,0x1c,0x39,0x94,0x0a,0xa1,0xc0,0xc5,0x2f,0xca,0x05,0x02,0x90,0x24,0x56,0x04,0x68,0x10,0x01,0x4f,0x80,0xea,0x5b,0x10,0x38,0x83,0x8d,0xa0,0x30,0x30,0x38,0xa3,0x09,0xc0,0x20,0xf2,0x03,0x90,0xc0,0x46,0xe2,0x91,0x2f,0x80,0xfc,0xe0,0x1e,0x08,0x02,0x54,0x47,0x62,0x27,0x2f,0xfb,0x14,0xdc,0xc6,0xb5,0x30,0x38,0x8b,0x05,0x6a,0x60,0x01,0x89,0x00,0xc8,0x16,0x50,0x29,0x10,0x1c,0x8d,0x25,0x05,0xa1,0x15,0xc9,0xfe,0x50,0xaa,0x08,0x10,0x67,0x01,0x22,0x8a,0xe0,0x60,0xe5,0xf2,0x07,0x8e,0xa8,0xb0,0x49,0xe1,0x00,0x0d,0xd4,0x68,0x5a,0x00,0x39,0x46,0x88,0x84,0x07,0x30,0xe8,0x81,0xc6,0x40,0x4d,0x11,0x91,0x17,0x06,0x40,0x65,0x11,0x51,0x01,0xc6,0x81,0x04,0x32,0x18,0x1e,0x92,0x64,0x00,0x11,0x68,0x81,0xd6,0xa0,0x07,0x16,0x22,0x6b,0x0a,0x82,0x07,0x3f,0x05,0x4d,0xdc,0x24,0x21,}; | ||||||
|  | const uint8_t *_I_DolphinFirstStart6_58x54[] = {_I_DolphinFirstStart6_58x54_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_DolphinFirstStart5_54x49_0[] = {0x01,0x00,0x0b,0x01,0x00,0x0f,0xf2,0xfe,0x06,0x48,0x1e,0x02,0x06,0x05,0x2e,0x00,0x08,0x61,0x80,0x62,0x98,0x00,0x86,0x20,0x06,0x28,0x40,0x08,0x64,0x00,0x62,0x82,0x00,0x86,0x80,0x06,0x28,0x14,0x72,0x01,0x80,0x03,0x14,0x06,0x44,0x03,0x20,0x49,0x00,0xc4,0x0c,0x61,0x13,0x81,0x07,0x90,0x0c,0xff,0xa8,0x18,0xcc,0xe0,0x10,0x78,0x60,0x18,0xc9,0xe3,0x10,0x03,0x0e,0x02,0x02,0x4f,0x19,0x00,0x18,0x78,0x10,0x12,0x78,0xc8,0x0a,0xc3,0xf8,0x80,0xc1,0x80,0xc5,0xe0,0xff,0x8f,0x47,0xe1,0x27,0x03,0x0d,0xfc,0x80,0x3b,0xc9,0x74,0x43,0x81,0x0f,0xb0,0x40,0x2b,0xd2,0xd3,0x71,0x07,0x87,0x5f,0x16,0x84,0x54,0x23,0xe3,0x21,0xab,0xc5,0x61,0x1a,0x82,0xf0,0xf0,0x35,0x70,0xa8,0x45,0x50,0x2a,0x3e,0x0a,0xac,0x1e,0x11,0x28,0x03,0x0f,0xc3,0xfe,0x06,0x19,0xa0,0x18,0x6f,0x9f,0x08,0x7c,0x22,0x30,0x06,0x1d,0xfc,0x3e,0x21,0x08,0x00,0x8f,0x01,0x7a,0x31,0x08,0x24,0x42,0x21,0xf0,0x5e,0x08,0x18,0x44,0xe3,0x0f,0x59,0x92,0xb4,0x96,0x66,0x06,0x58,0x10,0x19,0x60,0x20,0x64,0x46,0x08,0x19,0x27,0x00,0x65,0x9f,0x81,0x93,0xd1,0x2b,0x03,0x17,0x82,0x3f,0x50,0x9a,0x81,0x87,0x51,0x1e,0xf0,0x68,0x69,0x40,0x61,0xea,0x9d,0x86,0x1d,0x45,0x80,0x61,0x2d,0x48,0xc2,0x67,0x8d,0x12,0x3a,0x06,0x19,0x02,0x88,0x74,0x4b,0x21,0x03,0x1d,0x08,0xca,0x21,0x41,0x06,0x93,0xe8,0xa1,0x85,0x31,0xe9,0x24,0x48,0x20,0x30,0x1b,0x10,0x18,0x77,0x8f,0xa1,0x80,0xcc,0x40,0xc3,0x56,0x0b,0x8c,0x0a,0x22,0xba,0x12,0x88,0x81,0x84,}; | ||||||
|  | const uint8_t *_I_DolphinFirstStart5_54x49[] = {_I_DolphinFirstStart5_54x49_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_DolphinFirstStart8_56x51_0[] = {0x01,0x00,0xfd,0x00,0x00,0x17,0x83,0xff,0x01,0x03,0x1c,0x72,0x01,0x06,0x03,0x1c,0x0e,0x01,0x18,0x02,0x96,0x00,0x04,0x36,0x00,0x31,0x50,0x01,0x24,0x1c,0x29,0x00,0x28,0xa0,0x40,0x21,0x88,0x01,0x8a,0x08,0x02,0x18,0x40,0x18,0x80,0x64,0x09,0x20,0x89,0x81,0x98,0x3c,0x42,0x63,0x03,0x30,0xcc,0x70,0x10,0x71,0xd9,0x01,0x86,0xc1,0x1c,0x03,0x24,0x42,0x7e,0x50,0x12,0x91,0x62,0x2f,0xf8,0x0e,0x00,0x18,0xb9,0x17,0x1c,0x04,0x83,0x02,0x06,0x1e,0x27,0xc4,0x54,0x20,0x62,0xf2,0x7c,0xe0,0x52,0x0c,0x10,0x88,0x7c,0x9f,0xf8,0x28,0x18,0x41,0xa5,0xff,0x85,0x48,0x30,0x80,0xd1,0xe4,0x5f,0xc1,0xa3,0x84,0x26,0x0f,0x23,0xfe,0x1b,0x18,0x44,0x16,0x01,0x90,0x81,0xc1,0x62,0x10,0x84,0xc0,0xf8,0x20,0x30,0x28,0x84,0x40,0x1a,0x25,0x11,0x82,0x42,0x22,0x11,0xf4,0xd9,0xc1,0x02,0x22,0xb2,0x38,0x14,0xc1,0x8e,0x90,0x14,0xc1,0xa2,0x86,0x02,0xc6,0x30,0x31,0x06,0x8c,0x0c,0x26,0x02,0x56,0x9d,0x04,0x0c,0x6a,0xa1,0x03,0x21,0x20,0x68,0x5f,0xe7,0xa9,0x00,0x86,0x85,0x01,0x8f,0xe0,0x08,0xe3,0x00,0xe1,0x02,0xc6,0xfe,0x16,0x23,0xe1,0x13,0x10,0xa4,0x82,0xb1,0x12,0x88,0x00,0xf0,0x91,0xe0,0x6a,0xfd,0x63,0xfc,0x08,0x78,0x18,0xb5,0x5e,0xad,0xfb,0x84,0xa0,0x95,0x48,0xad,0x54,0x4a,0x50,0x4d,0x44,0x6b,0x56,0x0d,0x28,0x45,0x42,0x6a,0x0d,0x38,0x46,0x02,0x55,0xaa,0x35,0x25,0x52,0xac,0x06,0x4b,0x04,0xa8,0x0c,0x94,0x03,0xa0,0x80,0x04,}; | ||||||
|  | const uint8_t *_I_DolphinFirstStart8_56x51[] = {_I_DolphinFirstStart8_56x51_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_DolphinFirstStart1_59x53_0[] = {0x01,0x00,0x1e,0x01,0x00,0x0e,0x03,0xfe,0x07,0x5b,0x84,0x02,0x06,0x07,0x48,0x64,0x02,0x08,0x07,0x48,0x14,0x02,0x10,0x07,0x48,0x0c,0x03,0x21,0x3f,0x13,0x18,0x84,0xa8,0x00,0x75,0x8c,0x00,0xca,0x00,0x0b,0x28,0x20,0x1d,0xa0,0x59,0xe0,0x39,0x48,0x07,0x03,0x81,0xd5,0x81,0xd6,0x81,0x55,0x8c,0x01,0xc6,0x21,0x00,0x87,0x68,0x25,0x52,0x40,0x39,0x7c,0x21,0xf5,0x08,0xa8,0x1d,0x20,0xfa,0x88,0x70,0x1c,0xfd,0x10,0x3a,0xa4,0x1f,0x88,0x54,0x18,0x85,0x52,0x09,0xbe,0x81,0xc1,0x0c,0x83,0x10,0x94,0x40,0x39,0xf0,0x19,0x21,0xc8,0x62,0x12,0x0c,0x04,0x0e,0x0c,0x07,0x38,0x07,0x86,0x07,0x18,0x03,0x94,0xc2,0x01,0x9e,0x81,0xca,0x38,0x89,0x21,0x0f,0x0c,0x03,0xf9,0x27,0x13,0x94,0xd0,0xb6,0x70,0x20,0x38,0xda,0x80,0xe5,0x10,0x03,0x95,0x59,0x54,0x70,0x10,0x38,0xda,0xc0,0xc3,0xfe,0xc1,0xab,0x0b,0xaa,0x2a,0x1c,0x05,0x81,0x58,0x38,0x09,0xd0,0x5c,0xa3,0xe0,0x72,0x86,0xae,0x8d,0x40,0x34,0x06,0xa1,0xc0,0xc0,0xe3,0xc0,0x65,0x1c,0x19,0x58,0x29,0xe1,0x00,0x14,0x28,0x0a,0x26,0x61,0x00,0x15,0x58,0x0a,0x2e,0x34,0xd6,0x42,0x9e,0x6b,0x54,0x82,0x92,0x08,0x1e,0x63,0x41,0x1d,0x0a,0x88,0x60,0x1d,0x42,0x11,0x5c,0x01,0xe5,0x3c,0x03,0x97,0x30,0x0e,0x42,0x42,0x80,0xd0,0x82,0xe4,0x07,0x28,0x17,0x10,0x1e,0xb0,0x4a,0x20,0x3d,0x61,0x1a,0x80,0x79,0x0f,0x0a,0x21,0x70,0x07,0x90,0x1c,0xa4,0x1a,0x00,0x7a,0xd0,0x0e,0x42,0x34,0x20,0x10,0xe0,0x00,0xed,0x00,0xa1,0x82,0xc8,0xc6,0x74,0x40,0xd9,0x01,0xce,0x84,0x07,0x69,0x10,0xcc,0x80,0xe7,0x5c,0x03,0xb4,0xa8,0x96,0x40,0x73,0x8a,0x96,0xc8,0x0c,0x40,}; | ||||||
|  | const uint8_t *_I_DolphinFirstStart1_59x53[] = {_I_DolphinFirstStart1_59x53_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_ArrowUpEmpty_14x15_0[] = {0x01,0x00,0x18,0x00,0xe0,0x40,0x24,0x10,0x18,0x84,0x0a,0x11,0x04,0x82,0x42,0x20,0x51,0x08,0x0c,0x82,0x1f,0x3c,0x04,0x88,0x06,0x7f,0x10,0x70,}; | const uint8_t _I_ArrowUpEmpty_14x15_0[] = {0x01,0x00,0x18,0x00,0xe0,0x40,0x24,0x10,0x18,0x84,0x0a,0x11,0x04,0x82,0x42,0x20,0x51,0x08,0x0c,0x82,0x1f,0x3c,0x04,0x88,0x06,0x7f,0x10,0x70,}; | ||||||
| const uint8_t *_I_ArrowUpEmpty_14x15[] = {_I_ArrowUpEmpty_14x15_0}; | const uint8_t *_I_ArrowUpEmpty_14x15[] = {_I_ArrowUpEmpty_14x15_0}; | ||||||
| @ -402,8 +426,11 @@ const uint8_t *_I_ArrowDownEmpty_14x15[] = {_I_ArrowDownEmpty_14x15_0}; | |||||||
| const uint8_t _I_ArrowDownFilled_14x15_0[] = {0x00,0xF8,0x07,0x08,0x04,0xE8,0x05,0x68,0x05,0xA8,0x05,0x68,0x05,0xA8,0x05,0x6F,0x3D,0xA1,0x21,0xFA,0x17,0xF4,0x0B,0xE8,0x05,0xD0,0x02,0x20,0x01,0xC0,0x00,}; | const uint8_t _I_ArrowDownFilled_14x15_0[] = {0x00,0xF8,0x07,0x08,0x04,0xE8,0x05,0x68,0x05,0xA8,0x05,0x68,0x05,0xA8,0x05,0x6F,0x3D,0xA1,0x21,0xFA,0x17,0xF4,0x0B,0xE8,0x05,0xD0,0x02,0x20,0x01,0xC0,0x00,}; | ||||||
| const uint8_t *_I_ArrowDownFilled_14x15[] = {_I_ArrowDownFilled_14x15_0}; | const uint8_t *_I_ArrowDownFilled_14x15[] = {_I_ArrowDownFilled_14x15_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_PassportBottom_128x17_0[] = {0x01,0x00,0x5e,0x00,0x96,0x01,0x97,0xe1,0xff,0x00,0x2e,0x3e,0x68,0x0f,0x5a,0xc5,0x54,0x00,0xb9,0x50,0xfb,0x6a,0x35,0x40,0x05,0xcd,0x4e,0x03,0xfd,0x30,0x0f,0xf8,0x7f,0xa0,0x81,0xfe,0xf9,0x1b,0xfb,0xf3,0x01,0x47,0x66,0x02,0x1b,0x03,0x07,0xe7,0x02,0x0b,0x02,0x07,0xe5,0x82,0x0b,0xf2,0x1c,0xb0,0x01,0x67,0xf0,0x5f,0xd0,0x3f,0x23,0xf0,0x9b,0xc9,0xe5,0x80,0x03,0xd5,0xc0,0x00,0x86,0x01,0xf3,0xe6,0x1e,0x58,0x00,0x36,0xa8,0x06,0xac,0x04,0x30,0x6c,0x30,0xee,0x60,0x1f,0xe0,0x10,0xff,0x0d,0xfb,0x00,}; | const uint8_t _I_ArrowUpFilled_14x15_0[] = {0x00,0xC0,0x00,0x20,0x01,0xD0,0x02,0xE8,0x05,0xF4,0x0B,0xFA,0x17,0x61,0x21,0xAF,0x3D,0x68,0x05,0xA8,0x05,0x68,0x05,0xA8,0x05,0xE8,0x05,0x08,0x04,0xF8,0x07,}; | ||||||
| const uint8_t *_I_PassportBottom_128x17[] = {_I_PassportBottom_128x17_0}; | const uint8_t *_I_ArrowUpFilled_14x15[] = {_I_ArrowUpFilled_14x15_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_DoorRight_70x55_0[] = {0x01,0x00,0x16,0x01,0x81,0xcc,0x01,0x0f,0x60,0x04,0x3f,0x00,0x10,0xf8,0x08,0x0c,0x02,0x05,0x01,0x84,0x02,0x06,0x26,0x0a,0x10,0x8a,0xcc,0xe0,0x1d,0x68,0xe0,0x18,0xab,0xd0,0x0b,0x18,0x10,0x46,0xe6,0x16,0x1e,0x18,0x10,0x46,0xe4,0x28,0x2c,0x98,0x14,0x68,0x00,0x21,0x1d,0x10,0x8c,0x40,0x02,0x0e,0x10,0xa1,0x08,0xc8,0x40,0x42,0x62,0x11,0x94,0x03,0xfd,0xff,0x00,0x0c,0xff,0x0c,0x08,0x28,0x60,0xe4,0xc0,0x85,0x00,0x83,0x00,0x87,0xf1,0x00,0x8c,0x02,0x0b,0x07,0x24,0x84,0xff,0x04,0xc7,0x80,0xa0,0xe4,0xa0,0x81,0x41,0x04,0x17,0x02,0x41,0x49,0x81,0x0e,0x10,0xb2,0xa0,0x82,0x0e,0x9f,0xfc,0x0a,0x62,0xf2,0xc0,0x03,0x92,0xf0,0x08,0x2d,0x78,0x20,0xff,0x02,0x01,0x08,0xae,0x60,0x64,0x38,0x0d,0xb0,0x8d,0x08,0x82,0x11,0x58,0xc4,0x13,0xc0,0x35,0x68,0x62,0x68,0x81,0x09,0x08,0x84,0x40,0x81,0x0d,0x18,0x69,0x10,0x47,0x44,0x66,0x5f,0x21,0xa9,0x29,0x94,0x10,0x2f,0x23,0x53,0x14,0x60,0x42,0x3c,0x08,0xfc,0x02,0x2c,0x62,0x23,0x58,0xd0,0x22,0x00,0x83,0x3e,0x98,0x44,0x43,0x46,0x22,0x30,0x89,0xce,0x01,0x0f,0x70,0x04,0x3f,0x81,0x8a,0x3c,0x21,0xaa,0x70,0x1a,0xe3,0x44,0x1a,0xa6,0x01,0xd2,0x38,0x90,0x8a,0x40,0x20,0xe5,0x96,0x80,0x43,0x81,0x06,0x6b,0x28,0x07,0xf3,0xfe,0x00,0x19,0xf9,0x34,0xc1,0x08,0x8f,0x20,0xf1,0x3e,0x16,0x00,0xa8,0x19,0x00,0x10,0x76,0x03,0xe2,0x3e,0x90,0x45,0x38,0x01,0x42,0x05,0x88,0x44,0x67,0x15,0x70,0x41,0x38,0x04,0x10,0x24,0x03,0x00,0x10,0x20,0x4a,0x46,0xe9,0x46,0xe1,0x04,0x50,0x66,0x40,0x85,0x19,0x98,0x00,0xc0,}; | ||||||
|  | const uint8_t *_I_DoorRight_70x55[] = {_I_DoorRight_70x55_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_DoorLocked_10x56_0[] = {0x01,0x00,0x4e,0x00,0x86,0x40,0x25,0xb0,0x0b,0x6c,0x03,0x9b,0x00,0xc6,0xc0,0x65,0x90,0x10,0x3a,0xc3,0x20,0x31,0xc8,0x04,0xe2,0x01,0x70,0x80,0x78,0x20,0x1c,0x48,0x07,0x22,0x01,0xd0,0x00,0xf0,0x44,0x68,0x90,0x09,0x04,0x02,0x21,0x00,0x84,0x40,0x25,0x80,0x12,0x1e,0x88,0x14,0xc0,0x2e,0x0d,0x11,0xca,0xf8,0x60,0x1c,0x38,0x07,0x1a,0x05,0xcc,0x80,0x72,0x60,0x5c,0x38,0x10,0x1c,0xf9,0x10,0x2e,0x00,0x05,0x60,0x00,0x11,}; | const uint8_t _I_DoorLocked_10x56_0[] = {0x01,0x00,0x4e,0x00,0x86,0x40,0x25,0xb0,0x0b,0x6c,0x03,0x9b,0x00,0xc6,0xc0,0x65,0x90,0x10,0x3a,0xc3,0x20,0x31,0xc8,0x04,0xe2,0x01,0x70,0x80,0x78,0x20,0x1c,0x48,0x07,0x22,0x01,0xd0,0x00,0xf0,0x44,0x68,0x90,0x09,0x04,0x02,0x21,0x00,0x84,0x40,0x25,0x80,0x12,0x1e,0x88,0x14,0xc0,0x2e,0x0d,0x11,0xca,0xf8,0x60,0x1c,0x38,0x07,0x1a,0x05,0xcc,0x80,0x72,0x60,0x5c,0x38,0x10,0x1c,0xf9,0x10,0x2e,0x00,0x05,0x60,0x00,0x11,}; | ||||||
| const uint8_t *_I_DoorLocked_10x56[] = {_I_DoorLocked_10x56_0}; | const uint8_t *_I_DoorLocked_10x56[] = {_I_DoorLocked_10x56_0}; | ||||||
| @ -414,81 +441,81 @@ const uint8_t *_I_DoorLeft_70x55[] = {_I_DoorLeft_70x55_0}; | |||||||
| const uint8_t _I_PassportLeft_6x47_0[] = {0x01,0x00,0x1c,0x00,0x9e,0x40,0xa3,0x32,0x59,0x2c,0x66,0x03,0x01,0x82,0xc2,0x62,0x32,0x50,0x16,0xc8,0x60,0x30,0x28,0x24,0x32,0x39,0x3c,0x9e,0x4d,0x25,0x80,0x1a,}; | const uint8_t _I_PassportLeft_6x47_0[] = {0x01,0x00,0x1c,0x00,0x9e,0x40,0xa3,0x32,0x59,0x2c,0x66,0x03,0x01,0x82,0xc2,0x62,0x32,0x50,0x16,0xc8,0x60,0x30,0x28,0x24,0x32,0x39,0x3c,0x9e,0x4d,0x25,0x80,0x1a,}; | ||||||
| const uint8_t *_I_PassportLeft_6x47[] = {_I_PassportLeft_6x47_0}; | const uint8_t *_I_PassportLeft_6x47[] = {_I_PassportLeft_6x47_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_DoorRight_70x55_0[] = {0x01,0x00,0x16,0x01,0x81,0xcc,0x01,0x0f,0x60,0x04,0x3f,0x00,0x10,0xf8,0x08,0x0c,0x02,0x05,0x01,0x84,0x02,0x06,0x26,0x0a,0x10,0x8a,0xcc,0xe0,0x1d,0x68,0xe0,0x18,0xab,0xd0,0x0b,0x18,0x10,0x46,0xe6,0x16,0x1e,0x18,0x10,0x46,0xe4,0x28,0x2c,0x98,0x14,0x68,0x00,0x21,0x1d,0x10,0x8c,0x40,0x02,0x0e,0x10,0xa1,0x08,0xc8,0x40,0x42,0x62,0x11,0x94,0x03,0xfd,0xff,0x00,0x0c,0xff,0x0c,0x08,0x28,0x60,0xe4,0xc0,0x85,0x00,0x83,0x00,0x87,0xf1,0x00,0x8c,0x02,0x0b,0x07,0x24,0x84,0xff,0x04,0xc7,0x80,0xa0,0xe4,0xa0,0x81,0x41,0x04,0x17,0x02,0x41,0x49,0x81,0x0e,0x10,0xb2,0xa0,0x82,0x0e,0x9f,0xfc,0x0a,0x62,0xf2,0xc0,0x03,0x92,0xf0,0x08,0x2d,0x78,0x20,0xff,0x02,0x01,0x08,0xae,0x60,0x64,0x38,0x0d,0xb0,0x8d,0x08,0x82,0x11,0x58,0xc4,0x13,0xc0,0x35,0x68,0x62,0x68,0x81,0x09,0x08,0x84,0x40,0x81,0x0d,0x18,0x69,0x10,0x47,0x44,0x66,0x5f,0x21,0xa9,0x29,0x94,0x10,0x2f,0x23,0x53,0x14,0x60,0x42,0x3c,0x08,0xfc,0x02,0x2c,0x62,0x23,0x58,0xd0,0x22,0x00,0x83,0x3e,0x98,0x44,0x43,0x46,0x22,0x30,0x89,0xce,0x01,0x0f,0x70,0x04,0x3f,0x81,0x8a,0x3c,0x21,0xaa,0x70,0x1a,0xe3,0x44,0x1a,0xa6,0x01,0xd2,0x38,0x90,0x8a,0x40,0x20,0xe5,0x96,0x80,0x43,0x81,0x06,0x6b,0x28,0x07,0xf3,0xfe,0x00,0x19,0xf9,0x34,0xc1,0x08,0x8f,0x20,0xf1,0x3e,0x16,0x00,0xa8,0x19,0x00,0x10,0x76,0x03,0xe2,0x3e,0x90,0x45,0x38,0x01,0x42,0x05,0x88,0x44,0x67,0x15,0x70,0x41,0x38,0x04,0x10,0x24,0x03,0x00,0x10,0x20,0x4a,0x46,0xe9,0x46,0xe1,0x04,0x50,0x66,0x40,0x85,0x19,0x98,0x00,0xc0,}; |  | ||||||
| const uint8_t *_I_DoorRight_70x55[] = {_I_DoorRight_70x55_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_LockPopup_100x49_0[] = {0x01,0x00,0x37,0x01,0xfc,0x7f,0xc0,0x13,0x01,0xfe,0x03,0x2a,0x07,0x06,0x12,0xd4,0x1a,0x06,0x0c,0xa8,0x60,0x33,0xe0,0x12,0x08,0x40,0x32,0x3f,0xd0,0x70,0x64,0xe0,0x20,0x31,0x8a,0x00,0x32,0x2c,0x10,0x0b,0x00,0x32,0x62,0x10,0x0c,0x06,0x00,0x19,0x00,0x82,0xc0,0x83,0x22,0x08,0x04,0x18,0x11,0x6a,0x01,0x25,0x02,0x84,0x83,0x1e,0x02,0x04,0x10,0xe1,0x03,0x1e,0x3c,0x0c,0x9c,0x1c,0x02,0x43,0x00,0x84,0x4f,0xc1,0x8f,0x80,0xaf,0x40,0x39,0x14,0x00,0x63,0xd0,0x36,0xf0,0x09,0xc6,0x00,0x18,0xd4,0x3a,0x06,0x9c,0x08,0x20,0xc9,0xdf,0xc0,0x20,0x7f,0x00,0x65,0x40,0x3f,0x80,0xc7,0xd0,0x10,0x06,0x01,0x7f,0x06,0x34,0x8e,0xa1,0x3d,0x80,0x70,0x0b,0x4f,0x23,0xd0,0x50,0xa0,0x1f,0x08,0x78,0x66,0x11,0xe3,0xfc,0x83,0x83,0x1e,0x40,0x0c,0x1f,0xfb,0xec,0x41,0x8c,0x03,0x1e,0x07,0x00,0x4d,0x10,0x0a,0x04,0xc0,0x9b,0x30,0x0c,0x1f,0xff,0xff,0x9f,0x06,0x3e,0x01,0x80,0x48,0xe7,0x99,0x83,0x0d,0x6a,0xe0,0xc4,0x90,0x03,0x1a,0x76,0x0c,0x38,0xe0,0x34,0x45,0x25,0x02,0x06,0x0d,0xe0,0x18,0x3c,0x08,0x19,0x40,0x78,0x00,0xc1,0x81,0xc3,0x27,0xf8,0x48,0x26,0x82,0x7d,0x00,0xfc,0x40,0xfc,0x10,0xfc,0x04,0xfc,0x18,0x30,0x28,0x7d,0x02,0x3f,0x00,0x98,0x41,0x38,0x31,0x08,0x25,0x0e,0x19,0x1f,0x81,0x42,0x70,0x11,0xa2,0x08,0xe2,0x30,0x72,0x08,0x76,0x0a,0x19,0x0f,0x85,0x42,0x60,0x11,0x51,0x78,0xc2,0x20,0x32,0x08,0x26,0x00,0x18,0x91,0x00,0x60,0x91,0x44,0x08,0x34,0x08,0x64,0x1f,0xe4,0x07,0x3f,0x84,0x0d,0x58,0x44,0x01,0x83,0xdc,0x60,0x43,0xe1,0x39,0xa9,0xd0,0x60,0x70,0x16,0x78,0xca,0x01,0x8f,0x83,0x3d,0x10,0x33,0x29,0x00,0xc7,0xa1,0x83,0x3f,0x10,0x0c,0x79,0x30,0x32,0xa0,0xdf,0xc7,0xa0,0x80,0x22,0x07,0xf8,0x06,0x54,0x04,}; | const uint8_t _I_LockPopup_100x49_0[] = {0x01,0x00,0x37,0x01,0xfc,0x7f,0xc0,0x13,0x01,0xfe,0x03,0x2a,0x07,0x06,0x12,0xd4,0x1a,0x06,0x0c,0xa8,0x60,0x33,0xe0,0x12,0x08,0x40,0x32,0x3f,0xd0,0x70,0x64,0xe0,0x20,0x31,0x8a,0x00,0x32,0x2c,0x10,0x0b,0x00,0x32,0x62,0x10,0x0c,0x06,0x00,0x19,0x00,0x82,0xc0,0x83,0x22,0x08,0x04,0x18,0x11,0x6a,0x01,0x25,0x02,0x84,0x83,0x1e,0x02,0x04,0x10,0xe1,0x03,0x1e,0x3c,0x0c,0x9c,0x1c,0x02,0x43,0x00,0x84,0x4f,0xc1,0x8f,0x80,0xaf,0x40,0x39,0x14,0x00,0x63,0xd0,0x36,0xf0,0x09,0xc6,0x00,0x18,0xd4,0x3a,0x06,0x9c,0x08,0x20,0xc9,0xdf,0xc0,0x20,0x7f,0x00,0x65,0x40,0x3f,0x80,0xc7,0xd0,0x10,0x06,0x01,0x7f,0x06,0x34,0x8e,0xa1,0x3d,0x80,0x70,0x0b,0x4f,0x23,0xd0,0x50,0xa0,0x1f,0x08,0x78,0x66,0x11,0xe3,0xfc,0x83,0x83,0x1e,0x40,0x0c,0x1f,0xfb,0xec,0x41,0x8c,0x03,0x1e,0x07,0x00,0x4d,0x10,0x0a,0x04,0xc0,0x9b,0x30,0x0c,0x1f,0xff,0xff,0x9f,0x06,0x3e,0x01,0x80,0x48,0xe7,0x99,0x83,0x0d,0x6a,0xe0,0xc4,0x90,0x03,0x1a,0x76,0x0c,0x38,0xe0,0x34,0x45,0x25,0x02,0x06,0x0d,0xe0,0x18,0x3c,0x08,0x19,0x40,0x78,0x00,0xc1,0x81,0xc3,0x27,0xf8,0x48,0x26,0x82,0x7d,0x00,0xfc,0x40,0xfc,0x10,0xfc,0x04,0xfc,0x18,0x30,0x28,0x7d,0x02,0x3f,0x00,0x98,0x41,0x38,0x31,0x08,0x25,0x0e,0x19,0x1f,0x81,0x42,0x70,0x11,0xa2,0x08,0xe2,0x30,0x72,0x08,0x76,0x0a,0x19,0x0f,0x85,0x42,0x60,0x11,0x51,0x78,0xc2,0x20,0x32,0x08,0x26,0x00,0x18,0x91,0x00,0x60,0x91,0x44,0x08,0x34,0x08,0x64,0x1f,0xe4,0x07,0x3f,0x84,0x0d,0x58,0x44,0x01,0x83,0xdc,0x60,0x43,0xe1,0x39,0xa9,0xd0,0x60,0x70,0x16,0x78,0xca,0x01,0x8f,0x83,0x3d,0x10,0x33,0x29,0x00,0xc7,0xa1,0x83,0x3f,0x10,0x0c,0x79,0x30,0x32,0xa0,0xdf,0xc7,0xa0,0x80,0x22,0x07,0xf8,0x06,0x54,0x04,}; | ||||||
| const uint8_t *_I_LockPopup_100x49[] = {_I_LockPopup_100x49_0}; | const uint8_t *_I_LockPopup_100x49[] = {_I_LockPopup_100x49_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_Mute_25x27_0[] = {0x01,0x00,0x51,0x00,0xfc,0x7f,0xe7,0xf0,0x08,0x24,0x02,0x81,0x00,0x81,0x40,0x30,0x10,0x08,0x08,0x38,0x60,0x20,0x31,0x81,0xc0,0x64,0x38,0x08,0xa4,0x06,0x83,0x40,0x86,0x40,0x70,0x32,0x08,0x20,0x3c,0x63,0xf0,0x60,0x38,0xc0,0xa0,0xa0,0x31,0xc2,0x02,0xc7,0x03,0x48,0x01,0x94,0xc0,0x06,0xc0,0xb3,0x09,0x98,0x6c,0x84,0x68,0x2b,0x21,0x99,0x8e,0xcc,0x86,0x64,0xb3,0x81,0x94,0xc6,0x03,0x06,0x80,0x70,0x20,0x1f,0xcf,0xfd,0xfc,0xce,0x80,}; | const uint8_t _I_PassportBottom_128x17_0[] = {0x01,0x00,0x5e,0x00,0x96,0x01,0x97,0xe1,0xff,0x00,0x2e,0x3e,0x68,0x0f,0x5a,0xc5,0x54,0x00,0xb9,0x50,0xfb,0x6a,0x35,0x40,0x05,0xcd,0x4e,0x03,0xfd,0x30,0x0f,0xf8,0x7f,0xa0,0x81,0xfe,0xf9,0x1b,0xfb,0xf3,0x01,0x47,0x66,0x02,0x1b,0x03,0x07,0xe7,0x02,0x0b,0x02,0x07,0xe5,0x82,0x0b,0xf2,0x1c,0xb0,0x01,0x67,0xf0,0x5f,0xd0,0x3f,0x23,0xf0,0x9b,0xc9,0xe5,0x80,0x03,0xd5,0xc0,0x00,0x86,0x01,0xf3,0xe6,0x1e,0x58,0x00,0x36,0xa8,0x06,0xac,0x04,0x30,0x6c,0x30,0xee,0x60,0x1f,0xe0,0x10,0xff,0x0d,0xfb,0x00,}; | ||||||
| const uint8_t *_I_Mute_25x27[] = {_I_Mute_25x27_0}; | const uint8_t *_I_PassportBottom_128x17[] = {_I_PassportBottom_128x17_0}; | ||||||
| 
 |  | ||||||
| const uint8_t _I_IrdaArrowUp_4x8_0[] = {0x00,0x18,0x3C,0x7E,0xFF,}; |  | ||||||
| const uint8_t *_I_IrdaArrowUp_4x8[] = {_I_IrdaArrowUp_4x8_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_Up_hvr_25x27_0[] = {0x01,0x00,0x39,0x00,0xfc,0x7f,0xe7,0xf0,0x0f,0xe7,0xfe,0xff,0x00,0xff,0x7f,0xff,0xf0,0x00,0x10,0xff,0xe0,0x20,0x3c,0xf7,0x80,0xcb,0x8e,0x03,0x2c,0x18,0x0c,0x80,0x26,0x25,0x18,0x08,0xa4,0x7f,0x90,0x11,0x88,0xfe,0x20,0x31,0xf8,0x07,0xc2,0x03,0x0f,0x80,0x78,0x00,0x68,0x37,0xf0,0x1d,0x95,0xcc,0xbe,0x66,0x73,}; |  | ||||||
| const uint8_t *_I_Up_hvr_25x27[] = {_I_Up_hvr_25x27_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_DolphinReadingSuccess_59x63_0[] = {0x01,0x00,0x19,0x01,0x00,0x1d,0x00,0x0f,0xd2,0x00,0x21,0xe0,0x3f,0xf0,0xf9,0x00,0x40,0xee,0x00,0x11,0x88,0x04,0x0e,0x18,0x11,0x18,0x8c,0x40,0x0e,0x50,0x30,0x10,0xc0,0xa1,0x01,0xe2,0x05,0x14,0x12,0x08,0x33,0x58,0x44,0x08,0x66,0xa1,0xe3,0x01,0x9c,0x83,0x00,0x24,0x11,0x11,0x06,0xc4,0x76,0x20,0x75,0x15,0x99,0x48,0xc0,0xe9,0x0f,0x03,0x95,0xfc,0x86,0x3c,0x09,0x80,0x1c,0x7c,0x00,0x91,0x81,0x48,0x2f,0xc1,0x41,0x8c,0xc0,0x20,0x30,0x1c,0x87,0xfc,0x0e,0x30,0x70,0x70,0x81,0xc7,0xe6,0x07,0x18,0x08,0x1c,0xb9,0x1e,0x38,0x0f,0x02,0x01,0xf0,0x03,0xa0,0xa4,0x7f,0x90,0x30,0x38,0xff,0xe0,0x28,0x21,0xff,0x06,0x44,0x0e,0x46,0xe1,0x01,0x8c,0x03,0x34,0x2f,0x25,0x18,0x80,0xc7,0x2a,0x03,0x2e,0x01,0x3c,0x70,0x12,0xa2,0x39,0x78,0x27,0xe0,0x31,0xea,0x82,0xc4,0x6c,0x31,0xf0,0x78,0xea,0xb0,0x22,0x31,0xfc,0x1a,0xc6,0x01,0x55,0x25,0x88,0xf8,0x4b,0x02,0x1f,0x13,0xe1,0x7f,0x97,0x85,0x15,0x03,0x90,0xf8,0xa0,0x10,0xa1,0xb1,0x0e,0x88,0x00,0x7f,0x0f,0xc0,0x7c,0x57,0x27,0x3c,0xb0,0x7f,0x5f,0xa9,0x1f,0xc0,0x6a,0xc5,0x05,0xc0,0xf0,0x11,0x46,0xac,0x18,0x3f,0xf9,0x54,0x75,0x00,0x73,0x1f,0x0f,0xfe,0xfe,0xc6,0x30,0x01,0xbc,0x48,0x00,0x84,0x82,0x00,0x1b,0x64,0xc0,0x07,0x60,0x03,0xb4,0x70,0x0c,0xbf,0x82,0x31,0x01,0x8d,0x0c,0x40,0x02,0x37,0x08,0x1d,0x74,0x00,0x76,0xa0,0x01,0xdb,0x01,0xfe,0x85,0x8b,0x96,0xaa,0x9b,0x30,0x01,0x6a,0xa3,0x40,0x75,0xaa,0x03,0xdb,0x50,0xbb,0x30,0x01,0x54,0x24,0x25,0xe6,0x51,0x08,0x1f,0x68,0x00,0x7f,0x03,0xf2,0x79,0xc0,0xf4,}; |  | ||||||
| const uint8_t *_I_DolphinReadingSuccess_59x63[] = {_I_DolphinReadingSuccess_59x63_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_Mute_hvr_25x27_0[] = {0x01,0x00,0x4a,0x00,0xfc,0x7f,0xe7,0xf0,0x0f,0xe7,0xfe,0xff,0x00,0xff,0x7f,0xff,0xf0,0x00,0x10,0xff,0xe0,0x20,0x21,0xfe,0x40,0x7b,0xf7,0xff,0x5c,0x07,0x7f,0xbf,0xf9,0xc0,0x6f,0xfd,0xff,0xd8,0x3c,0x7c,0x1f,0x90,0x38,0xff,0x7f,0x40,0x31,0xbd,0x82,0xc6,0xff,0xb7,0x01,0x97,0x3c,0x06,0xc0,0xb3,0x09,0x98,0x6c,0x84,0x68,0x2b,0x21,0x99,0x8e,0xcc,0x86,0x64,0xb5,0x01,0x89,0x5c,0xcb,0xe6,0x67,0x30,}; |  | ||||||
| const uint8_t *_I_Mute_hvr_25x27[] = {_I_Mute_hvr_25x27_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_Vol_down_25x27_0[] = {0x01,0x00,0x2c,0x00,0xfc,0x7f,0xe7,0xf0,0x08,0x24,0x02,0x81,0x00,0x81,0x40,0x30,0x10,0x08,0x08,0x38,0x60,0x20,0x3f,0x01,0xff,0x07,0xff,0x07,0x01,0xa0,0x5f,0xc0,0x7e,0x03,0x38,0x19,0x4c,0x60,0x30,0x68,0x07,0x02,0x01,0xfc,0xff,0xdf,0xcc,0xe8,}; |  | ||||||
| const uint8_t *_I_Vol_down_25x27[] = {_I_Vol_down_25x27_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_Down_25x27_0[] = {0x01,0x00,0x46,0x00,0xfc,0x7f,0xe7,0xf0,0x08,0x24,0x02,0x81,0x00,0x81,0x40,0x30,0x10,0x08,0x08,0x38,0x60,0x20,0x3f,0x01,0x9f,0xc7,0xff,0x1f,0x01,0xa7,0x87,0xff,0x0f,0x80,0xf0,0x7f,0xf0,0x78,0x0e,0x07,0xff,0x03,0x0b,0x8f,0xfc,0x04,0x30,0x1f,0xf0,0x7c,0xaf,0x80,0x32,0x9c,0x00,0xca,0x20,0x37,0xf0,0x18,0xc0,0xca,0x63,0x01,0x83,0x40,0x38,0x10,0x0f,0xe7,0xfe,0xfe,0x67,0x40,}; |  | ||||||
| const uint8_t *_I_Down_25x27[] = {_I_Down_25x27_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_Power_hvr_25x27_0[] = {0x01,0x00,0x4b,0x00,0xfc,0x7f,0xe7,0xf0,0x0f,0xe7,0xfe,0xff,0x00,0xff,0x7f,0xff,0xf0,0x00,0x10,0xff,0xe0,0x3f,0xff,0x78,0x0c,0xb8,0xe0,0x35,0xbf,0xf1,0xbf,0x90,0x19,0xff,0x1b,0xf1,0x01,0x8f,0xf1,0xfe,0x30,0x1c,0xff,0x1f,0xe6,0x03,0x5f,0x78,0x0c,0xbf,0xe0,0x39,0x8f,0xff,0xc3,0x63,0x3f,0xff,0x08,0xc6,0xff,0x7c,0x15,0x89,0x04,0x7f,0xc0,0x31,0xc1,0x8e,0xc8,0x8e,0x60,0x36,0x2b,0x99,0x7c,0xcc,0xe6,}; |  | ||||||
| const uint8_t *_I_Power_hvr_25x27[] = {_I_Power_hvr_25x27_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_IrdaLearnShort_128x31_0[] = {0x01,0x00,0x10,0x01,0x00,0x47,0xfb,0xfe,0x00,0x38,0x38,0x3e,0x20,0x20,0x54,0x84,0x03,0x9f,0xc0,0x06,0x58,0x80,0x3d,0xf2,0x00,0x65,0x90,0x03,0xde,0x90,0x06,0x5a,0x07,0xc0,0x8a,0x70,0x1a,0x04,0x02,0x51,0x80,0x03,0x94,0x02,0x3f,0x40,0x20,0x24,0x0b,0x01,0x00,0x92,0x70,0x35,0x40,0x01,0xe0,0xdf,0xf0,0x10,0x40,0x71,0x58,0x20,0x90,0x88,0x0c,0x4a,0x81,0x55,0x00,0x0f,0x87,0xf7,0x00,0x82,0x43,0x36,0x16,0xdc,0x9c,0x12,0x21,0x01,0x85,0x70,0x3f,0xc1,0xf1,0xf8,0xfc,0x60,0x20,0xf5,0x90,0x40,0xa1,0x34,0x08,0x18,0x7c,0x7e,0x24,0x91,0x07,0x8c,0xc0,0x5e,0x52,0x28,0x14,0x17,0x81,0x01,0x0f,0x8f,0xe7,0xe3,0x03,0x1f,0x8e,0x02,0xdb,0x03,0x8e,0x49,0x20,0x50,0x2e,0x04,0x72,0xbd,0x55,0xdc,0xeb,0xa0,0x7c,0x4f,0x68,0xbc,0x60,0x72,0x40,0x79,0x50,0x23,0x9a,0x6d,0x56,0x66,0x5c,0x0f,0x21,0x78,0x9b,0x04,0x1e,0x28,0x21,0x8e,0x5c,0x43,0xe6,0x2f,0x10,0xf9,0x0b,0xc7,0x04,0x99,0x18,0x06,0xe0,0x7e,0x56,0x32,0x78,0x8f,0xc4,0x08,0x32,0x20,0x79,0x48,0x2b,0x85,0xf2,0xf8,0x83,0xc4,0x5c,0x3f,0x03,0x78,0xd0,0x81,0xe3,0xc0,0xdf,0x9f,0xcb,0xf3,0x04,0xc6,0x7d,0xfb,0xdf,0x34,0x78,0xd0,0x45,0xe5,0x7e,0x4f,0x97,0xe2,0x09,0x80,0x07,0x88,0xbc,0x61,0x00,0xf3,0xd8,0x2f,0xcb,0xe0,0xcf,0x60,0x68,0xd0,0x30,0x15,0xfa,0xac,0x36,0x3f,0x60,0x77,0xb3,0x80,0x5d,0xe6,0x4b,0x20,0x03,0x03,0xc4,0x01,0xd0,0x10,0x7f,0x40,0x81,0xfc,0xa7,0x10,0x06,0x99,0xd0,0x01,0x51,0x00,0x7f,0x48,0x01,0xfd,0xc0,0x43,0x98,0x00,0x8e,0xfe,0x00,0xf0,}; |  | ||||||
| const uint8_t *_I_IrdaLearnShort_128x31[] = {_I_IrdaLearnShort_128x31_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_IrdaArrowDown_4x8_0[] = {0x00,0xFF,0x7E,0x3C,0x18,}; |  | ||||||
| const uint8_t *_I_IrdaArrowDown_4x8[] = {_I_IrdaArrowDown_4x8_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_Vol_down_hvr_25x27_0[] = {0x01,0x00,0x23,0x00,0xfc,0x7f,0xe7,0xf0,0x0f,0xe7,0xfe,0xff,0x00,0xff,0x7f,0xff,0xf0,0x00,0x10,0xff,0xe0,0x20,0x3f,0x01,0xf8,0xb4,0x7f,0x00,0x34,0x0b,0xf8,0x0f,0xc0,0x6e,0x57,0x32,0xf9,0x99,0xcc,}; |  | ||||||
| const uint8_t *_I_Vol_down_hvr_25x27[] = {_I_Vol_down_hvr_25x27_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_IrdaLearn_128x64_0[] = {0x01,0x00,0xcc,0x01,0x00,0x78,0x03,0xc0,0x1e,0x00,0xf0,0x07,0x80,0x3f,0x01,0x07,0x82,0x41,0x21,0x20,0x73,0x00,0x8e,0x82,0x0f,0x00,0xa0,0x01,0x46,0x11,0x00,0x07,0xc0,0x28,0x41,0xe5,0xc8,0xba,0x63,0xa7,0x70,0x6b,0x3d,0xbb,0x99,0x19,0xee,0x68,0x71,0x16,0x3f,0x70,0x3c,0x64,0xf9,0x58,0x25,0x26,0x13,0x91,0xc9,0x64,0xa4,0x99,0x2d,0x06,0x1f,0x29,0x42,0x07,0x8c,0x80,0x1e,0x50,0xff,0x88,0x3c,0x67,0x80,0xf1,0xc1,0x03,0xde,0x03,0x11,0x07,0x8c,0x10,0x1e,0x38,0x40,0x79,0xf0,0x32,0x80,0xf1,0x83,0x58,0x72,0x58,0xc8,0xc6,0x73,0x40,0x3f,0x10,0x78,0x9e,0xf1,0x17,0xe9,0xcf,0x00,0x78,0x03,0xc0,0x1e,0x00,0xf0,0x02,0x44,0x18,0xa3,0x80,0x82,0x32,0x06,0x44,0x0f,0xf0,0x73,0x5d,0xe3,0x92,0x7e,0xcf,0x06,0x3b,0xc3,0xa4,0xdd,0xfc,0xc8,0x35,0xca,0x44,0xa5,0x34,0x5c,0x16,0x92,0x89,0x4a,0x91,0x4a,0x60,0x20,0xf7,0xa4,0x83,0xc6,0x8e,0x0f,0xba,0x88,0x3c,0x68,0x00,0xf7,0x80,0x65,0xe3,0x9c,0x7a,0x6e,0x0a,0x49,0xc3,0xb8,0xc8,0xa4,0xc0,0xf5,0x00,0x08,0x1d,0xc0,0x0e,0x0f,0xf0,0x07,0x80,0x3c,0x01,0xe0,0x0f,0x00,0x2f,0xfb,0xfe,0x00,0x38,0x39,0x97,0xa1,0x00,0xe7,0xf0,0x3b,0x1c,0x00,0xd9,0x00,0x32,0xc8,0x01,0xef,0x48,0x03,0x2d,0x03,0xe0,0x45,0x38,0x0d,0x02,0x01,0x28,0xc0,0x01,0xca,0x01,0x1f,0xa0,0x10,0x12,0x05,0x80,0x80,0x49,0x38,0x1a,0xa0,0x00,0xf0,0x6f,0xf8,0x08,0x20,0x38,0xac,0x10,0x48,0x44,0x06,0x25,0x40,0xaa,0x80,0x07,0xc3,0xfb,0x80,0x41,0x21,0x9b,0x0b,0x6e,0x4e,0x09,0x10,0x80,0xc2,0xb8,0x1f,0xe0,0xf8,0xfc,0x7e,0x30,0x10,0x7a,0xc8,0x20,0x50,0x9a,0x04,0x0c,0x3e,0x3f,0x12,0x48,0x83,0xc6,0x60,0x2f,0x29,0x14,0x0a,0x0b,0xc0,0x80,0x87,0xc7,0xf3,0xf1,0x81,0x8f,0xc7,0x01,0x6d,0x81,0xc7,0x24,0x90,0x28,0x17,0x02,0x39,0x5e,0xaa,0xee,0x75,0xd0,0x3e,0x27,0xb4,0x5e,0x30,0x39,0x20,0x3c,0xa8,0x11,0xcd,0x36,0xab,0x33,0x2e,0x07,0x90,0xbc,0x4d,0x82,0x0f,0x14,0x10,0xc7,0x2e,0x21,0xf3,0x17,0x88,0x7c,0x85,0xe3,0x82,0x4c,0x8c,0x03,0x70,0x3f,0x2b,0x19,0x3c,0x47,0xe2,0x04,0x19,0x10,0x3c,0xa4,0x15,0xc2,0xf9,0x7c,0x41,0xe2,0x2e,0x1f,0x81,0xbc,0x68,0x40,0xf1,0xe0,0x6f,0xcf,0xe5,0xf9,0x82,0x63,0x3e,0xfd,0xef,0x9a,0x3c,0x68,0x22,0xf2,0xbf,0x27,0xcb,0xf1,0x04,0xc0,0x03,0xc4,0x5e,0x30,0x80,0x79,0xec,0x17,0xe5,0xf0,0x67,0xb0,0x34,0x68,0x18,0x0a,0xfd,0x56,0x1b,0x1f,0xb0,0x3b,0xd9,0xc0,0x2e,0xf3,0x25,0x90,0x01,0x81,0xe2,0x00,0xe8,0x08,0x3f,0xa0,0x40,0xfe,0x53,0x88,0x03,0x4c,0xe8,0x00,0xa8,0x80,0x3f,0xa4,0x00,0xfe,0xe0,0x21,0xcc,0x00,0x47,0x7f,0x00,0x78,}; |  | ||||||
| const uint8_t *_I_IrdaLearn_128x64[] = {_I_IrdaLearn_128x64_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_Down_hvr_25x27_0[] = {0x01,0x00,0x3a,0x00,0xfc,0x7f,0xe7,0xf0,0x0f,0xe7,0xfe,0xff,0x00,0xff,0x7f,0xff,0xf0,0x00,0x10,0xff,0xe0,0x20,0x3f,0x01,0x9c,0x3e,0x01,0xe0,0x01,0xa4,0x7e,0x01,0xf0,0x80,0x8b,0x47,0xf1,0x01,0x16,0x8f,0xf0,0x2e,0x23,0x11,0x01,0x88,0x04,0xf0,0x60,0x32,0xe3,0x80,0xcb,0xde,0x37,0xf0,0x1a,0x95,0xcc,0xbe,0x66,0x73,}; |  | ||||||
| const uint8_t *_I_Down_hvr_25x27[] = {_I_Down_hvr_25x27_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_Fill_marker_7x7_0[] = {0x00,0x1C,0x32,0x6F,0x5F,0x7F,0x3E,0x1C,}; |  | ||||||
| const uint8_t *_I_Fill_marker_7x7[] = {_I_Fill_marker_7x7_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_Power_25x27_0[] = {0x01,0x00,0x54,0x00,0xfc,0x7f,0xe7,0xf0,0x08,0x24,0x02,0x81,0x00,0x81,0x40,0x30,0x10,0x08,0x08,0x38,0x60,0x30,0x18,0x80,0x0c,0xa7,0x00,0x35,0xc0,0xce,0x60,0x70,0x1e,0x0c,0xe6,0x0f,0x01,0xf0,0xce,0x21,0xd0,0x1b,0x0c,0xe2,0x18,0x03,0x58,0x80,0x0c,0xa0,0x00,0x39,0xf0,0xc0,0x03,0x63,0xc1,0x80,0x88,0xc7,0x03,0x83,0x15,0x8c,0x07,0xfe,0x02,0x18,0x0d,0xf0,0x76,0x44,0x73,0x01,0x94,0x0c,0xa6,0x30,0x18,0x34,0x03,0x81,0x00,0xfe,0x7f,0xef,0xe6,0x74,}; |  | ||||||
| const uint8_t *_I_Power_25x27[] = {_I_Power_25x27_0}; |  | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_Vol_up_25x27_0[] = {0x01,0x00,0x2f,0x00,0xfc,0x7f,0xe7,0xf0,0x08,0x24,0x02,0x81,0x00,0x81,0x40,0x30,0x10,0x08,0x08,0x38,0x60,0x20,0x38,0x88,0x00,0xfc,0x06,0xbc,0x1f,0xfc,0x1c,0x06,0x81,0x7f,0x01,0xc1,0x0e,0xa0,0x65,0x31,0x80,0xc1,0xa0,0x1c,0x08,0x07,0xf3,0xff,0x7f,0x33,0xa0,}; | const uint8_t _I_Vol_up_25x27_0[] = {0x01,0x00,0x2f,0x00,0xfc,0x7f,0xe7,0xf0,0x08,0x24,0x02,0x81,0x00,0x81,0x40,0x30,0x10,0x08,0x08,0x38,0x60,0x20,0x38,0x88,0x00,0xfc,0x06,0xbc,0x1f,0xfc,0x1c,0x06,0x81,0x7f,0x01,0xc1,0x0e,0xa0,0x65,0x31,0x80,0xc1,0xa0,0x1c,0x08,0x07,0xf3,0xff,0x7f,0x33,0xa0,}; | ||||||
| const uint8_t *_I_Vol_up_25x27[] = {_I_Vol_up_25x27_0}; | const uint8_t *_I_Vol_up_25x27[] = {_I_Vol_up_25x27_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_Up_25x27_0[] = {0x01,0x00,0x44,0x00,0xfc,0x7f,0xe7,0xf0,0x08,0x24,0x02,0x81,0x00,0x81,0x40,0x30,0x10,0x08,0x08,0x38,0x60,0x20,0x3c,0x88,0x00,0xca,0x70,0x03,0x2b,0xe0,0x0c,0xbf,0xc0,0x32,0xff,0x80,0x87,0x03,0xff,0x81,0xc0,0x78,0x3f,0xf8,0x3c,0x07,0xc3,0xff,0x87,0xc0,0x7e,0x3f,0xf8,0xf8,0x0d,0x06,0xfe,0x03,0x78,0x19,0x4c,0x60,0x30,0x68,0x07,0x02,0x01,0xfc,0xff,0xdf,0xcc,0xe8,}; | const uint8_t _I_Fill_marker_7x7_0[] = {0x00,0x1C,0x32,0x6F,0x5F,0x7F,0x3E,0x1C,}; | ||||||
| const uint8_t *_I_Up_25x27[] = {_I_Up_25x27_0}; | const uint8_t *_I_Fill_marker_7x7[] = {_I_Fill_marker_7x7_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_Back_15x10_0[] = {0x00,0x04,0x00,0x06,0x00,0xFF,0x0F,0x06,0x10,0x04,0x20,0x00,0x40,0x00,0x40,0x00,0x20,0x00,0x10,0xFE,0x0F,}; | const uint8_t _I_IrdaArrowUp_4x8_0[] = {0x00,0x18,0x3C,0x7E,0xFF,}; | ||||||
| const uint8_t *_I_Back_15x10[] = {_I_Back_15x10_0}; | const uint8_t *_I_IrdaArrowUp_4x8[] = {_I_IrdaArrowUp_4x8_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_IrdaSend_128x64_0[] = {0x01,0x00,0xe2,0x01,0x00,0x78,0x03,0xc0,0x1e,0x00,0xfe,0x04,0x0e,0x05,0x82,0xd7,0x81,0xca,0x21,0x08,0x01,0x8c,0x10,0x0e,0x54,0x00,0x20,0xe0,0xa4,0x00,0xfb,0xb2,0x4e,0xb0,0xfa,0x0e,0x74,0xc7,0x0f,0x3b,0xce,0x4e,0xec,0xf0,0xe1,0x79,0xe4,0xe9,0x58,0x2d,0x3d,0x4a,0x95,0x41,0x89,0x52,0x31,0x59,0x40,0xfa,0x64,0x01,0xe3,0xa0,0xa9,0x5e,0x81,0xe7,0xf4,0x07,0xcc,0x28,0x1e,0x71,0x40,0x7a,0x58,0x01,0xe4,0x3f,0x1c,0x0c,0x4f,0x11,0x0b,0xb3,0x83,0xcc,0x00,0x94,0x20,0x2a,0x03,0xa0,0x1e,0xd0,0x34,0xdf,0x80,0x3c,0x01,0xe0,0x0f,0x00,0x4c,0xf0,0x17,0x4c,0x81,0xa0,0x18,0x18,0x1f,0x39,0x90,0x6c,0x60,0x27,0x70,0xe9,0x3f,0x67,0x03,0x3c,0x80,0x83,0xde,0x81,0x4a,0x84,0xca,0x68,0xb8,0x2b,0xf0,0x3f,0x29,0x20,0xfe,0xa8,0xe0,0x85,0xf3,0x80,0xa5,0xc3,0xb8,0xf4,0xd8,0x11,0x3e,0x40,0x04,0x1b,0x23,0x7d,0x83,0xcd,0x1f,0x60,0x0f,0x00,0x78,0x03,0x7f,0x9f,0xf0,0x01,0xc0,0xc1,0xf1,0x04,0x02,0xa4,0x08,0x1f,0xe0,0xff,0x01,0x0f,0x00,0x70,0x9f,0xfe,0x20,0x10,0xe7,0xe0,0xf2,0x90,0x07,0xd7,0x89,0xdf,0xaa,0xd5,0x7b,0xa0,0xf3,0x8e,0x03,0xdb,0x54,0x00,0x29,0x70,0x3c,0xa2,0x40,0xf6,0xbf,0x87,0xc7,0xea,0x1f,0x12,0x30,0xc2,0x41,0xed,0xab,0x95,0x07,0xc6,0x75,0x02,0x10,0x0c,0x17,0xe0,0x47,0x18,0xff,0x82,0x07,0xc4,0xaf,0x8f,0xd2,0x43,0x80,0x82,0x56,0x01,0x03,0x35,0xfc,0x43,0xc7,0xe3,0x8a,0xc4,0x6a,0xa5,0x50,0x28,0x8d,0x02,0x05,0xa8,0x13,0x8c,0xaa,0xf9,0x1f,0xe2,0x5d,0xc2,0xc3,0x75,0x9f,0xe0,0xa1,0x14,0x08,0x0f,0x60,0x52,0x33,0x59,0xf4,0xf8,0x7e,0x32,0x2d,0x10,0xfc,0x70,0x58,0x89,0x04,0x06,0xd1,0xa0,0x0f,0x8f,0xfa,0x7e,0x3f,0x3e,0xa8,0x7c,0x69,0x1a,0x08,0x04,0xe2,0x80,0x1f,0x19,0xfd,0xf8,0xfe,0x92,0xa0,0x78,0xd0,0x20,0x19,0x8e,0x19,0xa8,0x7a,0xf7,0x51,0xfb,0x03,0xcb,0x11,0xc3,0xaa,0x4d,0x7a,0x76,0x51,0xf8,0x87,0xc8,0x7e,0x34,0x85,0xf0,0xe2,0x24,0x7a,0xe0,0xf9,0xaf,0xd0,0x9e,0x31,0x08,0x04,0x22,0x01,0x57,0x1f,0x9e,0xb8,0x7e,0x90,0x80,0x79,0x61,0x07,0xe2,0x5f,0x2f,0xfd,0xde,0xeb,0xf7,0x4f,0x8c,0x44,0x3a,0x30,0x8f,0xc0,0x7c,0x4f,0xe6,0x1f,0x29,0xda,0xbc,0x41,0xe5,0xc0,0xd7,0xa7,0xcd,0x8a,0x3d,0xdf,0xe8,0x7c,0x60,0x40,0xf2,0x80,0x55,0x97,0xe7,0xee,0x0f,0x0f,0xa9,0xfe,0x30,0x40,0x79,0x7c,0x05,0x43,0xe1,0x6f,0x88,0x7c,0x40,0x02,0x1f,0x18,0x01,0x3c,0x5d,0xe5,0x9f,0x80,0xbf,0xc4,0x1f,0x00,0x05,0x82,0x01,0x50,0x1e,0x28,0xf1,0x00,0x2c,0x90,0x1e,0xca,0xf1,0x00,0x2d,0x52,0x1e,0x0f,0x5c,0x00,0x7d,0xc1,0xed,0x00,0x25,0x08,0xff,0x00,0x46,0x00,0x3f,0xe1,0x7c,0xff,0xf0,0x30,0xc3,0xc0,0x3c,0x02,0x73,0xbc,0x00,0xcb,0xf0,0x18,0x4f,0xf8,0x3e,0x00,0x0c,0x0f,0xf0,}; | const uint8_t _I_Down_hvr_25x27_0[] = {0x01,0x00,0x3a,0x00,0xfc,0x7f,0xe7,0xf0,0x0f,0xe7,0xfe,0xff,0x00,0xff,0x7f,0xff,0xf0,0x00,0x10,0xff,0xe0,0x20,0x3f,0x01,0x9c,0x3e,0x01,0xe0,0x01,0xa4,0x7e,0x01,0xf0,0x80,0x8b,0x47,0xf1,0x01,0x16,0x8f,0xf0,0x2e,0x23,0x11,0x01,0x88,0x04,0xf0,0x60,0x32,0xe3,0x80,0xcb,0xde,0x37,0xf0,0x1a,0x95,0xcc,0xbe,0x66,0x73,}; | ||||||
| const uint8_t *_I_IrdaSend_128x64[] = {_I_IrdaSend_128x64_0}; | const uint8_t *_I_Down_hvr_25x27[] = {_I_Down_hvr_25x27_0}; | ||||||
| 
 |  | ||||||
| const uint8_t _I_IrdaSendShort_128x34_0[] = {0x01,0x00,0x42,0x01,0xfe,0x7f,0xc0,0x07,0x03,0x07,0xc4,0x10,0x0a,0x90,0x20,0x7f,0x83,0xfc,0x04,0x3c,0x01,0xc2,0x7f,0xf8,0x80,0x43,0x9f,0x83,0xca,0x40,0x1f,0x5e,0x27,0x7e,0xab,0x55,0xee,0x83,0xce,0x38,0x0f,0x6d,0x50,0x00,0xa5,0xc0,0xf2,0x89,0x03,0xda,0xfe,0x1f,0x1f,0xa8,0x7c,0x48,0xc3,0x09,0x07,0xb6,0xae,0x54,0x1f,0x19,0xd4,0x08,0x40,0x30,0x5f,0x81,0x1c,0x63,0xfe,0x08,0x1f,0x12,0xbe,0x3f,0x49,0x0e,0x02,0x09,0x58,0x04,0x0c,0xd7,0xf1,0x0f,0x1f,0x8e,0x2b,0x11,0xaa,0x95,0x40,0xa2,0x34,0x08,0x16,0xa0,0x4e,0x32,0xab,0xe4,0x7f,0x89,0x77,0x0b,0x0d,0xd6,0x7f,0x82,0x84,0x50,0x20,0x3d,0x81,0x48,0xcd,0x67,0xd3,0xe1,0xf8,0xc8,0xb4,0x43,0xf1,0xc1,0x62,0x24,0x10,0x1b,0x46,0x80,0x3e,0x3f,0xe9,0xf8,0xfc,0xfa,0xa1,0xf1,0xa4,0x68,0x20,0x13,0x8a,0x00,0x7c,0x67,0xf7,0xe3,0xfa,0x4a,0x81,0xe3,0x40,0x80,0x66,0x38,0x66,0xa1,0xeb,0xdd,0x47,0xec,0x0f,0x2c,0x47,0x0e,0xa9,0x35,0xe9,0xd9,0x47,0xe2,0x1f,0x21,0xf8,0xd2,0x17,0xc3,0x88,0x91,0xeb,0x83,0xe6,0xbf,0x42,0x78,0xc4,0x20,0x10,0x88,0x05,0x5c,0x7e,0x7a,0xe1,0xfa,0x42,0x01,0xe5,0x84,0x1f,0x89,0x7c,0xbf,0xf7,0x7b,0xaf,0xdd,0x3e,0x31,0x10,0xe8,0xc2,0x3f,0x01,0xf1,0x3f,0x98,0x7c,0xa7,0x6a,0xf1,0x07,0x97,0x03,0x5e,0x9f,0x36,0x28,0xf7,0x7f,0xa1,0xf1,0x81,0x03,0xca,0x01,0x56,0x5f,0x9f,0xb8,0x3c,0x3e,0xa7,0xf8,0xc1,0x01,0xe5,0xf0,0x15,0x0f,0x85,0xbe,0x21,0xf1,0x00,0x08,0x7c,0x60,0x04,0xf1,0x77,0x96,0x7e,0x02,0xff,0x10,0x7c,0x00,0x16,0x08,0x05,0x40,0x78,0xa3,0xc4,0x00,0xb2,0x40,0x7b,0x2b,0xc4,0x00,0xb5,0x48,0x78,0x3d,0x70,0x01,0xf7,0x07,0xb4,0x00,0x94,0x23,0xfc,0x01,0x18,0x00,0xff,0x85,0xf3,0xff,0xc0,0xc3,0x0f,0x00,0xf0,0x09,0xce,0xf0,0x03,0x2f,0xc0,0x61,0x3f,0xe0,0xf8,0x00,0x30,0x3f,0xc0,}; |  | ||||||
| const uint8_t *_I_IrdaSendShort_128x34[] = {_I_IrdaSendShort_128x34_0}; |  | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_Vol_up_hvr_25x27_0[] = {0x01,0x00,0x28,0x00,0xfc,0x7f,0xe7,0xf0,0x0f,0xe7,0xfe,0xff,0x00,0xff,0x7f,0xff,0xf0,0x00,0x10,0xff,0xe0,0x20,0x38,0xf7,0x80,0xfc,0x06,0xa2,0xd1,0xfc,0x00,0xd0,0x2f,0xe0,0x38,0x21,0xd8,0x0c,0x8a,0xe6,0x5f,0x33,0x39,0x80,}; | const uint8_t _I_Vol_up_hvr_25x27_0[] = {0x01,0x00,0x28,0x00,0xfc,0x7f,0xe7,0xf0,0x0f,0xe7,0xfe,0xff,0x00,0xff,0x7f,0xff,0xf0,0x00,0x10,0xff,0xe0,0x20,0x38,0xf7,0x80,0xfc,0x06,0xa2,0xd1,0xfc,0x00,0xd0,0x2f,0xe0,0x38,0x21,0xd8,0x0c,0x8a,0xe6,0x5f,0x33,0x39,0x80,}; | ||||||
| const uint8_t *_I_Vol_up_hvr_25x27[] = {_I_Vol_up_hvr_25x27_0}; | const uint8_t *_I_Vol_up_hvr_25x27[] = {_I_Vol_up_hvr_25x27_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_KeySave_24x11_0[] = {0x01,0x00,0x1e,0x00,0xff,0x7f,0xff,0xf0,0x18,0x06,0x00,0x04,0x53,0x1c,0xbe,0x33,0x13,0x94,0xc9,0x64,0x72,0x99,0xed,0x0e,0x53,0x05,0x19,0xb3,0xe3,0x02,0x8a,0x1d,0x1b,0xf8,}; | const uint8_t _I_Power_25x27_0[] = {0x01,0x00,0x54,0x00,0xfc,0x7f,0xe7,0xf0,0x08,0x24,0x02,0x81,0x00,0x81,0x40,0x30,0x10,0x08,0x08,0x38,0x60,0x30,0x18,0x80,0x0c,0xa7,0x00,0x35,0xc0,0xce,0x60,0x70,0x1e,0x0c,0xe6,0x0f,0x01,0xf0,0xce,0x21,0xd0,0x1b,0x0c,0xe2,0x18,0x03,0x58,0x80,0x0c,0xa0,0x00,0x39,0xf0,0xc0,0x03,0x63,0xc1,0x80,0x88,0xc7,0x03,0x83,0x15,0x8c,0x07,0xfe,0x02,0x18,0x0d,0xf0,0x76,0x44,0x73,0x01,0x94,0x0c,0xa6,0x30,0x18,0x34,0x03,0x81,0x00,0xfe,0x7f,0xef,0xe6,0x74,}; | ||||||
| const uint8_t *_I_KeySave_24x11[] = {_I_KeySave_24x11_0}; | const uint8_t *_I_Power_25x27[] = {_I_Power_25x27_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Vol_down_25x27_0[] = {0x01,0x00,0x2c,0x00,0xfc,0x7f,0xe7,0xf0,0x08,0x24,0x02,0x81,0x00,0x81,0x40,0x30,0x10,0x08,0x08,0x38,0x60,0x20,0x3f,0x01,0xff,0x07,0xff,0x07,0x01,0xa0,0x5f,0xc0,0x7e,0x03,0x38,0x19,0x4c,0x60,0x30,0x68,0x07,0x02,0x01,0xfc,0xff,0xdf,0xcc,0xe8,}; | ||||||
|  | const uint8_t *_I_Vol_down_25x27[] = {_I_Vol_down_25x27_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_IrdaSend_128x64_0[] = {0x01,0x00,0xe2,0x01,0x00,0x78,0x03,0xc0,0x1e,0x00,0xfe,0x04,0x0e,0x05,0x82,0xd7,0x81,0xca,0x21,0x08,0x01,0x8c,0x10,0x0e,0x54,0x00,0x20,0xe0,0xa4,0x00,0xfb,0xb2,0x4e,0xb0,0xfa,0x0e,0x74,0xc7,0x0f,0x3b,0xce,0x4e,0xec,0xf0,0xe1,0x79,0xe4,0xe9,0x58,0x2d,0x3d,0x4a,0x95,0x41,0x89,0x52,0x31,0x59,0x40,0xfa,0x64,0x01,0xe3,0xa0,0xa9,0x5e,0x81,0xe7,0xf4,0x07,0xcc,0x28,0x1e,0x71,0x40,0x7a,0x58,0x01,0xe4,0x3f,0x1c,0x0c,0x4f,0x11,0x0b,0xb3,0x83,0xcc,0x00,0x94,0x20,0x2a,0x03,0xa0,0x1e,0xd0,0x34,0xdf,0x80,0x3c,0x01,0xe0,0x0f,0x00,0x4c,0xf0,0x17,0x4c,0x81,0xa0,0x18,0x18,0x1f,0x39,0x90,0x6c,0x60,0x27,0x70,0xe9,0x3f,0x67,0x03,0x3c,0x80,0x83,0xde,0x81,0x4a,0x84,0xca,0x68,0xb8,0x2b,0xf0,0x3f,0x29,0x20,0xfe,0xa8,0xe0,0x85,0xf3,0x80,0xa5,0xc3,0xb8,0xf4,0xd8,0x11,0x3e,0x40,0x04,0x1b,0x23,0x7d,0x83,0xcd,0x1f,0x60,0x0f,0x00,0x78,0x03,0x7f,0x9f,0xf0,0x01,0xc0,0xc1,0xf1,0x04,0x02,0xa4,0x08,0x1f,0xe0,0xff,0x01,0x0f,0x00,0x70,0x9f,0xfe,0x20,0x10,0xe7,0xe0,0xf2,0x90,0x07,0xd7,0x89,0xdf,0xaa,0xd5,0x7b,0xa0,0xf3,0x8e,0x03,0xdb,0x54,0x00,0x29,0x70,0x3c,0xa2,0x40,0xf6,0xbf,0x87,0xc7,0xea,0x1f,0x12,0x30,0xc2,0x41,0xed,0xab,0x95,0x07,0xc6,0x75,0x02,0x10,0x0c,0x17,0xe0,0x47,0x18,0xff,0x82,0x07,0xc4,0xaf,0x8f,0xd2,0x43,0x80,0x82,0x56,0x01,0x03,0x35,0xfc,0x43,0xc7,0xe3,0x8a,0xc4,0x6a,0xa5,0x50,0x28,0x8d,0x02,0x05,0xa8,0x13,0x8c,0xaa,0xf9,0x1f,0xe2,0x5d,0xc2,0xc3,0x75,0x9f,0xe0,0xa1,0x14,0x08,0x0f,0x60,0x52,0x33,0x59,0xf4,0xf8,0x7e,0x32,0x2d,0x10,0xfc,0x70,0x58,0x89,0x04,0x06,0xd1,0xa0,0x0f,0x8f,0xfa,0x7e,0x3f,0x3e,0xa8,0x7c,0x69,0x1a,0x08,0x04,0xe2,0x80,0x1f,0x19,0xfd,0xf8,0xfe,0x92,0xa0,0x78,0xd0,0x20,0x19,0x8e,0x19,0xa8,0x7a,0xf7,0x51,0xfb,0x03,0xcb,0x11,0xc3,0xaa,0x4d,0x7a,0x76,0x51,0xf8,0x87,0xc8,0x7e,0x34,0x85,0xf0,0xe2,0x24,0x7a,0xe0,0xf9,0xaf,0xd0,0x9e,0x31,0x08,0x04,0x22,0x01,0x57,0x1f,0x9e,0xb8,0x7e,0x90,0x80,0x79,0x61,0x07,0xe2,0x5f,0x2f,0xfd,0xde,0xeb,0xf7,0x4f,0x8c,0x44,0x3a,0x30,0x8f,0xc0,0x7c,0x4f,0xe6,0x1f,0x29,0xda,0xbc,0x41,0xe5,0xc0,0xd7,0xa7,0xcd,0x8a,0x3d,0xdf,0xe8,0x7c,0x60,0x40,0xf2,0x80,0x55,0x97,0xe7,0xee,0x0f,0x0f,0xa9,0xfe,0x30,0x40,0x79,0x7c,0x05,0x43,0xe1,0x6f,0x88,0x7c,0x40,0x02,0x1f,0x18,0x01,0x3c,0x5d,0xe5,0x9f,0x80,0xbf,0xc4,0x1f,0x00,0x05,0x82,0x01,0x50,0x1e,0x28,0xf1,0x00,0x2c,0x90,0x1e,0xca,0xf1,0x00,0x2d,0x52,0x1e,0x0f,0x5c,0x00,0x7d,0xc1,0xed,0x00,0x25,0x08,0xff,0x00,0x46,0x00,0x3f,0xe1,0x7c,0xff,0xf0,0x30,0xc3,0xc0,0x3c,0x02,0x73,0xbc,0x00,0xcb,0xf0,0x18,0x4f,0xf8,0x3e,0x00,0x0c,0x0f,0xf0,}; | ||||||
|  | const uint8_t *_I_IrdaSend_128x64[] = {_I_IrdaSend_128x64_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Up_hvr_25x27_0[] = {0x01,0x00,0x39,0x00,0xfc,0x7f,0xe7,0xf0,0x0f,0xe7,0xfe,0xff,0x00,0xff,0x7f,0xff,0xf0,0x00,0x10,0xff,0xe0,0x20,0x3c,0xf7,0x80,0xcb,0x8e,0x03,0x2c,0x18,0x0c,0x80,0x26,0x25,0x18,0x08,0xa4,0x7f,0x90,0x11,0x88,0xfe,0x20,0x31,0xf8,0x07,0xc2,0x03,0x0f,0x80,0x78,0x00,0x68,0x37,0xf0,0x1d,0x95,0xcc,0xbe,0x66,0x73,}; | ||||||
|  | const uint8_t *_I_Up_hvr_25x27[] = {_I_Up_hvr_25x27_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Back_15x10_0[] = {0x00,0x04,0x00,0x06,0x00,0xFF,0x0F,0x06,0x10,0x04,0x20,0x00,0x40,0x00,0x40,0x00,0x20,0x00,0x10,0xFE,0x0F,}; | ||||||
|  | const uint8_t *_I_Back_15x10[] = {_I_Back_15x10_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_DolphinReadingSuccess_59x63_0[] = {0x01,0x00,0x19,0x01,0x00,0x1d,0x00,0x0f,0xd2,0x00,0x21,0xe0,0x3f,0xf0,0xf9,0x00,0x40,0xee,0x00,0x11,0x88,0x04,0x0e,0x18,0x11,0x18,0x8c,0x40,0x0e,0x50,0x30,0x10,0xc0,0xa1,0x01,0xe2,0x05,0x14,0x12,0x08,0x33,0x58,0x44,0x08,0x66,0xa1,0xe3,0x01,0x9c,0x83,0x00,0x24,0x11,0x11,0x06,0xc4,0x76,0x20,0x75,0x15,0x99,0x48,0xc0,0xe9,0x0f,0x03,0x95,0xfc,0x86,0x3c,0x09,0x80,0x1c,0x7c,0x00,0x91,0x81,0x48,0x2f,0xc1,0x41,0x8c,0xc0,0x20,0x30,0x1c,0x87,0xfc,0x0e,0x30,0x70,0x70,0x81,0xc7,0xe6,0x07,0x18,0x08,0x1c,0xb9,0x1e,0x38,0x0f,0x02,0x01,0xf0,0x03,0xa0,0xa4,0x7f,0x90,0x30,0x38,0xff,0xe0,0x28,0x21,0xff,0x06,0x44,0x0e,0x46,0xe1,0x01,0x8c,0x03,0x34,0x2f,0x25,0x18,0x80,0xc7,0x2a,0x03,0x2e,0x01,0x3c,0x70,0x12,0xa2,0x39,0x78,0x27,0xe0,0x31,0xea,0x82,0xc4,0x6c,0x31,0xf0,0x78,0xea,0xb0,0x22,0x31,0xfc,0x1a,0xc6,0x01,0x55,0x25,0x88,0xf8,0x4b,0x02,0x1f,0x13,0xe1,0x7f,0x97,0x85,0x15,0x03,0x90,0xf8,0xa0,0x10,0xa1,0xb1,0x0e,0x88,0x00,0x7f,0x0f,0xc0,0x7c,0x57,0x27,0x3c,0xb0,0x7f,0x5f,0xa9,0x1f,0xc0,0x6a,0xc5,0x05,0xc0,0xf0,0x11,0x46,0xac,0x18,0x3f,0xf9,0x54,0x75,0x00,0x73,0x1f,0x0f,0xfe,0xfe,0xc6,0x30,0x01,0xbc,0x48,0x00,0x84,0x82,0x00,0x1b,0x64,0xc0,0x07,0x60,0x03,0xb4,0x70,0x0c,0xbf,0x82,0x31,0x01,0x8d,0x0c,0x40,0x02,0x37,0x08,0x1d,0x74,0x00,0x76,0xa0,0x01,0xdb,0x01,0xfe,0x85,0x8b,0x96,0xaa,0x9b,0x30,0x01,0x6a,0xa3,0x40,0x75,0xaa,0x03,0xdb,0x50,0xbb,0x30,0x01,0x54,0x24,0x25,0xe6,0x51,0x08,0x1f,0x68,0x00,0x7f,0x03,0xf2,0x79,0xc0,0xf4,}; | ||||||
|  | const uint8_t *_I_DolphinReadingSuccess_59x63[] = {_I_DolphinReadingSuccess_59x63_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_IrdaSendShort_128x34_0[] = {0x01,0x00,0x42,0x01,0xfe,0x7f,0xc0,0x07,0x03,0x07,0xc4,0x10,0x0a,0x90,0x20,0x7f,0x83,0xfc,0x04,0x3c,0x01,0xc2,0x7f,0xf8,0x80,0x43,0x9f,0x83,0xca,0x40,0x1f,0x5e,0x27,0x7e,0xab,0x55,0xee,0x83,0xce,0x38,0x0f,0x6d,0x50,0x00,0xa5,0xc0,0xf2,0x89,0x03,0xda,0xfe,0x1f,0x1f,0xa8,0x7c,0x48,0xc3,0x09,0x07,0xb6,0xae,0x54,0x1f,0x19,0xd4,0x08,0x40,0x30,0x5f,0x81,0x1c,0x63,0xfe,0x08,0x1f,0x12,0xbe,0x3f,0x49,0x0e,0x02,0x09,0x58,0x04,0x0c,0xd7,0xf1,0x0f,0x1f,0x8e,0x2b,0x11,0xaa,0x95,0x40,0xa2,0x34,0x08,0x16,0xa0,0x4e,0x32,0xab,0xe4,0x7f,0x89,0x77,0x0b,0x0d,0xd6,0x7f,0x82,0x84,0x50,0x20,0x3d,0x81,0x48,0xcd,0x67,0xd3,0xe1,0xf8,0xc8,0xb4,0x43,0xf1,0xc1,0x62,0x24,0x10,0x1b,0x46,0x80,0x3e,0x3f,0xe9,0xf8,0xfc,0xfa,0xa1,0xf1,0xa4,0x68,0x20,0x13,0x8a,0x00,0x7c,0x67,0xf7,0xe3,0xfa,0x4a,0x81,0xe3,0x40,0x80,0x66,0x38,0x66,0xa1,0xeb,0xdd,0x47,0xec,0x0f,0x2c,0x47,0x0e,0xa9,0x35,0xe9,0xd9,0x47,0xe2,0x1f,0x21,0xf8,0xd2,0x17,0xc3,0x88,0x91,0xeb,0x83,0xe6,0xbf,0x42,0x78,0xc4,0x20,0x10,0x88,0x05,0x5c,0x7e,0x7a,0xe1,0xfa,0x42,0x01,0xe5,0x84,0x1f,0x89,0x7c,0xbf,0xf7,0x7b,0xaf,0xdd,0x3e,0x31,0x10,0xe8,0xc2,0x3f,0x01,0xf1,0x3f,0x98,0x7c,0xa7,0x6a,0xf1,0x07,0x97,0x03,0x5e,0x9f,0x36,0x28,0xf7,0x7f,0xa1,0xf1,0x81,0x03,0xca,0x01,0x56,0x5f,0x9f,0xb8,0x3c,0x3e,0xa7,0xf8,0xc1,0x01,0xe5,0xf0,0x15,0x0f,0x85,0xbe,0x21,0xf1,0x00,0x08,0x7c,0x60,0x04,0xf1,0x77,0x96,0x7e,0x02,0xff,0x10,0x7c,0x00,0x16,0x08,0x05,0x40,0x78,0xa3,0xc4,0x00,0xb2,0x40,0x7b,0x2b,0xc4,0x00,0xb5,0x48,0x78,0x3d,0x70,0x01,0xf7,0x07,0xb4,0x00,0x94,0x23,0xfc,0x01,0x18,0x00,0xff,0x85,0xf3,0xff,0xc0,0xc3,0x0f,0x00,0xf0,0x09,0xce,0xf0,0x03,0x2f,0xc0,0x61,0x3f,0xe0,0xf8,0x00,0x30,0x3f,0xc0,}; | ||||||
|  | const uint8_t *_I_IrdaSendShort_128x34[] = {_I_IrdaSendShort_128x34_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Mute_hvr_25x27_0[] = {0x01,0x00,0x4a,0x00,0xfc,0x7f,0xe7,0xf0,0x0f,0xe7,0xfe,0xff,0x00,0xff,0x7f,0xff,0xf0,0x00,0x10,0xff,0xe0,0x20,0x21,0xfe,0x40,0x7b,0xf7,0xff,0x5c,0x07,0x7f,0xbf,0xf9,0xc0,0x6f,0xfd,0xff,0xd8,0x3c,0x7c,0x1f,0x90,0x38,0xff,0x7f,0x40,0x31,0xbd,0x82,0xc6,0xff,0xb7,0x01,0x97,0x3c,0x06,0xc0,0xb3,0x09,0x98,0x6c,0x84,0x68,0x2b,0x21,0x99,0x8e,0xcc,0x86,0x64,0xb5,0x01,0x89,0x5c,0xcb,0xe6,0x67,0x30,}; | ||||||
|  | const uint8_t *_I_Mute_hvr_25x27[] = {_I_Mute_hvr_25x27_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_IrdaLearnShort_128x31_0[] = {0x01,0x00,0x10,0x01,0x00,0x47,0xfb,0xfe,0x00,0x38,0x38,0x3e,0x20,0x20,0x54,0x84,0x03,0x9f,0xc0,0x06,0x58,0x80,0x3d,0xf2,0x00,0x65,0x90,0x03,0xde,0x90,0x06,0x5a,0x07,0xc0,0x8a,0x70,0x1a,0x04,0x02,0x51,0x80,0x03,0x94,0x02,0x3f,0x40,0x20,0x24,0x0b,0x01,0x00,0x92,0x70,0x35,0x40,0x01,0xe0,0xdf,0xf0,0x10,0x40,0x71,0x58,0x20,0x90,0x88,0x0c,0x4a,0x81,0x55,0x00,0x0f,0x87,0xf7,0x00,0x82,0x43,0x36,0x16,0xdc,0x9c,0x12,0x21,0x01,0x85,0x70,0x3f,0xc1,0xf1,0xf8,0xfc,0x60,0x20,0xf5,0x90,0x40,0xa1,0x34,0x08,0x18,0x7c,0x7e,0x24,0x91,0x07,0x8c,0xc0,0x5e,0x52,0x28,0x14,0x17,0x81,0x01,0x0f,0x8f,0xe7,0xe3,0x03,0x1f,0x8e,0x02,0xdb,0x03,0x8e,0x49,0x20,0x50,0x2e,0x04,0x72,0xbd,0x55,0xdc,0xeb,0xa0,0x7c,0x4f,0x68,0xbc,0x60,0x72,0x40,0x79,0x50,0x23,0x9a,0x6d,0x56,0x66,0x5c,0x0f,0x21,0x78,0x9b,0x04,0x1e,0x28,0x21,0x8e,0x5c,0x43,0xe6,0x2f,0x10,0xf9,0x0b,0xc7,0x04,0x99,0x18,0x06,0xe0,0x7e,0x56,0x32,0x78,0x8f,0xc4,0x08,0x32,0x20,0x79,0x48,0x2b,0x85,0xf2,0xf8,0x83,0xc4,0x5c,0x3f,0x03,0x78,0xd0,0x81,0xe3,0xc0,0xdf,0x9f,0xcb,0xf3,0x04,0xc6,0x7d,0xfb,0xdf,0x34,0x78,0xd0,0x45,0xe5,0x7e,0x4f,0x97,0xe2,0x09,0x80,0x07,0x88,0xbc,0x61,0x00,0xf3,0xd8,0x2f,0xcb,0xe0,0xcf,0x60,0x68,0xd0,0x30,0x15,0xfa,0xac,0x36,0x3f,0x60,0x77,0xb3,0x80,0x5d,0xe6,0x4b,0x20,0x03,0x03,0xc4,0x01,0xd0,0x10,0x7f,0x40,0x81,0xfc,0xa7,0x10,0x06,0x99,0xd0,0x01,0x51,0x00,0x7f,0x48,0x01,0xfd,0xc0,0x43,0x98,0x00,0x8e,0xfe,0x00,0xf0,}; | ||||||
|  | const uint8_t *_I_IrdaLearnShort_128x31[] = {_I_IrdaLearnShort_128x31_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Down_25x27_0[] = {0x01,0x00,0x46,0x00,0xfc,0x7f,0xe7,0xf0,0x08,0x24,0x02,0x81,0x00,0x81,0x40,0x30,0x10,0x08,0x08,0x38,0x60,0x20,0x3f,0x01,0x9f,0xc7,0xff,0x1f,0x01,0xa7,0x87,0xff,0x0f,0x80,0xf0,0x7f,0xf0,0x78,0x0e,0x07,0xff,0x03,0x0b,0x8f,0xfc,0x04,0x30,0x1f,0xf0,0x7c,0xaf,0x80,0x32,0x9c,0x00,0xca,0x20,0x37,0xf0,0x18,0xc0,0xca,0x63,0x01,0x83,0x40,0x38,0x10,0x0f,0xe7,0xfe,0xfe,0x67,0x40,}; | ||||||
|  | const uint8_t *_I_Down_25x27[] = {_I_Down_25x27_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Up_25x27_0[] = {0x01,0x00,0x44,0x00,0xfc,0x7f,0xe7,0xf0,0x08,0x24,0x02,0x81,0x00,0x81,0x40,0x30,0x10,0x08,0x08,0x38,0x60,0x20,0x3c,0x88,0x00,0xca,0x70,0x03,0x2b,0xe0,0x0c,0xbf,0xc0,0x32,0xff,0x80,0x87,0x03,0xff,0x81,0xc0,0x78,0x3f,0xf8,0x3c,0x07,0xc3,0xff,0x87,0xc0,0x7e,0x3f,0xf8,0xf8,0x0d,0x06,0xfe,0x03,0x78,0x19,0x4c,0x60,0x30,0x68,0x07,0x02,0x01,0xfc,0xff,0xdf,0xcc,0xe8,}; | ||||||
|  | const uint8_t *_I_Up_25x27[] = {_I_Up_25x27_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Mute_25x27_0[] = {0x01,0x00,0x51,0x00,0xfc,0x7f,0xe7,0xf0,0x08,0x24,0x02,0x81,0x00,0x81,0x40,0x30,0x10,0x08,0x08,0x38,0x60,0x20,0x31,0x81,0xc0,0x64,0x38,0x08,0xa4,0x06,0x83,0x40,0x86,0x40,0x70,0x32,0x08,0x20,0x3c,0x63,0xf0,0x60,0x38,0xc0,0xa0,0xa0,0x31,0xc2,0x02,0xc7,0x03,0x48,0x01,0x94,0xc0,0x06,0xc0,0xb3,0x09,0x98,0x6c,0x84,0x68,0x2b,0x21,0x99,0x8e,0xcc,0x86,0x64,0xb3,0x81,0x94,0xc6,0x03,0x06,0x80,0x70,0x20,0x1f,0xcf,0xfd,0xfc,0xce,0x80,}; | ||||||
|  | const uint8_t *_I_Mute_25x27[] = {_I_Mute_25x27_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Vol_down_hvr_25x27_0[] = {0x01,0x00,0x23,0x00,0xfc,0x7f,0xe7,0xf0,0x0f,0xe7,0xfe,0xff,0x00,0xff,0x7f,0xff,0xf0,0x00,0x10,0xff,0xe0,0x20,0x3f,0x01,0xf8,0xb4,0x7f,0x00,0x34,0x0b,0xf8,0x0f,0xc0,0x6e,0x57,0x32,0xf9,0x99,0xcc,}; | ||||||
|  | const uint8_t *_I_Vol_down_hvr_25x27[] = {_I_Vol_down_hvr_25x27_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Power_hvr_25x27_0[] = {0x01,0x00,0x4b,0x00,0xfc,0x7f,0xe7,0xf0,0x0f,0xe7,0xfe,0xff,0x00,0xff,0x7f,0xff,0xf0,0x00,0x10,0xff,0xe0,0x3f,0xff,0x78,0x0c,0xb8,0xe0,0x35,0xbf,0xf1,0xbf,0x90,0x19,0xff,0x1b,0xf1,0x01,0x8f,0xf1,0xfe,0x30,0x1c,0xff,0x1f,0xe6,0x03,0x5f,0x78,0x0c,0xbf,0xe0,0x39,0x8f,0xff,0xc3,0x63,0x3f,0xff,0x08,0xc6,0xff,0x7c,0x15,0x89,0x04,0x7f,0xc0,0x31,0xc1,0x8e,0xc8,0x8e,0x60,0x36,0x2b,0x99,0x7c,0xcc,0xe6,}; | ||||||
|  | const uint8_t *_I_Power_hvr_25x27[] = {_I_Power_hvr_25x27_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_IrdaLearn_128x64_0[] = {0x01,0x00,0xcc,0x01,0x00,0x78,0x03,0xc0,0x1e,0x00,0xf0,0x07,0x80,0x3f,0x01,0x07,0x82,0x41,0x21,0x20,0x73,0x00,0x8e,0x82,0x0f,0x00,0xa0,0x01,0x46,0x11,0x00,0x07,0xc0,0x28,0x41,0xe5,0xc8,0xba,0x63,0xa7,0x70,0x6b,0x3d,0xbb,0x99,0x19,0xee,0x68,0x71,0x16,0x3f,0x70,0x3c,0x64,0xf9,0x58,0x25,0x26,0x13,0x91,0xc9,0x64,0xa4,0x99,0x2d,0x06,0x1f,0x29,0x42,0x07,0x8c,0x80,0x1e,0x50,0xff,0x88,0x3c,0x67,0x80,0xf1,0xc1,0x03,0xde,0x03,0x11,0x07,0x8c,0x10,0x1e,0x38,0x40,0x79,0xf0,0x32,0x80,0xf1,0x83,0x58,0x72,0x58,0xc8,0xc6,0x73,0x40,0x3f,0x10,0x78,0x9e,0xf1,0x17,0xe9,0xcf,0x00,0x78,0x03,0xc0,0x1e,0x00,0xf0,0x02,0x44,0x18,0xa3,0x80,0x82,0x32,0x06,0x44,0x0f,0xf0,0x73,0x5d,0xe3,0x92,0x7e,0xcf,0x06,0x3b,0xc3,0xa4,0xdd,0xfc,0xc8,0x35,0xca,0x44,0xa5,0x34,0x5c,0x16,0x92,0x89,0x4a,0x91,0x4a,0x60,0x20,0xf7,0xa4,0x83,0xc6,0x8e,0x0f,0xba,0x88,0x3c,0x68,0x00,0xf7,0x80,0x65,0xe3,0x9c,0x7a,0x6e,0x0a,0x49,0xc3,0xb8,0xc8,0xa4,0xc0,0xf5,0x00,0x08,0x1d,0xc0,0x0e,0x0f,0xf0,0x07,0x80,0x3c,0x01,0xe0,0x0f,0x00,0x2f,0xfb,0xfe,0x00,0x38,0x39,0x97,0xa1,0x00,0xe7,0xf0,0x3b,0x1c,0x00,0xd9,0x00,0x32,0xc8,0x01,0xef,0x48,0x03,0x2d,0x03,0xe0,0x45,0x38,0x0d,0x02,0x01,0x28,0xc0,0x01,0xca,0x01,0x1f,0xa0,0x10,0x12,0x05,0x80,0x80,0x49,0x38,0x1a,0xa0,0x00,0xf0,0x6f,0xf8,0x08,0x20,0x38,0xac,0x10,0x48,0x44,0x06,0x25,0x40,0xaa,0x80,0x07,0xc3,0xfb,0x80,0x41,0x21,0x9b,0x0b,0x6e,0x4e,0x09,0x10,0x80,0xc2,0xb8,0x1f,0xe0,0xf8,0xfc,0x7e,0x30,0x10,0x7a,0xc8,0x20,0x50,0x9a,0x04,0x0c,0x3e,0x3f,0x12,0x48,0x83,0xc6,0x60,0x2f,0x29,0x14,0x0a,0x0b,0xc0,0x80,0x87,0xc7,0xf3,0xf1,0x81,0x8f,0xc7,0x01,0x6d,0x81,0xc7,0x24,0x90,0x28,0x17,0x02,0x39,0x5e,0xaa,0xee,0x75,0xd0,0x3e,0x27,0xb4,0x5e,0x30,0x39,0x20,0x3c,0xa8,0x11,0xcd,0x36,0xab,0x33,0x2e,0x07,0x90,0xbc,0x4d,0x82,0x0f,0x14,0x10,0xc7,0x2e,0x21,0xf3,0x17,0x88,0x7c,0x85,0xe3,0x82,0x4c,0x8c,0x03,0x70,0x3f,0x2b,0x19,0x3c,0x47,0xe2,0x04,0x19,0x10,0x3c,0xa4,0x15,0xc2,0xf9,0x7c,0x41,0xe2,0x2e,0x1f,0x81,0xbc,0x68,0x40,0xf1,0xe0,0x6f,0xcf,0xe5,0xf9,0x82,0x63,0x3e,0xfd,0xef,0x9a,0x3c,0x68,0x22,0xf2,0xbf,0x27,0xcb,0xf1,0x04,0xc0,0x03,0xc4,0x5e,0x30,0x80,0x79,0xec,0x17,0xe5,0xf0,0x67,0xb0,0x34,0x68,0x18,0x0a,0xfd,0x56,0x1b,0x1f,0xb0,0x3b,0xd9,0xc0,0x2e,0xf3,0x25,0x90,0x01,0x81,0xe2,0x00,0xe8,0x08,0x3f,0xa0,0x40,0xfe,0x53,0x88,0x03,0x4c,0xe8,0x00,0xa8,0x80,0x3f,0xa4,0x00,0xfe,0xe0,0x21,0xcc,0x00,0x47,0x7f,0x00,0x78,}; | ||||||
|  | const uint8_t *_I_IrdaLearn_128x64[] = {_I_IrdaLearn_128x64_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_IrdaArrowDown_4x8_0[] = {0x00,0xFF,0x7E,0x3C,0x18,}; | ||||||
|  | const uint8_t *_I_IrdaArrowDown_4x8[] = {_I_IrdaArrowDown_4x8_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_KeyBackspaceSelected_16x9_0[] = {0x00,0xFE,0x7F,0xFF,0xFF,0xEF,0xFF,0xE7,0xFF,0x03,0xC0,0xE7,0xFF,0xEF,0xFF,0xFF,0xFF,0xFE,0x7F,}; | const uint8_t _I_KeyBackspaceSelected_16x9_0[] = {0x00,0xFE,0x7F,0xFF,0xFF,0xEF,0xFF,0xE7,0xFF,0x03,0xC0,0xE7,0xFF,0xEF,0xFF,0xFF,0xFF,0xFE,0x7F,}; | ||||||
| const uint8_t *_I_KeyBackspaceSelected_16x9[] = {_I_KeyBackspaceSelected_16x9_0}; | const uint8_t *_I_KeyBackspaceSelected_16x9[] = {_I_KeyBackspaceSelected_16x9_0}; | ||||||
| 
 | 
 | ||||||
|  | const uint8_t _I_KeySave_24x11_0[] = {0x01,0x00,0x1e,0x00,0xff,0x7f,0xff,0xf0,0x18,0x06,0x00,0x04,0x53,0x1c,0xbe,0x33,0x13,0x94,0xc9,0x64,0x72,0x99,0xed,0x0e,0x53,0x05,0x19,0xb3,0xe3,0x02,0x8a,0x1d,0x1b,0xf8,}; | ||||||
|  | const uint8_t *_I_KeySave_24x11[] = {_I_KeySave_24x11_0}; | ||||||
|  | 
 | ||||||
| const uint8_t _I_KeySaveSelected_24x11_0[] = {0x01,0x00,0x1a,0x00,0xff,0x7f,0xc0,0x0d,0xcf,0xb4,0x7c,0xee,0xf6,0xbf,0x6d,0xbe,0xd7,0xe1,0xaf,0xda,0xff,0xbe,0x7c,0xc7,0xcc,0x28,0xa1,0xd1,0xbf,0x80,}; | const uint8_t _I_KeySaveSelected_24x11_0[] = {0x01,0x00,0x1a,0x00,0xff,0x7f,0xc0,0x0d,0xcf,0xb4,0x7c,0xee,0xf6,0xbf,0x6d,0xbe,0xd7,0xe1,0xaf,0xda,0xff,0xbe,0x7c,0xc7,0xcc,0x28,0xa1,0xd1,0xbf,0x80,}; | ||||||
| const uint8_t *_I_KeySaveSelected_24x11[] = {_I_KeySaveSelected_24x11_0}; | const uint8_t *_I_KeySaveSelected_24x11[] = {_I_KeySaveSelected_24x11_0}; | ||||||
| 
 | 
 | ||||||
| @ -644,15 +671,18 @@ const uint8_t _A_iButton_14_5[] = {0x01,0x00,0x1a,0x00,0x00,0x14,0xe2,0x01,0x24, | |||||||
| const uint8_t _A_iButton_14_6[] = {0x00,0x00,0x00,0x00,0x38,0x00,0x24,0x00,0x23,0x80,0x20,0xF0,0x10,0x0C,0x0D,0xE2,0x02,0x91,0x01,0x69,0x01,0x15,0x01,0x8D,0x00,0x4D,0x00,0x3E,0x00,}; | const uint8_t _A_iButton_14_6[] = {0x00,0x00,0x00,0x00,0x38,0x00,0x24,0x00,0x23,0x80,0x20,0xF0,0x10,0x0C,0x0D,0xE2,0x02,0x91,0x01,0x69,0x01,0x15,0x01,0x8D,0x00,0x4D,0x00,0x3E,0x00,}; | ||||||
| const uint8_t *_A_iButton_14[] = {_A_iButton_14_0,_A_iButton_14_1,_A_iButton_14_2,_A_iButton_14_3,_A_iButton_14_4,_A_iButton_14_5,_A_iButton_14_6}; | const uint8_t *_A_iButton_14[] = {_A_iButton_14_0,_A_iButton_14_1,_A_iButton_14_2,_A_iButton_14_3,_A_iButton_14_4,_A_iButton_14_5,_A_iButton_14_6}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_Detailed_chip_17x13_0[] = {0x01,0x00,0x1e,0x00,0xfe,0x5f,0xe0,0x10,0x2c,0x04,0x02,0x23,0x11,0x80,0xe4,0x62,0x50,0x1a,0xff,0xc2,0x03,0x21,0x84,0x00,0x9a,0xbf,0xf4,0x08,0x98,0x5c,0x83,0xa4,0x23,0x20,}; |  | ||||||
| const uint8_t *_I_Detailed_chip_17x13[] = {_I_Detailed_chip_17x13_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_Medium_chip_22x21_0[] = {0x01,0x00,0x35,0x00,0xfe,0x7f,0xe1,0xf0,0x28,0x04,0x43,0xf3,0xff,0x93,0xe1,0x6a,0x52,0x8e,0x2f,0xfe,0x51,0x25,0x80,0x4a,0x72,0xb6,0x79,0x55,0x76,0xc1,0x2e,0xaa,0xc0,0x25,0x51,0xdc,0x00,0x14,0x70,0x00,0x56,0xae,0x81,0x47,0x2b,0x7d,0x95,0x07,0x48,0x46,0x42,0x92,0x17,0x90,0xd4,0x87,0x64,}; | const uint8_t _I_Medium_chip_22x21_0[] = {0x01,0x00,0x35,0x00,0xfe,0x7f,0xe1,0xf0,0x28,0x04,0x43,0xf3,0xff,0x93,0xe1,0x6a,0x52,0x8e,0x2f,0xfe,0x51,0x25,0x80,0x4a,0x72,0xb6,0x79,0x55,0x76,0xc1,0x2e,0xaa,0xc0,0x25,0x51,0xdc,0x00,0x14,0x70,0x00,0x56,0xae,0x81,0x47,0x2b,0x7d,0x95,0x07,0x48,0x46,0x42,0x92,0x17,0x90,0xd4,0x87,0x64,}; | ||||||
| const uint8_t *_I_Medium_chip_22x21[] = {_I_Medium_chip_22x21_0}; | const uint8_t *_I_Medium_chip_22x21[] = {_I_Medium_chip_22x21_0}; | ||||||
| 
 | 
 | ||||||
|  | const uint8_t _I_Detailed_chip_17x13_0[] = {0x01,0x00,0x1e,0x00,0xfe,0x5f,0xe0,0x10,0x2c,0x04,0x02,0x23,0x11,0x80,0xe4,0x62,0x50,0x1a,0xff,0xc2,0x03,0x21,0x84,0x00,0x9a,0xbf,0xf4,0x08,0x98,0x5c,0x83,0xa4,0x23,0x20,}; | ||||||
|  | const uint8_t *_I_Detailed_chip_17x13[] = {_I_Detailed_chip_17x13_0}; | ||||||
|  | 
 | ||||||
| const uint8_t _I_passport_happy1_46x49_0[] = {0x01,0x00,0x09,0x01,0xff,0x7f,0xc0,0x05,0x1f,0x02,0x1f,0xfe,0x7f,0xff,0x87,0xe0,0x00,0xa7,0xf1,0xbf,0x85,0x04,0x0a,0x30,0xec,0x07,0xe4,0x0a,0x37,0xf8,0x0c,0x03,0xec,0x05,0x1d,0xf8,0x98,0x7d,0x00,0x51,0xaf,0x81,0x47,0xa0,0x05,0x19,0x78,0x14,0xa0,0x73,0xf8,0xb8,0x14,0x74,0x1f,0xc9,0xf0,0x14,0xa4,0x10,0x39,0xec,0x2c,0x0a,0x3c,0x08,0x04,0xe8,0x0a,0x52,0x00,0x28,0xc1,0x7c,0x10,0x08,0x87,0x82,0x77,0x05,0xfc,0x40,0xe1,0x1f,0x80,0x28,0xff,0x20,0x70,0x4f,0xe4,0xf6,0x07,0xfe,0x80,0xc0,0xbf,0xd3,0xe8,0x1e,0x7a,0x0f,0x00,0xbf,0xcf,0xe0,0x74,0xe8,0x46,0x03,0x7e,0x05,0x19,0x70,0xbc,0x7b,0xe0,0x51,0x8a,0x40,0x3c,0x1e,0xf0,0x28,0xc4,0x20,0x1f,0x0f,0xb8,0x14,0xff,0x1f,0xb9,0xf9,0xa8,0x60,0x3f,0xcf,0xc8,0x14,0xff,0xde,0x70,0x29,0x61,0xb0,0xf9,0xf0,0x29,0x12,0x06,0xfd,0x3e,0x02,0x8f,0x82,0x0f,0xf8,0x9c,0x81,0x44,0x80,0x3e,0x09,0xb8,0x14,0x94,0x43,0x2b,0x80,0xcc,0x20,0xc0,0x71,0x94,0x40,0x69,0x10,0x90,0x29,0xe2,0x21,0x00,0x51,0x9b,0x01,0x4f,0xc0,0x23,0x1c,0x24,0x43,0xf5,0x1f,0x17,0x88,0x14,0x7e,0x1e,0x31,0xd8,0xe0,0xa4,0x18,0x02,0x99,0x01,0x46,0x01,0xfa,0x02,0x8e,0x06,0x80,0x05,0x6f,0xa4,0xff,0x03,0x80,0xc0,0x01,0x4a,0x82,0x04,0x18,0x08,0x14,0xb8,0x10,0x18,0x0f,0xa2,0x7f,0x21,0x02,0x8c,0x08,0x0a,0x31,0x10,0x28,0xc1,0x3a,0x13,0xf8,0x6f,0x82,0x07,0x18,0x02,0x8c,0x0c,0x0a,0x3e,0x0d,0x00,0xbc,0x7e,0x0b,0x31,0xb3,0xcf,0xff,0xdf,0xf0,0x01,0x47,0xc0,}; | const uint8_t _I_passport_happy1_46x49_0[] = {0x01,0x00,0x09,0x01,0xff,0x7f,0xc0,0x05,0x1f,0x02,0x1f,0xfe,0x7f,0xff,0x87,0xe0,0x00,0xa7,0xf1,0xbf,0x85,0x04,0x0a,0x30,0xec,0x07,0xe4,0x0a,0x37,0xf8,0x0c,0x03,0xec,0x05,0x1d,0xf8,0x98,0x7d,0x00,0x51,0xaf,0x81,0x47,0xa0,0x05,0x19,0x78,0x14,0xa0,0x73,0xf8,0xb8,0x14,0x74,0x1f,0xc9,0xf0,0x14,0xa4,0x10,0x39,0xec,0x2c,0x0a,0x3c,0x08,0x04,0xe8,0x0a,0x52,0x00,0x28,0xc1,0x7c,0x10,0x08,0x87,0x82,0x77,0x05,0xfc,0x40,0xe1,0x1f,0x80,0x28,0xff,0x20,0x70,0x4f,0xe4,0xf6,0x07,0xfe,0x80,0xc0,0xbf,0xd3,0xe8,0x1e,0x7a,0x0f,0x00,0xbf,0xcf,0xe0,0x74,0xe8,0x46,0x03,0x7e,0x05,0x19,0x70,0xbc,0x7b,0xe0,0x51,0x8a,0x40,0x3c,0x1e,0xf0,0x28,0xc4,0x20,0x1f,0x0f,0xb8,0x14,0xff,0x1f,0xb9,0xf9,0xa8,0x60,0x3f,0xcf,0xc8,0x14,0xff,0xde,0x70,0x29,0x61,0xb0,0xf9,0xf0,0x29,0x12,0x06,0xfd,0x3e,0x02,0x8f,0x82,0x0f,0xf8,0x9c,0x81,0x44,0x80,0x3e,0x09,0xb8,0x14,0x94,0x43,0x2b,0x80,0xcc,0x20,0xc0,0x71,0x94,0x40,0x69,0x10,0x90,0x29,0xe2,0x21,0x00,0x51,0x9b,0x01,0x4f,0xc0,0x23,0x1c,0x24,0x43,0xf5,0x1f,0x17,0x88,0x14,0x7e,0x1e,0x31,0xd8,0xe0,0xa4,0x18,0x02,0x99,0x01,0x46,0x01,0xfa,0x02,0x8e,0x06,0x80,0x05,0x6f,0xa4,0xff,0x03,0x80,0xc0,0x01,0x4a,0x82,0x04,0x18,0x08,0x14,0xb8,0x10,0x18,0x0f,0xa2,0x7f,0x21,0x02,0x8c,0x08,0x0a,0x31,0x10,0x28,0xc1,0x3a,0x13,0xf8,0x6f,0x82,0x07,0x18,0x02,0x8c,0x0c,0x0a,0x3e,0x0d,0x00,0xbc,0x7e,0x0b,0x31,0xb3,0xcf,0xff,0xdf,0xf0,0x01,0x47,0xc0,}; | ||||||
| const uint8_t *_I_passport_happy1_46x49[] = {_I_passport_happy1_46x49_0}; | const uint8_t *_I_passport_happy1_46x49[] = {_I_passport_happy1_46x49_0}; | ||||||
| 
 | 
 | ||||||
|  | const uint8_t _I_passport_happy2_46x49_0[] = {0x01,0x00,0x16,0x01,0xff,0x7f,0xc0,0x05,0x1f,0x02,0x1f,0xfe,0x7f,0xff,0x87,0xe0,0x00,0xa7,0xf1,0xbf,0x85,0x04,0x0a,0x30,0xec,0x07,0x84,0x0a,0x37,0xf8,0x0c,0x03,0xbe,0x05,0x1d,0xfc,0xfb,0x81,0xa0,0x02,0x8f,0x7f,0x83,0x21,0xa4,0x43,0xe7,0xf2,0xf8,0x06,0x4a,0xa1,0xf3,0x9f,0x45,0xe0,0x10,0xcc,0x8c,0x32,0x7b,0x17,0xb8,0x42,0x30,0x50,0x39,0xd4,0x2f,0x19,0x25,0xe1,0x40,0x26,0x90,0xb8,0x15,0x1a,0x40,0x05,0x18,0x2f,0x86,0x89,0x18,0xf0,0x4d,0xe0,0xbf,0x98,0x2c,0x13,0xf1,0x3b,0xc2,0xff,0x20,0xb0,0x2f,0xe4,0xf7,0x07,0xfe,0x82,0xc0,0x7f,0xd3,0xec,0x1e,0x7b,0x8f,0x00,0xbf,0xcf,0xf0,0x74,0xc9,0xc6,0x03,0x7f,0x3f,0x81,0xc8,0x60,0x1c,0x0e,0xf8,0x14,0x62,0xd0,0x0f,0x07,0xbc,0x0a,0x31,0x88,0x07,0xc3,0xee,0x05,0x18,0x84,0x03,0xf1,0xfb,0x9f,0x9a,0x86,0x03,0xfc,0xfc,0x81,0x4f,0xfd,0xe7,0x02,0x96,0x1b,0x0f,0x9f,0x02,0x97,0xe2,0x07,0x7e,0x9f,0x01,0x47,0xc1,0x07,0xfc,0x4c,0x40,0xa2,0x40,0x1f,0x04,0xbc,0x0a,0x4a,0x21,0x95,0xc0,0x66,0x10,0x60,0x38,0xca,0x20,0x34,0x88,0x48,0x14,0xf1,0x10,0x80,0x28,0xcd,0x80,0xa7,0xe0,0x9c,0xc0,0x70,0x91,0x0f,0xd4,0x7c,0x5e,0x20,0x51,0xf8,0x78,0xc7,0x63,0x82,0x90,0x60,0x0a,0x64,0x05,0x18,0x07,0xe8,0x0a,0x38,0x1a,0x00,0x15,0xbe,0x93,0xfc,0x0e,0x03,0x00,0x05,0x2a,0x08,0x10,0x60,0x20,0x52,0xe0,0x40,0x60,0x3e,0x89,0xfc,0x84,0x0a,0x30,0x20,0x28,0xc4,0x40,0xa3,0x04,0xe8,0x4f,0xe1,0xbe,0x04,0x88,0x81,0x46,0x06,0x05,0x1f,0x06,0x80,0x5e,0x3f,0x08,0x3c,0x02,0xcf,0x3f,0xff,0x7f,0xc0,0x05,0x1f,}; | ||||||
|  | const uint8_t *_I_passport_happy2_46x49[] = {_I_passport_happy2_46x49_0}; | ||||||
|  | 
 | ||||||
| const uint8_t _I_passport_bad3_46x49_0[] = {0x01,0x00,0x07,0x01,0xff,0x7f,0xc0,0x05,0x1f,0x02,0x1f,0xfe,0x7e,0x02,0x18,0x0f,0xc0,0x0a,0x57,0xff,0xf7,0xbc,0x0a,0x59,0xf8,0x0f,0x40,0x0a,0x56,0xf8,0x04,0xe0,0x0a,0x51,0x78,0x07,0x1b,0xfc,0x05,0x18,0x5c,0x02,0x03,0xfd,0x02,0x8c,0x37,0x01,0x00,0xfd,0x01,0x46,0x15,0x40,0x80,0x7d,0x27,0xf7,0xf8,0x48,0x14,0xf7,0xf0,0x80,0x28,0xfa,0x00,0xa5,0x20,0x80,0x72,0x27,0xf5,0xf8,0x80,0x14,0x76,0x00,0x52,0x9f,0xc0,0x2f,0xd3,0xf9,0x7e,0x82,0x81,0xc0,0xc8,0xcf,0xa5,0xf6,0x0d,0x3c,0xe3,0x20,0x05,0x1d,0x05,0x32,0x4b,0xa0,0x9f,0x45,0xec,0x11,0xc9,0x18,0x14,0xe6,0x94,0x10,0x29,0xd7,0x00,0xa9,0x62,0x02,0x9f,0x02,0x83,0x41,0x11,0x88,0x14,0x77,0xf2,0x00,0x29,0x48,0x39,0x92,0x7a,0x84,0xfe,0x27,0x10,0x9c,0x7e,0x2f,0xf3,0xf8,0xea,0x78,0x68,0x18,0x09,0xf4,0x7c,0x0a,0x27,0x21,0x9e,0xc6,0xd5,0x65,0x01,0x9d,0x44,0xe0,0x10,0xe8,0x04,0x0a,0x69,0x63,0x80,0x4c,0x60,0x10,0x49,0xa6,0x0e,0x03,0xc0,0x80,0x42,0x25,0x10,0x38,0x34,0x02,0x06,0x05,0x28,0x44,0x02,0x19,0x10,0x02,0x8c,0x42,0x01,0x30,0xf8,0x4b,0xe0,0x71,0x48,0x07,0x02,0x3f,0x2c,0x05,0x8e,0x02,0x03,0x00,0x94,0x43,0xc2,0x22,0x30,0x19,0xa5,0xc4,0x0a,0x3f,0xc8,0x04,0xef,0x02,0x3c,0x16,0xe8,0xcf,0x60,0x31,0xc0,0xe8,0xdf,0xe7,0xd0,0x1b,0x01,0x34,0x77,0xf3,0xf8,0x08,0x88,0xb7,0x80,0x51,0x80,0x10,0x87,0x40,0x05,0x22,0x10,0xd8,0x00,0xa5,0x0a,0x05,0x88,0x74,0x41,0x64,0x05,0x7f,0xf7,0xfc,0x00,0x51,0xf0,}; | const uint8_t _I_passport_bad3_46x49_0[] = {0x01,0x00,0x07,0x01,0xff,0x7f,0xc0,0x05,0x1f,0x02,0x1f,0xfe,0x7e,0x02,0x18,0x0f,0xc0,0x0a,0x57,0xff,0xf7,0xbc,0x0a,0x59,0xf8,0x0f,0x40,0x0a,0x56,0xf8,0x04,0xe0,0x0a,0x51,0x78,0x07,0x1b,0xfc,0x05,0x18,0x5c,0x02,0x03,0xfd,0x02,0x8c,0x37,0x01,0x00,0xfd,0x01,0x46,0x15,0x40,0x80,0x7d,0x27,0xf7,0xf8,0x48,0x14,0xf7,0xf0,0x80,0x28,0xfa,0x00,0xa5,0x20,0x80,0x72,0x27,0xf5,0xf8,0x80,0x14,0x76,0x00,0x52,0x9f,0xc0,0x2f,0xd3,0xf9,0x7e,0x82,0x81,0xc0,0xc8,0xcf,0xa5,0xf6,0x0d,0x3c,0xe3,0x20,0x05,0x1d,0x05,0x32,0x4b,0xa0,0x9f,0x45,0xec,0x11,0xc9,0x18,0x14,0xe6,0x94,0x10,0x29,0xd7,0x00,0xa9,0x62,0x02,0x9f,0x02,0x83,0x41,0x11,0x88,0x14,0x77,0xf2,0x00,0x29,0x48,0x39,0x92,0x7a,0x84,0xfe,0x27,0x10,0x9c,0x7e,0x2f,0xf3,0xf8,0xea,0x78,0x68,0x18,0x09,0xf4,0x7c,0x0a,0x27,0x21,0x9e,0xc6,0xd5,0x65,0x01,0x9d,0x44,0xe0,0x10,0xe8,0x04,0x0a,0x69,0x63,0x80,0x4c,0x60,0x10,0x49,0xa6,0x0e,0x03,0xc0,0x80,0x42,0x25,0x10,0x38,0x34,0x02,0x06,0x05,0x28,0x44,0x02,0x19,0x10,0x02,0x8c,0x42,0x01,0x30,0xf8,0x4b,0xe0,0x71,0x48,0x07,0x02,0x3f,0x2c,0x05,0x8e,0x02,0x03,0x00,0x94,0x43,0xc2,0x22,0x30,0x19,0xa5,0xc4,0x0a,0x3f,0xc8,0x04,0xef,0x02,0x3c,0x16,0xe8,0xcf,0x60,0x31,0xc0,0xe8,0xdf,0xe7,0xd0,0x1b,0x01,0x34,0x77,0xf3,0xf8,0x08,0x88,0xb7,0x80,0x51,0x80,0x10,0x87,0x40,0x05,0x22,0x10,0xd8,0x00,0xa5,0x0a,0x05,0x88,0x74,0x41,0x64,0x05,0x7f,0xf7,0xfc,0x00,0x51,0xf0,}; | ||||||
| const uint8_t *_I_passport_bad3_46x49[] = {_I_passport_bad3_46x49_0}; | const uint8_t *_I_passport_bad3_46x49[] = {_I_passport_bad3_46x49_0}; | ||||||
| 
 | 
 | ||||||
| @ -662,35 +692,44 @@ const uint8_t *_I_passport_okay2_46x49[] = {_I_passport_okay2_46x49_0}; | |||||||
| const uint8_t _I_passport_bad2_46x49_0[] = {0x01,0x00,0xee,0x00,0xff,0x7f,0xc0,0x05,0x1f,0x02,0x1f,0xfe,0x7e,0x02,0x18,0x0f,0xe0,0x0a,0x57,0xff,0xf7,0x9c,0x0a,0x59,0xf8,0x0e,0x60,0x0a,0x5e,0xf8,0xfd,0x83,0xfc,0x05,0x18,0xbd,0x83,0x01,0xfd,0x02,0x8c,0x2f,0x01,0x01,0xfd,0x01,0x46,0x0b,0x00,0x81,0x7d,0x00,0xa3,0x02,0x80,0x41,0x3d,0x13,0xfb,0xfc,0x04,0x0a,0x3d,0x09,0xfe,0xfc,0x88,0x30,0x80,0x2a,0xea,0xa7,0xf5,0xf8,0x04,0x7e,0xa1,0xb5,0x02,0x8f,0x02,0xc1,0xb8,0xbf,0x4f,0xe5,0xf2,0x0e,0x07,0x53,0x03,0x3e,0x02,0x8e,0x9e,0x75,0x80,0x02,0x8e,0x42,0x9d,0x05,0xd1,0x4f,0xa2,0xf5,0x08,0xf4,0x0c,0x0a,0x73,0x69,0x08,0x14,0xab,0x17,0xe0,0x29,0xd4,0x2f,0x80,0x53,0xcc,0x50,0x24,0x22,0x31,0x8b,0xfc,0x08,0x62,0x05,0x29,0x07,0x32,0x0f,0x40,0x9f,0xc5,0xe2,0x13,0x8f,0xc5,0xfe,0x7f,0x1b,0x4f,0x90,0x44,0x40,0xa7,0x00,0x9e,0x81,0x52,0x75,0x1d,0x80,0x43,0x80,0xa3,0x34,0x86,0xc0,0x26,0x20,0x54,0xe0,0x01,0x46,0x51,0x0b,0x01,0x8c,0x0c,0x0a,0x90,0xc0,0x2a,0x4c,0x3e,0x12,0xb0,0x28,0xcc,0x38,0x10,0xf9,0x64,0x24,0x3a,0x29,0xd1,0x94,0x01,0x47,0x00,0x30,0x19,0xa0,0x14,0x60,0x1f,0xd8,0x04,0xec,0x0a,0x5f,0xaf,0xfc,0xf4,0x0a,0x5f,0x4b,0xfc,0xf8,0x0a,0x5a,0x8d,0xfc,0xfc,0x0a,0x54,0x00,0x2a,0x60,0x37,0x40,0x53,0x80,0x2e,0x44,0x0a,0x7a,0x00,0x2e,0x7f,0xbf,0xe0,0x02,0x8f,0x80,}; | const uint8_t _I_passport_bad2_46x49_0[] = {0x01,0x00,0xee,0x00,0xff,0x7f,0xc0,0x05,0x1f,0x02,0x1f,0xfe,0x7e,0x02,0x18,0x0f,0xe0,0x0a,0x57,0xff,0xf7,0x9c,0x0a,0x59,0xf8,0x0e,0x60,0x0a,0x5e,0xf8,0xfd,0x83,0xfc,0x05,0x18,0xbd,0x83,0x01,0xfd,0x02,0x8c,0x2f,0x01,0x01,0xfd,0x01,0x46,0x0b,0x00,0x81,0x7d,0x00,0xa3,0x02,0x80,0x41,0x3d,0x13,0xfb,0xfc,0x04,0x0a,0x3d,0x09,0xfe,0xfc,0x88,0x30,0x80,0x2a,0xea,0xa7,0xf5,0xf8,0x04,0x7e,0xa1,0xb5,0x02,0x8f,0x02,0xc1,0xb8,0xbf,0x4f,0xe5,0xf2,0x0e,0x07,0x53,0x03,0x3e,0x02,0x8e,0x9e,0x75,0x80,0x02,0x8e,0x42,0x9d,0x05,0xd1,0x4f,0xa2,0xf5,0x08,0xf4,0x0c,0x0a,0x73,0x69,0x08,0x14,0xab,0x17,0xe0,0x29,0xd4,0x2f,0x80,0x53,0xcc,0x50,0x24,0x22,0x31,0x8b,0xfc,0x08,0x62,0x05,0x29,0x07,0x32,0x0f,0x40,0x9f,0xc5,0xe2,0x13,0x8f,0xc5,0xfe,0x7f,0x1b,0x4f,0x90,0x44,0x40,0xa7,0x00,0x9e,0x81,0x52,0x75,0x1d,0x80,0x43,0x80,0xa3,0x34,0x86,0xc0,0x26,0x20,0x54,0xe0,0x01,0x46,0x51,0x0b,0x01,0x8c,0x0c,0x0a,0x90,0xc0,0x2a,0x4c,0x3e,0x12,0xb0,0x28,0xcc,0x38,0x10,0xf9,0x64,0x24,0x3a,0x29,0xd1,0x94,0x01,0x47,0x00,0x30,0x19,0xa0,0x14,0x60,0x1f,0xd8,0x04,0xec,0x0a,0x5f,0xaf,0xfc,0xf4,0x0a,0x5f,0x4b,0xfc,0xf8,0x0a,0x5a,0x8d,0xfc,0xfc,0x0a,0x54,0x00,0x2a,0x60,0x37,0x40,0x53,0x80,0x2e,0x44,0x0a,0x7a,0x00,0x2e,0x7f,0xbf,0xe0,0x02,0x8f,0x80,}; | ||||||
| const uint8_t *_I_passport_bad2_46x49[] = {_I_passport_bad2_46x49_0}; | const uint8_t *_I_passport_bad2_46x49[] = {_I_passport_bad2_46x49_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_passport_okay3_46x49_0[] = {0x01,0x00,0x06,0x01,0xff,0x7f,0xc0,0x05,0x1f,0x02,0x1f,0xfe,0x7e,0x02,0x2c,0x00,0x14,0xfb,0xf7,0xff,0xe0,0x14,0xa4,0xf8,0x0f,0x18,0x14,0xaf,0x30,0x0c,0xe0,0x14,0x6f,0xf8,0x68,0x05,0xa0,0x0a,0x3b,0xf8,0x0c,0x07,0x11,0x3e,0xff,0xd7,0xe0,0x10,0x28,0x44,0xf7,0xff,0x2f,0x02,0x8c,0x12,0x75,0xff,0x8b,0xc0,0x20,0x80,0x52,0x85,0x81,0x4a,0x68,0x05,0x28,0x44,0x08,0x0a,0x30,0x50,0x29,0x4a,0x00,0xa5,0xfc,0x81,0x81,0x4e,0x05,0x06,0x98,0x01,0x4b,0xf3,0x04,0x02,0x8f,0xfb,0x07,0x04,0x84,0xcc,0x2f,0xf0,0x1c,0xee,0x2a,0x15,0x28,0x02,0x8f,0x86,0xe4,0x05,0x1d,0xfe,0x03,0x01,0x52,0x02,0xa0,0x2c,0x64,0x80,0x52,0xc5,0x43,0x80,0xa7,0x07,0x87,0x81,0x4a,0x01,0xff,0x83,0xc8,0xb7,0xf0,0x08,0x0c,0x3a,0x09,0x22,0x14,0x94,0x16,0x11,0x21,0xbf,0xe0,0x6f,0xf0,0x40,0x28,0xff,0xef,0xd1,0x45,0x60,0xc8,0x67,0xf0,0x38,0x58,0x7c,0x64,0x5d,0xfe,0x04,0x18,0x0a,0x33,0xc9,0x7e,0x82,0x03,0x40,0x80,0x48,0x22,0xf5,0x08,0x00,0x14,0xa1,0x60,0x51,0x90,0x40,0x26,0x10,0x59,0x44,0x02,0x21,0x00,0x94,0x01,0x4a,0x1d,0x00,0x92,0x01,0x47,0x81,0x01,0x02,0x8f,0x96,0x57,0x3c,0x1a,0x8c,0x8a,0x36,0x8d,0x10,0x29,0x2b,0x04,0x00,0x52,0x15,0xc0,0x80,0x07,0x00,0x41,0x18,0x07,0x82,0x1f,0x80,0x92,0x37,0x88,0x30,0x32,0x9f,0xff,0x83,0xfe,0x12,0x19,0x97,0xff,0xdf,0x1f,0x02,0x8c,0x90,0x0a,0x30,0xf0,0x28,0xae,0x47,0xde,0x3a,0x12,0x68,0xb8,0xc8,0x00,0x32,0x0f,0xf0,0x8c,0x40,0x03,0x1f,}; | const uint8_t _I_passport_bad1_46x49_0[] = {0x01,0x00,0xd2,0x00,0xff,0x7f,0xc0,0x05,0x1f,0x02,0x1f,0xfe,0x7e,0x02,0x18,0x0f,0xe0,0x0a,0x57,0xff,0xf7,0x9c,0x0a,0x59,0xf8,0x0e,0x60,0x0a,0x56,0xf8,0x05,0x83,0xfc,0x05,0x18,0xbc,0x03,0x01,0xfd,0x02,0x8c,0x2c,0x5a,0x3f,0xa0,0x28,0xc1,0x40,0xa3,0xf4,0x02,0x8c,0x08,0x0a,0x77,0xf8,0x08,0x14,0x7d,0x13,0xfd,0xf9,0x14,0x80,0xab,0xd0,0x9f,0xd7,0xe0,0x10,0x60,0x2a,0x42,0x20,0x1a,0x09,0xfc,0xbe,0x01,0x10,0x02,0xa5,0x9c,0x0a,0x78,0x0e,0x74,0x04,0x0a,0x31,0x7a,0x06,0x7a,0x06,0x05,0x39,0xb0,0x44,0x80,0xa3,0x7e,0x02,0xa5,0xf0,0x0a,0x78,0x0a,0x00,0x14,0xf8,0x13,0xf0,0x29,0xc8,0x07,0x66,0x70,0x11,0xd8,0xea,0xa7,0xf1,0xb2,0x99,0x4c,0x00,0xa9,0xc0,0x9f,0x01,0x4e,0x01,0x3d,0x02,0x8c,0x38,0x0a,0x33,0xa8,0x6c,0x02,0x62,0x05,0x19,0xa0,0x14,0x78,0x00,0x51,0x94,0x01,0x46,0x01,0x03,0x02,0xa4,0x30,0x0a,0x2a,0x02,0x98,0x7c,0x25,0x60,0x52,0xe0,0x43,0xe5,0x80,0x51,0xc0,0x27,0x46,0x51,0x09,0x05,0x88,0xc0,0x66,0x80,0x52,0xfe,0x40,0x27,0x60,0x52,0xf8,0x7f,0xe7,0xa0,0x52,0xe0,0x5f,0xe7,0xc0,0x52,0x80,0x6f,0xe7,0xe0,0x53,0xde,0x01,0x50,0xe2,0x20,0x5f,0x02,0xbf,0xfb,0xfe,0x00,0x28,0xf8,}; | ||||||
| const uint8_t *_I_passport_okay3_46x49[] = {_I_passport_okay3_46x49_0}; | const uint8_t *_I_passport_bad1_46x49[] = {_I_passport_bad1_46x49_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_passport_bottom_128x18_0[] = {0x01,0x00,0x54,0x00,0x99,0x01,0x97,0xf1,0xff,0x00,0x2e,0x1c,0x1e,0xdf,0xc0,0x7b,0x63,0xe6,0xc0,0xfe,0x9e,0x03,0xfa,0x70,0x0f,0xe9,0x80,0x7f,0xc1,0xfd,0x04,0x37,0xf7,0xc9,0x1d,0xb8,0x08,0x4c,0x04,0x1f,0xb0,0x58,0x10,0x3f,0x38,0x00,0xfe,0xb0,0x41,0x7e,0x44,0x96,0x00,0x2c,0xfe,0x0b,0xfa,0x07,0xe4,0x7e,0x13,0x79,0x1d,0xce,0x02,0x03,0xc0,0x80,0x7c,0xf9,0x83,0xb9,0x80,0x40,0xc0,0x43,0x06,0xc3,0x0e,0xe6,0x01,0xfe,0x01,0x0f,0xf2,0x06,0x90,0xd0,}; | const uint8_t _I_passport_bottom_128x18_0[] = {0x01,0x00,0x54,0x00,0x99,0x01,0x97,0xf1,0xff,0x00,0x2e,0x1c,0x1e,0xdf,0xc0,0x7b,0x63,0xe6,0xc0,0xfe,0x9e,0x03,0xfa,0x70,0x0f,0xe9,0x80,0x7f,0xc1,0xfd,0x04,0x37,0xf7,0xc9,0x1d,0xb8,0x08,0x4c,0x04,0x1f,0xb0,0x58,0x10,0x3f,0x38,0x00,0xfe,0xb0,0x41,0x7e,0x44,0x96,0x00,0x2c,0xfe,0x0b,0xfa,0x07,0xe4,0x7e,0x13,0x79,0x1d,0xce,0x02,0x03,0xc0,0x80,0x7c,0xf9,0x83,0xb9,0x80,0x40,0xc0,0x43,0x06,0xc3,0x0e,0xe6,0x01,0xfe,0x01,0x0f,0xf2,0x06,0x90,0xd0,}; | ||||||
| const uint8_t *_I_passport_bottom_128x18[] = {_I_passport_bottom_128x18_0}; | const uint8_t *_I_passport_bottom_128x18[] = {_I_passport_bottom_128x18_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_passport_bad1_46x49_0[] = {0x01,0x00,0xd2,0x00,0xff,0x7f,0xc0,0x05,0x1f,0x02,0x1f,0xfe,0x7e,0x02,0x18,0x0f,0xe0,0x0a,0x57,0xff,0xf7,0x9c,0x0a,0x59,0xf8,0x0e,0x60,0x0a,0x56,0xf8,0x05,0x83,0xfc,0x05,0x18,0xbc,0x03,0x01,0xfd,0x02,0x8c,0x2c,0x5a,0x3f,0xa0,0x28,0xc1,0x40,0xa3,0xf4,0x02,0x8c,0x08,0x0a,0x77,0xf8,0x08,0x14,0x7d,0x13,0xfd,0xf9,0x14,0x80,0xab,0xd0,0x9f,0xd7,0xe0,0x10,0x60,0x2a,0x42,0x20,0x1a,0x09,0xfc,0xbe,0x01,0x10,0x02,0xa5,0x9c,0x0a,0x78,0x0e,0x74,0x04,0x0a,0x31,0x7a,0x06,0x7a,0x06,0x05,0x39,0xb0,0x44,0x80,0xa3,0x7e,0x02,0xa5,0xf0,0x0a,0x78,0x0a,0x00,0x14,0xf8,0x13,0xf0,0x29,0xc8,0x07,0x66,0x70,0x11,0xd8,0xea,0xa7,0xf1,0xb2,0x99,0x4c,0x00,0xa9,0xc0,0x9f,0x01,0x4e,0x01,0x3d,0x02,0x8c,0x38,0x0a,0x33,0xa8,0x6c,0x02,0x62,0x05,0x19,0xa0,0x14,0x78,0x00,0x51,0x94,0x01,0x46,0x01,0x03,0x02,0xa4,0x30,0x0a,0x2a,0x02,0x98,0x7c,0x25,0x60,0x52,0xe0,0x43,0xe5,0x80,0x51,0xc0,0x27,0x46,0x51,0x09,0x05,0x88,0xc0,0x66,0x80,0x52,0xfe,0x40,0x27,0x60,0x52,0xf8,0x7f,0xe7,0xa0,0x52,0xe0,0x5f,0xe7,0xc0,0x52,0x80,0x6f,0xe7,0xe0,0x53,0xde,0x01,0x50,0xe2,0x20,0x5f,0x02,0xbf,0xfb,0xfe,0x00,0x28,0xf8,}; |  | ||||||
| const uint8_t *_I_passport_bad1_46x49[] = {_I_passport_bad1_46x49_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_passport_happy3_46x49_0[] = {0x01,0x00,0x23,0x01,0xff,0x7f,0xc0,0x05,0x1f,0x02,0x1f,0xfe,0x7f,0xff,0x81,0xe0,0x00,0xa7,0xfc,0xbf,0xff,0x00,0xa3,0x7f,0x85,0xe0,0x3e,0x60,0x51,0xdf,0xc1,0x38,0x1e,0xc0,0x28,0xd7,0xe0,0x52,0x0e,0x98,0x14,0x65,0xf0,0x28,0x86,0x92,0x1f,0x3f,0x8b,0xc0,0xa1,0x14,0x8f,0x9c,0xfa,0x2f,0x04,0x84,0x64,0x21,0x93,0xd8,0x5f,0xf2,0x6b,0xa0,0x81,0xce,0xa1,0x70,0x2a,0x37,0x82,0x05,0x34,0x82,0xfe,0x70,0x92,0x08,0x24,0xd3,0x1b,0x04,0x82,0xc4,0x7d,0x13,0x7c,0xbf,0xca,0x0b,0x0d,0xfc,0x4e,0xf4,0x7f,0xa8,0x2c,0x0f,0xf9,0x3d,0xe1,0xe7,0xa0,0xf0,0x1f,0xf4,0xfb,0x07,0x8e,0xe3,0xc0,0x2f,0xf3,0xfc,0x0d,0xd2,0x71,0x80,0xdf,0x81,0x46,0x73,0x00,0xe0,0x77,0xe7,0xf0,0x18,0x9c,0x03,0xc1,0xef,0x02,0x8c,0x7a,0x01,0xf0,0xfb,0x81,0x46,0x21,0x00,0xfc,0x7e,0xe7,0xf0,0x38,0x04,0x07,0xf9,0xf9,0x9f,0xc1,0x40,0xa3,0xfe,0xf3,0xcf,0xe1,0x30,0x0c,0x36,0x1f,0x3f,0x3f,0x88,0x85,0x86,0x07,0x7e,0x9f,0x48,0x45,0x03,0x07,0xfc,0x4c,0x68,0x2a,0xa1,0xbf,0xf8,0x25,0xf4,0x30,0x28,0xa8,0x86,0x57,0x47,0x98,0x41,0x80,0xe3,0x28,0x96,0xd2,0x04,0xa2,0x05,0x18,0xce,0x22,0x10,0x05,0x19,0xb4,0xc4,0x0a,0x5e,0x09,0xcd,0x87,0x09,0x10,0xfd,0x47,0xe7,0xdc,0x10,0x28,0xfc,0x3c,0x66,0x51,0xc1,0x48,0x30,0x05,0x31,0x02,0x94,0x03,0xf4,0x05,0x1c,0x0d,0x00,0x0a,0xdf,0x40,0x28,0xe0,0x30,0x00,0x52,0xa0,0x81,0x06,0x02,0x05,0x2e,0x04,0x06,0x03,0xe8,0x9f,0xc8,0x40,0xa3,0x02,0x02,0x8c,0x44,0x0a,0x30,0x4e,0x84,0xfe,0x1b,0xe0,0x81,0xc6,0x00,0xa3,0x03,0x02,0x8f,0x83,0x40,0x95,0x1f,0x84,0x1e,0x01,0x67,0x9f,0xff,0xbf,0xe0,0x02,0x8f,0x80,}; | const uint8_t _I_passport_happy3_46x49_0[] = {0x01,0x00,0x23,0x01,0xff,0x7f,0xc0,0x05,0x1f,0x02,0x1f,0xfe,0x7f,0xff,0x81,0xe0,0x00,0xa7,0xfc,0xbf,0xff,0x00,0xa3,0x7f,0x85,0xe0,0x3e,0x60,0x51,0xdf,0xc1,0x38,0x1e,0xc0,0x28,0xd7,0xe0,0x52,0x0e,0x98,0x14,0x65,0xf0,0x28,0x86,0x92,0x1f,0x3f,0x8b,0xc0,0xa1,0x14,0x8f,0x9c,0xfa,0x2f,0x04,0x84,0x64,0x21,0x93,0xd8,0x5f,0xf2,0x6b,0xa0,0x81,0xce,0xa1,0x70,0x2a,0x37,0x82,0x05,0x34,0x82,0xfe,0x70,0x92,0x08,0x24,0xd3,0x1b,0x04,0x82,0xc4,0x7d,0x13,0x7c,0xbf,0xca,0x0b,0x0d,0xfc,0x4e,0xf4,0x7f,0xa8,0x2c,0x0f,0xf9,0x3d,0xe1,0xe7,0xa0,0xf0,0x1f,0xf4,0xfb,0x07,0x8e,0xe3,0xc0,0x2f,0xf3,0xfc,0x0d,0xd2,0x71,0x80,0xdf,0x81,0x46,0x73,0x00,0xe0,0x77,0xe7,0xf0,0x18,0x9c,0x03,0xc1,0xef,0x02,0x8c,0x7a,0x01,0xf0,0xfb,0x81,0x46,0x21,0x00,0xfc,0x7e,0xe7,0xf0,0x38,0x04,0x07,0xf9,0xf9,0x9f,0xc1,0x40,0xa3,0xfe,0xf3,0xcf,0xe1,0x30,0x0c,0x36,0x1f,0x3f,0x3f,0x88,0x85,0x86,0x07,0x7e,0x9f,0x48,0x45,0x03,0x07,0xfc,0x4c,0x68,0x2a,0xa1,0xbf,0xf8,0x25,0xf4,0x30,0x28,0xa8,0x86,0x57,0x47,0x98,0x41,0x80,0xe3,0x28,0x96,0xd2,0x04,0xa2,0x05,0x18,0xce,0x22,0x10,0x05,0x19,0xb4,0xc4,0x0a,0x5e,0x09,0xcd,0x87,0x09,0x10,0xfd,0x47,0xe7,0xdc,0x10,0x28,0xfc,0x3c,0x66,0x51,0xc1,0x48,0x30,0x05,0x31,0x02,0x94,0x03,0xf4,0x05,0x1c,0x0d,0x00,0x0a,0xdf,0x40,0x28,0xe0,0x30,0x00,0x52,0xa0,0x81,0x06,0x02,0x05,0x2e,0x04,0x06,0x03,0xe8,0x9f,0xc8,0x40,0xa3,0x02,0x02,0x8c,0x44,0x0a,0x30,0x4e,0x84,0xfe,0x1b,0xe0,0x81,0xc6,0x00,0xa3,0x03,0x02,0x8f,0x83,0x40,0x95,0x1f,0x84,0x1e,0x01,0x67,0x9f,0xff,0xbf,0xe0,0x02,0x8f,0x80,}; | ||||||
| const uint8_t *_I_passport_happy3_46x49[] = {_I_passport_happy3_46x49_0}; | const uint8_t *_I_passport_happy3_46x49[] = {_I_passport_happy3_46x49_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_passport_happy2_46x49_0[] = {0x01,0x00,0x16,0x01,0xff,0x7f,0xc0,0x05,0x1f,0x02,0x1f,0xfe,0x7f,0xff,0x87,0xe0,0x00,0xa7,0xf1,0xbf,0x85,0x04,0x0a,0x30,0xec,0x07,0x84,0x0a,0x37,0xf8,0x0c,0x03,0xbe,0x05,0x1d,0xfc,0xfb,0x81,0xa0,0x02,0x8f,0x7f,0x83,0x21,0xa4,0x43,0xe7,0xf2,0xf8,0x06,0x4a,0xa1,0xf3,0x9f,0x45,0xe0,0x10,0xcc,0x8c,0x32,0x7b,0x17,0xb8,0x42,0x30,0x50,0x39,0xd4,0x2f,0x19,0x25,0xe1,0x40,0x26,0x90,0xb8,0x15,0x1a,0x40,0x05,0x18,0x2f,0x86,0x89,0x18,0xf0,0x4d,0xe0,0xbf,0x98,0x2c,0x13,0xf1,0x3b,0xc2,0xff,0x20,0xb0,0x2f,0xe4,0xf7,0x07,0xfe,0x82,0xc0,0x7f,0xd3,0xec,0x1e,0x7b,0x8f,0x00,0xbf,0xcf,0xf0,0x74,0xc9,0xc6,0x03,0x7f,0x3f,0x81,0xc8,0x60,0x1c,0x0e,0xf8,0x14,0x62,0xd0,0x0f,0x07,0xbc,0x0a,0x31,0x88,0x07,0xc3,0xee,0x05,0x18,0x84,0x03,0xf1,0xfb,0x9f,0x9a,0x86,0x03,0xfc,0xfc,0x81,0x4f,0xfd,0xe7,0x02,0x96,0x1b,0x0f,0x9f,0x02,0x97,0xe2,0x07,0x7e,0x9f,0x01,0x47,0xc1,0x07,0xfc,0x4c,0x40,0xa2,0x40,0x1f,0x04,0xbc,0x0a,0x4a,0x21,0x95,0xc0,0x66,0x10,0x60,0x38,0xca,0x20,0x34,0x88,0x48,0x14,0xf1,0x10,0x80,0x28,0xcd,0x80,0xa7,0xe0,0x9c,0xc0,0x70,0x91,0x0f,0xd4,0x7c,0x5e,0x20,0x51,0xf8,0x78,0xc7,0x63,0x82,0x90,0x60,0x0a,0x64,0x05,0x18,0x07,0xe8,0x0a,0x38,0x1a,0x00,0x15,0xbe,0x93,0xfc,0x0e,0x03,0x00,0x05,0x2a,0x08,0x10,0x60,0x20,0x52,0xe0,0x40,0x60,0x3e,0x89,0xfc,0x84,0x0a,0x30,0x20,0x28,0xc4,0x40,0xa3,0x04,0xe8,0x4f,0xe1,0xbe,0x04,0x88,0x81,0x46,0x06,0x05,0x1f,0x06,0x80,0x5e,0x3f,0x08,0x3c,0x02,0xcf,0x3f,0xff,0x7f,0xc0,0x05,0x1f,}; |  | ||||||
| const uint8_t *_I_passport_happy2_46x49[] = {_I_passport_happy2_46x49_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_passport_okay1_46x49_0[] = {0x01,0x00,0xcc,0x00,0xff,0x7f,0xc0,0x05,0x1f,0x02,0x1f,0xfe,0x7e,0x02,0x1b,0xfc,0x00,0x0a,0x78,0xff,0xff,0xe0,0x0a,0x57,0x38,0x07,0x9c,0x0a,0x50,0xc8,0x06,0x60,0x0a,0x37,0xf8,0x1c,0x02,0xc0,0x05,0x1d,0xf8,0xb4,0x70,0x13,0xef,0xfd,0x7c,0x68,0x53,0xdf,0xfc,0xbc,0x0a,0x53,0xaf,0xfc,0x5c,0x0b,0x13,0x4f,0xfc,0x2c,0x0b,0x12,0x8f,0xfc,0x14,0x0a,0xdf,0x08,0x0c,0xc3,0xff,0x02,0x80,0x7a,0x20,0x60,0x53,0xfa,0x41,0xc0,0xa7,0x12,0x87,0xc8,0x00,0xa5,0x92,0x02,0xa7,0xc8,0x0b,0x5e,0x28,0x58,0x14,0xe0,0x90,0xc0,0x29,0xfa,0x20,0xe0,0x51,0x1d,0x8c,0x42,0x10,0x05,0x38,0x44,0x40,0x0a,0x38,0x58,0x78,0x30,0x40,0xa3,0x7d,0x29,0x94,0x82,0xff,0x06,0x02,0x9e,0x7e,0x02,0x88,0x10,0x28,0xdb,0xd1,0xc4,0x05,0x13,0xe1,0x50,0x00,0xa2,0x76,0x29,0x00,0x15,0x22,0x00,0x51,0x3e,0x14,0x38,0x0a,0x7c,0x01,0x28,0xc8,0x3c,0xb0,0xf9,0xe0,0x64,0xa3,0x7f,0x05,0xf8,0x8a,0x50,0x0a,0x4b,0x83,0x02,0x8f,0x7e,0x01,0xe0,0x2a,0x0c,0x81,0xbc,0x41,0x81,0x2c,0x8f,0x83,0xfe,0x11,0x2f,0xff,0xbe,0x3e,0x05,0x40,0xb0,0x81,0x4c,0x74,0x20,0x52,0x15,0x1c,0x83,0xfc,0x23,0x10,0x00,0xc7,0xc0,}; |  | ||||||
| const uint8_t *_I_passport_okay1_46x49[] = {_I_passport_okay1_46x49_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_passport_left_6x46_0[] = {0x01,0x00,0x1b,0x00,0x9e,0x40,0xa3,0x32,0x59,0x2c,0x66,0x03,0x01,0x82,0xc2,0x62,0x32,0x50,0x16,0xc8,0x60,0x30,0x28,0x34,0x3a,0x3d,0x3e,0x9d,0x4c,0x80,0x14,}; | const uint8_t _I_passport_left_6x46_0[] = {0x01,0x00,0x1b,0x00,0x9e,0x40,0xa3,0x32,0x59,0x2c,0x66,0x03,0x01,0x82,0xc2,0x62,0x32,0x50,0x16,0xc8,0x60,0x30,0x28,0x34,0x3a,0x3d,0x3e,0x9d,0x4c,0x80,0x14,}; | ||||||
| const uint8_t *_I_passport_left_6x46[] = {_I_passport_left_6x46_0}; | const uint8_t *_I_passport_left_6x46[] = {_I_passport_left_6x46_0}; | ||||||
| 
 | 
 | ||||||
|  | const uint8_t _I_passport_okay3_46x49_0[] = {0x01,0x00,0x06,0x01,0xff,0x7f,0xc0,0x05,0x1f,0x02,0x1f,0xfe,0x7e,0x02,0x2c,0x00,0x14,0xfb,0xf7,0xff,0xe0,0x14,0xa4,0xf8,0x0f,0x18,0x14,0xaf,0x30,0x0c,0xe0,0x14,0x6f,0xf8,0x68,0x05,0xa0,0x0a,0x3b,0xf8,0x0c,0x07,0x11,0x3e,0xff,0xd7,0xe0,0x10,0x28,0x44,0xf7,0xff,0x2f,0x02,0x8c,0x12,0x75,0xff,0x8b,0xc0,0x20,0x80,0x52,0x85,0x81,0x4a,0x68,0x05,0x28,0x44,0x08,0x0a,0x30,0x50,0x29,0x4a,0x00,0xa5,0xfc,0x81,0x81,0x4e,0x05,0x06,0x98,0x01,0x4b,0xf3,0x04,0x02,0x8f,0xfb,0x07,0x04,0x84,0xcc,0x2f,0xf0,0x1c,0xee,0x2a,0x15,0x28,0x02,0x8f,0x86,0xe4,0x05,0x1d,0xfe,0x03,0x01,0x52,0x02,0xa0,0x2c,0x64,0x80,0x52,0xc5,0x43,0x80,0xa7,0x07,0x87,0x81,0x4a,0x01,0xff,0x83,0xc8,0xb7,0xf0,0x08,0x0c,0x3a,0x09,0x22,0x14,0x94,0x16,0x11,0x21,0xbf,0xe0,0x6f,0xf0,0x40,0x28,0xff,0xef,0xd1,0x45,0x60,0xc8,0x67,0xf0,0x38,0x58,0x7c,0x64,0x5d,0xfe,0x04,0x18,0x0a,0x33,0xc9,0x7e,0x82,0x03,0x40,0x80,0x48,0x22,0xf5,0x08,0x00,0x14,0xa1,0x60,0x51,0x90,0x40,0x26,0x10,0x59,0x44,0x02,0x21,0x00,0x94,0x01,0x4a,0x1d,0x00,0x92,0x01,0x47,0x81,0x01,0x02,0x8f,0x96,0x57,0x3c,0x1a,0x8c,0x8a,0x36,0x8d,0x10,0x29,0x2b,0x04,0x00,0x52,0x15,0xc0,0x80,0x07,0x00,0x41,0x18,0x07,0x82,0x1f,0x80,0x92,0x37,0x88,0x30,0x32,0x9f,0xff,0x83,0xfe,0x12,0x19,0x97,0xff,0xdf,0x1f,0x02,0x8c,0x90,0x0a,0x30,0xf0,0x28,0xae,0x47,0xde,0x3a,0x12,0x68,0xb8,0xc8,0x00,0x32,0x0f,0xf0,0x8c,0x40,0x03,0x1f,}; | ||||||
|  | const uint8_t *_I_passport_okay3_46x49[] = {_I_passport_okay3_46x49_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_passport_okay1_46x49_0[] = {0x01,0x00,0xcc,0x00,0xff,0x7f,0xc0,0x05,0x1f,0x02,0x1f,0xfe,0x7e,0x02,0x1b,0xfc,0x00,0x0a,0x78,0xff,0xff,0xe0,0x0a,0x57,0x38,0x07,0x9c,0x0a,0x50,0xc8,0x06,0x60,0x0a,0x37,0xf8,0x1c,0x02,0xc0,0x05,0x1d,0xf8,0xb4,0x70,0x13,0xef,0xfd,0x7c,0x68,0x53,0xdf,0xfc,0xbc,0x0a,0x53,0xaf,0xfc,0x5c,0x0b,0x13,0x4f,0xfc,0x2c,0x0b,0x12,0x8f,0xfc,0x14,0x0a,0xdf,0x08,0x0c,0xc3,0xff,0x02,0x80,0x7a,0x20,0x60,0x53,0xfa,0x41,0xc0,0xa7,0x12,0x87,0xc8,0x00,0xa5,0x92,0x02,0xa7,0xc8,0x0b,0x5e,0x28,0x58,0x14,0xe0,0x90,0xc0,0x29,0xfa,0x20,0xe0,0x51,0x1d,0x8c,0x42,0x10,0x05,0x38,0x44,0x40,0x0a,0x38,0x58,0x78,0x30,0x40,0xa3,0x7d,0x29,0x94,0x82,0xff,0x06,0x02,0x9e,0x7e,0x02,0x88,0x10,0x28,0xdb,0xd1,0xc4,0x05,0x13,0xe1,0x50,0x00,0xa2,0x76,0x29,0x00,0x15,0x22,0x00,0x51,0x3e,0x14,0x38,0x0a,0x7c,0x01,0x28,0xc8,0x3c,0xb0,0xf9,0xe0,0x64,0xa3,0x7f,0x05,0xf8,0x8a,0x50,0x0a,0x4b,0x83,0x02,0x8f,0x7e,0x01,0xe0,0x2a,0x0c,0x81,0xbc,0x41,0x81,0x2c,0x8f,0x83,0xfe,0x11,0x2f,0xff,0xbe,0x3e,0x05,0x40,0xb0,0x81,0x4c,0x74,0x20,0x52,0x15,0x1c,0x83,0xfc,0x23,0x10,0x00,0xc7,0xc0,}; | ||||||
|  | const uint8_t *_I_passport_okay1_46x49[] = {_I_passport_okay1_46x49_0}; | ||||||
|  | 
 | ||||||
| const uint8_t _I_Health_16x16_0[] = {0x01,0x00,0x12,0x00,0x00,0x2f,0x02,0x03,0x40,0x00,0x95,0xe2,0x1f,0x08,0x84,0x00,0xc4,0x12,0x60,0xf1,0x0c,0xb8,}; | const uint8_t _I_Health_16x16_0[] = {0x01,0x00,0x12,0x00,0x00,0x2f,0x02,0x03,0x40,0x00,0x95,0xe2,0x1f,0x08,0x84,0x00,0xc4,0x12,0x60,0xf1,0x0c,0xb8,}; | ||||||
| const uint8_t *_I_Health_16x16[] = {_I_Health_16x16_0}; | const uint8_t *_I_Health_16x16[] = {_I_Health_16x16_0}; | ||||||
| 
 | 
 | ||||||
|  | const uint8_t _I_FaceNopower_29x14_0[] = {0x01,0x00,0x24,0x00,0x00,0x1f,0x02,0x01,0x60,0x01,0xa7,0x80,0x02,0x57,0xe0,0x48,0xc3,0xe7,0xd0,0x0c,0x04,0x3c,0x39,0x1f,0x88,0x18,0x0c,0x61,0x90,0x60,0x18,0xff,0x82,0x44,0x03,0x38,0x74,0x38,0x2c,0x80,}; | ||||||
|  | const uint8_t *_I_FaceNopower_29x14[] = {_I_FaceNopower_29x14_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Battery_16x16_0[] = {0x01,0x00,0x12,0x00,0x00,0x1e,0x02,0x03,0xc0,0x81,0xc8,0x20,0x80,0x11,0xd0,0x41,0x40,0x72,0x11,0x10,0xda,0x80,}; | ||||||
|  | const uint8_t *_I_Battery_16x16[] = {_I_Battery_16x16_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_BatteryBody_52x28_0[] = {0x01,0x00,0x45,0x00,0xe0,0x7f,0x3f,0xe0,0x02,0x87,0xf0,0x21,0xe0,0xc3,0x84,0x50,0x39,0xbf,0xff,0x27,0xfe,0xf3,0x09,0xe0,0x42,0x81,0xab,0x0d,0x03,0x1c,0x2b,0xfc,0x0d,0x48,0x55,0xdc,0x1a,0x90,0x8f,0x18,0x6d,0x41,0xaa,0x1b,0x71,0x4b,0x0d,0xd4,0x1b,0xe0,0xdf,0x1b,0xd5,0xfc,0x1a,0xa5,0x36,0x06,0xac,0x20,0xa7,0xe0,0xdc,0xa5,0x7c,0x7c,0xb7,0xff,0xb4,0x21,0x5c,0xcb,0xc6,}; | ||||||
|  | const uint8_t *_I_BatteryBody_52x28[] = {_I_BatteryBody_52x28_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_FaceConfused_29x14_0[] = {0x01,0x00,0x30,0x00,0xc0,0x00,0x46,0x1f,0x38,0x80,0xd0,0x22,0x14,0x48,0x0c,0x82,0x0f,0x52,0x80,0xe8,0x21,0x14,0xa0,0x18,0xc2,0xa6,0x59,0x19,0x24,0x27,0x09,0x48,0xa1,0x41,0x2f,0x12,0x4c,0x0c,0x0c,0x51,0x1f,0xc8,0x78,0x0c,0x7f,0xd1,0xf0,0x18,0xc3,0xa3,0x00,0x74,}; | ||||||
|  | const uint8_t *_I_FaceConfused_29x14[] = {_I_FaceConfused_29x14_0}; | ||||||
|  | 
 | ||||||
| const uint8_t _I_FaceCharging_29x14_0[] = {0x01,0x00,0x28,0x00,0xa0,0x00,0x86,0x05,0x60,0x01,0x8c,0x0e,0x61,0x00,0xc0,0x40,0x63,0x10,0x0e,0x04,0x03,0xf9,0x00,0xf0,0x41,0xc0,0x66,0x13,0xb8,0x40,0x94,0xc0,0x07,0x04,0x82,0x00,0xc6,0x11,0x02,0x01,0x8f,0xc2,0x03,0x00,}; | const uint8_t _I_FaceCharging_29x14_0[] = {0x01,0x00,0x28,0x00,0xa0,0x00,0x86,0x05,0x60,0x01,0x8c,0x0e,0x61,0x00,0xc0,0x40,0x63,0x10,0x0e,0x04,0x03,0xf9,0x00,0xf0,0x41,0xc0,0x66,0x13,0xb8,0x40,0x94,0xc0,0x07,0x04,0x82,0x00,0xc6,0x11,0x02,0x01,0x8f,0xc2,0x03,0x00,}; | ||||||
| const uint8_t *_I_FaceCharging_29x14[] = {_I_FaceCharging_29x14_0}; | const uint8_t *_I_FaceCharging_29x14[] = {_I_FaceCharging_29x14_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_BatteryBody_52x28_0[] = {0x01,0x00,0x45,0x00,0xe0,0x7f,0x3f,0xe0,0x02,0x87,0xf0,0x21,0xe0,0xc3,0x84,0x50,0x39,0xbf,0xff,0x27,0xfe,0xf3,0x09,0xe0,0x42,0x81,0xab,0x0d,0x03,0x1c,0x2b,0xfc,0x0d,0x48,0x55,0xdc,0x1a,0x90,0x8f,0x18,0x6d,0x41,0xaa,0x1b,0x71,0x4b,0x0d,0xd4,0x1b,0xe0,0xdf,0x1b,0xd5,0xfc,0x1a,0xa5,0x36,0x06,0xac,0x20,0xa7,0xe0,0xdc,0xa5,0x7c,0x7c,0xb7,0xff,0xb4,0x21,0x5c,0xcb,0xc6,}; | const uint8_t _I_FaceNormal_29x14_0[] = {0x01,0x00,0x1e,0x00,0x00,0x1c,0xf2,0x01,0x80,0x83,0xd7,0xa0,0x1c,0x08,0x5d,0xf8,0x06,0x30,0xf0,0x1b,0x84,0xcc,0x41,0x10,0x88,0x10,0x0e,0x62,0x10,0x10,0x18,0xf8,0x00,0x42,}; | ||||||
| const uint8_t *_I_BatteryBody_52x28[] = {_I_BatteryBody_52x28_0}; | const uint8_t *_I_FaceNormal_29x14[] = {_I_FaceNormal_29x14_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_Voltage_16x16_0[] = {0x01,0x00,0x1a,0x00,0x00,0x24,0x0a,0x01,0x03,0xc0,0x40,0x78,0x10,0x1f,0x04,0x03,0xe1,0x07,0xc0,0x40,0xc0,0xe3,0xc0,0x80,0x58,0x20,0x12,0x00,0xd3,0x00,}; | const uint8_t _I_Voltage_16x16_0[] = {0x01,0x00,0x1a,0x00,0x00,0x24,0x0a,0x01,0x03,0xc0,0x40,0x78,0x10,0x1f,0x04,0x03,0xe1,0x07,0xc0,0x40,0xc0,0xe3,0xc0,0x80,0x58,0x20,0x12,0x00,0xd3,0x00,}; | ||||||
| const uint8_t *_I_Voltage_16x16[] = {_I_Voltage_16x16_0}; | const uint8_t *_I_Voltage_16x16[] = {_I_Voltage_16x16_0}; | ||||||
| @ -698,29 +737,17 @@ const uint8_t *_I_Voltage_16x16[] = {_I_Voltage_16x16_0}; | |||||||
| const uint8_t _I_Temperature_16x16_0[] = {0x01,0x00,0x12,0x00,0x00,0x1e,0x02,0x01,0x40,0x80,0x80,0x66,0x41,0x02,0xf0,0x40,0xc0,0x23,0xc0,0x80,0x86,0xd4,}; | const uint8_t _I_Temperature_16x16_0[] = {0x01,0x00,0x12,0x00,0x00,0x1e,0x02,0x01,0x40,0x80,0x80,0x66,0x41,0x02,0xf0,0x40,0xc0,0x23,0xc0,0x80,0x86,0xd4,}; | ||||||
| const uint8_t *_I_Temperature_16x16[] = {_I_Temperature_16x16_0}; | const uint8_t *_I_Temperature_16x16[] = {_I_Temperature_16x16_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_FaceNopower_29x14_0[] = {0x01,0x00,0x24,0x00,0x00,0x1f,0x02,0x01,0x60,0x01,0xa7,0x80,0x02,0x57,0xe0,0x48,0xc3,0xe7,0xd0,0x0c,0x04,0x3c,0x39,0x1f,0x88,0x18,0x0c,0x61,0x90,0x60,0x18,0xff,0x82,0x44,0x03,0x38,0x74,0x38,0x2c,0x80,}; | const uint8_t _I_RFIDDolphinReceive_97x61_0[] = {0x01,0x00,0x87,0x01,0x00,0x0f,0xfa,0x3e,0x04,0x28,0x08,0x2d,0x78,0x10,0x1f,0x00,0x24,0x70,0x01,0x86,0x98,0x00,0x86,0x0c,0x0c,0x88,0x60,0x08,0x63,0x10,0x0a,0x00,0x31,0xa0,0x40,0x21,0x90,0x03,0x04,0x1a,0x5a,0x08,0x50,0xe9,0x01,0x23,0x20,0x07,0x88,0x30,0xc5,0xa6,0x03,0x10,0x61,0xfc,0x0a,0xa2,0x2d,0x48,0x0c,0x82,0x20,0x04,0x18,0x40,0x40,0x42,0x44,0x37,0x28,0x80,0x30,0xbc,0x94,0xd0,0x62,0x4f,0x20,0x91,0x08,0x44,0x12,0x01,0x17,0xe6,0x40,0x42,0x45,0x00,0xa1,0x03,0x08,0xa8,0x31,0x41,0x88,0x83,0x0f,0x03,0x08,0x06,0x1c,0x1f,0xa1,0x01,0x84,0x1f,0x8a,0x31,0x09,0x0c,0xa5,0x40,0x86,0x30,0x98,0x46,0x02,0x48,0x0c,0x40,0xc9,0x61,0x00,0xe2,0x0c,0x18,0x88,0x65,0xb8,0x85,0x51,0x06,0x21,0x34,0x83,0x23,0x44,0x06,0x29,0x1c,0xb4,0x94,0xf8,0x05,0x19,0x12,0x20,0xc2,0x40,0xb4,0xa8,0x18,0xa9,0xb5,0x9b,0x48,0x28,0x05,0xa1,0x06,0x22,0xd4,0xa3,0x7e,0x05,0x98,0xe0,0x62,0x0c,0xf6,0x86,0xf8,0x16,0x63,0x42,0x06,0x0b,0xa1,0x60,0xfe,0x06,0xe8,0xcf,0x23,0x0d,0x53,0x00,0x14,0x0f,0xe0,0xea,0x28,0xa0,0x31,0xa0,0x3f,0x08,0x18,0x10,0x45,0xa2,0x11,0x20,0x01,0xf4,0x3f,0xe0,0x81,0x84,0x02,0x94,0x18,0xb0,0xc0,0x63,0xc6,0x3f,0xe0,0x31,0x87,0x03,0x1e,0x11,0x3c,0x80,0x47,0xc1,0x91,0x18,0x80,0x58,0x30,0x0e,0x01,0x00,0x30,0xbc,0x47,0xc3,0x05,0x06,0x3c,0x52,0x00,0xe4,0x20,0xcc,0x80,0x04,0x4d,0x00,0x83,0x73,0x08,0x01,0x8f,0xa2,0x0c,0xa1,0xe1,0xa0,0x62,0x16,0x0c,0xac,0x04,0x14,0xd0,0x30,0x08,0x80,0x31,0xb8,0x10,0x27,0x89,0x03,0x1e,0x81,0x05,0xe0,0x01,0x04,0x1e,0x40,0x04,0xd0,0x1c,0x85,0x6a,0x20,0xc7,0xa8,0x02,0x84,0xd2,0x34,0x00,0x63,0x6c,0x11,0xe2,0x4b,0x10,0x63,0xd6,0x20,0x16,0xa9,0x80,0x32,0x35,0x90,0x0e,0xa5,0x04,0x19,0x15,0x48,0x06,0xa3,0x07,0x01,0x06,0x3c,0xa8,0x84,0x30,0xf8,0x10,0x31,0xe2,0xa5,0xc1,0x8f,0x7f,0x2b,0xe9,0xa8,0xa0,0x5f,0x60,0x04,0x21,0x00,0x29,0x98,0x74,0x1f,0xa8,0x0a,0x39,0xc0,0x05,0xf5,0x83,0xb0,0xa0,0x00,0x3e,0xaf,0xfc,0x1c,0x19,0x3d,0x01,0xfb,0xaa,0xd3,0x3c,0x0c,0xaa,0x06,0x54,0x19,0x50,0x0c,0xd0,0x32,0xe2,0x05,0xf1,0x00,0x4c,0x20,0x19,0xe0,0xc9,0x7d,0x08,0x33,0xc0,0x04,}; | ||||||
| const uint8_t *_I_FaceNopower_29x14[] = {_I_FaceNopower_29x14_0}; | const uint8_t *_I_RFIDDolphinReceive_97x61[] = {_I_RFIDDolphinReceive_97x61_0}; | ||||||
| 
 |  | ||||||
| const uint8_t _I_FaceNormal_29x14_0[] = {0x01,0x00,0x1e,0x00,0x00,0x1c,0xf2,0x01,0x80,0x83,0xd7,0xa0,0x1c,0x08,0x5d,0xf8,0x06,0x30,0xf0,0x1b,0x84,0xcc,0x41,0x10,0x88,0x10,0x0e,0x62,0x10,0x10,0x18,0xf8,0x00,0x42,}; |  | ||||||
| const uint8_t *_I_FaceNormal_29x14[] = {_I_FaceNormal_29x14_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_Battery_16x16_0[] = {0x01,0x00,0x12,0x00,0x00,0x1e,0x02,0x03,0xc0,0x81,0xc8,0x20,0x80,0x11,0xd0,0x41,0x40,0x72,0x11,0x10,0xda,0x80,}; |  | ||||||
| const uint8_t *_I_Battery_16x16[] = {_I_Battery_16x16_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_FaceConfused_29x14_0[] = {0x01,0x00,0x30,0x00,0xc0,0x00,0x46,0x1f,0x38,0x80,0xd0,0x22,0x14,0x48,0x0c,0x82,0x0f,0x52,0x80,0xe8,0x21,0x14,0xa0,0x18,0xc2,0xa6,0x59,0x19,0x24,0x27,0x09,0x48,0xa1,0x41,0x2f,0x12,0x4c,0x0c,0x0c,0x51,0x1f,0xc8,0x78,0x0c,0x7f,0xd1,0xf0,0x18,0xc3,0xa3,0x00,0x74,}; |  | ||||||
| const uint8_t *_I_FaceConfused_29x14[] = {_I_FaceConfused_29x14_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_RFIDDolphinSuccess_108x57_0[] = {0x01,0x00,0xe7,0x01,0x00,0x0f,0x03,0xff,0x1f,0x06,0xd4,0xe2,0x01,0xe0,0x06,0xd4,0x18,0x04,0x30,0x30,0x64,0x60,0x20,0x20,0x31,0x86,0x03,0x62,0x80,0x03,0x28,0x80,0x36,0x24,0x00,0x36,0x00,0x28,0x5c,0xc3,0xe6,0x00,0x58,0x40,0xec,0xc1,0xb1,0x04,0x02,0x19,0x24,0x80,0x0b,0x02,0x02,0x40,0x37,0xc4,0x8c,0x2e,0x40,0x6f,0x93,0x8b,0x81,0x07,0x06,0xdc,0xc2,0x38,0x66,0x50,0x6a,0xe2,0x27,0xe0,0xd2,0xfc,0x08,0x09,0x0c,0x9c,0x4b,0x98,0x34,0xa0,0xe1,0xd5,0x06,0x8f,0x92,0xc2,0x05,0x1e,0x42,0xe1,0x81,0xa3,0xe2,0xf0,0xbc,0x4c,0x1a,0xff,0x2f,0x9b,0x80,0xd8,0xca,0x05,0x1f,0x97,0xfd,0xf8,0x60,0xd2,0x01,0x1e,0x00,0x1a,0x5c,0x00,0x08,0xc9,0xc1,0xab,0x40,0xf9,0x83,0x46,0x61,0x00,0xd8,0x4a,0x81,0xab,0xa0,0xf3,0x5f,0xc6,0x05,0x58,0x8a,0xa4,0x09,0x76,0x21,0xb1,0xf2,0x83,0x4f,0x5d,0x1a,0x01,0x8c,0x90,0x1a,0x31,0x0d,0x07,0xa9,0x16,0x50,0x0a,0xac,0x34,0xba,0x42,0xa1,0x88,0x50,0x23,0xaa,0x72,0xe0,0x6a,0xa1,0x4a,0x32,0x39,0x88,0x6c,0x60,0xc7,0x82,0xb0,0x55,0x60,0xa2,0x92,0x80,0xc0,0x43,0x63,0x03,0x25,0x96,0xe3,0x54,0x33,0x18,0xc4,0x90,0x22,0x21,0x81,0x81,0x03,0x4a,0xa9,0x55,0x7a,0x17,0xf3,0x82,0x9f,0x6d,0x5e,0xa9,0xb6,0x50,0x38,0x70,0x35,0x70,0x15,0x5a,0xa9,0xb8,0xa3,0x46,0x12,0x06,0x9f,0x83,0x54,0x8a,0x28,0x80,0x34,0xfc,0x08,0x93,0xaa,0xc7,0x40,0x83,0x83,0x81,0xd3,0xa1,0xd1,0x08,0x84,0x0c,0x24,0x3f,0xed,0x54,0x18,0x26,0x50,0x20,0xd9,0x42,0x21,0x90,0x4c,0x07,0xff,0xae,0x52,0x20,0x6a,0xc4,0x23,0x1f,0x88,0x3f,0xf0,0x1a,0x45,0x31,0xe7,0x03,0x4a,0x41,0xe0,0x69,0x0f,0xc2,0x1e,0x0d,0x19,0x80,0x48,0xa2,0x10,0xc5,0x68,0xdf,0x0a,0x82,0xb9,0x28,0x22,0x2c,0xe3,0x0a,0xd1,0x2b,0x0f,0x00,0x3c,0x22,0x91,0x53,0x9c,0x50,0x1a,0x30,0x08,0x39,0x1c,0x60,0x6d,0x12,0x3d,0x8c,0xc2,0x51,0x00,0x17,0x0c,0xe2,0x01,0xff,0x83,0x84,0xc6,0x40,0xb0,0x19,0x84,0xd0,0x1a,0x5c,0x08,0x1f,0xf8,0x8c,0x50,0x43,0x08,0xce,0x2d,0x06,0x71,0x5f,0x17,0xfe,0x12,0xdf,0x20,0x69,0x55,0x01,0xa6,0x00,0x18,0x40,0xa4,0x80,0x63,0x3c,0xb5,0x03,0x56,0x08,0x8b,0x20,0x10,0xcf,0x03,0x62,0x08,0x20,0x00,0x94,0xc6,0x01,0x70,0x01,0x0c,0xe8,0x36,0x20,0xd3,0xe0,0x00,0xcb,0x10,0x02,0x19,0xf3,0x9c,0x41,0xa3,0x15,0x31,0x90,0x00,0x70,0xc0,0x21,0xdd,0x86,0xc4,0x78,0x3e,0xa3,0x71,0xe0,0x30,0x20,0x31,0xbe,0x86,0xc4,0x1a,0x35,0x40,0x20,0x8d,0x89,0x28,0x5b,0xa0,0xd9,0xea,0x3d,0x44,0x42,0x87,0x83,0x48,0x36,0x49,0xe1,0xa0,0x75,0x67,0x8d,0x41,0x54,0x14,0x03,0xf5,0x2a,0x06,0x96,0x03,0x54,0xc4,0x14,0xd0,0x83,0x4a,0xfb,0x35,0x06,0x90,0x38,0x4e,0x46,0xb4,0x10,0xd9,0x81,0x49,0x72,0x40,0x01,0x0a,0x95,0xd4,0x36,0x20,0xd7,0x55,0x10,}; |  | ||||||
| const uint8_t *_I_RFIDDolphinSuccess_108x57[] = {_I_RFIDDolphinSuccess_108x57_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_RFIDBigChip_37x36_0[] = {0x01,0x00,0x6e,0x00,0x83,0x01,0x0f,0xcd,0xff,0x00,0x0c,0x1e,0x24,0x08,0x28,0x47,0x24,0x12,0x51,0x39,0x28,0x24,0xa2,0x91,0x5e,0x07,0xab,0xfe,0x04,0x1c,0x04,0xaa,0x01,0x15,0x02,0x28,0x4c,0x81,0x2c,0x04,0x4e,0x05,0xfc,0x08,0x35,0x59,0x06,0x02,0x81,0x15,0xca,0xe4,0x26,0xf2,0x10,0x70,0xd7,0x66,0x11,0x70,0x70,0xd4,0x20,0x14,0x10,0x70,0xc7,0x68,0x13,0x70,0x70,0xd4,0x28,0x10,0x10,0x4a,0x84,0xc6,0x80,0x13,0x10,0xe8,0xd0,0x03,0xa2,0x27,0x19,0xf0,0x9c,0x46,0x28,0x3b,0x42,0xcf,0x96,0x6a,0xd4,0x13,0x6f,0x2a,0x2c,0xa2,0x90,0x54,0x59,0xfe,0x52,0xa7,0x02,0x4f,0x9f,0xf1,0x52,0x60,}; |  | ||||||
| const uint8_t *_I_RFIDBigChip_37x36[] = {_I_RFIDBigChip_37x36_0}; |  | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_RFIDDolphinSend_97x61_0[] = {0x01,0x00,0x8d,0x01,0x00,0x0f,0xfa,0x3e,0x04,0x2a,0x00,0x2d,0x78,0x10,0x1f,0x04,0x04,0x0a,0x38,0x00,0x62,0xcc,0x00,0x43,0x06,0x06,0x44,0x30,0x04,0x31,0x80,0x31,0x07,0x48,0x00,0x50,0x20,0x10,0xc8,0x01,0x64,0x0c,0x1d,0x04,0x28,0x24,0x83,0xd2,0x81,0x04,0xc4,0x18,0x42,0xc3,0x01,0x90,0x30,0xbe,0x05,0x51,0x29,0xa0,0x74,0x60,0x80,0xc1,0x84,0x0b,0x44,0x5e,0x43,0x73,0x82,0x41,0x20,0x1e,0x4a,0x68,0x31,0x27,0x90,0x48,0x84,0x20,0x18,0x31,0x7e,0x64,0x06,0x20,0x0c,0x2a,0x14,0x12,0x40,0x0c,0x28,0xa0,0xc4,0x41,0x87,0x81,0x17,0x08,0x30,0xa0,0xfd,0x08,0x0c,0x20,0xfc,0x38,0x08,0xc4,0x24,0x32,0x95,0x02,0x18,0xc2,0x61,0x18,0x09,0x20,0x31,0x03,0x25,0x84,0x1d,0x88,0x30,0x62,0x21,0x96,0xe2,0x44,0x22,0x00,0xc2,0x26,0xa0,0x64,0x68,0x80,0xc4,0x33,0x9e,0x92,0x9f,0x00,0xa3,0x48,0x24,0x00,0xc4,0x40,0xa4,0xa8,0x18,0xa9,0xb5,0x9b,0x48,0x28,0x05,0xa1,0x06,0x22,0xd4,0xa3,0x7e,0x05,0x98,0xe0,0x4f,0x22,0xcf,0x58,0x6f,0x80,0x10,0x34,0x24,0x31,0x3a,0x52,0x0f,0xe0,0x03,0x0c,0xf1,0xee,0x2d,0x63,0x00,0x0c,0x0f,0xe0,0x13,0x28,0xa0,0x31,0xa0,0x3f,0x08,0x18,0x10,0x45,0xa2,0xe3,0x40,0x00,0xf4,0x3f,0xe1,0xa1,0x84,0x02,0x94,0x18,0xb0,0xc0,0x63,0xc6,0x3f,0xe0,0x31,0x87,0x03,0x1e,0x11,0x3c,0x80,0x47,0xc1,0x90,0x56,0x1b,0x06,0x01,0xc0,0x20,0x06,0x17,0x88,0xf8,0x60,0xa0,0xc7,0x31,0x8a,0x58,0x60,0xe1,0x99,0x00,0x08,0x9a,0x01,0x06,0xd9,0x10,0x03,0x1f,0x44,0x19,0x43,0xc3,0x40,0xc4,0x2c,0x19,0x58,0x08,0x29,0xa0,0x60,0x0c,0xf2,0x00,0x27,0x02,0x05,0x20,0x06,0x4d,0x02,0x0b,0xc0,0x02,0x08,0x3c,0x80,0x09,0xa0,0x39,0x0a,0xd4,0x41,0x8f,0x50,0x05,0x09,0xa4,0x5b,0x4d,0x00,0xd8,0x23,0xc4,0x96,0x20,0xc7,0xac,0x40,0x2d,0x53,0x00,0x64,0x6b,0x20,0x1d,0x4a,0x08,0x32,0x2a,0x90,0x0d,0x46,0x0e,0x02,0x0c,0x79,0x51,0x08,0x61,0xf0,0x20,0x63,0xc5,0x4b,0x83,0x1e,0xfe,0x57,0xd3,0x51,0x40,0xbe,0xc0,0x08,0x42,0x00,0x53,0x30,0xe8,0x3f,0x50,0x14,0x73,0x80,0x0b,0xeb,0x07,0x61,0x40,0x00,0x7d,0x5f,0xf8,0x38,0x32,0x7a,0x03,0xf7,0x55,0xa6,0x78,0x19,0x54,0x0c,0xa8,0x32,0xa0,0x19,0xa0,0x65,0xc4,0x0b,0xe2,0x00,0x98,0x40,0x33,0xc1,0x92,0xfa,0x10,0x67,0x80,0x08,}; | const uint8_t _I_RFIDDolphinSend_97x61_0[] = {0x01,0x00,0x8d,0x01,0x00,0x0f,0xfa,0x3e,0x04,0x2a,0x00,0x2d,0x78,0x10,0x1f,0x04,0x04,0x0a,0x38,0x00,0x62,0xcc,0x00,0x43,0x06,0x06,0x44,0x30,0x04,0x31,0x80,0x31,0x07,0x48,0x00,0x50,0x20,0x10,0xc8,0x01,0x64,0x0c,0x1d,0x04,0x28,0x24,0x83,0xd2,0x81,0x04,0xc4,0x18,0x42,0xc3,0x01,0x90,0x30,0xbe,0x05,0x51,0x29,0xa0,0x74,0x60,0x80,0xc1,0x84,0x0b,0x44,0x5e,0x43,0x73,0x82,0x41,0x20,0x1e,0x4a,0x68,0x31,0x27,0x90,0x48,0x84,0x20,0x18,0x31,0x7e,0x64,0x06,0x20,0x0c,0x2a,0x14,0x12,0x40,0x0c,0x28,0xa0,0xc4,0x41,0x87,0x81,0x17,0x08,0x30,0xa0,0xfd,0x08,0x0c,0x20,0xfc,0x38,0x08,0xc4,0x24,0x32,0x95,0x02,0x18,0xc2,0x61,0x18,0x09,0x20,0x31,0x03,0x25,0x84,0x1d,0x88,0x30,0x62,0x21,0x96,0xe2,0x44,0x22,0x00,0xc2,0x26,0xa0,0x64,0x68,0x80,0xc4,0x33,0x9e,0x92,0x9f,0x00,0xa3,0x48,0x24,0x00,0xc4,0x40,0xa4,0xa8,0x18,0xa9,0xb5,0x9b,0x48,0x28,0x05,0xa1,0x06,0x22,0xd4,0xa3,0x7e,0x05,0x98,0xe0,0x4f,0x22,0xcf,0x58,0x6f,0x80,0x10,0x34,0x24,0x31,0x3a,0x52,0x0f,0xe0,0x03,0x0c,0xf1,0xee,0x2d,0x63,0x00,0x0c,0x0f,0xe0,0x13,0x28,0xa0,0x31,0xa0,0x3f,0x08,0x18,0x10,0x45,0xa2,0xe3,0x40,0x00,0xf4,0x3f,0xe1,0xa1,0x84,0x02,0x94,0x18,0xb0,0xc0,0x63,0xc6,0x3f,0xe0,0x31,0x87,0x03,0x1e,0x11,0x3c,0x80,0x47,0xc1,0x90,0x56,0x1b,0x06,0x01,0xc0,0x20,0x06,0x17,0x88,0xf8,0x60,0xa0,0xc7,0x31,0x8a,0x58,0x60,0xe1,0x99,0x00,0x08,0x9a,0x01,0x06,0xd9,0x10,0x03,0x1f,0x44,0x19,0x43,0xc3,0x40,0xc4,0x2c,0x19,0x58,0x08,0x29,0xa0,0x60,0x0c,0xf2,0x00,0x27,0x02,0x05,0x20,0x06,0x4d,0x02,0x0b,0xc0,0x02,0x08,0x3c,0x80,0x09,0xa0,0x39,0x0a,0xd4,0x41,0x8f,0x50,0x05,0x09,0xa4,0x5b,0x4d,0x00,0xd8,0x23,0xc4,0x96,0x20,0xc7,0xac,0x40,0x2d,0x53,0x00,0x64,0x6b,0x20,0x1d,0x4a,0x08,0x32,0x2a,0x90,0x0d,0x46,0x0e,0x02,0x0c,0x79,0x51,0x08,0x61,0xf0,0x20,0x63,0xc5,0x4b,0x83,0x1e,0xfe,0x57,0xd3,0x51,0x40,0xbe,0xc0,0x08,0x42,0x00,0x53,0x30,0xe8,0x3f,0x50,0x14,0x73,0x80,0x0b,0xeb,0x07,0x61,0x40,0x00,0x7d,0x5f,0xf8,0x38,0x32,0x7a,0x03,0xf7,0x55,0xa6,0x78,0x19,0x54,0x0c,0xa8,0x32,0xa0,0x19,0xa0,0x65,0xc4,0x0b,0xe2,0x00,0x98,0x40,0x33,0xc1,0x92,0xfa,0x10,0x67,0x80,0x08,}; | ||||||
| const uint8_t *_I_RFIDDolphinSend_97x61[] = {_I_RFIDDolphinSend_97x61_0}; | const uint8_t *_I_RFIDDolphinSend_97x61[] = {_I_RFIDDolphinSend_97x61_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_RFIDDolphinReceive_97x61_0[] = {0x01,0x00,0x87,0x01,0x00,0x0f,0xfa,0x3e,0x04,0x28,0x08,0x2d,0x78,0x10,0x1f,0x00,0x24,0x70,0x01,0x86,0x98,0x00,0x86,0x0c,0x0c,0x88,0x60,0x08,0x63,0x10,0x0a,0x00,0x31,0xa0,0x40,0x21,0x90,0x03,0x04,0x1a,0x5a,0x08,0x50,0xe9,0x01,0x23,0x20,0x07,0x88,0x30,0xc5,0xa6,0x03,0x10,0x61,0xfc,0x0a,0xa2,0x2d,0x48,0x0c,0x82,0x20,0x04,0x18,0x40,0x40,0x42,0x44,0x37,0x28,0x80,0x30,0xbc,0x94,0xd0,0x62,0x4f,0x20,0x91,0x08,0x44,0x12,0x01,0x17,0xe6,0x40,0x42,0x45,0x00,0xa1,0x03,0x08,0xa8,0x31,0x41,0x88,0x83,0x0f,0x03,0x08,0x06,0x1c,0x1f,0xa1,0x01,0x84,0x1f,0x8a,0x31,0x09,0x0c,0xa5,0x40,0x86,0x30,0x98,0x46,0x02,0x48,0x0c,0x40,0xc9,0x61,0x00,0xe2,0x0c,0x18,0x88,0x65,0xb8,0x85,0x51,0x06,0x21,0x34,0x83,0x23,0x44,0x06,0x29,0x1c,0xb4,0x94,0xf8,0x05,0x19,0x12,0x20,0xc2,0x40,0xb4,0xa8,0x18,0xa9,0xb5,0x9b,0x48,0x28,0x05,0xa1,0x06,0x22,0xd4,0xa3,0x7e,0x05,0x98,0xe0,0x62,0x0c,0xf6,0x86,0xf8,0x16,0x63,0x42,0x06,0x0b,0xa1,0x60,0xfe,0x06,0xe8,0xcf,0x23,0x0d,0x53,0x00,0x14,0x0f,0xe0,0xea,0x28,0xa0,0x31,0xa0,0x3f,0x08,0x18,0x10,0x45,0xa2,0x11,0x20,0x01,0xf4,0x3f,0xe0,0x81,0x84,0x02,0x94,0x18,0xb0,0xc0,0x63,0xc6,0x3f,0xe0,0x31,0x87,0x03,0x1e,0x11,0x3c,0x80,0x47,0xc1,0x91,0x18,0x80,0x58,0x30,0x0e,0x01,0x00,0x30,0xbc,0x47,0xc3,0x05,0x06,0x3c,0x52,0x00,0xe4,0x20,0xcc,0x80,0x04,0x4d,0x00,0x83,0x73,0x08,0x01,0x8f,0xa2,0x0c,0xa1,0xe1,0xa0,0x62,0x16,0x0c,0xac,0x04,0x14,0xd0,0x30,0x08,0x80,0x31,0xb8,0x10,0x27,0x89,0x03,0x1e,0x81,0x05,0xe0,0x01,0x04,0x1e,0x40,0x04,0xd0,0x1c,0x85,0x6a,0x20,0xc7,0xa8,0x02,0x84,0xd2,0x34,0x00,0x63,0x6c,0x11,0xe2,0x4b,0x10,0x63,0xd6,0x20,0x16,0xa9,0x80,0x32,0x35,0x90,0x0e,0xa5,0x04,0x19,0x15,0x48,0x06,0xa3,0x07,0x01,0x06,0x3c,0xa8,0x84,0x30,0xf8,0x10,0x31,0xe2,0xa5,0xc1,0x8f,0x7f,0x2b,0xe9,0xa8,0xa0,0x5f,0x60,0x04,0x21,0x00,0x29,0x98,0x74,0x1f,0xa8,0x0a,0x39,0xc0,0x05,0xf5,0x83,0xb0,0xa0,0x00,0x3e,0xaf,0xfc,0x1c,0x19,0x3d,0x01,0xfb,0xaa,0xd3,0x3c,0x0c,0xaa,0x06,0x54,0x19,0x50,0x0c,0xd0,0x32,0xe2,0x05,0xf1,0x00,0x4c,0x20,0x19,0xe0,0xc9,0x7d,0x08,0x33,0xc0,0x04,}; | const uint8_t _I_RFIDBigChip_37x36_0[] = {0x01,0x00,0x6e,0x00,0x83,0x01,0x0f,0xcd,0xff,0x00,0x0c,0x1e,0x24,0x08,0x28,0x47,0x24,0x12,0x51,0x39,0x28,0x24,0xa2,0x91,0x5e,0x07,0xab,0xfe,0x04,0x1c,0x04,0xaa,0x01,0x15,0x02,0x28,0x4c,0x81,0x2c,0x04,0x4e,0x05,0xfc,0x08,0x35,0x59,0x06,0x02,0x81,0x15,0xca,0xe4,0x26,0xf2,0x10,0x70,0xd7,0x66,0x11,0x70,0x70,0xd4,0x20,0x14,0x10,0x70,0xc7,0x68,0x13,0x70,0x70,0xd4,0x28,0x10,0x10,0x4a,0x84,0xc6,0x80,0x13,0x10,0xe8,0xd0,0x03,0xa2,0x27,0x19,0xf0,0x9c,0x46,0x28,0x3b,0x42,0xcf,0x96,0x6a,0xd4,0x13,0x6f,0x2a,0x2c,0xa2,0x90,0x54,0x59,0xfe,0x52,0xa7,0x02,0x4f,0x9f,0xf1,0x52,0x60,}; | ||||||
| const uint8_t *_I_RFIDDolphinReceive_97x61[] = {_I_RFIDDolphinReceive_97x61_0}; | const uint8_t *_I_RFIDBigChip_37x36[] = {_I_RFIDBigChip_37x36_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_RFIDDolphinSuccess_108x57_0[] = {0x01,0x00,0xe7,0x01,0x00,0x0f,0x03,0xff,0x1f,0x06,0xd4,0xe2,0x01,0xe0,0x06,0xd4,0x18,0x04,0x30,0x30,0x64,0x60,0x20,0x20,0x31,0x86,0x03,0x62,0x80,0x03,0x28,0x80,0x36,0x24,0x00,0x36,0x00,0x28,0x5c,0xc3,0xe6,0x00,0x58,0x40,0xec,0xc1,0xb1,0x04,0x02,0x19,0x24,0x80,0x0b,0x02,0x02,0x40,0x37,0xc4,0x8c,0x2e,0x40,0x6f,0x93,0x8b,0x81,0x07,0x06,0xdc,0xc2,0x38,0x66,0x50,0x6a,0xe2,0x27,0xe0,0xd2,0xfc,0x08,0x09,0x0c,0x9c,0x4b,0x98,0x34,0xa0,0xe1,0xd5,0x06,0x8f,0x92,0xc2,0x05,0x1e,0x42,0xe1,0x81,0xa3,0xe2,0xf0,0xbc,0x4c,0x1a,0xff,0x2f,0x9b,0x80,0xd8,0xca,0x05,0x1f,0x97,0xfd,0xf8,0x60,0xd2,0x01,0x1e,0x00,0x1a,0x5c,0x00,0x08,0xc9,0xc1,0xab,0x40,0xf9,0x83,0x46,0x61,0x00,0xd8,0x4a,0x81,0xab,0xa0,0xf3,0x5f,0xc6,0x05,0x58,0x8a,0xa4,0x09,0x76,0x21,0xb1,0xf2,0x83,0x4f,0x5d,0x1a,0x01,0x8c,0x90,0x1a,0x31,0x0d,0x07,0xa9,0x16,0x50,0x0a,0xac,0x34,0xba,0x42,0xa1,0x88,0x50,0x23,0xaa,0x72,0xe0,0x6a,0xa1,0x4a,0x32,0x39,0x88,0x6c,0x60,0xc7,0x82,0xb0,0x55,0x60,0xa2,0x92,0x80,0xc0,0x43,0x63,0x03,0x25,0x96,0xe3,0x54,0x33,0x18,0xc4,0x90,0x22,0x21,0x81,0x81,0x03,0x4a,0xa9,0x55,0x7a,0x17,0xf3,0x82,0x9f,0x6d,0x5e,0xa9,0xb6,0x50,0x38,0x70,0x35,0x70,0x15,0x5a,0xa9,0xb8,0xa3,0x46,0x12,0x06,0x9f,0x83,0x54,0x8a,0x28,0x80,0x34,0xfc,0x08,0x93,0xaa,0xc7,0x40,0x83,0x83,0x81,0xd3,0xa1,0xd1,0x08,0x84,0x0c,0x24,0x3f,0xed,0x54,0x18,0x26,0x50,0x20,0xd9,0x42,0x21,0x90,0x4c,0x07,0xff,0xae,0x52,0x20,0x6a,0xc4,0x23,0x1f,0x88,0x3f,0xf0,0x1a,0x45,0x31,0xe7,0x03,0x4a,0x41,0xe0,0x69,0x0f,0xc2,0x1e,0x0d,0x19,0x80,0x48,0xa2,0x10,0xc5,0x68,0xdf,0x0a,0x82,0xb9,0x28,0x22,0x2c,0xe3,0x0a,0xd1,0x2b,0x0f,0x00,0x3c,0x22,0x91,0x53,0x9c,0x50,0x1a,0x30,0x08,0x39,0x1c,0x60,0x6d,0x12,0x3d,0x8c,0xc2,0x51,0x00,0x17,0x0c,0xe2,0x01,0xff,0x83,0x84,0xc6,0x40,0xb0,0x19,0x84,0xd0,0x1a,0x5c,0x08,0x1f,0xf8,0x8c,0x50,0x43,0x08,0xce,0x2d,0x06,0x71,0x5f,0x17,0xfe,0x12,0xdf,0x20,0x69,0x55,0x01,0xa6,0x00,0x18,0x40,0xa4,0x80,0x63,0x3c,0xb5,0x03,0x56,0x08,0x8b,0x20,0x10,0xcf,0x03,0x62,0x08,0x20,0x00,0x94,0xc6,0x01,0x70,0x01,0x0c,0xe8,0x36,0x20,0xd3,0xe0,0x00,0xcb,0x10,0x02,0x19,0xf3,0x9c,0x41,0xa3,0x15,0x31,0x90,0x00,0x70,0xc0,0x21,0xdd,0x86,0xc4,0x78,0x3e,0xa3,0x71,0xe0,0x30,0x20,0x31,0xbe,0x86,0xc4,0x1a,0x35,0x40,0x20,0x8d,0x89,0x28,0x5b,0xa0,0xd9,0xea,0x3d,0x44,0x42,0x87,0x83,0x48,0x36,0x49,0xe1,0xa0,0x75,0x67,0x8d,0x41,0x54,0x14,0x03,0xf5,0x2a,0x06,0x96,0x03,0x54,0xc4,0x14,0xd0,0x83,0x4a,0xfb,0x35,0x06,0x90,0x38,0x4e,0x46,0xb4,0x10,0xd9,0x81,0x49,0x72,0x40,0x01,0x0a,0x95,0xd4,0x36,0x20,0xd7,0x55,0x10,}; | ||||||
|  | const uint8_t *_I_RFIDDolphinSuccess_108x57[] = {_I_RFIDDolphinSuccess_108x57_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_SDQuestion_35x43_0[] = {0x01,0x00,0x67,0x00,0xf8,0x7f,0xc0,0x03,0x03,0xfc,0x01,0x0a,0x0f,0x38,0xa4,0xe4,0xa4,0x80,0x4f,0x0c,0x20,0x13,0xc0,0x9f,0x80,0x02,0x15,0xfe,0x00,0x04,0x29,0xfc,0x03,0xfd,0x07,0xfa,0x47,0xe7,0xdf,0xc8,0x3f,0xea,0x1f,0x7f,0xfc,0x41,0xff,0xb8,0xff,0xf8,0x10,0x7f,0xe0,0x4e,0xef,0x86,0x08,0x68,0x33,0xf1,0x10,0xff,0x3f,0xf1,0xf1,0x60,0x81,0x06,0x1e,0x36,0x10,0x20,0xe1,0xc0,0x87,0xc7,0x02,0x0f,0xd3,0xff,0xe3,0x02,0x0f,0xe8,0x08,0x7f,0xd0,0x21,0x89,0xc4,0x08,0x9f,0x70,0x21,0x9a,0x08,0x08,0xc1,0x89,0x02,0x20,0x62,0x40,0x8f,0xfe,0x68,0x98,}; | const uint8_t _I_SDQuestion_35x43_0[] = {0x01,0x00,0x67,0x00,0xf8,0x7f,0xc0,0x03,0x03,0xfc,0x01,0x0a,0x0f,0x38,0xa4,0xe4,0xa4,0x80,0x4f,0x0c,0x20,0x13,0xc0,0x9f,0x80,0x02,0x15,0xfe,0x00,0x04,0x29,0xfc,0x03,0xfd,0x07,0xfa,0x47,0xe7,0xdf,0xc8,0x3f,0xea,0x1f,0x7f,0xfc,0x41,0xff,0xb8,0xff,0xf8,0x10,0x7f,0xe0,0x4e,0xef,0x86,0x08,0x68,0x33,0xf1,0x10,0xff,0x3f,0xf1,0xf1,0x60,0x81,0x06,0x1e,0x36,0x10,0x20,0xe1,0xc0,0x87,0xc7,0x02,0x0f,0xd3,0xff,0xe3,0x02,0x0f,0xe8,0x08,0x7f,0xd0,0x21,0x89,0xc4,0x08,0x9f,0x70,0x21,0x9a,0x08,0x08,0xc1,0x89,0x02,0x20,0x62,0x40,0x8f,0xfe,0x68,0x98,}; | ||||||
| const uint8_t *_I_SDQuestion_35x43[] = {_I_SDQuestion_35x43_0}; | const uint8_t *_I_SDQuestion_35x43[] = {_I_SDQuestion_35x43_0}; | ||||||
| @ -731,75 +758,75 @@ const uint8_t *_I_SDError_43x35[] = {_I_SDError_43x35_0}; | |||||||
| const uint8_t _I_Cry_dolph_55x52_0[] = {0x01,0x00,0xe8,0x00,0x00,0x0f,0xe3,0xff,0x01,0x03,0x1f,0xfb,0xff,0x0f,0x02,0x96,0x02,0x0f,0x00,0x9f,0x01,0x8b,0xc0,0x12,0x1f,0x80,0x18,0xae,0x00,0x21,0xe0,0x07,0x0a,0x30,0x0a,0x28,0x18,0x08,0x61,0x80,0x62,0x83,0x00,0x90,0x14,0x61,0x02,0x0c,0x16,0x00,0x76,0x60,0x66,0x98,0x0b,0x04,0x90,0x60,0x66,0xb0,0x00,0x48,0x0d,0x21,0x21,0x03,0x30,0x74,0x40,0xd3,0x80,0x03,0x34,0x04,0xc0,0x52,0x00,0x32,0xc7,0xa0,0x18,0x80,0x31,0x80,0x07,0xe1,0x01,0x37,0x18,0x50,0x80,0xc2,0x92,0x10,0x31,0xe8,0x23,0xe9,0x63,0x86,0x54,0x3f,0xe0,0xe1,0x0d,0x96,0x83,0xfc,0x06,0x40,0x69,0x6c,0x3c,0x60,0xd2,0xfc,0xc0,0x60,0x58,0x48,0x0c,0x1b,0x81,0x08,0x14,0x9c,0x1a,0x81,0x04,0x03,0x46,0x80,0x0c,0x50,0x26,0x21,0xc1,0x94,0x26,0x14,0x27,0x8a,0x40,0xc0,0xc2,0xe7,0x26,0x40,0x81,0x86,0xc0,0x6b,0x28,0x64,0x0f,0x01,0x10,0x4e,0x14,0x60,0x0c,0x29,0x02,0x48,0x8b,0x5c,0x45,0x22,0x01,0x10,0x31,0x3a,0x4c,0x0c,0x34,0x06,0xf1,0xd8,0x00,0xc5,0x1a,0x64,0x94,0x0c,0xc0,0x37,0x52,0x20,0x81,0x84,0x26,0x3e,0x88,0x0c,0x38,0x28,0x54,0x0e,0xac,0x1f,0xe1,0x3f,0x06,0x96,0x82,0x7e,0x29,0x4a,0xaf,0xfd,0x76,0x30,0x3a,0x41,0x14,0x7f,0xd0,0xf8,0x78,0x18,0xaa,0x9f,0xd4,0xe0,0x83,0x4f,0xf5,0xf7,0x38,0x0b,0x9c,0x6a,0x1f,0x5b,0x5c,0x00,}; | const uint8_t _I_Cry_dolph_55x52_0[] = {0x01,0x00,0xe8,0x00,0x00,0x0f,0xe3,0xff,0x01,0x03,0x1f,0xfb,0xff,0x0f,0x02,0x96,0x02,0x0f,0x00,0x9f,0x01,0x8b,0xc0,0x12,0x1f,0x80,0x18,0xae,0x00,0x21,0xe0,0x07,0x0a,0x30,0x0a,0x28,0x18,0x08,0x61,0x80,0x62,0x83,0x00,0x90,0x14,0x61,0x02,0x0c,0x16,0x00,0x76,0x60,0x66,0x98,0x0b,0x04,0x90,0x60,0x66,0xb0,0x00,0x48,0x0d,0x21,0x21,0x03,0x30,0x74,0x40,0xd3,0x80,0x03,0x34,0x04,0xc0,0x52,0x00,0x32,0xc7,0xa0,0x18,0x80,0x31,0x80,0x07,0xe1,0x01,0x37,0x18,0x50,0x80,0xc2,0x92,0x10,0x31,0xe8,0x23,0xe9,0x63,0x86,0x54,0x3f,0xe0,0xe1,0x0d,0x96,0x83,0xfc,0x06,0x40,0x69,0x6c,0x3c,0x60,0xd2,0xfc,0xc0,0x60,0x58,0x48,0x0c,0x1b,0x81,0x08,0x14,0x9c,0x1a,0x81,0x04,0x03,0x46,0x80,0x0c,0x50,0x26,0x21,0xc1,0x94,0x26,0x14,0x27,0x8a,0x40,0xc0,0xc2,0xe7,0x26,0x40,0x81,0x86,0xc0,0x6b,0x28,0x64,0x0f,0x01,0x10,0x4e,0x14,0x60,0x0c,0x29,0x02,0x48,0x8b,0x5c,0x45,0x22,0x01,0x10,0x31,0x3a,0x4c,0x0c,0x34,0x06,0xf1,0xd8,0x00,0xc5,0x1a,0x64,0x94,0x0c,0xc0,0x37,0x52,0x20,0x81,0x84,0x26,0x3e,0x88,0x0c,0x38,0x28,0x54,0x0e,0xac,0x1f,0xe1,0x3f,0x06,0x96,0x82,0x7e,0x29,0x4a,0xaf,0xfd,0x76,0x30,0x3a,0x41,0x14,0x7f,0xd0,0xf8,0x78,0x18,0xaa,0x9f,0xd4,0xe0,0x83,0x4f,0xf5,0xf7,0x38,0x0b,0x9c,0x6a,0x1f,0x5b,0x5c,0x00,}; | ||||||
| const uint8_t *_I_Cry_dolph_55x52[] = {_I_Cry_dolph_55x52_0}; | const uint8_t *_I_Cry_dolph_55x52[] = {_I_Cry_dolph_55x52_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_BadUsb_9x8_0[] = {0x00,0x01,0x01,0xBB,0x01,0xFE,0x00,0xFE,0x00,0xD6,0x00,0xD6,0x00,0x7C,0x00,0x38,0x00,}; |  | ||||||
| const uint8_t *_I_BadUsb_9x8[] = {_I_BadUsb_9x8_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_PlaceholderR_30x13_0[] = {0x01,0x00,0x19,0x00,0xfe,0x7f,0xff,0xf0,0xf8,0x10,0x18,0x62,0x10,0x10,0x18,0xc8,0x00,0x7e,0x03,0xb8,0x18,0x0c,0x66,0x1f,0xe1,0x58,0xc7,0xc5,0xe6,}; |  | ||||||
| const uint8_t *_I_PlaceholderR_30x13[] = {_I_PlaceholderR_30x13_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_Lock_8x8_0[] = {0x00,0x3C,0x42,0x42,0xFF,0xFF,0xE7,0xFF,0xFF,}; |  | ||||||
| const uint8_t *_I_Lock_8x8[] = {_I_Lock_8x8_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_Battery_26x8_0[] = {0x01,0x00,0x13,0x00,0xff,0x7f,0xef,0xf0,0x08,0x0c,0x03,0x00,0x03,0x38,0x18,0x0c,0xa0,0x40,0x36,0x05,0x98,0x6d,0x00,}; | const uint8_t _I_Battery_26x8_0[] = {0x01,0x00,0x13,0x00,0xff,0x7f,0xef,0xf0,0x08,0x0c,0x03,0x00,0x03,0x38,0x18,0x0c,0xa0,0x40,0x36,0x05,0x98,0x6d,0x00,}; | ||||||
| const uint8_t *_I_Battery_26x8[] = {_I_Battery_26x8_0}; | const uint8_t *_I_Battery_26x8[] = {_I_Battery_26x8_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_PlaceholderL_11x13_0[] = {0x01,0x00,0x10,0x00,0xfe,0x40,0x60,0x50,0x28,0x0c,0x10,0x03,0xb0,0x38,0x37,0xfe,0x07,0xfe,0x80,0x80,}; | const uint8_t _I_PlaceholderL_11x13_0[] = {0x01,0x00,0x10,0x00,0xfe,0x40,0x60,0x50,0x28,0x0c,0x10,0x03,0xb0,0x38,0x37,0xfe,0x07,0xfe,0x80,0x80,}; | ||||||
| const uint8_t *_I_PlaceholderL_11x13[] = {_I_PlaceholderL_11x13_0}; | const uint8_t *_I_PlaceholderL_11x13[] = {_I_PlaceholderL_11x13_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_Battery_19x8_0[] = {0x01,0x00,0x0f,0x00,0xff,0x7f,0xe0,0x30,0x18,0x04,0x08,0x04,0x90,0x60,0x12,0x02,0xcc,0x28,0x40,}; | const uint8_t _I_BT_Pair_9x8_0[] = {0x00,0x11,0x01,0x35,0x00,0x58,0x01,0x31,0x00,0x30,0x01,0x59,0x00,0x34,0x01,0x11,0x01,}; | ||||||
| const uint8_t *_I_Battery_19x8[] = {_I_Battery_19x8_0}; | const uint8_t *_I_BT_Pair_9x8[] = {_I_BT_Pair_9x8_0}; | ||||||
| 
 |  | ||||||
| const uint8_t _I_SDcardMounted_11x8_0[] = {0x01,0x00,0x09,0x00,0xff,0xc1,0xff,0xf0,0x40,0x1c,0xd9,0xe0,0x00,}; |  | ||||||
| const uint8_t *_I_SDcardMounted_11x8[] = {_I_SDcardMounted_11x8_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_SDcardFail_11x8_0[] = {0x00,0xFF,0x07,0xB7,0x07,0xFF,0x07,0x87,0x07,0x7B,0x07,0xFF,0x07,0xFF,0x07,0x67,0x00,}; |  | ||||||
| const uint8_t *_I_SDcardFail_11x8[] = {_I_SDcardFail_11x8_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_USBConnected_15x8_0[] = {0x00,0xF0,0x07,0x08,0x7C,0x04,0x44,0x07,0x54,0x07,0x54,0x04,0x44,0x08,0x7C,0xF0,0x07,}; |  | ||||||
| const uint8_t *_I_USBConnected_15x8[] = {_I_USBConnected_15x8_0}; |  | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_Bluetooth_5x8_0[] = {0x00,0x04,0x0D,0x16,0x0C,0x0C,0x16,0x0D,0x04,}; | const uint8_t _I_Bluetooth_5x8_0[] = {0x00,0x04,0x0D,0x16,0x0C,0x0C,0x16,0x0D,0x04,}; | ||||||
| const uint8_t *_I_Bluetooth_5x8[] = {_I_Bluetooth_5x8_0}; | const uint8_t *_I_Bluetooth_5x8[] = {_I_Bluetooth_5x8_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_BT_Pair_9x8_0[] = {0x00,0x11,0x01,0x35,0x00,0x58,0x01,0x31,0x00,0x30,0x01,0x59,0x00,0x34,0x01,0x11,0x01,}; | const uint8_t _I_BadUsb_9x8_0[] = {0x00,0x01,0x01,0xBB,0x01,0xFE,0x00,0xFE,0x00,0xD6,0x00,0xD6,0x00,0x7C,0x00,0x38,0x00,}; | ||||||
| const uint8_t *_I_BT_Pair_9x8[] = {_I_BT_Pair_9x8_0}; | const uint8_t *_I_BadUsb_9x8[] = {_I_BadUsb_9x8_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_PlaceholderR_30x13_0[] = {0x01,0x00,0x19,0x00,0xfe,0x7f,0xff,0xf0,0xf8,0x10,0x18,0x62,0x10,0x10,0x18,0xc8,0x00,0x7e,0x03,0xb8,0x18,0x0c,0x66,0x1f,0xe1,0x58,0xc7,0xc5,0xe6,}; | ||||||
|  | const uint8_t *_I_PlaceholderR_30x13[] = {_I_PlaceholderR_30x13_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_USBConnected_15x8_0[] = {0x00,0xF0,0x07,0x08,0x7C,0x04,0x44,0x07,0x54,0x07,0x54,0x04,0x44,0x08,0x7C,0xF0,0x07,}; | ||||||
|  | const uint8_t *_I_USBConnected_15x8[] = {_I_USBConnected_15x8_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Battery_19x8_0[] = {0x01,0x00,0x0f,0x00,0xff,0x7f,0xe0,0x30,0x18,0x04,0x08,0x04,0x90,0x60,0x12,0x02,0xcc,0x28,0x40,}; | ||||||
|  | const uint8_t *_I_Battery_19x8[] = {_I_Battery_19x8_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Lock_8x8_0[] = {0x00,0x3C,0x42,0x42,0xFF,0xFF,0xE7,0xFF,0xFF,}; | ||||||
|  | const uint8_t *_I_Lock_8x8[] = {_I_Lock_8x8_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_Background_128x11_0[] = {0x01,0x00,0x70,0x00,0xff,0x40,0x40,0xc9,0xe0,0xff,0x80,0x06,0x1e,0x08,0x38,0x0c,0x0c,0x1e,0x93,0x00,0x19,0x46,0x01,0x07,0x7d,0x83,0x03,0xd2,0x31,0xff,0xdb,0xd5,0x66,0x20,0x83,0xc0,0xff,0x05,0x24,0x00,0x1c,0x78,0x28,0xbc,0x40,0x72,0xbf,0xcf,0x47,0xeb,0x40,0xdb,0x7a,0xbf,0xf0,0x40,0x39,0x60,0x28,0x3f,0xe0,0xa0,0xea,0x80,0x63,0x3f,0x0b,0x17,0xe4,0x3e,0x5a,0xbc,0xf9,0x99,0x70,0x1f,0x81,0x50,0xc0,0x80,0xe7,0x3e,0x1e,0x9d,0x57,0xfb,0x7f,0x23,0x15,0xb0,0x12,0x5b,0x5b,0x02,0x1d,0x8c,0xc3,0x80,0x24,0x9e,0x03,0x80,0x5e,0x40,0x00,0xa1,0x88,0x0e,0x98,0x00,0x7b,0x07,0x08,0xb2,0x44,0x41,}; | const uint8_t _I_Background_128x11_0[] = {0x01,0x00,0x70,0x00,0xff,0x40,0x40,0xc9,0xe0,0xff,0x80,0x06,0x1e,0x08,0x38,0x0c,0x0c,0x1e,0x93,0x00,0x19,0x46,0x01,0x07,0x7d,0x83,0x03,0xd2,0x31,0xff,0xdb,0xd5,0x66,0x20,0x83,0xc0,0xff,0x05,0x24,0x00,0x1c,0x78,0x28,0xbc,0x40,0x72,0xbf,0xcf,0x47,0xeb,0x40,0xdb,0x7a,0xbf,0xf0,0x40,0x39,0x60,0x28,0x3f,0xe0,0xa0,0xea,0x80,0x63,0x3f,0x0b,0x17,0xe4,0x3e,0x5a,0xbc,0xf9,0x99,0x70,0x1f,0x81,0x50,0xc0,0x80,0xe7,0x3e,0x1e,0x9d,0x57,0xfb,0x7f,0x23,0x15,0xb0,0x12,0x5b,0x5b,0x02,0x1d,0x8c,0xc3,0x80,0x24,0x9e,0x03,0x80,0x5e,0x40,0x00,0xa1,0x88,0x0e,0x98,0x00,0x7b,0x07,0x08,0xb2,0x44,0x41,}; | ||||||
| const uint8_t *_I_Background_128x11[] = {_I_Background_128x11_0}; | const uint8_t *_I_Background_128x11[] = {_I_Background_128x11_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_Scanning_123x52_0[] = {0x01,0x00,0xd3,0x01,0x00,0x78,0x03,0xc0,0x1f,0x00,0xe0,0x7f,0xc1,0xfb,0xf0,0x80,0x41,0xc0,0xc7,0x03,0x07,0xbe,0xb2,0x07,0x18,0x07,0xc4,0x40,0x06,0x55,0x68,0x2d,0x80,0x0a,0x58,0x08,0x10,0x3c,0xe1,0x00,0x32,0xc0,0xc2,0xb0,0x00,0xf8,0x82,0x02,0x0a,0x01,0x15,0x80,0x40,0x40,0xc3,0x40,0x07,0xa0,0x10,0xa8,0x10,0x09,0xc0,0x19,0x01,0xe9,0x82,0x01,0x0c,0x82,0x01,0x74,0x13,0x1d,0x03,0x04,0x24,0x28,0x05,0x04,0x1e,0x76,0x80,0x79,0xc8,0x30,0x50,0x28,0x30,0x14,0x64,0x26,0x23,0xe8,0x78,0x21,0xe0,0xf4,0x85,0x43,0x30,0x12,0x03,0x00,0x83,0xc7,0x41,0x1c,0x3b,0x10,0x3c,0xe2,0x98,0x08,0x80,0xa4,0x61,0x1e,0x0e,0x9c,0x0c,0x1e,0x51,0x00,0x7a,0x95,0x46,0x11,0x90,0xd3,0xd0,0x24,0x80,0xfb,0xe4,0x5f,0xf0,0x92,0x80,0x79,0x61,0x01,0xe3,0xff,0x07,0x9e,0x22,0xcf,0x3e,0xc4,0x03,0xd3,0xf5,0xff,0x07,0xa5,0x12,0xc9,0x2e,0x07,0xa7,0xf3,0x5f,0xff,0x8a,0x93,0xce,0x89,0xe4,0x97,0xe2,0x25,0x40,0xf1,0x8c,0x75,0x3b,0xf1,0xf1,0xf8,0x9b,0xc8,0x1e,0x55,0x0f,0xfc,0x03,0xfd,0x1f,0xf6,0x4f,0xc9,0xe2,0x8f,0x3a,0x27,0x12,0x5f,0xea,0x68,0x0c,0x06,0x35,0xfc,0x2f,0x92,0xbc,0xf0,0x98,0x89,0x7c,0x75,0x8e,0x37,0xd8,0xf1,0x7c,0xa3,0x0c,0xf3,0xc3,0x47,0xf8,0xcb,0x81,0xc2,0x5f,0x62,0xc0,0xf2,0x77,0xa5,0x1b,0xeb,0xc3,0x6c,0x8d,0x12,0x03,0x22,0x07,0x8c,0x30,0x18,0x2d,0x82,0xc3,0xc2,0xaf,0x84,0x42,0x81,0xc8,0xb1,0x01,0xb2,0x4e,0x08,0x08,0x68,0xb0,0x50,0x20,0xdf,0xb4,0x90,0x3a,0x10,0x3d,0x19,0x05,0x86,0x1e,0x8f,0x03,0x03,0xa5,0x83,0xd0,0xa1,0x10,0x30,0x79,0x00,0x0a,0x0a,0x02,0x19,0x84,0x03,0xa5,0xff,0xc0,0x8a,0x88,0x00,0x81,0xe1,0x80,0x12,0x07,0xa5,0x1f,0xc0,0x03,0xde,0x0b,0x80,0x80,0x0a,0x47,0xa3,0x1f,0x80,0x42,0x43,0xf1,0xe1,0x80,0x60,0x3d,0x30,0xf8,0x04,0x48,0x3e,0xf0,0x08,0xf1,0x40,0x7d,0x00,0xf1,0x56,0x08,0xfe,0x20,0x17,0x0f,0x70,0x3c,0x55,0x82,0x00,0x58,0x38,0x0c,0xa7,0x9f,0x90,0x78,0x80,0x1c,0xec,0x5a,0xac,0xff,0xc0,0x1f,0x30,0x1a,0x05,0x57,0xfb,0x5f,0xf8,0x45,0xc3,0xf3,0x80,0xf5,0x7f,0xe7,0xfe,0x00,0x7c,0x87,0xc7,0xab,0xff,0x8f,0x83,0xea,0x05,0x80,0xd5,0x7f,0xe1,0xfe,0x08,0x98,0x7e,0x60,0x15,0x5a,0xac,0x0f,0xe1,0x15,0x0f,0xc9,0x78,0x75,0x50,0x0d,0x84,0x28,0x3f,0x55,0x4b,0xac,0x02,0xb1,0x0d,0x0f,0xd6,0xa0,0xf8,0x3a,0x85,0x29,0xaf,0xde,0xf8,0x04,0x1a,0xe2,0x54,0x83,0xf0,0x00,0x2d,0x70,0xd4,0x43,0xf2,0x00,0x2e,0xb8,0x3a,0x20,0x05,0x93,0xc0,0x5e,0xc1,0xf2,0x79,0x3e,0x04,0x7c,0x1f,0x32,0xa0,0x19,0x7c,0x1e,0x86,0x00,0x6a,0xa8,0x0c,0xbf,0x84,0xe9,0x4e,0x88,0x0c,0x85,0xd5,0x00,}; | const uint8_t _I_SDcardFail_11x8_0[] = {0x00,0xFF,0x07,0xB7,0x07,0xFF,0x07,0x87,0x07,0x7B,0x07,0xFF,0x07,0xFF,0x07,0x67,0x00,}; | ||||||
| const uint8_t *_I_Scanning_123x52[] = {_I_Scanning_123x52_0}; | const uint8_t *_I_SDcardFail_11x8[] = {_I_SDcardFail_11x8_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_Quest_7x8_0[] = {0x00,0x1E,0x33,0x33,0x30,0x18,0x0C,0x00,0x0C,}; | const uint8_t _I_SDcardMounted_11x8_0[] = {0x01,0x00,0x09,0x00,0xff,0xc1,0xff,0xf0,0x40,0x1c,0xd9,0xe0,0x00,}; | ||||||
| const uint8_t *_I_Quest_7x8[] = {_I_Quest_7x8_0}; | const uint8_t *_I_SDcardMounted_11x8[] = {_I_SDcardMounted_11x8_0}; | ||||||
| 
 |  | ||||||
| const uint8_t _I_Unlock_7x8_0[] = {0x00,0x1C,0x22,0x02,0x4F,0x67,0x73,0x79,0x3C,}; |  | ||||||
| const uint8_t *_I_Unlock_7x8[] = {_I_Unlock_7x8_0}; |  | ||||||
| 
 |  | ||||||
| const uint8_t _I_MHz_25x11_0[] = {0x01,0x00,0x21,0x00,0xe1,0xe1,0xa0,0x30,0x0f,0x38,0x0c,0xbf,0xe0,0x34,0xfe,0xc0,0x7b,0x7f,0xe0,0x19,0xf0,0x60,0x1d,0xbc,0x35,0x84,0x36,0x53,0x10,0x19,0x46,0x40,0x64,0x13,0x10,0x19,0x80,}; |  | ||||||
| const uint8_t *_I_MHz_25x11[] = {_I_MHz_25x11_0}; |  | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_Lock_7x8_0[] = {0x00,0x1C,0x22,0x22,0x7F,0x7F,0x77,0x7F,0x3E,}; | const uint8_t _I_Lock_7x8_0[] = {0x00,0x1C,0x22,0x22,0x7F,0x7F,0x77,0x7F,0x3E,}; | ||||||
| const uint8_t *_I_Lock_7x8[] = {_I_Lock_7x8_0}; | const uint8_t *_I_Lock_7x8[] = {_I_Lock_7x8_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_DolphinMafia_115x62_0[] = {0x01,0x00,0x21,0x02,0x00,0x1e,0x02,0x06,0x0e,0xcb,0x04,0x10,0x1d,0x91,0x88,0x40,0x3b,0x20,0xc0,0xec,0xc0,0x40,0x62,0x03,0xac,0x80,0x03,0xb2,0x31,0x00,0x90,0x03,0xae,0x5e,0x0e,0xcf,0xc4,0x56,0x01,0x40,0x07,0x56,0xbe,0x14,0x0e,0x2f,0xf1,0x5e,0x2a,0xa1,0xd1,0xc0,0x7c,0x3f,0xf0,0x70,0x73,0x70,0x35,0x41,0xd1,0xc0,0x7f,0xff,0xf0,0xf0,0x73,0x50,0x03,0xa4,0x0d,0x10,0x74,0x07,0x46,0x55,0xe0,0x07,0x10,0xb1,0xc3,0xa3,0x55,0xfe,0x03,0x88,0x94,0xe1,0xd1,0xd5,0x03,0x4a,0x3e,0x59,0x9e,0xaf,0xfe,0xff,0x05,0x60,0x4e,0xab,0xf5,0xff,0x95,0xb4,0xa4,0x3a,0x3f,0xd0,0xe0,0xfa,0x20,0x20,0xf8,0xd5,0xff,0xb5,0xf0,0x0f,0x88,0x3a,0x6a,0xbf,0xf8,0xaf,0x82,0x6f,0x03,0x07,0x47,0xaf,0xff,0x0a,0xfe,0x5f,0xc1,0xd3,0xf6,0xbf,0xe0,0x7f,0xfe,0xf0,0x73,0x41,0x00,0x43,0xfa,0xd7,0xf8,0x27,0xfe,0xe0,0x73,0x40,0x80,0x43,0xfe,0xab,0xfe,0x21,0xfc,0xe5,0x9b,0x05,0x48,0xea,0x3f,0xc8,0xfa,0xc4,0x66,0x07,0x44,0x0e,0x8f,0x00,0xb0,0x2b,0x31,0x07,0x0f,0x00,0x1c,0x72,0x00,0x70,0xf8,0x37,0xe5,0x81,0xff,0x89,0x08,0xf2,0x71,0x80,0x20,0xfe,0x2b,0xf0,0x5f,0xc0,0x38,0xc8,0xa5,0x60,0xc3,0x00,0xc7,0xf9,0xaf,0x81,0x2d,0x04,0x34,0x40,0xe1,0x98,0x47,0x68,0x04,0x92,0xab,0xc0,0x7e,0xb7,0xf7,0x39,0x03,0x85,0x8e,0x24,0xf1,0xc0,0x7f,0xf5,0x78,0x0f,0x53,0xb4,0xbc,0x1f,0xb8,0x1a,0x0c,0x61,0xc5,0x82,0xab,0xc0,0x3e,0xa3,0xa2,0xfc,0x07,0x46,0x09,0x60,0x19,0x8f,0x80,0xec,0x38,0x08,0x52,0x6c,0xb8,0xdc,0x28,0x7c,0x10,0x2a,0x5f,0x0f,0xfc,0x5a,0x01,0x05,0x1a,0x8e,0x02,0x02,0x1d,0x1f,0x81,0xa8,0xbe,0x13,0xf8,0x52,0x2c,0x8c,0x62,0x77,0x42,0x11,0x40,0xe0,0xca,0x93,0x8e,0x03,0x8a,0x30,0x10,0x48,0x54,0x03,0x04,0xbb,0x2c,0x00,0x0c,0x64,0x80,0xe4,0x0e,0x88,0x38,0x7c,0x10,0x04,0x09,0x48,0x83,0xac,0x1b,0x18,0xf3,0x44,0xc1,0xca,0x1d,0x15,0x40,0x8e,0x05,0x02,0x20,0xe6,0x24,0x12,0x8c,0x8b,0x05,0x21,0x07,0x24,0x14,0x08,0x73,0x80,0x19,0x78,0x43,0xb2,0xff,0x15,0x30,0xc4,0x01,0x26,0x8f,0x14,0x61,0xa9,0x8a,0x09,0x10,0x02,0x12,0x1c,0x80,0x84,0xaf,0x10,0x71,0xaa,0xc4,0x00,0x3b,0x04,0xea,0x24,0x48,0x1c,0xbd,0x8f,0xf8,0x00,0x67,0xf0,0x09,0x40,0x20,0x61,0x00,0xe4,0xf6,0x07,0x4b,0xc1,0x1f,0x07,0x14,0x40,0x1c,0x9d,0x66,0x79,0x24,0xc6,0xa0,0x0e,0x32,0x51,0xfa,0xce,0xe7,0x50,0x07,0x1c,0x80,0x30,0x58,0x0e,0xa2,0xcc,0xa0,0x19,0x00,0x71,0x42,0x13,0x27,0x40,0xf5,0x45,0x41,0xc5,0x08,0xb0,0x80,0xc6,0x18,0xf2,0x28,0x04,0x83,0xe8,0x58,0x10,0x30,0xc2,0x2c,0x40,0x91,0x89,0x3c,0x88,0x62,0x21,0xd2,0xff,0x03,0x87,0xc8,0x12,0x19,0x08,0x39,0x3e,0x83,0xb2,0x4a,0x0e,0xa2,0x0d,0xc0,0xe0,0x50,0x06,0xa7,0xe8,0x2c,0x94,0xc2,0x09,0x50,0x8c,0xce,0x20,0x34,0x70,0x71,0x41,0x3e,0x85,0xe2,0xe0,0x41,0x38,0x1e,0x28,0x3c,0x19,0xc8,0x70,0x4f,0xc1,0xdc,0xe0,0x74,0x01,0xd8,0xc6,0x24,0x00,0x82,0x81,0x7c,0x12,0xa6,0x7e,0x10,0x28,0xd8,0x22,0x00,0xe3,0xfc,0x34,0x53,0x00,0x23,0x1c,0x04,0x44,0x0e,0x50,0x10,0xeb,0x17,0xca,0x1c,0x07,0x20,}; | const uint8_t _I_Quest_7x8_0[] = {0x00,0x1E,0x33,0x33,0x30,0x18,0x0C,0x00,0x0C,}; | ||||||
| const uint8_t *_I_DolphinMafia_115x62[] = {_I_DolphinMafia_115x62_0}; | const uint8_t *_I_Quest_7x8[] = {_I_Quest_7x8_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_DolphinExcited_64x63_0[] = {0x01,0x00,0x36,0x01,0x00,0x25,0x00,0x0f,0xd2,0x00,0x3b,0xe0,0x00,0xeb,0x10,0x0c,0x34,0x40,0x30,0xd0,0x88,0x80,0x1d,0xa1,0x00,0x42,0xfc,0x7f,0xc0,0x63,0x04,0x01,0x0e,0x02,0x0f,0x00,0x00,0x8c,0x08,0x0e,0x37,0x00,0x10,0xc6,0x20,0x10,0x10,0xd9,0x11,0x92,0x1c,0x1a,0x3e,0x00,0x04,0x42,0x02,0x1a,0x20,0xb0,0xce,0x00,0x64,0x07,0x20,0x59,0x16,0x50,0x36,0x45,0x94,0x84,0x78,0x20,0x60,0x75,0x8e,0x43,0x06,0x63,0x3c,0x33,0x94,0x0c,0xd2,0x5c,0x30,0x38,0xe4,0x08,0x43,0x10,0xc0,0x5e,0x06,0x22,0x53,0x1a,0x02,0x08,0x7f,0xd0,0x32,0xc1,0x50,0x21,0x14,0x0e,0x70,0x1c,0x46,0xe2,0x07,0x19,0x06,0x3c,0xdc,0x20,0x91,0xae,0x01,0xcc,0xbe,0x30,0x09,0xfc,0x12,0x41,0xff,0x83,0xcc,0x0a,0xa3,0x1f,0x03,0x99,0xe8,0x7c,0x10,0xf8,0x25,0xa0,0x5e,0x50,0x0f,0x84,0x1e,0x09,0x54,0x03,0x9f,0xf2,0x07,0x02,0xd5,0x11,0xca,0x01,0xfe,0x80,0xc0,0xaa,0x9f,0xf0,0x39,0x5f,0xd0,0x43,0xaa,0x83,0x41,0x92,0xc3,0x1f,0x03,0x8d,0x52,0x02,0x2e,0x25,0xc9,0x6a,0x99,0x46,0xa6,0x2a,0xa0,0x1c,0xaf,0xca,0x62,0x94,0x28,0xcb,0x7e,0x0f,0x15,0x71,0xf8,0x3c,0x22,0x71,0x03,0x8a,0x84,0x67,0x18,0x0f,0xac,0x1c,0x0e,0x38,0x08,0x0c,0x3e,0x01,0xae,0xbd,0x13,0x0c,0x0e,0x35,0x8e,0xa8,0x1c,0xb0,0x1f,0xf8,0x06,0x83,0xf4,0x27,0x38,0x07,0xff,0xff,0x8f,0x03,0xa0,0x4c,0x80,0xed,0x60,0x03,0xb4,0x60,0x0e,0xd0,0x60,0x3a,0x87,0x84,0x0e,0xb7,0xc2,0xfa,0x18,0x05,0x44,0x20,0x73,0xff,0xf7,0xce,0xe4,0x07,0x2d,0x52,0x2c,0x80,0xe7,0x54,0xea,0x81,0xd7,0x50,0x0f,0x7a,0xaa,0x3d,0x41,0xe2,0x07,0x5a,0x80,0x3c,0xa0,0x40,0x72,0xd0,0x6a,0x80,0xa2,0x07,0x3a,0x05,0x54,0x8e,0x20,0x73,0xc0,0x03,0xd8,0x60,0x30,0x40,0x3a,0xc0,0x00,0xee,0xea,0x10,0x3b,0x80,}; | const uint8_t _I_Scanning_123x52_0[] = {0x01,0x00,0xd3,0x01,0x00,0x78,0x03,0xc0,0x1f,0x00,0xe0,0x7f,0xc1,0xfb,0xf0,0x80,0x41,0xc0,0xc7,0x03,0x07,0xbe,0xb2,0x07,0x18,0x07,0xc4,0x40,0x06,0x55,0x68,0x2d,0x80,0x0a,0x58,0x08,0x10,0x3c,0xe1,0x00,0x32,0xc0,0xc2,0xb0,0x00,0xf8,0x82,0x02,0x0a,0x01,0x15,0x80,0x40,0x40,0xc3,0x40,0x07,0xa0,0x10,0xa8,0x10,0x09,0xc0,0x19,0x01,0xe9,0x82,0x01,0x0c,0x82,0x01,0x74,0x13,0x1d,0x03,0x04,0x24,0x28,0x05,0x04,0x1e,0x76,0x80,0x79,0xc8,0x30,0x50,0x28,0x30,0x14,0x64,0x26,0x23,0xe8,0x78,0x21,0xe0,0xf4,0x85,0x43,0x30,0x12,0x03,0x00,0x83,0xc7,0x41,0x1c,0x3b,0x10,0x3c,0xe2,0x98,0x08,0x80,0xa4,0x61,0x1e,0x0e,0x9c,0x0c,0x1e,0x51,0x00,0x7a,0x95,0x46,0x11,0x90,0xd3,0xd0,0x24,0x80,0xfb,0xe4,0x5f,0xf0,0x92,0x80,0x79,0x61,0x01,0xe3,0xff,0x07,0x9e,0x22,0xcf,0x3e,0xc4,0x03,0xd3,0xf5,0xff,0x07,0xa5,0x12,0xc9,0x2e,0x07,0xa7,0xf3,0x5f,0xff,0x8a,0x93,0xce,0x89,0xe4,0x97,0xe2,0x25,0x40,0xf1,0x8c,0x75,0x3b,0xf1,0xf1,0xf8,0x9b,0xc8,0x1e,0x55,0x0f,0xfc,0x03,0xfd,0x1f,0xf6,0x4f,0xc9,0xe2,0x8f,0x3a,0x27,0x12,0x5f,0xea,0x68,0x0c,0x06,0x35,0xfc,0x2f,0x92,0xbc,0xf0,0x98,0x89,0x7c,0x75,0x8e,0x37,0xd8,0xf1,0x7c,0xa3,0x0c,0xf3,0xc3,0x47,0xf8,0xcb,0x81,0xc2,0x5f,0x62,0xc0,0xf2,0x77,0xa5,0x1b,0xeb,0xc3,0x6c,0x8d,0x12,0x03,0x22,0x07,0x8c,0x30,0x18,0x2d,0x82,0xc3,0xc2,0xaf,0x84,0x42,0x81,0xc8,0xb1,0x01,0xb2,0x4e,0x08,0x08,0x68,0xb0,0x50,0x20,0xdf,0xb4,0x90,0x3a,0x10,0x3d,0x19,0x05,0x86,0x1e,0x8f,0x03,0x03,0xa5,0x83,0xd0,0xa1,0x10,0x30,0x79,0x00,0x0a,0x0a,0x02,0x19,0x84,0x03,0xa5,0xff,0xc0,0x8a,0x88,0x00,0x81,0xe1,0x80,0x12,0x07,0xa5,0x1f,0xc0,0x03,0xde,0x0b,0x80,0x80,0x0a,0x47,0xa3,0x1f,0x80,0x42,0x43,0xf1,0xe1,0x80,0x60,0x3d,0x30,0xf8,0x04,0x48,0x3e,0xf0,0x08,0xf1,0x40,0x7d,0x00,0xf1,0x56,0x08,0xfe,0x20,0x17,0x0f,0x70,0x3c,0x55,0x82,0x00,0x58,0x38,0x0c,0xa7,0x9f,0x90,0x78,0x80,0x1c,0xec,0x5a,0xac,0xff,0xc0,0x1f,0x30,0x1a,0x05,0x57,0xfb,0x5f,0xf8,0x45,0xc3,0xf3,0x80,0xf5,0x7f,0xe7,0xfe,0x00,0x7c,0x87,0xc7,0xab,0xff,0x8f,0x83,0xea,0x05,0x80,0xd5,0x7f,0xe1,0xfe,0x08,0x98,0x7e,0x60,0x15,0x5a,0xac,0x0f,0xe1,0x15,0x0f,0xc9,0x78,0x75,0x50,0x0d,0x84,0x28,0x3f,0x55,0x4b,0xac,0x02,0xb1,0x0d,0x0f,0xd6,0xa0,0xf8,0x3a,0x85,0x29,0xaf,0xde,0xf8,0x04,0x1a,0xe2,0x54,0x83,0xf0,0x00,0x2d,0x70,0xd4,0x43,0xf2,0x00,0x2e,0xb8,0x3a,0x20,0x05,0x93,0xc0,0x5e,0xc1,0xf2,0x79,0x3e,0x04,0x7c,0x1f,0x32,0xa0,0x19,0x7c,0x1e,0x86,0x00,0x6a,0xa8,0x0c,0xbf,0x84,0xe9,0x4e,0x88,0x0c,0x85,0xd5,0x00,}; | ||||||
| const uint8_t *_I_DolphinExcited_64x63[] = {_I_DolphinExcited_64x63_0}; | const uint8_t *_I_Scanning_123x52[] = {_I_Scanning_123x52_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_iButtonDolphinSuccess_109x60_0[] = {0x01,0x00,0xac,0x01,0x00,0x17,0xfe,0x1e,0x0c,0xaf,0x04,0x02,0xe0,0x0d,0xa8,0xf4,0x03,0x01,0x03,0x06,0x46,0x02,0x02,0x03,0x18,0xe0,0x36,0x2c,0x00,0x36,0x00,0x2c,0x40,0x3e,0x60,0xd8,0x84,0x01,0x0c,0x5a,0x40,0x05,0x82,0x01,0x0e,0x04,0x0d,0x70,0x42,0x04,0x90,0x49,0x02,0xe4,0x20,0x41,0x28,0xc0,0x07,0x40,0x06,0xf8,0x00,0xa4,0x00,0xd6,0x03,0xa8,0x37,0x44,0x2a,0x31,0x74,0xd3,0x83,0x57,0x80,0x0d,0xc7,0x18,0xa9,0xa8,0x36,0x2a,0x86,0x06,0x8d,0xfc,0x36,0x60,0xd7,0xc0,0x3b,0x8c,0x36,0xf0,0x4a,0x05,0xf9,0x6e,0x5e,0x06,0x23,0x41,0x24,0x1f,0xf6,0x01,0x74,0x01,0xb1,0xe3,0x82,0x81,0x47,0x40,0x0d,0x7c,0x87,0x8e,0x12,0x05,0x1a,0x84,0x0d,0xb6,0xa0,0xd2,0x85,0x86,0xc8,0x1a,0x50,0x40,0x69,0x40,0xb2,0x1f,0xf0,0x69,0x50,0x01,0xa5,0x08,0xfc,0x03,0x5f,0x60,0x0d,0x28,0x84,0x1a,0x07,0x18,0x06,0xaf,0x00,0x1a,0x3c,0x03,0xb8,0xc3,0x20,0xd0,0x28,0x87,0xfc,0x8a,0x50,0x08,0x78,0x08,0x70,0x77,0x0c,0x44,0x06,0x05,0x30,0xff,0x18,0x4a,0x01,0x30,0x01,0x0d,0x33,0x19,0x11,0x1b,0x8c,0xa2,0xf8,0x7d,0x27,0x71,0xd0,0x20,0x51,0x20,0x68,0xd5,0x00,0x42,0x0d,0x2c,0x00,0x08,0x64,0x10,0x19,0x20,0x28,0x75,0x07,0x53,0x3d,0x18,0x35,0x2a,0x9f,0xf4,0x9a,0x41,0x90,0x23,0x00,0x94,0x43,0xe0,0x5e,0xae,0x03,0x9d,0xb4,0xe0,0xd1,0x0d,0x8c,0xd0,0x52,0xb1,0x00,0xd9,0x83,0x46,0x34,0x45,0x41,0xa8,0x9f,0x86,0x01,0x14,0x05,0x08,0x08,0x81,0xa6,0x62,0x10,0x68,0xe5,0x20,0x70,0x41,0x80,0x80,0x10,0xc4,0x34,0x48,0x04,0x2a,0x38,0x0d,0x99,0x16,0x02,0x1a,0xd5,0x10,0x6c,0x5e,0x2e,0x0b,0xa1,0x4b,0x0a,0x60,0xc1,0xa7,0x84,0xfc,0x58,0x01,0xb5,0x02,0x82,0xb4,0xc4,0x16,0x22,0xa5,0x06,0x96,0x19,0x20,0x20,0xd7,0x30,0x8c,0x0f,0x08,0x05,0x10,0x68,0xa1,0x44,0x1a,0x98,0x08,0x14,0x11,0x28,0x21,0x91,0x1d,0x8f,0x83,0xfe,0x07,0x1b,0x00,0x34,0x61,0x00,0xd3,0x1d,0x8c,0x7a,0x01,0x7e,0x80,0x56,0x30,0x06,0xb1,0x4a,0x08,0xd4,0xbf,0xc1,0x31,0xc0,0x7f,0xe8,0xf0,0x08,0x3c,0x40,0x1a,0x80,0x04,0x5a,0x8c,0x10,0x80,0x40,0xd7,0x05,0x08,0x36,0xc0,0xe2,0x0d,0xb8,0x30,0x34,0x45,0x82,0x0d,0x72,0x49,0x03,0x5a,0x41,0x55,0xf8,0x7f,0xff,0xe8,0x72,0x06,0xae,0x03,0xf4,0x0c,0x1d,0xf8,0x18,0x60,0x40,0xd2,0x4b,0x9f,0xd0,0x1a,0x35,0x71,0x48,0xc0,0x95,0x42,0x0d,0x4d,0x50,0x70,0x75,0x40,0xd1,0x80,0x83,0x5a,0xa1,0x55,0x00,0x0c,0x05,0xa4,0x20,0xd2,}; | const uint8_t _I_MHz_25x11_0[] = {0x01,0x00,0x21,0x00,0xe1,0xe1,0xa0,0x30,0x0f,0x38,0x0c,0xbf,0xe0,0x34,0xfe,0xc0,0x7b,0x7f,0xe0,0x19,0xf0,0x60,0x1d,0xbc,0x35,0x84,0x36,0x53,0x10,0x19,0x46,0x40,0x64,0x13,0x10,0x19,0x80,}; | ||||||
| const uint8_t *_I_iButtonDolphinSuccess_109x60[] = {_I_iButtonDolphinSuccess_109x60_0}; | const uint8_t *_I_MHz_25x11[] = {_I_MHz_25x11_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_Unlock_7x8_0[] = {0x00,0x1C,0x22,0x02,0x4F,0x67,0x73,0x79,0x3C,}; | ||||||
|  | const uint8_t *_I_Unlock_7x8[] = {_I_Unlock_7x8_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_iButtonDolphinVerySuccess_108x52_0[] = {0x01,0x00,0xc2,0x01,0x00,0x0f,0xe2,0xfe,0x0d,0xb8,0x3e,0x02,0x06,0x0c,0x9f,0x00,0x08,0x61,0x80,0xd9,0x8c,0x00,0x86,0x60,0x0d,0x98,0x30,0x08,0x6a,0x00,0xd9,0x80,0x80,0x87,0x40,0x0c,0x8c,0x00,0x0c,0xa8,0x01,0x12,0x00,0x2d,0x00,0x22,0x70,0x20,0x6b,0xc8,0x02,0x26,0x62,0x88,0x80,0x6c,0xc9,0x24,0x0d,0x9a,0x07,0x17,0xfe,0x1d,0x68,0x40,0x6c,0xe7,0x48,0x04,0x28,0x10,0x34,0xe8,0x10,0xd1,0x11,0xc4,0x01,0xa5,0x04,0x06,0x96,0xa0,0xa6,0x24,0xc2,0x88,0x17,0x88,0x1a,0x7d,0x43,0x78,0x82,0x4a,0x40,0x03,0x20,0xb0,0xff,0x20,0x16,0xa3,0xb2,0x48,0x03,0xe4,0x0d,0x1f,0xfc,0x06,0x3a,0x0d,0x4a,0x00,0x34,0xf8,0x00,0xd1,0x37,0x0f,0x82,0x9e,0x95,0x58,0x17,0x83,0xff,0x81,0x1b,0x0f,0xf1,0xfe,0x71,0xe0,0x69,0x7c,0x3f,0xe0,0x82,0xff,0xcf,0xc0,0x85,0x61,0x80,0x43,0xb0,0x5f,0xa8,0x79,0xdc,0x81,0xa5,0x70,0xc0,0x68,0x3c,0x10,0x1a,0x17,0xd5,0x28,0x42,0xd1,0x8f,0x84,0x46,0x83,0xb0,0x8e,0x40,0x34,0x5f,0xa8,0x38,0x34,0x45,0xa2,0x0d,0x18,0x04,0x9b,0x50,0x03,0x1a,0x14,0x35,0x36,0x5f,0x8f,0xf8,0xb8,0xa4,0x19,0x40,0x18,0xe8,0xa0,0xca,0x22,0xfe,0x7f,0xc4,0x05,0x20,0xa5,0x80,0xc6,0x82,0xcb,0x3f,0xf3,0x44,0xfc,0x12,0x40,0x18,0xe8,0x51,0x82,0x52,0x28,0xfc,0x38,0x0a,0x3e,0x48,0x98,0x6c,0x8f,0x43,0x00,0xe0,0x63,0xe0,0x62,0xe2,0x91,0x90,0x0a,0x02,0x0d,0x2f,0x82,0x50,0x41,0xa3,0x80,0x90,0x41,0x04,0xc3,0x01,0xc0,0x83,0x46,0x71,0x30,0x06,0x95,0x82,0x21,0x02,0x6e,0x88,0x6c,0x43,0x83,0x1f,0x2f,0x88,0x34,0x62,0x00,0xd1,0x15,0x08,0x2c,0x60,0xcc,0x51,0x0f,0x08,0xcc,0x81,0xa2,0x12,0x10,0x68,0xc6,0x3f,0x06,0xc2,0x06,0x8e,0x02,0x16,0x41,0x20,0x10,0xf8,0x01,0x85,0x00,0x19,0x0d,0x82,0x18,0x07,0x20,0x81,0x00,0x0c,0x9c,0x31,0x08,0x42,0x74,0x81,0xab,0x80,0x03,0x0c,0x32,0x11,0x0b,0x06,0xb9,0xc0,0x43,0xa3,0x10,0x8b,0x83,0x5c,0xe0,0x20,0x81,0xc8,0x26,0x49,0x4c,0x40,0x02,0x86,0x0a,0xc5,0x22,0x32,0x50,0x6b,0x93,0x86,0xc0,0x0d,0x19,0x18,0x35,0x8c,0x84,0x79,0x1a,0x84,0x84,0x1a,0xdf,0xc2,0xe0,0x8a,0xc7,0x51,0x22,0x06,0xb5,0x5e,0x3f,0x00,0x77,0x0d,0x60,0x36,0xfa,0xa9,0xd7,0x00,0x08,0x3a,0xc9,0x02,0x48,0xc0,0x05,0x54,0xba,0x98,0x8a,0xa8,0xf1,0x20,0x6a,0x6a,0x3d,0x43,0x61,0x80,0x4a,0x81,0xaf,0x40,0xea,0x8d,0x86,0x01,0x56,0x06,0x93,0x60,0x80,0x05,0xea,0x01,0x94,0xac,0x1b,0x11,0x80,0x19,0x45,0x41,0x44,0x0d,0x58,0x33,0x18,0xa1,0x4f,0xf3,0x06,0x1f,0x01,0x76,0x58,0x00,0xd9,0x83,0x52,0x7c,0x11,0x38,0x51,0x40,0x80,}; | const uint8_t _I_iButtonDolphinVerySuccess_108x52_0[] = {0x01,0x00,0xc2,0x01,0x00,0x0f,0xe2,0xfe,0x0d,0xb8,0x3e,0x02,0x06,0x0c,0x9f,0x00,0x08,0x61,0x80,0xd9,0x8c,0x00,0x86,0x60,0x0d,0x98,0x30,0x08,0x6a,0x00,0xd9,0x80,0x80,0x87,0x40,0x0c,0x8c,0x00,0x0c,0xa8,0x01,0x12,0x00,0x2d,0x00,0x22,0x70,0x20,0x6b,0xc8,0x02,0x26,0x62,0x88,0x80,0x6c,0xc9,0x24,0x0d,0x9a,0x07,0x17,0xfe,0x1d,0x68,0x40,0x6c,0xe7,0x48,0x04,0x28,0x10,0x34,0xe8,0x10,0xd1,0x11,0xc4,0x01,0xa5,0x04,0x06,0x96,0xa0,0xa6,0x24,0xc2,0x88,0x17,0x88,0x1a,0x7d,0x43,0x78,0x82,0x4a,0x40,0x03,0x20,0xb0,0xff,0x20,0x16,0xa3,0xb2,0x48,0x03,0xe4,0x0d,0x1f,0xfc,0x06,0x3a,0x0d,0x4a,0x00,0x34,0xf8,0x00,0xd1,0x37,0x0f,0x82,0x9e,0x95,0x58,0x17,0x83,0xff,0x81,0x1b,0x0f,0xf1,0xfe,0x71,0xe0,0x69,0x7c,0x3f,0xe0,0x82,0xff,0xcf,0xc0,0x85,0x61,0x80,0x43,0xb0,0x5f,0xa8,0x79,0xdc,0x81,0xa5,0x70,0xc0,0x68,0x3c,0x10,0x1a,0x17,0xd5,0x28,0x42,0xd1,0x8f,0x84,0x46,0x83,0xb0,0x8e,0x40,0x34,0x5f,0xa8,0x38,0x34,0x45,0xa2,0x0d,0x18,0x04,0x9b,0x50,0x03,0x1a,0x14,0x35,0x36,0x5f,0x8f,0xf8,0xb8,0xa4,0x19,0x40,0x18,0xe8,0xa0,0xca,0x22,0xfe,0x7f,0xc4,0x05,0x20,0xa5,0x80,0xc6,0x82,0xcb,0x3f,0xf3,0x44,0xfc,0x12,0x40,0x18,0xe8,0x51,0x82,0x52,0x28,0xfc,0x38,0x0a,0x3e,0x48,0x98,0x6c,0x8f,0x43,0x00,0xe0,0x63,0xe0,0x62,0xe2,0x91,0x90,0x0a,0x02,0x0d,0x2f,0x82,0x50,0x41,0xa3,0x80,0x90,0x41,0x04,0xc3,0x01,0xc0,0x83,0x46,0x71,0x30,0x06,0x95,0x82,0x21,0x02,0x6e,0x88,0x6c,0x43,0x83,0x1f,0x2f,0x88,0x34,0x62,0x00,0xd1,0x15,0x08,0x2c,0x60,0xcc,0x51,0x0f,0x08,0xcc,0x81,0xa2,0x12,0x10,0x68,0xc6,0x3f,0x06,0xc2,0x06,0x8e,0x02,0x16,0x41,0x20,0x10,0xf8,0x01,0x85,0x00,0x19,0x0d,0x82,0x18,0x07,0x20,0x81,0x00,0x0c,0x9c,0x31,0x08,0x42,0x74,0x81,0xab,0x80,0x03,0x0c,0x32,0x11,0x0b,0x06,0xb9,0xc0,0x43,0xa3,0x10,0x8b,0x83,0x5c,0xe0,0x20,0x81,0xc8,0x26,0x49,0x4c,0x40,0x02,0x86,0x0a,0xc5,0x22,0x32,0x50,0x6b,0x93,0x86,0xc0,0x0d,0x19,0x18,0x35,0x8c,0x84,0x79,0x1a,0x84,0x84,0x1a,0xdf,0xc2,0xe0,0x8a,0xc7,0x51,0x22,0x06,0xb5,0x5e,0x3f,0x00,0x77,0x0d,0x60,0x36,0xfa,0xa9,0xd7,0x00,0x08,0x3a,0xc9,0x02,0x48,0xc0,0x05,0x54,0xba,0x98,0x8a,0xa8,0xf1,0x20,0x6a,0x6a,0x3d,0x43,0x61,0x80,0x4a,0x81,0xaf,0x40,0xea,0x8d,0x86,0x01,0x56,0x06,0x93,0x60,0x80,0x05,0xea,0x01,0x94,0xac,0x1b,0x11,0x80,0x19,0x45,0x41,0x44,0x0d,0x58,0x33,0x18,0xa1,0x4f,0xf3,0x06,0x1f,0x01,0x76,0x58,0x00,0xd9,0x83,0x52,0x7c,0x11,0x38,0x51,0x40,0x80,}; | ||||||
| const uint8_t *_I_iButtonDolphinVerySuccess_108x52[] = {_I_iButtonDolphinVerySuccess_108x52_0}; | const uint8_t *_I_iButtonDolphinVerySuccess_108x52[] = {_I_iButtonDolphinVerySuccess_108x52_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_iButtonKey_49x44_0[] = {0x01,0x00,0xb4,0x00,0x00,0x24,0xfc,0x0a,0x9c,0x0e,0x00,0x19,0x26,0x18,0x00,0x32,0x43,0x20,0x10,0x10,0x31,0xc0,0x80,0xc9,0x80,0x02,0x08,0x18,0xec,0x00,0x21,0x03,0x1c,0x40,0x1e,0x22,0x15,0xa0,0x08,0x56,0x40,0x06,0x30,0xc0,0x85,0x84,0x86,0x40,0x21,0x84,0x10,0xcc,0x04,0x30,0x40,0x31,0x02,0x88,0x3a,0x20,0x01,0x83,0x0d,0x94,0x06,0x26,0x03,0xf8,0x43,0xc5,0xe9,0x0c,0x11,0x08,0xbc,0xe0,0x64,0x21,0x23,0x09,0x38,0x80,0x22,0x28,0x20,0x58,0x99,0xc4,0x50,0x41,0xe1,0xc0,0x60,0xcc,0xab,0x47,0x21,0xa6,0x02,0x9e,0x06,0x22,0x70,0xf0,0x00,0xcb,0x40,0x03,0x18,0xb0,0x78,0x14,0xe0,0x32,0x58,0x28,0xa5,0x84,0xd0,0x51,0x80,0xc9,0x30,0x06,0xae,0x62,0x84,0x06,0x48,0x64,0x88,0x0c,0x90,0x29,0x08,0x19,0x30,0x31,0x13,0x71,0xb8,0xc4,0xea,0x70,0x6b,0xc5,0x01,0x4a,0x7f,0xc8,0x7c,0x81,0x4a,0x77,0x8a,0xac,0x45,0x4a,0x7f,0x08,0x54,0x39,0x4a,0x7e,0x0e,0xa9,0xf0,0xcb,0xe3,0x7f,0x6e,0x22,0x5c,0x59,0x44,0x00,0x28,0x7a,0xd4,0x40,0x07,0xf0,0x02,0xa0,}; | const uint8_t _I_DolphinMafia_115x62_0[] = {0x01,0x00,0x21,0x02,0x00,0x1e,0x02,0x06,0x0e,0xcb,0x04,0x10,0x1d,0x91,0x88,0x40,0x3b,0x20,0xc0,0xec,0xc0,0x40,0x62,0x03,0xac,0x80,0x03,0xb2,0x31,0x00,0x90,0x03,0xae,0x5e,0x0e,0xcf,0xc4,0x56,0x01,0x40,0x07,0x56,0xbe,0x14,0x0e,0x2f,0xf1,0x5e,0x2a,0xa1,0xd1,0xc0,0x7c,0x3f,0xf0,0x70,0x73,0x70,0x35,0x41,0xd1,0xc0,0x7f,0xff,0xf0,0xf0,0x73,0x50,0x03,0xa4,0x0d,0x10,0x74,0x07,0x46,0x55,0xe0,0x07,0x10,0xb1,0xc3,0xa3,0x55,0xfe,0x03,0x88,0x94,0xe1,0xd1,0xd5,0x03,0x4a,0x3e,0x59,0x9e,0xaf,0xfe,0xff,0x05,0x60,0x4e,0xab,0xf5,0xff,0x95,0xb4,0xa4,0x3a,0x3f,0xd0,0xe0,0xfa,0x20,0x20,0xf8,0xd5,0xff,0xb5,0xf0,0x0f,0x88,0x3a,0x6a,0xbf,0xf8,0xaf,0x82,0x6f,0x03,0x07,0x47,0xaf,0xff,0x0a,0xfe,0x5f,0xc1,0xd3,0xf6,0xbf,0xe0,0x7f,0xfe,0xf0,0x73,0x41,0x00,0x43,0xfa,0xd7,0xf8,0x27,0xfe,0xe0,0x73,0x40,0x80,0x43,0xfe,0xab,0xfe,0x21,0xfc,0xe5,0x9b,0x05,0x48,0xea,0x3f,0xc8,0xfa,0xc4,0x66,0x07,0x44,0x0e,0x8f,0x00,0xb0,0x2b,0x31,0x07,0x0f,0x00,0x1c,0x72,0x00,0x70,0xf8,0x37,0xe5,0x81,0xff,0x89,0x08,0xf2,0x71,0x80,0x20,0xfe,0x2b,0xf0,0x5f,0xc0,0x38,0xc8,0xa5,0x60,0xc3,0x00,0xc7,0xf9,0xaf,0x81,0x2d,0x04,0x34,0x40,0xe1,0x98,0x47,0x68,0x04,0x92,0xab,0xc0,0x7e,0xb7,0xf7,0x39,0x03,0x85,0x8e,0x24,0xf1,0xc0,0x7f,0xf5,0x78,0x0f,0x53,0xb4,0xbc,0x1f,0xb8,0x1a,0x0c,0x61,0xc5,0x82,0xab,0xc0,0x3e,0xa3,0xa2,0xfc,0x07,0x46,0x09,0x60,0x19,0x8f,0x80,0xec,0x38,0x08,0x52,0x6c,0xb8,0xdc,0x28,0x7c,0x10,0x2a,0x5f,0x0f,0xfc,0x5a,0x01,0x05,0x1a,0x8e,0x02,0x02,0x1d,0x1f,0x81,0xa8,0xbe,0x13,0xf8,0x52,0x2c,0x8c,0x62,0x77,0x42,0x11,0x40,0xe0,0xca,0x93,0x8e,0x03,0x8a,0x30,0x10,0x48,0x54,0x03,0x04,0xbb,0x2c,0x00,0x0c,0x64,0x80,0xe4,0x0e,0x88,0x38,0x7c,0x10,0x04,0x09,0x48,0x83,0xac,0x1b,0x18,0xf3,0x44,0xc1,0xca,0x1d,0x15,0x40,0x8e,0x05,0x02,0x20,0xe6,0x24,0x12,0x8c,0x8b,0x05,0x21,0x07,0x24,0x14,0x08,0x73,0x80,0x19,0x78,0x43,0xb2,0xff,0x15,0x30,0xc4,0x01,0x26,0x8f,0x14,0x61,0xa9,0x8a,0x09,0x10,0x02,0x12,0x1c,0x80,0x84,0xaf,0x10,0x71,0xaa,0xc4,0x00,0x3b,0x04,0xea,0x24,0x48,0x1c,0xbd,0x8f,0xf8,0x00,0x67,0xf0,0x09,0x40,0x20,0x61,0x00,0xe4,0xf6,0x07,0x4b,0xc1,0x1f,0x07,0x14,0x40,0x1c,0x9d,0x66,0x79,0x24,0xc6,0xa0,0x0e,0x32,0x51,0xfa,0xce,0xe7,0x50,0x07,0x1c,0x80,0x30,0x58,0x0e,0xa2,0xcc,0xa0,0x19,0x00,0x71,0x42,0x13,0x27,0x40,0xf5,0x45,0x41,0xc5,0x08,0xb0,0x80,0xc6,0x18,0xf2,0x28,0x04,0x83,0xe8,0x58,0x10,0x30,0xc2,0x2c,0x40,0x91,0x89,0x3c,0x88,0x62,0x21,0xd2,0xff,0x03,0x87,0xc8,0x12,0x19,0x08,0x39,0x3e,0x83,0xb2,0x4a,0x0e,0xa2,0x0d,0xc0,0xe0,0x50,0x06,0xa7,0xe8,0x2c,0x94,0xc2,0x09,0x50,0x8c,0xce,0x20,0x34,0x70,0x71,0x41,0x3e,0x85,0xe2,0xe0,0x41,0x38,0x1e,0x28,0x3c,0x19,0xc8,0x70,0x4f,0xc1,0xdc,0xe0,0x74,0x01,0xd8,0xc6,0x24,0x00,0x82,0x81,0x7c,0x12,0xa6,0x7e,0x10,0x28,0xd8,0x22,0x00,0xe3,0xfc,0x34,0x53,0x00,0x23,0x1c,0x04,0x44,0x0e,0x50,0x10,0xeb,0x17,0xca,0x1c,0x07,0x20,}; | ||||||
| const uint8_t *_I_iButtonKey_49x44[] = {_I_iButtonKey_49x44_0}; | const uint8_t *_I_DolphinMafia_115x62[] = {_I_DolphinMafia_115x62_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_iButtonDolphinSuccess_109x60_0[] = {0x01,0x00,0xac,0x01,0x00,0x17,0xfe,0x1e,0x0c,0xaf,0x04,0x02,0xe0,0x0d,0xa8,0xf4,0x03,0x01,0x03,0x06,0x46,0x02,0x02,0x03,0x18,0xe0,0x36,0x2c,0x00,0x36,0x00,0x2c,0x40,0x3e,0x60,0xd8,0x84,0x01,0x0c,0x5a,0x40,0x05,0x82,0x01,0x0e,0x04,0x0d,0x70,0x42,0x04,0x90,0x49,0x02,0xe4,0x20,0x41,0x28,0xc0,0x07,0x40,0x06,0xf8,0x00,0xa4,0x00,0xd6,0x03,0xa8,0x37,0x44,0x2a,0x31,0x74,0xd3,0x83,0x57,0x80,0x0d,0xc7,0x18,0xa9,0xa8,0x36,0x2a,0x86,0x06,0x8d,0xfc,0x36,0x60,0xd7,0xc0,0x3b,0x8c,0x36,0xf0,0x4a,0x05,0xf9,0x6e,0x5e,0x06,0x23,0x41,0x24,0x1f,0xf6,0x01,0x74,0x01,0xb1,0xe3,0x82,0x81,0x47,0x40,0x0d,0x7c,0x87,0x8e,0x12,0x05,0x1a,0x84,0x0d,0xb6,0xa0,0xd2,0x85,0x86,0xc8,0x1a,0x50,0x40,0x69,0x40,0xb2,0x1f,0xf0,0x69,0x50,0x01,0xa5,0x08,0xfc,0x03,0x5f,0x60,0x0d,0x28,0x84,0x1a,0x07,0x18,0x06,0xaf,0x00,0x1a,0x3c,0x03,0xb8,0xc3,0x20,0xd0,0x28,0x87,0xfc,0x8a,0x50,0x08,0x78,0x08,0x70,0x77,0x0c,0x44,0x06,0x05,0x30,0xff,0x18,0x4a,0x01,0x30,0x01,0x0d,0x33,0x19,0x11,0x1b,0x8c,0xa2,0xf8,0x7d,0x27,0x71,0xd0,0x20,0x51,0x20,0x68,0xd5,0x00,0x42,0x0d,0x2c,0x00,0x08,0x64,0x10,0x19,0x20,0x28,0x75,0x07,0x53,0x3d,0x18,0x35,0x2a,0x9f,0xf4,0x9a,0x41,0x90,0x23,0x00,0x94,0x43,0xe0,0x5e,0xae,0x03,0x9d,0xb4,0xe0,0xd1,0x0d,0x8c,0xd0,0x52,0xb1,0x00,0xd9,0x83,0x46,0x34,0x45,0x41,0xa8,0x9f,0x86,0x01,0x14,0x05,0x08,0x08,0x81,0xa6,0x62,0x10,0x68,0xe5,0x20,0x70,0x41,0x80,0x80,0x10,0xc4,0x34,0x48,0x04,0x2a,0x38,0x0d,0x99,0x16,0x02,0x1a,0xd5,0x10,0x6c,0x5e,0x2e,0x0b,0xa1,0x4b,0x0a,0x60,0xc1,0xa7,0x84,0xfc,0x58,0x01,0xb5,0x02,0x82,0xb4,0xc4,0x16,0x22,0xa5,0x06,0x96,0x19,0x20,0x20,0xd7,0x30,0x8c,0x0f,0x08,0x05,0x10,0x68,0xa1,0x44,0x1a,0x98,0x08,0x14,0x11,0x28,0x21,0x91,0x1d,0x8f,0x83,0xfe,0x07,0x1b,0x00,0x34,0x61,0x00,0xd3,0x1d,0x8c,0x7a,0x01,0x7e,0x80,0x56,0x30,0x06,0xb1,0x4a,0x08,0xd4,0xbf,0xc1,0x31,0xc0,0x7f,0xe8,0xf0,0x08,0x3c,0x40,0x1a,0x80,0x04,0x5a,0x8c,0x10,0x80,0x40,0xd7,0x05,0x08,0x36,0xc0,0xe2,0x0d,0xb8,0x30,0x34,0x45,0x82,0x0d,0x72,0x49,0x03,0x5a,0x41,0x55,0xf8,0x7f,0xff,0xe8,0x72,0x06,0xae,0x03,0xf4,0x0c,0x1d,0xf8,0x18,0x60,0x40,0xd2,0x4b,0x9f,0xd0,0x1a,0x35,0x71,0x48,0xc0,0x95,0x42,0x0d,0x4d,0x50,0x70,0x75,0x40,0xd1,0x80,0x83,0x5a,0xa1,0x55,0x00,0x0c,0x05,0xa4,0x20,0xd2,}; | ||||||
|  | const uint8_t *_I_iButtonDolphinSuccess_109x60[] = {_I_iButtonDolphinSuccess_109x60_0}; | ||||||
|  | 
 | ||||||
|  | const uint8_t _I_DolphinExcited_64x63_0[] = {0x01,0x00,0x36,0x01,0x00,0x25,0x00,0x0f,0xd2,0x00,0x3b,0xe0,0x00,0xeb,0x10,0x0c,0x34,0x40,0x30,0xd0,0x88,0x80,0x1d,0xa1,0x00,0x42,0xfc,0x7f,0xc0,0x63,0x04,0x01,0x0e,0x02,0x0f,0x00,0x00,0x8c,0x08,0x0e,0x37,0x00,0x10,0xc6,0x20,0x10,0x10,0xd9,0x11,0x92,0x1c,0x1a,0x3e,0x00,0x04,0x42,0x02,0x1a,0x20,0xb0,0xce,0x00,0x64,0x07,0x20,0x59,0x16,0x50,0x36,0x45,0x94,0x84,0x78,0x20,0x60,0x75,0x8e,0x43,0x06,0x63,0x3c,0x33,0x94,0x0c,0xd2,0x5c,0x30,0x38,0xe4,0x08,0x43,0x10,0xc0,0x5e,0x06,0x22,0x53,0x1a,0x02,0x08,0x7f,0xd0,0x32,0xc1,0x50,0x21,0x14,0x0e,0x70,0x1c,0x46,0xe2,0x07,0x19,0x06,0x3c,0xdc,0x20,0x91,0xae,0x01,0xcc,0xbe,0x30,0x09,0xfc,0x12,0x41,0xff,0x83,0xcc,0x0a,0xa3,0x1f,0x03,0x99,0xe8,0x7c,0x10,0xf8,0x25,0xa0,0x5e,0x50,0x0f,0x84,0x1e,0x09,0x54,0x03,0x9f,0xf2,0x07,0x02,0xd5,0x11,0xca,0x01,0xfe,0x80,0xc0,0xaa,0x9f,0xf0,0x39,0x5f,0xd0,0x43,0xaa,0x83,0x41,0x92,0xc3,0x1f,0x03,0x8d,0x52,0x02,0x2e,0x25,0xc9,0x6a,0x99,0x46,0xa6,0x2a,0xa0,0x1c,0xaf,0xca,0x62,0x94,0x28,0xcb,0x7e,0x0f,0x15,0x71,0xf8,0x3c,0x22,0x71,0x03,0x8a,0x84,0x67,0x18,0x0f,0xac,0x1c,0x0e,0x38,0x08,0x0c,0x3e,0x01,0xae,0xbd,0x13,0x0c,0x0e,0x35,0x8e,0xa8,0x1c,0xb0,0x1f,0xf8,0x06,0x83,0xf4,0x27,0x38,0x07,0xff,0xff,0x8f,0x03,0xa0,0x4c,0x80,0xed,0x60,0x03,0xb4,0x60,0x0e,0xd0,0x60,0x3a,0x87,0x84,0x0e,0xb7,0xc2,0xfa,0x18,0x05,0x44,0x20,0x73,0xff,0xf7,0xce,0xe4,0x07,0x2d,0x52,0x2c,0x80,0xe7,0x54,0xea,0x81,0xd7,0x50,0x0f,0x7a,0xaa,0x3d,0x41,0xe2,0x07,0x5a,0x80,0x3c,0xa0,0x40,0x72,0xd0,0x6a,0x80,0xa2,0x07,0x3a,0x05,0x54,0x8e,0x20,0x73,0xc0,0x03,0xd8,0x60,0x30,0x40,0x3a,0xc0,0x00,0xee,0xea,0x10,0x3b,0x80,}; | ||||||
|  | const uint8_t *_I_DolphinExcited_64x63[] = {_I_DolphinExcited_64x63_0}; | ||||||
| 
 | 
 | ||||||
| const uint8_t _I_DolphinNice_96x59_0[] = {0x01,0x00,0x8a,0x01,0x00,0x37,0xfa,0x3e,0x0a,0x8f,0x04,0x04,0x02,0x20,0xb7,0x8c,0x00,0x86,0x1c,0x0b,0x78,0x20,0x08,0x66,0x00,0xb7,0x81,0x00,0x86,0x80,0x0b,0x71,0x61,0x60,0x01,0x4c,0x07,0x41,0xe3,0x07,0xd0,0x4e,0x40,0xb8,0x1f,0x90,0x00,0xe4,0x00,0xba,0x88,0x01,0x0e,0x10,0x0a,0x48,0xf9,0x6c,0xbe,0x10,0x70,0x82,0x78,0x3c,0x15,0x82,0x18,0xc2,0x21,0x00,0xb4,0x02,0x0e,0xbc,0x86,0x30,0x48,0x80,0xd1,0x05,0x03,0x78,0x82,0xc0,0x3e,0x52,0x32,0x63,0x70,0x20,0x70,0x09,0xd4,0x98,0xb0,0xf0,0x60,0x58,0xc9,0xce,0x12,0x0b,0xbf,0xd4,0x9d,0x28,0x9e,0x24,0xa9,0x82,0xda,0x24,0x2d,0x10,0x00,0xfd,0x2a,0x60,0xb4,0x85,0x4e,0x00,0x85,0xf8,0xd4,0x82,0xd2,0x09,0xc0,0x12,0x14,0x12,0xad,0x81,0x29,0xa8,0x90,0xf5,0x01,0x75,0x80,0x46,0x00,0xa5,0x50,0x0b,0x90,0x1c,0x41,0x63,0x60,0x05,0x96,0xc0,0x2e,0x52,0x44,0x79,0x60,0x06,0x05,0x50,0x05,0x94,0x89,0x88,0x63,0x02,0x98,0x02,0xc7,0xc1,0x21,0x6a,0x98,0xa0,0x62,0x11,0x00,0x58,0xc6,0x02,0xe2,0xb8,0x21,0x80,0xc3,0x05,0x02,0x38,0x11,0x78,0xa5,0x0b,0x01,0x81,0x5a,0x88,0x2c,0x60,0x40,0xb1,0xc0,0x27,0x0a,0xfc,0x0f,0x28,0x04,0x06,0x50,0x05,0x18,0xa9,0x94,0xc1,0x67,0x48,0x02,0x8c,0xb8,0x16,0xf8,0x80,0x28,0xd6,0x16,0x86,0x0b,0x38,0x40,0xd4,0x76,0x0c,0xd4,0x05,0x94,0x10,0x9a,0x34,0x01,0x82,0x1f,0x06,0x05,0x02,0x98,0x01,0x47,0x54,0x18,0x35,0xc8,0xff,0x20,0x3c,0x00,0x58,0xd5,0x6a,0xa0,0xb3,0x81,0xa3,0x0a,0x0f,0x80,0xd5,0xea,0x81,0x67,0x07,0x46,0x14,0xe3,0xe1,0x55,0x18,0x18,0x2c,0x51,0x85,0xc0,0xef,0x85,0x8c,0x0c,0x30,0xf4,0x61,0x40,0x2d,0x46,0xb4,0x05,0x8b,0x04,0xb0,0x15,0x40,0x5a,0x50,0x23,0xe6,0x01,0x02,0x8c,0xa8,0x2e,0xb1,0xe5,0x40,0x81,0x46,0x6a,0x17,0x59,0xeb,0xe4,0xa8,0x11,0xa0,0x5a,0x68,0x27,0x4e,0xd3,0x59,0xad,0x82,0xfa,0xed,0x2a,0x04,0x28,0x2e,0xb7,0xa7,0x69,0xc3,0x42,0xeb,0xf5,0x1f,0x09,0x4c,0x42,0xed,0xea,0x01,0x8c,0x06,0x41,0x05,0x0b,0xbc,0x02,0x0d,0x80,0x83,0x05,0xe2,0x11,0x40,0x0b,0xb7,0x14,0x06,0x33,0x0c,0x83,0x89,0x02,0xe3,0xca,0x3d,0x95,0x01,0xe2,0x21,0x74,0xc2,0x81,0x0b,0x0e,0x17,0x6c,0x10,0x10,0xaf,0x09,0xe2,0x0b,0xbb,0xd0,0x42,0xeb,0x02,}; | const uint8_t _I_DolphinNice_96x59_0[] = {0x01,0x00,0x8a,0x01,0x00,0x37,0xfa,0x3e,0x0a,0x8f,0x04,0x04,0x02,0x20,0xb7,0x8c,0x00,0x86,0x1c,0x0b,0x78,0x20,0x08,0x66,0x00,0xb7,0x81,0x00,0x86,0x80,0x0b,0x71,0x61,0x60,0x01,0x4c,0x07,0x41,0xe3,0x07,0xd0,0x4e,0x40,0xb8,0x1f,0x90,0x00,0xe4,0x00,0xba,0x88,0x01,0x0e,0x10,0x0a,0x48,0xf9,0x6c,0xbe,0x10,0x70,0x82,0x78,0x3c,0x15,0x82,0x18,0xc2,0x21,0x00,0xb4,0x02,0x0e,0xbc,0x86,0x30,0x48,0x80,0xd1,0x05,0x03,0x78,0x82,0xc0,0x3e,0x52,0x32,0x63,0x70,0x20,0x70,0x09,0xd4,0x98,0xb0,0xf0,0x60,0x58,0xc9,0xce,0x12,0x0b,0xbf,0xd4,0x9d,0x28,0x9e,0x24,0xa9,0x82,0xda,0x24,0x2d,0x10,0x00,0xfd,0x2a,0x60,0xb4,0x85,0x4e,0x00,0x85,0xf8,0xd4,0x82,0xd2,0x09,0xc0,0x12,0x14,0x12,0xad,0x81,0x29,0xa8,0x90,0xf5,0x01,0x75,0x80,0x46,0x00,0xa5,0x50,0x0b,0x90,0x1c,0x41,0x63,0x60,0x05,0x96,0xc0,0x2e,0x52,0x44,0x79,0x60,0x06,0x05,0x50,0x05,0x94,0x89,0x88,0x63,0x02,0x98,0x02,0xc7,0xc1,0x21,0x6a,0x98,0xa0,0x62,0x11,0x00,0x58,0xc6,0x02,0xe2,0xb8,0x21,0x80,0xc3,0x05,0x02,0x38,0x11,0x78,0xa5,0x0b,0x01,0x81,0x5a,0x88,0x2c,0x60,0x40,0xb1,0xc0,0x27,0x0a,0xfc,0x0f,0x28,0x04,0x06,0x50,0x05,0x18,0xa9,0x94,0xc1,0x67,0x48,0x02,0x8c,0xb8,0x16,0xf8,0x80,0x28,0xd6,0x16,0x86,0x0b,0x38,0x40,0xd4,0x76,0x0c,0xd4,0x05,0x94,0x10,0x9a,0x34,0x01,0x82,0x1f,0x06,0x05,0x02,0x98,0x01,0x47,0x54,0x18,0x35,0xc8,0xff,0x20,0x3c,0x00,0x58,0xd5,0x6a,0xa0,0xb3,0x81,0xa3,0x0a,0x0f,0x80,0xd5,0xea,0x81,0x67,0x07,0x46,0x14,0xe3,0xe1,0x55,0x18,0x18,0x2c,0x51,0x85,0xc0,0xef,0x85,0x8c,0x0c,0x30,0xf4,0x61,0x40,0x2d,0x46,0xb4,0x05,0x8b,0x04,0xb0,0x15,0x40,0x5a,0x50,0x23,0xe6,0x01,0x02,0x8c,0xa8,0x2e,0xb1,0xe5,0x40,0x81,0x46,0x6a,0x17,0x59,0xeb,0xe4,0xa8,0x11,0xa0,0x5a,0x68,0x27,0x4e,0xd3,0x59,0xad,0x82,0xfa,0xed,0x2a,0x04,0x28,0x2e,0xb7,0xa7,0x69,0xc3,0x42,0xeb,0xf5,0x1f,0x09,0x4c,0x42,0xed,0xea,0x01,0x8c,0x06,0x41,0x05,0x0b,0xbc,0x02,0x0d,0x80,0x83,0x05,0xe2,0x11,0x40,0x0b,0xb7,0x14,0x06,0x33,0x0c,0x83,0x89,0x02,0xe3,0xca,0x3d,0x95,0x01,0xe2,0x21,0x74,0xc2,0x81,0x0b,0x0e,0x17,0x6c,0x10,0x10,0xaf,0x09,0xe2,0x0b,0xbb,0xd0,0x42,0xeb,0x02,}; | ||||||
| const uint8_t *_I_DolphinNice_96x59[] = {_I_DolphinNice_96x59_0}; | const uint8_t *_I_DolphinNice_96x59[] = {_I_DolphinNice_96x59_0}; | ||||||
| 
 | 
 | ||||||
|  | const uint8_t _I_iButtonKey_49x44_0[] = {0x01,0x00,0xb4,0x00,0x00,0x24,0xfc,0x0a,0x9c,0x0e,0x00,0x19,0x26,0x18,0x00,0x32,0x43,0x20,0x10,0x10,0x31,0xc0,0x80,0xc9,0x80,0x02,0x08,0x18,0xec,0x00,0x21,0x03,0x1c,0x40,0x1e,0x22,0x15,0xa0,0x08,0x56,0x40,0x06,0x30,0xc0,0x85,0x84,0x86,0x40,0x21,0x84,0x10,0xcc,0x04,0x30,0x40,0x31,0x02,0x88,0x3a,0x20,0x01,0x83,0x0d,0x94,0x06,0x26,0x03,0xf8,0x43,0xc5,0xe9,0x0c,0x11,0x08,0xbc,0xe0,0x64,0x21,0x23,0x09,0x38,0x80,0x22,0x28,0x20,0x58,0x99,0xc4,0x50,0x41,0xe1,0xc0,0x60,0xcc,0xab,0x47,0x21,0xa6,0x02,0x9e,0x06,0x22,0x70,0xf0,0x00,0xcb,0x40,0x03,0x18,0xb0,0x78,0x14,0xe0,0x32,0x58,0x28,0xa5,0x84,0xd0,0x51,0x80,0xc9,0x30,0x06,0xae,0x62,0x84,0x06,0x48,0x64,0x88,0x0c,0x90,0x29,0x08,0x19,0x30,0x31,0x13,0x71,0xb8,0xc4,0xea,0x70,0x6b,0xc5,0x01,0x4a,0x7f,0xc8,0x7c,0x81,0x4a,0x77,0x8a,0xac,0x45,0x4a,0x7f,0x08,0x54,0x39,0x4a,0x7e,0x0e,0xa9,0xf0,0xcb,0xe3,0x7f,0x6e,0x22,0x5c,0x59,0x44,0x00,0x28,0x7a,0xd4,0x40,0x07,0xf0,0x02,0xa0,}; | ||||||
|  | const uint8_t *_I_iButtonKey_49x44[] = {_I_iButtonKey_49x44_0}; | ||||||
|  | 
 | ||||||
| const uint8_t _I_DolphinWait_61x59_0[] = {0x01,0x00,0x56,0x01,0x00,0x17,0xfa,0x1e,0x06,0x4f,0x84,0x06,0xe0,0x07,0x48,0x64,0x03,0x01,0x01,0x03,0x9c,0x0c,0x04,0x30,0x60,0x31,0x70,0x00,0x65,0x08,0x01,0x94,0xc0,0x06,0x51,0x00,0x5b,0x48,0x00,0x65,0x04,0x01,0x95,0x00,0x82,0xd8,0x00,0x19,0x40,0x7e,0x00,0x75,0x1f,0x88,0xe0,0x88,0x02,0x1a,0x1f,0x94,0x14,0x0e,0xbf,0x98,0x58,0x5c,0x42,0x45,0x00,0x9e,0x99,0x87,0x01,0x02,0x11,0x94,0xf2,0x2e,0x03,0x18,0x39,0x28,0x70,0x1f,0xc0,0x3e,0x42,0x00,0xe5,0x80,0xff,0xdf,0xc0,0xe5,0xf8,0x85,0xd8,0x10,0x27,0x40,0xf9,0xc2,0x63,0x88,0x12,0x82,0x6a,0x20,0x50,0x41,0xe9,0x42,0x20,0x95,0x48,0x6e,0x0c,0xfa,0x9a,0xaf,0xf9,0x90,0xe2,0x10,0x2e,0xac,0xe0,0x0e,0x98,0x29,0x52,0x11,0x13,0x23,0x15,0x3e,0x20,0x3c,0x61,0x40,0x52,0xfc,0x4f,0xe2,0x10,0x38,0x68,0x1c,0xa0,0xfc,0x08,0xbe,0x04,0x1e,0x5e,0x01,0xb9,0x03,0xc5,0x60,0x24,0xf2,0x84,0x60,0x63,0x40,0x71,0x27,0x9c,0x0e,0x2b,0x04,0x6c,0xa4,0x06,0x15,0x08,0x6c,0x99,0x8c,0xa6,0x0f,0x81,0x00,0x0c,0x08,0xf0,0x3c,0x05,0x61,0xc0,0x40,0x86,0xd0,0x30,0x78,0x80,0x0c,0xc6,0x2b,0x92,0x00,0x0d,0x51,0xf0,0x2d,0x42,0x0a,0x8e,0xaa,0x34,0x0f,0x4a,0x85,0x55,0x6e,0x20,0xf3,0xd5,0x6a,0x84,0xa2,0x66,0x2a,0x05,0xf7,0xaa,0x07,0x18,0xaf,0xfb,0x7f,0xea,0xc1,0xef,0xc0,0xe3,0xea,0x80,0xf8,0x27,0xf0,0x0a,0xc0,0x1c,0x67,0xa2,0xd1,0xb1,0xc0,0x34,0x00,0x71,0x14,0x8f,0x00,0x98,0x34,0x02,0x69,0xd0,0x37,0x90,0x16,0xf1,0x00,0x06,0xe1,0x84,0x31,0x89,0x14,0xe9,0xdc,0x40,0x38,0xa4,0xc4,0x4c,0x3c,0x1f,0x88,0x8c,0x5b,0xc3,0x01,0xbc,0x40,0x3f,0xf0,0xf6,0x71,0x0c,0x0b,0xe0,0x07,0x3c,0x0a,0xf8,0xa3,0xf0,0x03,0xb8,0xd8,0x80,0xe8,0x87,0x1b,0xa8,0x1c,0x78,0x1f,0xf8,0x0e,0x7e,0x01,0x6a,0x03,0x94,0x0f,0xfd,0xa0,0x80,0x7d,0x49,0x04,0x4d,0x12,0xc0,0xfa,0x83,0x83,0xbe,0x26,0x8d,0x02,0x05,0xd5,0xff,0xff,0xeb,0xe9,0x31,0x90,0x40,0x80,}; | const uint8_t _I_DolphinWait_61x59_0[] = {0x01,0x00,0x56,0x01,0x00,0x17,0xfa,0x1e,0x06,0x4f,0x84,0x06,0xe0,0x07,0x48,0x64,0x03,0x01,0x01,0x03,0x9c,0x0c,0x04,0x30,0x60,0x31,0x70,0x00,0x65,0x08,0x01,0x94,0xc0,0x06,0x51,0x00,0x5b,0x48,0x00,0x65,0x04,0x01,0x95,0x00,0x82,0xd8,0x00,0x19,0x40,0x7e,0x00,0x75,0x1f,0x88,0xe0,0x88,0x02,0x1a,0x1f,0x94,0x14,0x0e,0xbf,0x98,0x58,0x5c,0x42,0x45,0x00,0x9e,0x99,0x87,0x01,0x02,0x11,0x94,0xf2,0x2e,0x03,0x18,0x39,0x28,0x70,0x1f,0xc0,0x3e,0x42,0x00,0xe5,0x80,0xff,0xdf,0xc0,0xe5,0xf8,0x85,0xd8,0x10,0x27,0x40,0xf9,0xc2,0x63,0x88,0x12,0x82,0x6a,0x20,0x50,0x41,0xe9,0x42,0x20,0x95,0x48,0x6e,0x0c,0xfa,0x9a,0xaf,0xf9,0x90,0xe2,0x10,0x2e,0xac,0xe0,0x0e,0x98,0x29,0x52,0x11,0x13,0x23,0x15,0x3e,0x20,0x3c,0x61,0x40,0x52,0xfc,0x4f,0xe2,0x10,0x38,0x68,0x1c,0xa0,0xfc,0x08,0xbe,0x04,0x1e,0x5e,0x01,0xb9,0x03,0xc5,0x60,0x24,0xf2,0x84,0x60,0x63,0x40,0x71,0x27,0x9c,0x0e,0x2b,0x04,0x6c,0xa4,0x06,0x15,0x08,0x6c,0x99,0x8c,0xa6,0x0f,0x81,0x00,0x0c,0x08,0xf0,0x3c,0x05,0x61,0xc0,0x40,0x86,0xd0,0x30,0x78,0x80,0x0c,0xc6,0x2b,0x92,0x00,0x0d,0x51,0xf0,0x2d,0x42,0x0a,0x8e,0xaa,0x34,0x0f,0x4a,0x85,0x55,0x6e,0x20,0xf3,0xd5,0x6a,0x84,0xa2,0x66,0x2a,0x05,0xf7,0xaa,0x07,0x18,0xaf,0xfb,0x7f,0xea,0xc1,0xef,0xc0,0xe3,0xea,0x80,0xf8,0x27,0xf0,0x0a,0xc0,0x1c,0x67,0xa2,0xd1,0xb1,0xc0,0x34,0x00,0x71,0x14,0x8f,0x00,0x98,0x34,0x02,0x69,0xd0,0x37,0x90,0x16,0xf1,0x00,0x06,0xe1,0x84,0x31,0x89,0x14,0xe9,0xdc,0x40,0x38,0xa4,0xc4,0x4c,0x3c,0x1f,0x88,0x8c,0x5b,0xc3,0x01,0xbc,0x40,0x3f,0xf0,0xf6,0x71,0x0c,0x0b,0xe0,0x07,0x3c,0x0a,0xf8,0xa3,0xf0,0x03,0xb8,0xd8,0x80,0xe8,0x87,0x1b,0xa8,0x1c,0x78,0x1f,0xf8,0x0e,0x7e,0x01,0x6a,0x03,0x94,0x0f,0xfd,0xa0,0x80,0x7d,0x49,0x04,0x4d,0x12,0xc0,0xfa,0x83,0x83,0xbe,0x26,0x8d,0x02,0x05,0xd5,0xff,0xff,0xeb,0xe9,0x31,0x90,0x40,0x80,}; | ||||||
| const uint8_t *_I_DolphinWait_61x59[] = {_I_DolphinWait_61x59_0}; | const uint8_t *_I_DolphinWait_61x59[] = {_I_DolphinWait_61x59_0}; | ||||||
| 
 | 
 | ||||||
| @ -838,20 +865,20 @@ const Icon A_Level3HijackActive_128x51 = {.width=128,.height=51,.frame_count=2,. | |||||||
| const Icon A_Level3Hijack_128x51 = {.width=128,.height=51,.frame_count=3,.frame_rate=2,.frames=_A_Level3Hijack_128x51}; | const Icon A_Level3Hijack_128x51 = {.width=128,.height=51,.frame_count=3,.frame_rate=2,.frames=_A_Level3Hijack_128x51}; | ||||||
| const Icon A_Level3LabActive_128x51 = {.width=128,.height=51,.frame_count=2,.frame_rate=2,.frames=_A_Level3LabActive_128x51}; | const Icon A_Level3LabActive_128x51 = {.width=128,.height=51,.frame_count=2,.frame_rate=2,.frames=_A_Level3LabActive_128x51}; | ||||||
| const Icon A_Level3Lab_128x51 = {.width=128,.height=51,.frame_count=3,.frame_rate=2,.frames=_A_Level3Lab_128x51}; | const Icon A_Level3Lab_128x51 = {.width=128,.height=51,.frame_count=3,.frame_rate=2,.frames=_A_Level3Lab_128x51}; | ||||||
| const Icon I_LevelUp2_07 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp2_07}; |  | ||||||
| const Icon I_LevelUp2_06 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp2_06}; |  | ||||||
| const Icon I_LevelUp2_04 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp2_04}; | const Icon I_LevelUp2_04 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp2_04}; | ||||||
| const Icon I_LevelUp2_05 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp2_05}; | const Icon I_LevelUp2_05 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp2_05}; | ||||||
| const Icon I_LevelUp2_01 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp2_01}; | const Icon I_LevelUp2_01 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp2_01}; | ||||||
| const Icon I_LevelUp2_02 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp2_02}; |  | ||||||
| const Icon I_LevelUp2_03 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp2_03}; | const Icon I_LevelUp2_03 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp2_03}; | ||||||
| const Icon I_LevelUp3_05 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp3_05}; | const Icon I_LevelUp2_02 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp2_02}; | ||||||
| const Icon I_LevelUp3_04 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp3_04}; | const Icon I_LevelUp2_06 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp2_06}; | ||||||
| const Icon I_LevelUp3_06 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp3_06}; | const Icon I_LevelUp2_07 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp2_07}; | ||||||
| const Icon I_LevelUp3_07 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp3_07}; |  | ||||||
| const Icon I_LevelUp3_03 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp3_03}; | const Icon I_LevelUp3_03 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp3_03}; | ||||||
| const Icon I_LevelUp3_02 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp3_02}; | const Icon I_LevelUp3_07 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp3_07}; | ||||||
| const Icon I_LevelUp3_01 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp3_01}; | const Icon I_LevelUp3_01 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp3_01}; | ||||||
|  | const Icon I_LevelUp3_06 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp3_06}; | ||||||
|  | const Icon I_LevelUp3_04 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp3_04}; | ||||||
|  | const Icon I_LevelUp3_02 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp3_02}; | ||||||
|  | const Icon I_LevelUp3_05 = {.width=128,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_LevelUp3_05}; | ||||||
| const Icon A_LevelUpPending_128x51 = {.width=128,.height=51,.frame_count=2,.frame_rate=2,.frames=_A_LevelUpPending_128x51}; | const Icon A_LevelUpPending_128x51 = {.width=128,.height=51,.frame_count=2,.frame_rate=2,.frames=_A_LevelUpPending_128x51}; | ||||||
| const Icon A_NoSdCard_128x51 = {.width=128,.height=51,.frame_count=2,.frame_rate=2,.frames=_A_NoSdCard_128x51}; | const Icon A_NoSdCard_128x51 = {.width=128,.height=51,.frame_count=2,.frame_rate=2,.frames=_A_NoSdCard_128x51}; | ||||||
| const Icon A_SleepActive_128x52 = {.width=128,.height=52,.frame_count=5,.frame_rate=2,.frames=_A_SleepActive_128x52}; | const Icon A_SleepActive_128x52 = {.width=128,.height=52,.frame_count=5,.frame_rate=2,.frames=_A_SleepActive_128x52}; | ||||||
| @ -860,77 +887,86 @@ const Icon A_TvActive_128x52 = {.width=128,.height=52,.frame_count=6,.frame_rate | |||||||
| const Icon A_Tv_128x52 = {.width=128,.height=52,.frame_count=6,.frame_rate=2,.frames=_A_Tv_128x52}; | const Icon A_Tv_128x52 = {.width=128,.height=52,.frame_count=6,.frame_rate=2,.frames=_A_Tv_128x52}; | ||||||
| const Icon A_WavesActive_128x52 = {.width=128,.height=52,.frame_count=7,.frame_rate=2,.frames=_A_WavesActive_128x52}; | const Icon A_WavesActive_128x52 = {.width=128,.height=52,.frame_count=7,.frame_rate=2,.frames=_A_WavesActive_128x52}; | ||||||
| const Icon A_Waves_128x52 = {.width=128,.height=52,.frame_count=2,.frame_rate=2,.frames=_A_Waves_128x52}; | const Icon A_Waves_128x52 = {.width=128,.height=52,.frame_count=2,.frame_rate=2,.frames=_A_Waves_128x52}; | ||||||
| const Icon I_dir_10px = {.width=10,.height=10,.frame_count=1,.frame_rate=0,.frames=_I_dir_10px}; |  | ||||||
| const Icon I_Nfc_10px = {.width=10,.height=10,.frame_count=1,.frame_rate=0,.frames=_I_Nfc_10px}; | const Icon I_Nfc_10px = {.width=10,.height=10,.frame_count=1,.frame_rate=0,.frames=_I_Nfc_10px}; | ||||||
| const Icon I_sub1_10px = {.width=10,.height=10,.frame_count=1,.frame_rate=0,.frames=_I_sub1_10px}; |  | ||||||
| const Icon I_ir_10px = {.width=10,.height=10,.frame_count=1,.frame_rate=0,.frames=_I_ir_10px}; | const Icon I_ir_10px = {.width=10,.height=10,.frame_count=1,.frame_rate=0,.frames=_I_ir_10px}; | ||||||
| const Icon I_ibutt_10px = {.width=10,.height=10,.frame_count=1,.frame_rate=0,.frames=_I_ibutt_10px}; |  | ||||||
| const Icon I_unknown_10px = {.width=10,.height=10,.frame_count=1,.frame_rate=0,.frames=_I_unknown_10px}; |  | ||||||
| const Icon I_ble_10px = {.width=10,.height=10,.frame_count=1,.frame_rate=0,.frames=_I_ble_10px}; | const Icon I_ble_10px = {.width=10,.height=10,.frame_count=1,.frame_rate=0,.frames=_I_ble_10px}; | ||||||
|  | const Icon I_sub1_10px = {.width=10,.height=10,.frame_count=1,.frame_rate=0,.frames=_I_sub1_10px}; | ||||||
|  | const Icon I_dir_10px = {.width=10,.height=10,.frame_count=1,.frame_rate=0,.frames=_I_dir_10px}; | ||||||
|  | const Icon I_unknown_10px = {.width=10,.height=10,.frame_count=1,.frame_rate=0,.frames=_I_unknown_10px}; | ||||||
|  | const Icon I_ibutt_10px = {.width=10,.height=10,.frame_count=1,.frame_rate=0,.frames=_I_ibutt_10px}; | ||||||
| const Icon I_125_10px = {.width=10,.height=10,.frame_count=1,.frame_rate=0,.frames=_I_125_10px}; | const Icon I_125_10px = {.width=10,.height=10,.frame_count=1,.frame_rate=0,.frames=_I_125_10px}; | ||||||
| const Icon I_BLE_Pairing_128x64 = {.width=128,.height=64,.frame_count=1,.frame_rate=0,.frames=_I_BLE_Pairing_128x64}; | const Icon I_BLE_Pairing_128x64 = {.width=128,.height=64,.frame_count=1,.frame_rate=0,.frames=_I_BLE_Pairing_128x64}; | ||||||
| const Icon I_UsbTree_48x22 = {.width=48,.height=22,.frame_count=1,.frame_rate=0,.frames=_I_UsbTree_48x22}; | const Icon I_Voldwn_6x6 = {.width=6,.height=6,.frame_count=1,.frame_rate=0,.frames=_I_Voldwn_6x6}; | ||||||
| const Icon I_EviWaiting2_18x21 = {.width=18,.height=21,.frame_count=1,.frame_rate=0,.frames=_I_EviWaiting2_18x21}; | const Icon I_Volup_8x6 = {.width=8,.height=6,.frame_count=1,.frame_rate=0,.frames=_I_Volup_8x6}; | ||||||
|  | const Icon I_Button_18x18 = {.width=18,.height=18,.frame_count=1,.frame_rate=0,.frames=_I_Button_18x18}; | ||||||
|  | const Icon I_Pressed_Button_13x13 = {.width=13,.height=13,.frame_count=1,.frame_rate=0,.frames=_I_Pressed_Button_13x13}; | ||||||
|  | const Icon I_Ble_disconnected_24x34 = {.width=24,.height=34,.frame_count=1,.frame_rate=0,.frames=_I_Ble_disconnected_24x34}; | ||||||
|  | const Icon I_Space_65x18 = {.width=65,.height=18,.frame_count=1,.frame_rate=0,.frames=_I_Space_65x18}; | ||||||
|  | const Icon I_Circles_47x47 = {.width=47,.height=47,.frame_count=1,.frame_rate=0,.frames=_I_Circles_47x47}; | ||||||
|  | const Icon I_Ok_btn_9x9 = {.width=9,.height=9,.frame_count=1,.frame_rate=0,.frames=_I_Ok_btn_9x9}; | ||||||
|  | const Icon I_Ble_connected_38x34 = {.width=38,.height=34,.frame_count=1,.frame_rate=0,.frames=_I_Ble_connected_38x34}; | ||||||
| const Icon I_Clock_18x18 = {.width=18,.height=18,.frame_count=1,.frame_rate=0,.frames=_I_Clock_18x18}; | const Icon I_Clock_18x18 = {.width=18,.height=18,.frame_count=1,.frame_rate=0,.frames=_I_Clock_18x18}; | ||||||
| const Icon I_Smile_18x18 = {.width=18,.height=18,.frame_count=1,.frame_rate=0,.frames=_I_Smile_18x18}; |  | ||||||
| const Icon I_EviSmile1_18x21 = {.width=18,.height=21,.frame_count=1,.frame_rate=0,.frames=_I_EviSmile1_18x21}; |  | ||||||
| const Icon I_Percent_10x14 = {.width=10,.height=14,.frame_count=1,.frame_rate=0,.frames=_I_Percent_10x14}; |  | ||||||
| const Icon I_Error_18x18 = {.width=18,.height=18,.frame_count=1,.frame_rate=0,.frames=_I_Error_18x18}; | const Icon I_Error_18x18 = {.width=18,.height=18,.frame_count=1,.frame_rate=0,.frames=_I_Error_18x18}; | ||||||
| const Icon I_EviWaiting1_18x21 = {.width=18,.height=21,.frame_count=1,.frame_rate=0,.frames=_I_EviWaiting1_18x21}; |  | ||||||
| const Icon I_EviSmile2_18x21 = {.width=18,.height=21,.frame_count=1,.frame_rate=0,.frames=_I_EviSmile2_18x21}; | const Icon I_EviSmile2_18x21 = {.width=18,.height=21,.frame_count=1,.frame_rate=0,.frames=_I_EviSmile2_18x21}; | ||||||
| const Icon I_ButtonRightSmall_3x5 = {.width=3,.height=5,.frame_count=1,.frame_rate=0,.frames=_I_ButtonRightSmall_3x5}; | const Icon I_EviWaiting1_18x21 = {.width=18,.height=21,.frame_count=1,.frame_rate=0,.frames=_I_EviWaiting1_18x21}; | ||||||
|  | const Icon I_EviSmile1_18x21 = {.width=18,.height=21,.frame_count=1,.frame_rate=0,.frames=_I_EviSmile1_18x21}; | ||||||
|  | const Icon I_EviWaiting2_18x21 = {.width=18,.height=21,.frame_count=1,.frame_rate=0,.frames=_I_EviWaiting2_18x21}; | ||||||
|  | const Icon I_UsbTree_48x22 = {.width=48,.height=22,.frame_count=1,.frame_rate=0,.frames=_I_UsbTree_48x22}; | ||||||
|  | const Icon I_Smile_18x18 = {.width=18,.height=18,.frame_count=1,.frame_rate=0,.frames=_I_Smile_18x18}; | ||||||
|  | const Icon I_Percent_10x14 = {.width=10,.height=14,.frame_count=1,.frame_rate=0,.frames=_I_Percent_10x14}; | ||||||
| const Icon I_ButtonLeft_4x7 = {.width=4,.height=7,.frame_count=1,.frame_rate=0,.frames=_I_ButtonLeft_4x7}; | const Icon I_ButtonLeft_4x7 = {.width=4,.height=7,.frame_count=1,.frame_rate=0,.frames=_I_ButtonLeft_4x7}; | ||||||
| const Icon I_ButtonLeftSmall_3x5 = {.width=3,.height=5,.frame_count=1,.frame_rate=0,.frames=_I_ButtonLeftSmall_3x5}; |  | ||||||
| const Icon I_DFU_128x50 = {.width=128,.height=50,.frame_count=1,.frame_rate=0,.frames=_I_DFU_128x50}; |  | ||||||
| const Icon I_Warning_30x23 = {.width=30,.height=23,.frame_count=1,.frame_rate=0,.frames=_I_Warning_30x23}; |  | ||||||
| const Icon I_ButtonDown_7x4 = {.width=7,.height=4,.frame_count=1,.frame_rate=0,.frames=_I_ButtonDown_7x4}; |  | ||||||
| const Icon I_ButtonRight_4x7 = {.width=4,.height=7,.frame_count=1,.frame_rate=0,.frames=_I_ButtonRight_4x7}; | const Icon I_ButtonRight_4x7 = {.width=4,.height=7,.frame_count=1,.frame_rate=0,.frames=_I_ButtonRight_4x7}; | ||||||
| const Icon I_ButtonCenter_7x7 = {.width=7,.height=7,.frame_count=1,.frame_rate=0,.frames=_I_ButtonCenter_7x7}; | const Icon I_ButtonDown_7x4 = {.width=7,.height=4,.frame_count=1,.frame_rate=0,.frames=_I_ButtonDown_7x4}; | ||||||
| const Icon I_ButtonUp_7x4 = {.width=7,.height=4,.frame_count=1,.frame_rate=0,.frames=_I_ButtonUp_7x4}; | const Icon I_ButtonUp_7x4 = {.width=7,.height=4,.frame_count=1,.frame_rate=0,.frames=_I_ButtonUp_7x4}; | ||||||
|  | const Icon I_Warning_30x23 = {.width=30,.height=23,.frame_count=1,.frame_rate=0,.frames=_I_Warning_30x23}; | ||||||
|  | const Icon I_DFU_128x50 = {.width=128,.height=50,.frame_count=1,.frame_rate=0,.frames=_I_DFU_128x50}; | ||||||
|  | const Icon I_ButtonRightSmall_3x5 = {.width=3,.height=5,.frame_count=1,.frame_rate=0,.frames=_I_ButtonRightSmall_3x5}; | ||||||
|  | const Icon I_ButtonCenter_7x7 = {.width=7,.height=7,.frame_count=1,.frame_rate=0,.frames=_I_ButtonCenter_7x7}; | ||||||
|  | const Icon I_ButtonLeftSmall_3x5 = {.width=3,.height=5,.frame_count=1,.frame_rate=0,.frames=_I_ButtonLeftSmall_3x5}; | ||||||
| const Icon I_DolphinOkay_41x43 = {.width=41,.height=43,.frame_count=1,.frame_rate=0,.frames=_I_DolphinOkay_41x43}; | const Icon I_DolphinOkay_41x43 = {.width=41,.height=43,.frame_count=1,.frame_rate=0,.frames=_I_DolphinOkay_41x43}; | ||||||
| const Icon I_DolphinFirstStart4_67x53 = {.width=67,.height=53,.frame_count=1,.frame_rate=0,.frames=_I_DolphinFirstStart4_67x53}; |  | ||||||
| const Icon I_DolphinFirstStart2_59x51 = {.width=59,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_DolphinFirstStart2_59x51}; |  | ||||||
| const Icon I_DolphinFirstStart5_54x49 = {.width=54,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_DolphinFirstStart5_54x49}; |  | ||||||
| const Icon I_DolphinFirstStart0_70x53 = {.width=70,.height=53,.frame_count=1,.frame_rate=0,.frames=_I_DolphinFirstStart0_70x53}; |  | ||||||
| const Icon I_DolphinFirstStart6_58x54 = {.width=58,.height=54,.frame_count=1,.frame_rate=0,.frames=_I_DolphinFirstStart6_58x54}; |  | ||||||
| const Icon I_DolphinFirstStart1_59x53 = {.width=59,.height=53,.frame_count=1,.frame_rate=0,.frames=_I_DolphinFirstStart1_59x53}; |  | ||||||
| const Icon I_DolphinFirstStart8_56x51 = {.width=56,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_DolphinFirstStart8_56x51}; |  | ||||||
| const Icon I_DolphinFirstStart7_61x51 = {.width=61,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_DolphinFirstStart7_61x51}; | const Icon I_DolphinFirstStart7_61x51 = {.width=61,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_DolphinFirstStart7_61x51}; | ||||||
| const Icon I_Flipper_young_80x60 = {.width=80,.height=60,.frame_count=1,.frame_rate=0,.frames=_I_Flipper_young_80x60}; | const Icon I_DolphinFirstStart4_67x53 = {.width=67,.height=53,.frame_count=1,.frame_rate=0,.frames=_I_DolphinFirstStart4_67x53}; | ||||||
| const Icon I_DolphinFirstStart3_57x48 = {.width=57,.height=48,.frame_count=1,.frame_rate=0,.frames=_I_DolphinFirstStart3_57x48}; | const Icon I_DolphinFirstStart3_57x48 = {.width=57,.height=48,.frame_count=1,.frame_rate=0,.frames=_I_DolphinFirstStart3_57x48}; | ||||||
| const Icon I_ArrowUpFilled_14x15 = {.width=14,.height=15,.frame_count=1,.frame_rate=0,.frames=_I_ArrowUpFilled_14x15}; | const Icon I_Flipper_young_80x60 = {.width=80,.height=60,.frame_count=1,.frame_rate=0,.frames=_I_Flipper_young_80x60}; | ||||||
|  | const Icon I_DolphinFirstStart0_70x53 = {.width=70,.height=53,.frame_count=1,.frame_rate=0,.frames=_I_DolphinFirstStart0_70x53}; | ||||||
|  | const Icon I_DolphinFirstStart2_59x51 = {.width=59,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_DolphinFirstStart2_59x51}; | ||||||
|  | const Icon I_DolphinFirstStart6_58x54 = {.width=58,.height=54,.frame_count=1,.frame_rate=0,.frames=_I_DolphinFirstStart6_58x54}; | ||||||
|  | const Icon I_DolphinFirstStart5_54x49 = {.width=54,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_DolphinFirstStart5_54x49}; | ||||||
|  | const Icon I_DolphinFirstStart8_56x51 = {.width=56,.height=51,.frame_count=1,.frame_rate=0,.frames=_I_DolphinFirstStart8_56x51}; | ||||||
|  | const Icon I_DolphinFirstStart1_59x53 = {.width=59,.height=53,.frame_count=1,.frame_rate=0,.frames=_I_DolphinFirstStart1_59x53}; | ||||||
| const Icon I_ArrowUpEmpty_14x15 = {.width=14,.height=15,.frame_count=1,.frame_rate=0,.frames=_I_ArrowUpEmpty_14x15}; | const Icon I_ArrowUpEmpty_14x15 = {.width=14,.height=15,.frame_count=1,.frame_rate=0,.frames=_I_ArrowUpEmpty_14x15}; | ||||||
| const Icon I_ArrowDownEmpty_14x15 = {.width=14,.height=15,.frame_count=1,.frame_rate=0,.frames=_I_ArrowDownEmpty_14x15}; | const Icon I_ArrowDownEmpty_14x15 = {.width=14,.height=15,.frame_count=1,.frame_rate=0,.frames=_I_ArrowDownEmpty_14x15}; | ||||||
| const Icon I_ArrowDownFilled_14x15 = {.width=14,.height=15,.frame_count=1,.frame_rate=0,.frames=_I_ArrowDownFilled_14x15}; | const Icon I_ArrowDownFilled_14x15 = {.width=14,.height=15,.frame_count=1,.frame_rate=0,.frames=_I_ArrowDownFilled_14x15}; | ||||||
| const Icon I_PassportBottom_128x17 = {.width=128,.height=17,.frame_count=1,.frame_rate=0,.frames=_I_PassportBottom_128x17}; | const Icon I_ArrowUpFilled_14x15 = {.width=14,.height=15,.frame_count=1,.frame_rate=0,.frames=_I_ArrowUpFilled_14x15}; | ||||||
|  | const Icon I_DoorRight_70x55 = {.width=70,.height=55,.frame_count=1,.frame_rate=0,.frames=_I_DoorRight_70x55}; | ||||||
| const Icon I_DoorLocked_10x56 = {.width=10,.height=56,.frame_count=1,.frame_rate=0,.frames=_I_DoorLocked_10x56}; | const Icon I_DoorLocked_10x56 = {.width=10,.height=56,.frame_count=1,.frame_rate=0,.frames=_I_DoorLocked_10x56}; | ||||||
| const Icon I_DoorLeft_70x55 = {.width=70,.height=55,.frame_count=1,.frame_rate=0,.frames=_I_DoorLeft_70x55}; | const Icon I_DoorLeft_70x55 = {.width=70,.height=55,.frame_count=1,.frame_rate=0,.frames=_I_DoorLeft_70x55}; | ||||||
| const Icon I_PassportLeft_6x47 = {.width=6,.height=47,.frame_count=1,.frame_rate=0,.frames=_I_PassportLeft_6x47}; | const Icon I_PassportLeft_6x47 = {.width=6,.height=47,.frame_count=1,.frame_rate=0,.frames=_I_PassportLeft_6x47}; | ||||||
| const Icon I_DoorRight_70x55 = {.width=70,.height=55,.frame_count=1,.frame_rate=0,.frames=_I_DoorRight_70x55}; |  | ||||||
| const Icon I_LockPopup_100x49 = {.width=100,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_LockPopup_100x49}; | const Icon I_LockPopup_100x49 = {.width=100,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_LockPopup_100x49}; | ||||||
| const Icon I_Mute_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Mute_25x27}; | const Icon I_PassportBottom_128x17 = {.width=128,.height=17,.frame_count=1,.frame_rate=0,.frames=_I_PassportBottom_128x17}; | ||||||
| const Icon I_IrdaArrowUp_4x8 = {.width=8,.height=4,.frame_count=1,.frame_rate=0,.frames=_I_IrdaArrowUp_4x8}; |  | ||||||
| const Icon I_Up_hvr_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Up_hvr_25x27}; |  | ||||||
| const Icon I_DolphinReadingSuccess_59x63 = {.width=59,.height=63,.frame_count=1,.frame_rate=0,.frames=_I_DolphinReadingSuccess_59x63}; |  | ||||||
| const Icon I_Mute_hvr_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Mute_hvr_25x27}; |  | ||||||
| const Icon I_Vol_down_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Vol_down_25x27}; |  | ||||||
| const Icon I_Down_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Down_25x27}; |  | ||||||
| const Icon I_Power_hvr_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Power_hvr_25x27}; |  | ||||||
| const Icon I_IrdaLearnShort_128x31 = {.width=128,.height=31,.frame_count=1,.frame_rate=0,.frames=_I_IrdaLearnShort_128x31}; |  | ||||||
| const Icon I_IrdaArrowDown_4x8 = {.width=8,.height=4,.frame_count=1,.frame_rate=0,.frames=_I_IrdaArrowDown_4x8}; |  | ||||||
| const Icon I_Vol_down_hvr_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Vol_down_hvr_25x27}; |  | ||||||
| const Icon I_IrdaLearn_128x64 = {.width=128,.height=64,.frame_count=1,.frame_rate=0,.frames=_I_IrdaLearn_128x64}; |  | ||||||
| const Icon I_Down_hvr_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Down_hvr_25x27}; |  | ||||||
| const Icon I_Fill_marker_7x7 = {.width=7,.height=7,.frame_count=1,.frame_rate=0,.frames=_I_Fill_marker_7x7}; |  | ||||||
| const Icon I_Power_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Power_25x27}; |  | ||||||
| const Icon I_Vol_up_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Vol_up_25x27}; | const Icon I_Vol_up_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Vol_up_25x27}; | ||||||
| const Icon I_Up_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Up_25x27}; | const Icon I_Fill_marker_7x7 = {.width=7,.height=7,.frame_count=1,.frame_rate=0,.frames=_I_Fill_marker_7x7}; | ||||||
| const Icon I_Back_15x10 = {.width=15,.height=10,.frame_count=1,.frame_rate=0,.frames=_I_Back_15x10}; | const Icon I_IrdaArrowUp_4x8 = {.width=8,.height=4,.frame_count=1,.frame_rate=0,.frames=_I_IrdaArrowUp_4x8}; | ||||||
| const Icon I_IrdaSend_128x64 = {.width=128,.height=64,.frame_count=1,.frame_rate=0,.frames=_I_IrdaSend_128x64}; | const Icon I_Down_hvr_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Down_hvr_25x27}; | ||||||
| const Icon I_IrdaSendShort_128x34 = {.width=128,.height=34,.frame_count=1,.frame_rate=0,.frames=_I_IrdaSendShort_128x34}; |  | ||||||
| const Icon I_Vol_up_hvr_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Vol_up_hvr_25x27}; | const Icon I_Vol_up_hvr_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Vol_up_hvr_25x27}; | ||||||
| const Icon I_KeySave_24x11 = {.width=24,.height=11,.frame_count=1,.frame_rate=0,.frames=_I_KeySave_24x11}; | const Icon I_Power_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Power_25x27}; | ||||||
|  | const Icon I_Vol_down_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Vol_down_25x27}; | ||||||
|  | const Icon I_IrdaSend_128x64 = {.width=128,.height=64,.frame_count=1,.frame_rate=0,.frames=_I_IrdaSend_128x64}; | ||||||
|  | const Icon I_Up_hvr_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Up_hvr_25x27}; | ||||||
|  | const Icon I_Back_15x10 = {.width=15,.height=10,.frame_count=1,.frame_rate=0,.frames=_I_Back_15x10}; | ||||||
|  | const Icon I_DolphinReadingSuccess_59x63 = {.width=59,.height=63,.frame_count=1,.frame_rate=0,.frames=_I_DolphinReadingSuccess_59x63}; | ||||||
|  | const Icon I_IrdaSendShort_128x34 = {.width=128,.height=34,.frame_count=1,.frame_rate=0,.frames=_I_IrdaSendShort_128x34}; | ||||||
|  | const Icon I_Mute_hvr_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Mute_hvr_25x27}; | ||||||
|  | const Icon I_IrdaLearnShort_128x31 = {.width=128,.height=31,.frame_count=1,.frame_rate=0,.frames=_I_IrdaLearnShort_128x31}; | ||||||
|  | const Icon I_Down_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Down_25x27}; | ||||||
|  | const Icon I_Up_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Up_25x27}; | ||||||
|  | const Icon I_Mute_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Mute_25x27}; | ||||||
|  | const Icon I_Vol_down_hvr_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Vol_down_hvr_25x27}; | ||||||
|  | const Icon I_Power_hvr_25x27 = {.width=25,.height=27,.frame_count=1,.frame_rate=0,.frames=_I_Power_hvr_25x27}; | ||||||
|  | const Icon I_IrdaLearn_128x64 = {.width=128,.height=64,.frame_count=1,.frame_rate=0,.frames=_I_IrdaLearn_128x64}; | ||||||
|  | const Icon I_IrdaArrowDown_4x8 = {.width=8,.height=4,.frame_count=1,.frame_rate=0,.frames=_I_IrdaArrowDown_4x8}; | ||||||
| const Icon I_KeyBackspaceSelected_16x9 = {.width=16,.height=9,.frame_count=1,.frame_rate=0,.frames=_I_KeyBackspaceSelected_16x9}; | const Icon I_KeyBackspaceSelected_16x9 = {.width=16,.height=9,.frame_count=1,.frame_rate=0,.frames=_I_KeyBackspaceSelected_16x9}; | ||||||
|  | const Icon I_KeySave_24x11 = {.width=24,.height=11,.frame_count=1,.frame_rate=0,.frames=_I_KeySave_24x11}; | ||||||
| const Icon I_KeySaveSelected_24x11 = {.width=24,.height=11,.frame_count=1,.frame_rate=0,.frames=_I_KeySaveSelected_24x11}; | const Icon I_KeySaveSelected_24x11 = {.width=24,.height=11,.frame_count=1,.frame_rate=0,.frames=_I_KeySaveSelected_24x11}; | ||||||
| const Icon I_KeyBackspace_16x9 = {.width=16,.height=9,.frame_count=1,.frame_rate=0,.frames=_I_KeyBackspace_16x9}; | const Icon I_KeyBackspace_16x9 = {.width=16,.height=9,.frame_count=1,.frame_rate=0,.frames=_I_KeyBackspace_16x9}; | ||||||
| const Icon A_125khz_14 = {.width=14,.height=14,.frame_count=4,.frame_rate=3,.frames=_A_125khz_14}; | const Icon A_125khz_14 = {.width=14,.height=14,.frame_count=4,.frame_rate=3,.frames=_A_125khz_14}; | ||||||
| @ -950,57 +986,57 @@ const Icon A_Sub1ghz_14 = {.width=14,.height=14,.frame_count=6,.frame_rate=3,.fr | |||||||
| const Icon A_Tamagotchi_14 = {.width=14,.height=14,.frame_count=6,.frame_rate=3,.frames=_A_Tamagotchi_14}; | const Icon A_Tamagotchi_14 = {.width=14,.height=14,.frame_count=6,.frame_rate=3,.frames=_A_Tamagotchi_14}; | ||||||
| const Icon A_U2F_14 = {.width=14,.height=14,.frame_count=4,.frame_rate=3,.frames=_A_U2F_14}; | const Icon A_U2F_14 = {.width=14,.height=14,.frame_count=4,.frame_rate=3,.frames=_A_U2F_14}; | ||||||
| const Icon A_iButton_14 = {.width=14,.height=14,.frame_count=7,.frame_rate=3,.frames=_A_iButton_14}; | const Icon A_iButton_14 = {.width=14,.height=14,.frame_count=7,.frame_rate=3,.frames=_A_iButton_14}; | ||||||
| const Icon I_Detailed_chip_17x13 = {.width=17,.height=13,.frame_count=1,.frame_rate=0,.frames=_I_Detailed_chip_17x13}; |  | ||||||
| const Icon I_Medium_chip_22x21 = {.width=22,.height=21,.frame_count=1,.frame_rate=0,.frames=_I_Medium_chip_22x21}; | const Icon I_Medium_chip_22x21 = {.width=22,.height=21,.frame_count=1,.frame_rate=0,.frames=_I_Medium_chip_22x21}; | ||||||
|  | const Icon I_Detailed_chip_17x13 = {.width=17,.height=13,.frame_count=1,.frame_rate=0,.frames=_I_Detailed_chip_17x13}; | ||||||
| const Icon I_passport_happy1_46x49 = {.width=46,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_passport_happy1_46x49}; | const Icon I_passport_happy1_46x49 = {.width=46,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_passport_happy1_46x49}; | ||||||
|  | const Icon I_passport_happy2_46x49 = {.width=46,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_passport_happy2_46x49}; | ||||||
| const Icon I_passport_bad3_46x49 = {.width=46,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_passport_bad3_46x49}; | const Icon I_passport_bad3_46x49 = {.width=46,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_passport_bad3_46x49}; | ||||||
| const Icon I_passport_okay2_46x49 = {.width=46,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_passport_okay2_46x49}; | const Icon I_passport_okay2_46x49 = {.width=46,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_passport_okay2_46x49}; | ||||||
| const Icon I_passport_bad2_46x49 = {.width=46,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_passport_bad2_46x49}; | const Icon I_passport_bad2_46x49 = {.width=46,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_passport_bad2_46x49}; | ||||||
| const Icon I_passport_okay3_46x49 = {.width=46,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_passport_okay3_46x49}; |  | ||||||
| const Icon I_passport_bottom_128x18 = {.width=128,.height=18,.frame_count=1,.frame_rate=0,.frames=_I_passport_bottom_128x18}; |  | ||||||
| const Icon I_passport_bad1_46x49 = {.width=46,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_passport_bad1_46x49}; | const Icon I_passport_bad1_46x49 = {.width=46,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_passport_bad1_46x49}; | ||||||
|  | const Icon I_passport_bottom_128x18 = {.width=128,.height=18,.frame_count=1,.frame_rate=0,.frames=_I_passport_bottom_128x18}; | ||||||
| const Icon I_passport_happy3_46x49 = {.width=46,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_passport_happy3_46x49}; | const Icon I_passport_happy3_46x49 = {.width=46,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_passport_happy3_46x49}; | ||||||
| const Icon I_passport_happy2_46x49 = {.width=46,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_passport_happy2_46x49}; |  | ||||||
| const Icon I_passport_okay1_46x49 = {.width=46,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_passport_okay1_46x49}; |  | ||||||
| const Icon I_passport_left_6x46 = {.width=6,.height=46,.frame_count=1,.frame_rate=0,.frames=_I_passport_left_6x46}; | const Icon I_passport_left_6x46 = {.width=6,.height=46,.frame_count=1,.frame_rate=0,.frames=_I_passport_left_6x46}; | ||||||
|  | const Icon I_passport_okay3_46x49 = {.width=46,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_passport_okay3_46x49}; | ||||||
|  | const Icon I_passport_okay1_46x49 = {.width=46,.height=49,.frame_count=1,.frame_rate=0,.frames=_I_passport_okay1_46x49}; | ||||||
| const Icon I_Health_16x16 = {.width=16,.height=16,.frame_count=1,.frame_rate=0,.frames=_I_Health_16x16}; | const Icon I_Health_16x16 = {.width=16,.height=16,.frame_count=1,.frame_rate=0,.frames=_I_Health_16x16}; | ||||||
| const Icon I_FaceCharging_29x14 = {.width=29,.height=14,.frame_count=1,.frame_rate=0,.frames=_I_FaceCharging_29x14}; | const Icon I_FaceNopower_29x14 = {.width=29,.height=14,.frame_count=1,.frame_rate=0,.frames=_I_FaceNopower_29x14}; | ||||||
|  | const Icon I_Battery_16x16 = {.width=16,.height=16,.frame_count=1,.frame_rate=0,.frames=_I_Battery_16x16}; | ||||||
| const Icon I_BatteryBody_52x28 = {.width=52,.height=28,.frame_count=1,.frame_rate=0,.frames=_I_BatteryBody_52x28}; | const Icon I_BatteryBody_52x28 = {.width=52,.height=28,.frame_count=1,.frame_rate=0,.frames=_I_BatteryBody_52x28}; | ||||||
|  | const Icon I_FaceConfused_29x14 = {.width=29,.height=14,.frame_count=1,.frame_rate=0,.frames=_I_FaceConfused_29x14}; | ||||||
|  | const Icon I_FaceCharging_29x14 = {.width=29,.height=14,.frame_count=1,.frame_rate=0,.frames=_I_FaceCharging_29x14}; | ||||||
|  | const Icon I_FaceNormal_29x14 = {.width=29,.height=14,.frame_count=1,.frame_rate=0,.frames=_I_FaceNormal_29x14}; | ||||||
| const Icon I_Voltage_16x16 = {.width=16,.height=16,.frame_count=1,.frame_rate=0,.frames=_I_Voltage_16x16}; | const Icon I_Voltage_16x16 = {.width=16,.height=16,.frame_count=1,.frame_rate=0,.frames=_I_Voltage_16x16}; | ||||||
| const Icon I_Temperature_16x16 = {.width=16,.height=16,.frame_count=1,.frame_rate=0,.frames=_I_Temperature_16x16}; | const Icon I_Temperature_16x16 = {.width=16,.height=16,.frame_count=1,.frame_rate=0,.frames=_I_Temperature_16x16}; | ||||||
| const Icon I_FaceNopower_29x14 = {.width=29,.height=14,.frame_count=1,.frame_rate=0,.frames=_I_FaceNopower_29x14}; |  | ||||||
| const Icon I_FaceNormal_29x14 = {.width=29,.height=14,.frame_count=1,.frame_rate=0,.frames=_I_FaceNormal_29x14}; |  | ||||||
| const Icon I_Battery_16x16 = {.width=16,.height=16,.frame_count=1,.frame_rate=0,.frames=_I_Battery_16x16}; |  | ||||||
| const Icon I_FaceConfused_29x14 = {.width=29,.height=14,.frame_count=1,.frame_rate=0,.frames=_I_FaceConfused_29x14}; |  | ||||||
| const Icon I_RFIDDolphinSuccess_108x57 = {.width=108,.height=57,.frame_count=1,.frame_rate=0,.frames=_I_RFIDDolphinSuccess_108x57}; |  | ||||||
| const Icon I_RFIDBigChip_37x36 = {.width=37,.height=36,.frame_count=1,.frame_rate=0,.frames=_I_RFIDBigChip_37x36}; |  | ||||||
| const Icon I_RFIDDolphinSend_97x61 = {.width=97,.height=61,.frame_count=1,.frame_rate=0,.frames=_I_RFIDDolphinSend_97x61}; |  | ||||||
| const Icon I_RFIDDolphinReceive_97x61 = {.width=97,.height=61,.frame_count=1,.frame_rate=0,.frames=_I_RFIDDolphinReceive_97x61}; | const Icon I_RFIDDolphinReceive_97x61 = {.width=97,.height=61,.frame_count=1,.frame_rate=0,.frames=_I_RFIDDolphinReceive_97x61}; | ||||||
|  | const Icon I_RFIDDolphinSend_97x61 = {.width=97,.height=61,.frame_count=1,.frame_rate=0,.frames=_I_RFIDDolphinSend_97x61}; | ||||||
|  | const Icon I_RFIDBigChip_37x36 = {.width=37,.height=36,.frame_count=1,.frame_rate=0,.frames=_I_RFIDBigChip_37x36}; | ||||||
|  | const Icon I_RFIDDolphinSuccess_108x57 = {.width=108,.height=57,.frame_count=1,.frame_rate=0,.frames=_I_RFIDDolphinSuccess_108x57}; | ||||||
| const Icon I_SDQuestion_35x43 = {.width=35,.height=43,.frame_count=1,.frame_rate=0,.frames=_I_SDQuestion_35x43}; | const Icon I_SDQuestion_35x43 = {.width=35,.height=43,.frame_count=1,.frame_rate=0,.frames=_I_SDQuestion_35x43}; | ||||||
| const Icon I_SDError_43x35 = {.width=43,.height=35,.frame_count=1,.frame_rate=0,.frames=_I_SDError_43x35}; | const Icon I_SDError_43x35 = {.width=43,.height=35,.frame_count=1,.frame_rate=0,.frames=_I_SDError_43x35}; | ||||||
| const Icon I_Cry_dolph_55x52 = {.width=55,.height=52,.frame_count=1,.frame_rate=0,.frames=_I_Cry_dolph_55x52}; | const Icon I_Cry_dolph_55x52 = {.width=55,.height=52,.frame_count=1,.frame_rate=0,.frames=_I_Cry_dolph_55x52}; | ||||||
| const Icon I_BadUsb_9x8 = {.width=9,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_BadUsb_9x8}; |  | ||||||
| const Icon I_PlaceholderR_30x13 = {.width=30,.height=13,.frame_count=1,.frame_rate=0,.frames=_I_PlaceholderR_30x13}; |  | ||||||
| const Icon I_Lock_8x8 = {.width=8,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_Lock_8x8}; |  | ||||||
| const Icon I_Battery_26x8 = {.width=26,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_Battery_26x8}; | const Icon I_Battery_26x8 = {.width=26,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_Battery_26x8}; | ||||||
| const Icon I_PlaceholderL_11x13 = {.width=11,.height=13,.frame_count=1,.frame_rate=0,.frames=_I_PlaceholderL_11x13}; | const Icon I_PlaceholderL_11x13 = {.width=11,.height=13,.frame_count=1,.frame_rate=0,.frames=_I_PlaceholderL_11x13}; | ||||||
| const Icon I_Battery_19x8 = {.width=19,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_Battery_19x8}; |  | ||||||
| const Icon I_SDcardMounted_11x8 = {.width=11,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_SDcardMounted_11x8}; |  | ||||||
| const Icon I_SDcardFail_11x8 = {.width=11,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_SDcardFail_11x8}; |  | ||||||
| const Icon I_USBConnected_15x8 = {.width=15,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_USBConnected_15x8}; |  | ||||||
| const Icon I_Bluetooth_5x8 = {.width=5,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_Bluetooth_5x8}; |  | ||||||
| const Icon I_BT_Pair_9x8 = {.width=9,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_BT_Pair_9x8}; | const Icon I_BT_Pair_9x8 = {.width=9,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_BT_Pair_9x8}; | ||||||
|  | const Icon I_Bluetooth_5x8 = {.width=5,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_Bluetooth_5x8}; | ||||||
|  | const Icon I_BadUsb_9x8 = {.width=9,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_BadUsb_9x8}; | ||||||
|  | const Icon I_PlaceholderR_30x13 = {.width=30,.height=13,.frame_count=1,.frame_rate=0,.frames=_I_PlaceholderR_30x13}; | ||||||
|  | const Icon I_USBConnected_15x8 = {.width=15,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_USBConnected_15x8}; | ||||||
|  | const Icon I_Battery_19x8 = {.width=19,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_Battery_19x8}; | ||||||
|  | const Icon I_Lock_8x8 = {.width=8,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_Lock_8x8}; | ||||||
| const Icon I_Background_128x11 = {.width=128,.height=11,.frame_count=1,.frame_rate=0,.frames=_I_Background_128x11}; | const Icon I_Background_128x11 = {.width=128,.height=11,.frame_count=1,.frame_rate=0,.frames=_I_Background_128x11}; | ||||||
| const Icon I_Scanning_123x52 = {.width=123,.height=52,.frame_count=1,.frame_rate=0,.frames=_I_Scanning_123x52}; | const Icon I_SDcardFail_11x8 = {.width=11,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_SDcardFail_11x8}; | ||||||
| const Icon I_Quest_7x8 = {.width=7,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_Quest_7x8}; | const Icon I_SDcardMounted_11x8 = {.width=11,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_SDcardMounted_11x8}; | ||||||
| const Icon I_Unlock_7x8 = {.width=7,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_Unlock_7x8}; |  | ||||||
| const Icon I_MHz_25x11 = {.width=25,.height=11,.frame_count=1,.frame_rate=0,.frames=_I_MHz_25x11}; |  | ||||||
| const Icon I_Lock_7x8 = {.width=7,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_Lock_7x8}; | const Icon I_Lock_7x8 = {.width=7,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_Lock_7x8}; | ||||||
| const Icon I_DolphinMafia_115x62 = {.width=115,.height=62,.frame_count=1,.frame_rate=0,.frames=_I_DolphinMafia_115x62}; | const Icon I_Quest_7x8 = {.width=7,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_Quest_7x8}; | ||||||
| const Icon I_DolphinExcited_64x63 = {.width=64,.height=63,.frame_count=1,.frame_rate=0,.frames=_I_DolphinExcited_64x63}; | const Icon I_Scanning_123x52 = {.width=123,.height=52,.frame_count=1,.frame_rate=0,.frames=_I_Scanning_123x52}; | ||||||
| const Icon I_iButtonDolphinSuccess_109x60 = {.width=109,.height=60,.frame_count=1,.frame_rate=0,.frames=_I_iButtonDolphinSuccess_109x60}; | const Icon I_MHz_25x11 = {.width=25,.height=11,.frame_count=1,.frame_rate=0,.frames=_I_MHz_25x11}; | ||||||
|  | const Icon I_Unlock_7x8 = {.width=7,.height=8,.frame_count=1,.frame_rate=0,.frames=_I_Unlock_7x8}; | ||||||
| const Icon I_iButtonDolphinVerySuccess_108x52 = {.width=108,.height=52,.frame_count=1,.frame_rate=0,.frames=_I_iButtonDolphinVerySuccess_108x52}; | const Icon I_iButtonDolphinVerySuccess_108x52 = {.width=108,.height=52,.frame_count=1,.frame_rate=0,.frames=_I_iButtonDolphinVerySuccess_108x52}; | ||||||
| const Icon I_iButtonKey_49x44 = {.width=49,.height=44,.frame_count=1,.frame_rate=0,.frames=_I_iButtonKey_49x44}; | const Icon I_DolphinMafia_115x62 = {.width=115,.height=62,.frame_count=1,.frame_rate=0,.frames=_I_DolphinMafia_115x62}; | ||||||
|  | const Icon I_iButtonDolphinSuccess_109x60 = {.width=109,.height=60,.frame_count=1,.frame_rate=0,.frames=_I_iButtonDolphinSuccess_109x60}; | ||||||
|  | const Icon I_DolphinExcited_64x63 = {.width=64,.height=63,.frame_count=1,.frame_rate=0,.frames=_I_DolphinExcited_64x63}; | ||||||
| const Icon I_DolphinNice_96x59 = {.width=96,.height=59,.frame_count=1,.frame_rate=0,.frames=_I_DolphinNice_96x59}; | const Icon I_DolphinNice_96x59 = {.width=96,.height=59,.frame_count=1,.frame_rate=0,.frames=_I_DolphinNice_96x59}; | ||||||
|  | const Icon I_iButtonKey_49x44 = {.width=49,.height=44,.frame_count=1,.frame_rate=0,.frames=_I_iButtonKey_49x44}; | ||||||
| const Icon I_DolphinWait_61x59 = {.width=61,.height=59,.frame_count=1,.frame_rate=0,.frames=_I_DolphinWait_61x59}; | const Icon I_DolphinWait_61x59 = {.width=61,.height=59,.frame_count=1,.frame_rate=0,.frames=_I_DolphinWait_61x59}; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -36,20 +36,20 @@ extern const Icon A_Level3HijackActive_128x51; | |||||||
| extern const Icon A_Level3Hijack_128x51; | extern const Icon A_Level3Hijack_128x51; | ||||||
| extern const Icon A_Level3LabActive_128x51; | extern const Icon A_Level3LabActive_128x51; | ||||||
| extern const Icon A_Level3Lab_128x51; | extern const Icon A_Level3Lab_128x51; | ||||||
| extern const Icon I_LevelUp2_07; |  | ||||||
| extern const Icon I_LevelUp2_06; |  | ||||||
| extern const Icon I_LevelUp2_04; | extern const Icon I_LevelUp2_04; | ||||||
| extern const Icon I_LevelUp2_05; | extern const Icon I_LevelUp2_05; | ||||||
| extern const Icon I_LevelUp2_01; | extern const Icon I_LevelUp2_01; | ||||||
| extern const Icon I_LevelUp2_02; |  | ||||||
| extern const Icon I_LevelUp2_03; | extern const Icon I_LevelUp2_03; | ||||||
| extern const Icon I_LevelUp3_05; | extern const Icon I_LevelUp2_02; | ||||||
| extern const Icon I_LevelUp3_04; | extern const Icon I_LevelUp2_06; | ||||||
| extern const Icon I_LevelUp3_06; | extern const Icon I_LevelUp2_07; | ||||||
| extern const Icon I_LevelUp3_07; |  | ||||||
| extern const Icon I_LevelUp3_03; | extern const Icon I_LevelUp3_03; | ||||||
| extern const Icon I_LevelUp3_02; | extern const Icon I_LevelUp3_07; | ||||||
| extern const Icon I_LevelUp3_01; | extern const Icon I_LevelUp3_01; | ||||||
|  | extern const Icon I_LevelUp3_06; | ||||||
|  | extern const Icon I_LevelUp3_04; | ||||||
|  | extern const Icon I_LevelUp3_02; | ||||||
|  | extern const Icon I_LevelUp3_05; | ||||||
| extern const Icon A_LevelUpPending_128x51; | extern const Icon A_LevelUpPending_128x51; | ||||||
| extern const Icon A_NoSdCard_128x51; | extern const Icon A_NoSdCard_128x51; | ||||||
| extern const Icon A_SleepActive_128x52; | extern const Icon A_SleepActive_128x52; | ||||||
| @ -58,77 +58,86 @@ extern const Icon A_TvActive_128x52; | |||||||
| extern const Icon A_Tv_128x52; | extern const Icon A_Tv_128x52; | ||||||
| extern const Icon A_WavesActive_128x52; | extern const Icon A_WavesActive_128x52; | ||||||
| extern const Icon A_Waves_128x52; | extern const Icon A_Waves_128x52; | ||||||
| extern const Icon I_dir_10px; |  | ||||||
| extern const Icon I_Nfc_10px; | extern const Icon I_Nfc_10px; | ||||||
| extern const Icon I_sub1_10px; |  | ||||||
| extern const Icon I_ir_10px; | extern const Icon I_ir_10px; | ||||||
| extern const Icon I_ibutt_10px; |  | ||||||
| extern const Icon I_unknown_10px; |  | ||||||
| extern const Icon I_ble_10px; | extern const Icon I_ble_10px; | ||||||
|  | extern const Icon I_sub1_10px; | ||||||
|  | extern const Icon I_dir_10px; | ||||||
|  | extern const Icon I_unknown_10px; | ||||||
|  | extern const Icon I_ibutt_10px; | ||||||
| extern const Icon I_125_10px; | extern const Icon I_125_10px; | ||||||
| extern const Icon I_BLE_Pairing_128x64; | extern const Icon I_BLE_Pairing_128x64; | ||||||
| extern const Icon I_UsbTree_48x22; | extern const Icon I_Voldwn_6x6; | ||||||
| extern const Icon I_EviWaiting2_18x21; | extern const Icon I_Volup_8x6; | ||||||
|  | extern const Icon I_Button_18x18; | ||||||
|  | extern const Icon I_Pressed_Button_13x13; | ||||||
|  | extern const Icon I_Ble_disconnected_24x34; | ||||||
|  | extern const Icon I_Space_65x18; | ||||||
|  | extern const Icon I_Circles_47x47; | ||||||
|  | extern const Icon I_Ok_btn_9x9; | ||||||
|  | extern const Icon I_Ble_connected_38x34; | ||||||
| extern const Icon I_Clock_18x18; | extern const Icon I_Clock_18x18; | ||||||
| extern const Icon I_Smile_18x18; |  | ||||||
| extern const Icon I_EviSmile1_18x21; |  | ||||||
| extern const Icon I_Percent_10x14; |  | ||||||
| extern const Icon I_Error_18x18; | extern const Icon I_Error_18x18; | ||||||
| extern const Icon I_EviWaiting1_18x21; |  | ||||||
| extern const Icon I_EviSmile2_18x21; | extern const Icon I_EviSmile2_18x21; | ||||||
| extern const Icon I_ButtonRightSmall_3x5; | extern const Icon I_EviWaiting1_18x21; | ||||||
|  | extern const Icon I_EviSmile1_18x21; | ||||||
|  | extern const Icon I_EviWaiting2_18x21; | ||||||
|  | extern const Icon I_UsbTree_48x22; | ||||||
|  | extern const Icon I_Smile_18x18; | ||||||
|  | extern const Icon I_Percent_10x14; | ||||||
| extern const Icon I_ButtonLeft_4x7; | extern const Icon I_ButtonLeft_4x7; | ||||||
| extern const Icon I_ButtonLeftSmall_3x5; |  | ||||||
| extern const Icon I_DFU_128x50; |  | ||||||
| extern const Icon I_Warning_30x23; |  | ||||||
| extern const Icon I_ButtonDown_7x4; |  | ||||||
| extern const Icon I_ButtonRight_4x7; | extern const Icon I_ButtonRight_4x7; | ||||||
| extern const Icon I_ButtonCenter_7x7; | extern const Icon I_ButtonDown_7x4; | ||||||
| extern const Icon I_ButtonUp_7x4; | extern const Icon I_ButtonUp_7x4; | ||||||
|  | extern const Icon I_Warning_30x23; | ||||||
|  | extern const Icon I_DFU_128x50; | ||||||
|  | extern const Icon I_ButtonRightSmall_3x5; | ||||||
|  | extern const Icon I_ButtonCenter_7x7; | ||||||
|  | extern const Icon I_ButtonLeftSmall_3x5; | ||||||
| extern const Icon I_DolphinOkay_41x43; | extern const Icon I_DolphinOkay_41x43; | ||||||
| extern const Icon I_DolphinFirstStart4_67x53; |  | ||||||
| extern const Icon I_DolphinFirstStart2_59x51; |  | ||||||
| extern const Icon I_DolphinFirstStart5_54x49; |  | ||||||
| extern const Icon I_DolphinFirstStart0_70x53; |  | ||||||
| extern const Icon I_DolphinFirstStart6_58x54; |  | ||||||
| extern const Icon I_DolphinFirstStart1_59x53; |  | ||||||
| extern const Icon I_DolphinFirstStart8_56x51; |  | ||||||
| extern const Icon I_DolphinFirstStart7_61x51; | extern const Icon I_DolphinFirstStart7_61x51; | ||||||
| extern const Icon I_Flipper_young_80x60; | extern const Icon I_DolphinFirstStart4_67x53; | ||||||
| extern const Icon I_DolphinFirstStart3_57x48; | extern const Icon I_DolphinFirstStart3_57x48; | ||||||
| extern const Icon I_ArrowUpFilled_14x15; | extern const Icon I_Flipper_young_80x60; | ||||||
|  | extern const Icon I_DolphinFirstStart0_70x53; | ||||||
|  | extern const Icon I_DolphinFirstStart2_59x51; | ||||||
|  | extern const Icon I_DolphinFirstStart6_58x54; | ||||||
|  | extern const Icon I_DolphinFirstStart5_54x49; | ||||||
|  | extern const Icon I_DolphinFirstStart8_56x51; | ||||||
|  | extern const Icon I_DolphinFirstStart1_59x53; | ||||||
| extern const Icon I_ArrowUpEmpty_14x15; | extern const Icon I_ArrowUpEmpty_14x15; | ||||||
| extern const Icon I_ArrowDownEmpty_14x15; | extern const Icon I_ArrowDownEmpty_14x15; | ||||||
| extern const Icon I_ArrowDownFilled_14x15; | extern const Icon I_ArrowDownFilled_14x15; | ||||||
| extern const Icon I_PassportBottom_128x17; | extern const Icon I_ArrowUpFilled_14x15; | ||||||
|  | extern const Icon I_DoorRight_70x55; | ||||||
| extern const Icon I_DoorLocked_10x56; | extern const Icon I_DoorLocked_10x56; | ||||||
| extern const Icon I_DoorLeft_70x55; | extern const Icon I_DoorLeft_70x55; | ||||||
| extern const Icon I_PassportLeft_6x47; | extern const Icon I_PassportLeft_6x47; | ||||||
| extern const Icon I_DoorRight_70x55; |  | ||||||
| extern const Icon I_LockPopup_100x49; | extern const Icon I_LockPopup_100x49; | ||||||
| extern const Icon I_Mute_25x27; | extern const Icon I_PassportBottom_128x17; | ||||||
| extern const Icon I_IrdaArrowUp_4x8; |  | ||||||
| extern const Icon I_Up_hvr_25x27; |  | ||||||
| extern const Icon I_DolphinReadingSuccess_59x63; |  | ||||||
| extern const Icon I_Mute_hvr_25x27; |  | ||||||
| extern const Icon I_Vol_down_25x27; |  | ||||||
| extern const Icon I_Down_25x27; |  | ||||||
| extern const Icon I_Power_hvr_25x27; |  | ||||||
| extern const Icon I_IrdaLearnShort_128x31; |  | ||||||
| extern const Icon I_IrdaArrowDown_4x8; |  | ||||||
| extern const Icon I_Vol_down_hvr_25x27; |  | ||||||
| extern const Icon I_IrdaLearn_128x64; |  | ||||||
| extern const Icon I_Down_hvr_25x27; |  | ||||||
| extern const Icon I_Fill_marker_7x7; |  | ||||||
| extern const Icon I_Power_25x27; |  | ||||||
| extern const Icon I_Vol_up_25x27; | extern const Icon I_Vol_up_25x27; | ||||||
| extern const Icon I_Up_25x27; | extern const Icon I_Fill_marker_7x7; | ||||||
| extern const Icon I_Back_15x10; | extern const Icon I_IrdaArrowUp_4x8; | ||||||
| extern const Icon I_IrdaSend_128x64; | extern const Icon I_Down_hvr_25x27; | ||||||
| extern const Icon I_IrdaSendShort_128x34; |  | ||||||
| extern const Icon I_Vol_up_hvr_25x27; | extern const Icon I_Vol_up_hvr_25x27; | ||||||
| extern const Icon I_KeySave_24x11; | extern const Icon I_Power_25x27; | ||||||
|  | extern const Icon I_Vol_down_25x27; | ||||||
|  | extern const Icon I_IrdaSend_128x64; | ||||||
|  | extern const Icon I_Up_hvr_25x27; | ||||||
|  | extern const Icon I_Back_15x10; | ||||||
|  | extern const Icon I_DolphinReadingSuccess_59x63; | ||||||
|  | extern const Icon I_IrdaSendShort_128x34; | ||||||
|  | extern const Icon I_Mute_hvr_25x27; | ||||||
|  | extern const Icon I_IrdaLearnShort_128x31; | ||||||
|  | extern const Icon I_Down_25x27; | ||||||
|  | extern const Icon I_Up_25x27; | ||||||
|  | extern const Icon I_Mute_25x27; | ||||||
|  | extern const Icon I_Vol_down_hvr_25x27; | ||||||
|  | extern const Icon I_Power_hvr_25x27; | ||||||
|  | extern const Icon I_IrdaLearn_128x64; | ||||||
|  | extern const Icon I_IrdaArrowDown_4x8; | ||||||
| extern const Icon I_KeyBackspaceSelected_16x9; | extern const Icon I_KeyBackspaceSelected_16x9; | ||||||
|  | extern const Icon I_KeySave_24x11; | ||||||
| extern const Icon I_KeySaveSelected_24x11; | extern const Icon I_KeySaveSelected_24x11; | ||||||
| extern const Icon I_KeyBackspace_16x9; | extern const Icon I_KeyBackspace_16x9; | ||||||
| extern const Icon A_125khz_14; | extern const Icon A_125khz_14; | ||||||
| @ -148,56 +157,56 @@ extern const Icon A_Sub1ghz_14; | |||||||
| extern const Icon A_Tamagotchi_14; | extern const Icon A_Tamagotchi_14; | ||||||
| extern const Icon A_U2F_14; | extern const Icon A_U2F_14; | ||||||
| extern const Icon A_iButton_14; | extern const Icon A_iButton_14; | ||||||
| extern const Icon I_Detailed_chip_17x13; |  | ||||||
| extern const Icon I_Medium_chip_22x21; | extern const Icon I_Medium_chip_22x21; | ||||||
|  | extern const Icon I_Detailed_chip_17x13; | ||||||
| extern const Icon I_passport_happy1_46x49; | extern const Icon I_passport_happy1_46x49; | ||||||
|  | extern const Icon I_passport_happy2_46x49; | ||||||
| extern const Icon I_passport_bad3_46x49; | extern const Icon I_passport_bad3_46x49; | ||||||
| extern const Icon I_passport_okay2_46x49; | extern const Icon I_passport_okay2_46x49; | ||||||
| extern const Icon I_passport_bad2_46x49; | extern const Icon I_passport_bad2_46x49; | ||||||
| extern const Icon I_passport_okay3_46x49; |  | ||||||
| extern const Icon I_passport_bottom_128x18; |  | ||||||
| extern const Icon I_passport_bad1_46x49; | extern const Icon I_passport_bad1_46x49; | ||||||
|  | extern const Icon I_passport_bottom_128x18; | ||||||
| extern const Icon I_passport_happy3_46x49; | extern const Icon I_passport_happy3_46x49; | ||||||
| extern const Icon I_passport_happy2_46x49; |  | ||||||
| extern const Icon I_passport_okay1_46x49; |  | ||||||
| extern const Icon I_passport_left_6x46; | extern const Icon I_passport_left_6x46; | ||||||
|  | extern const Icon I_passport_okay3_46x49; | ||||||
|  | extern const Icon I_passport_okay1_46x49; | ||||||
| extern const Icon I_Health_16x16; | extern const Icon I_Health_16x16; | ||||||
| extern const Icon I_FaceCharging_29x14; | extern const Icon I_FaceNopower_29x14; | ||||||
|  | extern const Icon I_Battery_16x16; | ||||||
| extern const Icon I_BatteryBody_52x28; | extern const Icon I_BatteryBody_52x28; | ||||||
|  | extern const Icon I_FaceConfused_29x14; | ||||||
|  | extern const Icon I_FaceCharging_29x14; | ||||||
|  | extern const Icon I_FaceNormal_29x14; | ||||||
| extern const Icon I_Voltage_16x16; | extern const Icon I_Voltage_16x16; | ||||||
| extern const Icon I_Temperature_16x16; | extern const Icon I_Temperature_16x16; | ||||||
| extern const Icon I_FaceNopower_29x14; |  | ||||||
| extern const Icon I_FaceNormal_29x14; |  | ||||||
| extern const Icon I_Battery_16x16; |  | ||||||
| extern const Icon I_FaceConfused_29x14; |  | ||||||
| extern const Icon I_RFIDDolphinSuccess_108x57; |  | ||||||
| extern const Icon I_RFIDBigChip_37x36; |  | ||||||
| extern const Icon I_RFIDDolphinSend_97x61; |  | ||||||
| extern const Icon I_RFIDDolphinReceive_97x61; | extern const Icon I_RFIDDolphinReceive_97x61; | ||||||
|  | extern const Icon I_RFIDDolphinSend_97x61; | ||||||
|  | extern const Icon I_RFIDBigChip_37x36; | ||||||
|  | extern const Icon I_RFIDDolphinSuccess_108x57; | ||||||
| extern const Icon I_SDQuestion_35x43; | extern const Icon I_SDQuestion_35x43; | ||||||
| extern const Icon I_SDError_43x35; | extern const Icon I_SDError_43x35; | ||||||
| extern const Icon I_Cry_dolph_55x52; | extern const Icon I_Cry_dolph_55x52; | ||||||
| extern const Icon I_BadUsb_9x8; |  | ||||||
| extern const Icon I_PlaceholderR_30x13; |  | ||||||
| extern const Icon I_Lock_8x8; |  | ||||||
| extern const Icon I_Battery_26x8; | extern const Icon I_Battery_26x8; | ||||||
| extern const Icon I_PlaceholderL_11x13; | extern const Icon I_PlaceholderL_11x13; | ||||||
| extern const Icon I_Battery_19x8; |  | ||||||
| extern const Icon I_SDcardMounted_11x8; |  | ||||||
| extern const Icon I_SDcardFail_11x8; |  | ||||||
| extern const Icon I_USBConnected_15x8; |  | ||||||
| extern const Icon I_Bluetooth_5x8; |  | ||||||
| extern const Icon I_BT_Pair_9x8; | extern const Icon I_BT_Pair_9x8; | ||||||
|  | extern const Icon I_Bluetooth_5x8; | ||||||
|  | extern const Icon I_BadUsb_9x8; | ||||||
|  | extern const Icon I_PlaceholderR_30x13; | ||||||
|  | extern const Icon I_USBConnected_15x8; | ||||||
|  | extern const Icon I_Battery_19x8; | ||||||
|  | extern const Icon I_Lock_8x8; | ||||||
| extern const Icon I_Background_128x11; | extern const Icon I_Background_128x11; | ||||||
| extern const Icon I_Scanning_123x52; | extern const Icon I_SDcardFail_11x8; | ||||||
| extern const Icon I_Quest_7x8; | extern const Icon I_SDcardMounted_11x8; | ||||||
| extern const Icon I_Unlock_7x8; |  | ||||||
| extern const Icon I_MHz_25x11; |  | ||||||
| extern const Icon I_Lock_7x8; | extern const Icon I_Lock_7x8; | ||||||
| extern const Icon I_DolphinMafia_115x62; | extern const Icon I_Quest_7x8; | ||||||
| extern const Icon I_DolphinExcited_64x63; | extern const Icon I_Scanning_123x52; | ||||||
| extern const Icon I_iButtonDolphinSuccess_109x60; | extern const Icon I_MHz_25x11; | ||||||
|  | extern const Icon I_Unlock_7x8; | ||||||
| extern const Icon I_iButtonDolphinVerySuccess_108x52; | extern const Icon I_iButtonDolphinVerySuccess_108x52; | ||||||
| extern const Icon I_iButtonKey_49x44; | extern const Icon I_DolphinMafia_115x62; | ||||||
|  | extern const Icon I_iButtonDolphinSuccess_109x60; | ||||||
|  | extern const Icon I_DolphinExcited_64x63; | ||||||
| extern const Icon I_DolphinNice_96x59; | extern const Icon I_DolphinNice_96x59; | ||||||
|  | extern const Icon I_iButtonKey_49x44; | ||||||
| extern const Icon I_DolphinWait_61x59; | extern const Icon I_DolphinWait_61x59; | ||||||
|  | |||||||
							
								
								
									
										
											BIN
										
									
								
								assets/icons/BLE/BLE_HID/Ble_connected_38x34.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.6 KiB | 
							
								
								
									
										
											BIN
										
									
								
								assets/icons/BLE/BLE_HID/Ble_disconnected_24x34.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.6 KiB | 
							
								
								
									
										
											BIN
										
									
								
								assets/icons/BLE/BLE_HID/Button_18x18.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.5 KiB | 
							
								
								
									
										
											BIN
										
									
								
								assets/icons/BLE/BLE_HID/Circles_47x47.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.6 KiB | 
							
								
								
									
										
											BIN
										
									
								
								assets/icons/BLE/BLE_HID/Ok_btn_9x9.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.5 KiB | 
							
								
								
									
										
											BIN
										
									
								
								assets/icons/BLE/BLE_HID/Pressed_Button_13x13.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.5 KiB | 
							
								
								
									
										
											BIN
										
									
								
								assets/icons/BLE/BLE_HID/Space_65x18.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.5 KiB | 
							
								
								
									
										
											BIN
										
									
								
								assets/icons/BLE/BLE_HID/Voldwn_6x6.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.5 KiB | 
							
								
								
									
										
											BIN
										
									
								
								assets/icons/BLE/BLE_HID/Volup_8x6.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.5 KiB | 
| @ -3,6 +3,8 @@ | |||||||
| #include <cmsis_os2.h> | #include <cmsis_os2.h> | ||||||
| #include <furi-hal.h> | #include <furi-hal.h> | ||||||
| 
 | 
 | ||||||
|  | #define FURI_LOG_LEVEL_DEFAULT FuriLogLevelInfo | ||||||
|  | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     FuriLogLevel log_level; |     FuriLogLevel log_level; | ||||||
|     FuriLogPuts puts; |     FuriLogPuts puts; | ||||||
| @ -14,15 +16,13 @@ static FuriLogParams furi_log; | |||||||
| 
 | 
 | ||||||
| void furi_log_init() { | void furi_log_init() { | ||||||
|     // Set default logging parameters
 |     // Set default logging parameters
 | ||||||
|     furi_log.log_level = FURI_LOG_LEVEL; |     furi_log.log_level = FURI_LOG_LEVEL_DEFAULT; | ||||||
|     furi_log.puts = furi_hal_console_puts; |     furi_log.puts = furi_hal_console_puts; | ||||||
|     furi_log.timetamp = HAL_GetTick; |     furi_log.timetamp = HAL_GetTick; | ||||||
|     furi_log.mutex = osMutexNew(NULL); |     furi_log.mutex = osMutexNew(NULL); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void furi_log_print(FuriLogLevel level, const char* format, ...) { | void furi_log_print(FuriLogLevel level, const char* format, ...) { | ||||||
|     va_list args; |  | ||||||
|     va_start(args, format); |  | ||||||
|     if(level <= furi_log.log_level && osMutexAcquire(furi_log.mutex, osWaitForever) == osOK) { |     if(level <= furi_log.log_level && osMutexAcquire(furi_log.mutex, osWaitForever) == osOK) { | ||||||
|         string_t string; |         string_t string; | ||||||
| 
 | 
 | ||||||
| @ -41,10 +41,12 @@ void furi_log_print(FuriLogLevel level, const char* format, ...) { | |||||||
| 
 | 
 | ||||||
|         osMutexRelease(furi_log.mutex); |         osMutexRelease(furi_log.mutex); | ||||||
|     } |     } | ||||||
|     va_end(args); |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void furi_log_set_level(FuriLogLevel level) { | void furi_log_set_level(FuriLogLevel level) { | ||||||
|  |     if(level == FuriLogLevelDefault) { | ||||||
|  |         level = FURI_LOG_LEVEL_DEFAULT; | ||||||
|  |     } | ||||||
|     furi_log.log_level = level; |     furi_log.log_level = level; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -8,11 +8,15 @@ | |||||||
| extern "C" { | extern "C" { | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #define FURI_LOG_LEVEL_DEFAULT 3 | typedef enum { | ||||||
| 
 |     FuriLogLevelDefault = 0, | ||||||
| #ifndef FURI_LOG_LEVEL |     FuriLogLevelNone = 1, | ||||||
| #define FURI_LOG_LEVEL FURI_LOG_LEVEL_DEFAULT |     FuriLogLevelError = 2, | ||||||
| #endif |     FuriLogLevelWarn = 3, | ||||||
|  |     FuriLogLevelInfo = 4, | ||||||
|  |     FuriLogLevelDebug = 5, | ||||||
|  |     FuriLogLevelTrace = 6, | ||||||
|  | } FuriLogLevel; | ||||||
| 
 | 
 | ||||||
| #define FURI_LOG_CLR(clr) "\033[0;" clr "m" | #define FURI_LOG_CLR(clr) "\033[0;" clr "m" | ||||||
| #define FURI_LOG_CLR_RESET "\033[0m" | #define FURI_LOG_CLR_RESET "\033[0m" | ||||||
| @ -28,20 +32,11 @@ extern "C" { | |||||||
| #define FURI_LOG_CLR_W FURI_LOG_CLR(FURI_LOG_CLR_BROWN) | #define FURI_LOG_CLR_W FURI_LOG_CLR(FURI_LOG_CLR_BROWN) | ||||||
| #define FURI_LOG_CLR_I FURI_LOG_CLR(FURI_LOG_CLR_GREEN) | #define FURI_LOG_CLR_I FURI_LOG_CLR(FURI_LOG_CLR_GREEN) | ||||||
| #define FURI_LOG_CLR_D FURI_LOG_CLR(FURI_LOG_CLR_BLUE) | #define FURI_LOG_CLR_D FURI_LOG_CLR(FURI_LOG_CLR_BLUE) | ||||||
| #define FURI_LOG_CLR_V | #define FURI_LOG_CLR_T FURI_LOG_CLR(FURI_LOG_CLR_PURPLE) | ||||||
| 
 | 
 | ||||||
| typedef void (*FuriLogPuts)(const char* data); | typedef void (*FuriLogPuts)(const char* data); | ||||||
| typedef uint32_t (*FuriLogTimestamp)(void); | typedef uint32_t (*FuriLogTimestamp)(void); | ||||||
| 
 | 
 | ||||||
| typedef enum { |  | ||||||
|     FURI_LOG_NONE = 0, |  | ||||||
|     FURI_LOG_ERROR = 1, |  | ||||||
|     FURI_LOG_WARN = 2, |  | ||||||
|     FURI_LOG_INFO = 3, |  | ||||||
|     FURI_LOG_DEBUG = 4, |  | ||||||
|     FURI_LOG_VERBOSE = 5, |  | ||||||
| } FuriLogLevel; |  | ||||||
| 
 |  | ||||||
| void furi_log_init(); | void furi_log_init(); | ||||||
| void furi_log_print(FuriLogLevel level, const char* format, ...); | void furi_log_print(FuriLogLevel level, const char* format, ...); | ||||||
| void furi_log_set_level(FuriLogLevel level); | void furi_log_set_level(FuriLogLevel level); | ||||||
| @ -54,11 +49,14 @@ void furi_log_set_timestamp(FuriLogTimestamp timestamp); | |||||||
| #define FURI_LOG_SHOW(tag, format, log_level, log_letter, ...) \ | #define FURI_LOG_SHOW(tag, format, log_level, log_letter, ...) \ | ||||||
|     furi_log_print(log_level, FURI_LOG_FORMAT(log_letter, tag, format), ##__VA_ARGS__) |     furi_log_print(log_level, FURI_LOG_FORMAT(log_letter, tag, format), ##__VA_ARGS__) | ||||||
| 
 | 
 | ||||||
| #define FURI_LOG_E(tag, format, ...) FURI_LOG_SHOW(tag, format, FURI_LOG_ERROR, E, ##__VA_ARGS__) | #define FURI_LOG_E(tag, format, ...) \ | ||||||
| #define FURI_LOG_W(tag, format, ...) FURI_LOG_SHOW(tag, format, FURI_LOG_WARN, W, ##__VA_ARGS__) |     FURI_LOG_SHOW(tag, format, FuriLogLevelError, E, ##__VA_ARGS__) | ||||||
| #define FURI_LOG_I(tag, format, ...) FURI_LOG_SHOW(tag, format, FURI_LOG_INFO, I, ##__VA_ARGS__) | #define FURI_LOG_W(tag, format, ...) FURI_LOG_SHOW(tag, format, FuriLogLevelWarn, W, ##__VA_ARGS__) | ||||||
| #define FURI_LOG_D(tag, format, ...) FURI_LOG_SHOW(tag, format, FURI_LOG_DEBUG, D, ##__VA_ARGS__) | #define FURI_LOG_I(tag, format, ...) FURI_LOG_SHOW(tag, format, FuriLogLevelInfo, I, ##__VA_ARGS__) | ||||||
| #define FURI_LOG_V(tag, format, ...) FURI_LOG_SHOW(tag, format, FURI_LOG_VERBOSE, V, ##__VA_ARGS__) | #define FURI_LOG_D(tag, format, ...) \ | ||||||
|  |     FURI_LOG_SHOW(tag, format, FuriLogLevelDebug, D, ##__VA_ARGS__) | ||||||
|  | #define FURI_LOG_T(tag, format, ...) \ | ||||||
|  |     FURI_LOG_SHOW(tag, format, FuriLogLevelTrace, T, ##__VA_ARGS__) | ||||||
| 
 | 
 | ||||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||||
| } | } | ||||||
|  | |||||||
| @ -1,52 +0,0 @@ | |||||||
| /**
 |  | ||||||
|   ****************************************************************************** |  | ||||||
|   * @file    rtc.h |  | ||||||
|   * @brief   This file contains all the function prototypes for |  | ||||||
|   *          the rtc.c file |  | ||||||
|   ****************************************************************************** |  | ||||||
|   * @attention |  | ||||||
|   * |  | ||||||
|   * <h2><center>© Copyright (c) 2021 STMicroelectronics. |  | ||||||
|   * All rights reserved.</center></h2> |  | ||||||
|   * |  | ||||||
|   * This software component is licensed by ST under Ultimate Liberty license |  | ||||||
|   * SLA0044, the "License"; You may not use this file except in compliance with |  | ||||||
|   * the License. You may obtain a copy of the License at: |  | ||||||
|   *                             www.st.com/SLA0044 |  | ||||||
|   * |  | ||||||
|   ****************************************************************************** |  | ||||||
|   */ |  | ||||||
| /* Define to prevent recursive inclusion -------------------------------------*/ |  | ||||||
| #ifndef __RTC_H__ |  | ||||||
| #define __RTC_H__ |  | ||||||
| 
 |  | ||||||
| #ifdef __cplusplus |  | ||||||
| extern "C" { |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
| /* Includes ------------------------------------------------------------------*/ |  | ||||||
| #include "main.h" |  | ||||||
| 
 |  | ||||||
| /* USER CODE BEGIN Includes */ |  | ||||||
| 
 |  | ||||||
| /* USER CODE END Includes */ |  | ||||||
| 
 |  | ||||||
| extern RTC_HandleTypeDef hrtc; |  | ||||||
| 
 |  | ||||||
| /* USER CODE BEGIN Private defines */ |  | ||||||
| 
 |  | ||||||
| /* USER CODE END Private defines */ |  | ||||||
| 
 |  | ||||||
| void MX_RTC_Init(void); |  | ||||||
| 
 |  | ||||||
| /* USER CODE BEGIN Prototypes */ |  | ||||||
| 
 |  | ||||||
| /* USER CODE END Prototypes */ |  | ||||||
| 
 |  | ||||||
| #ifdef __cplusplus |  | ||||||
| } |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
| #endif /* __RTC_H__ */ |  | ||||||
| 
 |  | ||||||
| /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |  | ||||||
| @ -48,7 +48,7 @@ | |||||||
| #define HAL_PKA_MODULE_ENABLED | #define HAL_PKA_MODULE_ENABLED | ||||||
| /*#define HAL_QSPI_MODULE_ENABLED   */ | /*#define HAL_QSPI_MODULE_ENABLED   */ | ||||||
| #define HAL_RNG_MODULE_ENABLED | #define HAL_RNG_MODULE_ENABLED | ||||||
| #define HAL_RTC_MODULE_ENABLED | /*#define HAL_RTC_MODULE_ENABLED    */ | ||||||
| /*#define HAL_SAI_MODULE_ENABLED    */ | /*#define HAL_SAI_MODULE_ENABLED    */ | ||||||
| /*#define HAL_SMBUS_MODULE_ENABLED  */ | /*#define HAL_SMBUS_MODULE_ENABLED  */ | ||||||
| /*#define HAL_SMARTCARD_MODULE_ENABLED   */ | /*#define HAL_SMARTCARD_MODULE_ENABLED   */ | ||||||
|  | |||||||
| @ -1,123 +0,0 @@ | |||||||
| /**
 |  | ||||||
|   ****************************************************************************** |  | ||||||
|   * @file    rtc.c |  | ||||||
|   * @brief   This file provides code for the configuration |  | ||||||
|   *          of the RTC instances. |  | ||||||
|   ****************************************************************************** |  | ||||||
|   * @attention |  | ||||||
|   * |  | ||||||
|   * <h2><center>© Copyright (c) 2021 STMicroelectronics. |  | ||||||
|   * All rights reserved.</center></h2> |  | ||||||
|   * |  | ||||||
|   * This software component is licensed by ST under Ultimate Liberty license |  | ||||||
|   * SLA0044, the "License"; You may not use this file except in compliance with |  | ||||||
|   * the License. You may obtain a copy of the License at: |  | ||||||
|   *                             www.st.com/SLA0044 |  | ||||||
|   * |  | ||||||
|   ****************************************************************************** |  | ||||||
|   */ |  | ||||||
| 
 |  | ||||||
| /* Includes ------------------------------------------------------------------*/ |  | ||||||
| #include "rtc.h" |  | ||||||
| 
 |  | ||||||
| /* USER CODE BEGIN 0 */ |  | ||||||
| 
 |  | ||||||
| /* USER CODE END 0 */ |  | ||||||
| 
 |  | ||||||
| RTC_HandleTypeDef hrtc; |  | ||||||
| 
 |  | ||||||
| /* RTC init function */ |  | ||||||
| void MX_RTC_Init(void) |  | ||||||
| { |  | ||||||
|   RTC_TimeTypeDef sTime = {0}; |  | ||||||
|   RTC_DateTypeDef sDate = {0}; |  | ||||||
| 
 |  | ||||||
|   /** Initialize RTC Only
 |  | ||||||
|   */ |  | ||||||
|   hrtc.Instance = RTC; |  | ||||||
|   hrtc.Init.HourFormat = RTC_HOURFORMAT_24; |  | ||||||
|   hrtc.Init.AsynchPrediv = 127; |  | ||||||
|   hrtc.Init.SynchPrediv = 255; |  | ||||||
|   hrtc.Init.OutPut = RTC_OUTPUT_DISABLE; |  | ||||||
|   hrtc.Init.OutPutPolarity = RTC_OUTPUT_POLARITY_HIGH; |  | ||||||
|   hrtc.Init.OutPutType = RTC_OUTPUT_TYPE_OPENDRAIN; |  | ||||||
|   hrtc.Init.OutPutRemap = RTC_OUTPUT_REMAP_NONE; |  | ||||||
|   if (HAL_RTC_Init(&hrtc) != HAL_OK) |  | ||||||
|   { |  | ||||||
|     Error_Handler(); |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   /* USER CODE BEGIN Check_RTC_BKUP */ |  | ||||||
|   return; |  | ||||||
|   /* USER CODE END Check_RTC_BKUP */ |  | ||||||
| 
 |  | ||||||
|   /** Initialize RTC and set the Time and Date
 |  | ||||||
|   */ |  | ||||||
|   sTime.Hours = 0x0; |  | ||||||
|   sTime.Minutes = 0x0; |  | ||||||
|   sTime.Seconds = 0x0; |  | ||||||
|   sTime.SubSeconds = 0x0; |  | ||||||
|   sTime.DayLightSaving = RTC_DAYLIGHTSAVING_NONE; |  | ||||||
|   sTime.StoreOperation = RTC_STOREOPERATION_RESET; |  | ||||||
|   if (HAL_RTC_SetTime(&hrtc, &sTime, RTC_FORMAT_BCD) != HAL_OK) |  | ||||||
|   { |  | ||||||
|     Error_Handler(); |  | ||||||
|   } |  | ||||||
|   sDate.WeekDay = RTC_WEEKDAY_MONDAY; |  | ||||||
|   sDate.Month = RTC_MONTH_JANUARY; |  | ||||||
|   sDate.Date = 0x1; |  | ||||||
|   sDate.Year = 0x0; |  | ||||||
| 
 |  | ||||||
|   if (HAL_RTC_SetDate(&hrtc, &sDate, RTC_FORMAT_BCD) != HAL_OK) |  | ||||||
|   { |  | ||||||
|     Error_Handler(); |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| void HAL_RTC_MspInit(RTC_HandleTypeDef* rtcHandle) |  | ||||||
| { |  | ||||||
| 
 |  | ||||||
|   if(rtcHandle->Instance==RTC) |  | ||||||
|   { |  | ||||||
|   /* USER CODE BEGIN RTC_MspInit 0 */ |  | ||||||
| 
 |  | ||||||
|   /* USER CODE END RTC_MspInit 0 */ |  | ||||||
|     /* RTC clock enable */ |  | ||||||
|     __HAL_RCC_RTC_ENABLE(); |  | ||||||
|     __HAL_RCC_RTCAPB_CLK_ENABLE(); |  | ||||||
| 
 |  | ||||||
|     /* RTC interrupt Init */ |  | ||||||
|     HAL_NVIC_SetPriority(TAMP_STAMP_LSECSS_IRQn, 5, 0); |  | ||||||
|     HAL_NVIC_EnableIRQ(TAMP_STAMP_LSECSS_IRQn); |  | ||||||
|   /* USER CODE BEGIN RTC_MspInit 1 */ |  | ||||||
| 
 |  | ||||||
|   /* USER CODE END RTC_MspInit 1 */ |  | ||||||
|   } |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| void HAL_RTC_MspDeInit(RTC_HandleTypeDef* rtcHandle) |  | ||||||
| { |  | ||||||
| 
 |  | ||||||
|   if(rtcHandle->Instance==RTC) |  | ||||||
|   { |  | ||||||
|   /* USER CODE BEGIN RTC_MspDeInit 0 */ |  | ||||||
| 
 |  | ||||||
|   /* USER CODE END RTC_MspDeInit 0 */ |  | ||||||
|     /* Peripheral clock disable */ |  | ||||||
|     __HAL_RCC_RTC_DISABLE(); |  | ||||||
|     __HAL_RCC_RTCAPB_CLK_DISABLE(); |  | ||||||
| 
 |  | ||||||
|     /* RTC interrupt Deinit */ |  | ||||||
|     HAL_NVIC_DisableIRQ(TAMP_STAMP_LSECSS_IRQn); |  | ||||||
|   /* USER CODE BEGIN RTC_MspDeInit 1 */ |  | ||||||
| 
 |  | ||||||
|   /* USER CODE END RTC_MspDeInit 1 */ |  | ||||||
|   } |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /* USER CODE BEGIN 1 */ |  | ||||||
| 
 |  | ||||||
| /* USER CODE END 1 */ |  | ||||||
| 
 |  | ||||||
| /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |  | ||||||
| @ -6,7 +6,6 @@ | |||||||
| 
 | 
 | ||||||
| extern usbd_device udev; | extern usbd_device udev; | ||||||
| extern COMP_HandleTypeDef hcomp1; | extern COMP_HandleTypeDef hcomp1; | ||||||
| extern RTC_HandleTypeDef hrtc; |  | ||||||
| extern TIM_HandleTypeDef htim1; | extern TIM_HandleTypeDef htim1; | ||||||
| extern TIM_HandleTypeDef htim2; | extern TIM_HandleTypeDef htim2; | ||||||
| extern TIM_HandleTypeDef htim16; | extern TIM_HandleTypeDef htim16; | ||||||
| @ -40,10 +39,6 @@ void HSEM_IRQHandler(void) { | |||||||
|     HAL_HSEM_IRQHandler(); |     HAL_HSEM_IRQHandler(); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void RTC_WKUP_IRQHandler(void){ |  | ||||||
|     HW_TS_RTC_Wakeup_Handler(); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| void IPCC_C1_TX_IRQHandler(void){ | void IPCC_C1_TX_IRQHandler(void){ | ||||||
|     HW_IPCC_Tx_Handler(); |     HW_IPCC_Tx_Handler(); | ||||||
| } | } | ||||||
|  | |||||||
| @ -75,7 +75,7 @@ SVCCTL_UserEvtFlowStatus_t SVCCTL_App_Notification( void *pckt ) | |||||||
|             } |             } | ||||||
|             if(gap->enable_adv) { |             if(gap->enable_adv) { | ||||||
|                 // Restart advertising
 |                 // Restart advertising
 | ||||||
|                 gap_advertise_start(GapCommandAdvFast); |                 gap_advertise_start(GapStateAdvFast); | ||||||
|                 furi_hal_power_insomnia_exit(); |                 furi_hal_power_insomnia_exit(); | ||||||
|             } |             } | ||||||
|             BleEvent event = {.type = BleEventTypeDisconnected}; |             BleEvent event = {.type = BleEventTypeDisconnected}; | ||||||
| @ -446,7 +446,11 @@ void gap_thread_stop() { | |||||||
| static int32_t gap_app(void *context) { | static int32_t gap_app(void *context) { | ||||||
|     GapCommand command; |     GapCommand command; | ||||||
|     while(1) { |     while(1) { | ||||||
|         furi_check(osMessageQueueGet(gap->command_queue, &command, NULL, osWaitForever) == osOK); |         osStatus status = osMessageQueueGet(gap->command_queue, &command, NULL, osWaitForever); | ||||||
|  |         if(status != osOK) { | ||||||
|  |             FURI_LOG_E(TAG, "Message queue get error: %d", status); | ||||||
|  |             continue; | ||||||
|  |         } | ||||||
|         osMutexAcquire(gap->state_mutex, osWaitForever); |         osMutexAcquire(gap->state_mutex, osWaitForever); | ||||||
|         if(command == GapCommandKillThread) { |         if(command == GapCommandKillThread) { | ||||||
|             break; |             break; | ||||||
|  | |||||||
| @ -3,8 +3,8 @@ | |||||||
| #include <stdint.h> | #include <stdint.h> | ||||||
| #include <stdbool.h> | #include <stdbool.h> | ||||||
| 
 | 
 | ||||||
| #define HID_SVC_REPORT_MAP_MAX_LEN (80) | #define HID_SVC_REPORT_MAP_MAX_LEN (120) | ||||||
| #define HID_SVC_REPORT_MAX_LEN (8) | #define HID_SVC_REPORT_MAX_LEN (9) | ||||||
| #define HID_SVC_BOOT_KEYBOARD_INPUT_REPORT_MAX_LEN (8) | #define HID_SVC_BOOT_KEYBOARD_INPUT_REPORT_MAX_LEN (8) | ||||||
| #define HID_SVC_REPORT_REF_LEN (2) | #define HID_SVC_REPORT_REF_LEN (2) | ||||||
| #define HID_SVC_INFO_LEN (4) | #define HID_SVC_INFO_LEN (4) | ||||||
|  | |||||||
| @ -82,165 +82,6 @@ extern "C" { | |||||||
|   void HW_UART_Interrupt_Handler(hw_uart_id_t hw_uart_id); |   void HW_UART_Interrupt_Handler(hw_uart_id_t hw_uart_id); | ||||||
|   void HW_UART_DMA_Interrupt_Handler(hw_uart_id_t hw_uart_id); |   void HW_UART_DMA_Interrupt_Handler(hw_uart_id_t hw_uart_id); | ||||||
| 
 | 
 | ||||||
|   /******************************************************************************
 |  | ||||||
|    * HW TimerServer |  | ||||||
|    ******************************************************************************/ |  | ||||||
|   /* Exported types ------------------------------------------------------------*/ |  | ||||||
|   /**
 |  | ||||||
|    * This setting is used when standby mode is supported. |  | ||||||
|    * hw_ts_InitMode_Limited should be used when the device restarts from Standby Mode. In that case, the Timer Server does |  | ||||||
|    * not re-initialized its context. Only the Hardware register which content has been lost is reconfigured |  | ||||||
|    * Otherwise, hw_ts_InitMode_Full should be requested (Start from Power ON) and everything is re-initialized. |  | ||||||
|    */ |  | ||||||
|   typedef enum |  | ||||||
|   { |  | ||||||
|     hw_ts_InitMode_Full, |  | ||||||
|     hw_ts_InitMode_Limited, |  | ||||||
|   } HW_TS_InitMode_t; |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * When a Timer is created as a SingleShot timer, it is not automatically restarted when the timeout occurs. However, |  | ||||||
|    * the timer is kept reserved in the list and could be restarted at anytime with HW_TS_Start() |  | ||||||
|    * |  | ||||||
|    * When a Timer is created as a Repeated timer, it is automatically restarted when the timeout occurs. |  | ||||||
|    */ |  | ||||||
|   typedef enum |  | ||||||
|   { |  | ||||||
|     hw_ts_SingleShot, |  | ||||||
|     hw_ts_Repeated |  | ||||||
|   } HW_TS_Mode_t; |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * hw_ts_Successful is returned when a Timer has been successfully created with HW_TS_Create(). Otherwise, hw_ts_Failed |  | ||||||
|    * is returned. When hw_ts_Failed is returned, that means there are not enough free slots in the list to create a |  | ||||||
|    * Timer. In that case, CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER should be increased |  | ||||||
|    */ |  | ||||||
|   typedef enum |  | ||||||
|   { |  | ||||||
|     hw_ts_Successful, |  | ||||||
|     hw_ts_Failed, |  | ||||||
|   }HW_TS_ReturnStatus_t; |  | ||||||
| 
 |  | ||||||
|   typedef void (*HW_TS_pTimerCb_t)(void); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * @brief  Initialize the timer server |  | ||||||
|    *         This API shall be called by the application before any timer is requested to the timer server. It |  | ||||||
|    *         configures the RTC module to be connected to the LSI input clock. |  | ||||||
|    * |  | ||||||
|    * @param  TimerInitMode: When the device restarts from Standby, it should request hw_ts_InitMode_Limited so that the |  | ||||||
|    *         Timer context is not re-initialized. Otherwise, hw_ts_InitMode_Full should be requested |  | ||||||
|    * @param  hrtc: RTC Handle |  | ||||||
|    * @retval None |  | ||||||
|    */ |  | ||||||
|   void HW_TS_Init(HW_TS_InitMode_t TimerInitMode, RTC_HandleTypeDef *hrtc); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * @brief  Interface to create a virtual timer |  | ||||||
|    *         The user shall call this API to create a timer. Once created, the timer is reserved to the module until it |  | ||||||
|    *         has been deleted. When creating a timer, the user shall specify the mode (single shot or repeated), the |  | ||||||
|    *         callback to be notified when the timer expires and a module ID to identify in the timer interrupt handler |  | ||||||
|    *         which module is concerned. In return, the user gets a timer ID to handle it. |  | ||||||
|    * |  | ||||||
|    * @param  TimerProcessID:  This is an identifier provided by the user and returned in the callback to allow |  | ||||||
|    *                          identification of the requester |  | ||||||
|    * @param  pTimerId: Timer Id returned to the user to request operation (start, stop, delete) |  | ||||||
|    * @param  TimerMode: Mode of the virtual timer (Single shot or repeated) |  | ||||||
|    * @param  pTimerCallBack: Callback when the virtual timer expires |  | ||||||
|    * @retval HW_TS_ReturnStatus_t: Return whether the creation is sucessfull or not |  | ||||||
|    */ |  | ||||||
|   HW_TS_ReturnStatus_t HW_TS_Create(uint32_t TimerProcessID, uint8_t *pTimerId, HW_TS_Mode_t TimerMode, HW_TS_pTimerCb_t pTimerCallBack); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * @brief  Stop a virtual timer |  | ||||||
|    *         This API may be used to stop a running timer. A timer which is stopped is move to the pending state. |  | ||||||
|    *         A pending timer may be restarted at any time with a different timeout value but the mode cannot be changed. |  | ||||||
|    *         Nothing is done when it is called to stop a timer which has been already stopped |  | ||||||
|    * |  | ||||||
|    * @param  TimerID:  Id of the timer to stop |  | ||||||
|    * @retval None |  | ||||||
|    */ |  | ||||||
|   void HW_TS_Stop(uint8_t TimerID); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * @brief  Start a virtual timer |  | ||||||
|    *         This API shall be used to start a timer. The timeout value is specified and may be different each time. |  | ||||||
|    *         When the timer is in the single shot mode, it will move to the pending state when it expires. The user may |  | ||||||
|    *         restart it at any time with a different timeout value. When the timer is in the repeated mode, it always |  | ||||||
|    *         stay in the running state. When the timer expires, it will be restarted with the same timeout value. |  | ||||||
|    *         This API shall not be called on a running timer. |  | ||||||
|    * |  | ||||||
|    * @param  TimerID:  The ID Id of the timer to start |  | ||||||
|    * @param  timeout_ticks: Number of ticks of the virtual timer (Maximum value is (0xFFFFFFFF-0xFFFF = 0xFFFF0000) |  | ||||||
|    * @retval None |  | ||||||
|    */ |  | ||||||
|   void HW_TS_Start(uint8_t TimerID, uint32_t timeout_ticks); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * @brief  Delete a virtual timer from the list |  | ||||||
|    *         This API should be used when a timer is not needed anymore by the user. A deleted timer is removed from |  | ||||||
|    *         the timer list managed by the timer server. It cannot be restarted again. The user has to go with the |  | ||||||
|    *         creation of a new timer if required and may get a different timer id |  | ||||||
|    * |  | ||||||
|    * @param  TimerID:  The ID of the timer to remove from the list |  | ||||||
|    * @retval None |  | ||||||
|    */ |  | ||||||
|   void HW_TS_Delete(uint8_t TimerID); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * @brief  Schedule the timer list on the timer interrupt handler |  | ||||||
|    *         This interrupt handler shall be called by the application in the RTC interrupt handler. This handler takes |  | ||||||
|    *         care of clearing all status flag required in the RTC and EXTI peripherals |  | ||||||
|    * |  | ||||||
|    * @param  None |  | ||||||
|    * @retval None |  | ||||||
|    */ |  | ||||||
|   void HW_TS_RTC_Wakeup_Handler(void); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * @brief  Return the number of ticks to count before the interrupt |  | ||||||
|    *         This API returns the number of ticks left to be counted before an interrupt is generated by the |  | ||||||
|    *         Timer Server. This API may be used by the application for power management optimization. When the system |  | ||||||
|    *         enters low power mode, the mode selection is a tradeoff between the wakeup time where the CPU is running |  | ||||||
|    *         and the time while the CPU will be kept in low power mode before next wakeup. The deeper is the |  | ||||||
|    *         low power mode used, the longer is the wakeup time. The low power mode management considering wakeup time |  | ||||||
|    *         versus time in low power mode is implementation specific |  | ||||||
|    *         When the timer is disabled (No timer in the list), it returns 0xFFFF |  | ||||||
|    * |  | ||||||
|    * @param  None |  | ||||||
|    * @retval The number of ticks left to count |  | ||||||
|    */ |  | ||||||
|   uint16_t HW_TS_RTC_ReadLeftTicksToCount(void); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * @brief  Notify the application that a registered timer has expired |  | ||||||
|    *         This API shall be implemented by the user application. |  | ||||||
|    *         This API notifies the application that a timer expires. This API is running in the RTC Wakeup interrupt |  | ||||||
|    *         context. The application may implement an Operating System to change the context priority where the timer |  | ||||||
|    *         callback may be handled. This API provides the module ID to identify which module is concerned and to allow |  | ||||||
|    *         sending the information to the correct task |  | ||||||
|    * |  | ||||||
|    * @param  TimerProcessID: The TimerProcessId associated with the timer when it has been created |  | ||||||
|    * @param  TimerID: The TimerID of the expired timer |  | ||||||
|    * @param  pTimerCallBack: The Callback associated with the timer when it has been created |  | ||||||
|    * @retval None |  | ||||||
|    */ |  | ||||||
|   void HW_TS_RTC_Int_AppNot(uint32_t TimerProcessID, uint8_t TimerID, HW_TS_pTimerCb_t pTimerCallBack); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * @brief  Notify the application that the wakeupcounter has been updated |  | ||||||
|    *         This API should be implemented by the user application |  | ||||||
|    *         This API notifies the application that the counter has been updated. This is expected to be used along |  | ||||||
|    *         with the HW_TS_RTC_ReadLeftTicksToCount () API. It could be that the counter has been updated since the |  | ||||||
|    *         last call of HW_TS_RTC_ReadLeftTicksToCount () and before entering low power mode. This notification |  | ||||||
|    *         provides a way to the application to solve that race condition to reevaluate the counter value before |  | ||||||
|    *         entering low power mode |  | ||||||
|    * |  | ||||||
|    * @param  None |  | ||||||
|    * @retval None |  | ||||||
|    */ |  | ||||||
|   void HW_TS_RTC_CountUpdated_AppNot(void); |  | ||||||
| 
 |  | ||||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||||
| } | } | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -1,893 +0,0 @@ | |||||||
| /**
 |  | ||||||
|  ****************************************************************************** |  | ||||||
|   * File Name          : hw_timerserver.c |  | ||||||
|   * Description        : Hardware timerserver source file for STM32WPAN Middleware. |  | ||||||
|   * |  | ||||||
|  ****************************************************************************** |  | ||||||
|   * @attention |  | ||||||
|   * |  | ||||||
|   * <h2><center>© Copyright (c) 2020 STMicroelectronics. |  | ||||||
|   * All rights reserved.</center></h2> |  | ||||||
|   * |  | ||||||
|   * This software component is licensed by ST under Ultimate Liberty license |  | ||||||
|   * SLA0044, the "License"; You may not use this file except in compliance with |  | ||||||
|   * the License. You may obtain a copy of the License at: |  | ||||||
|   *                             www.st.com/SLA0044 |  | ||||||
|   * |  | ||||||
|   ****************************************************************************** |  | ||||||
|   */ |  | ||||||
| 
 |  | ||||||
| /* Includes ------------------------------------------------------------------*/ |  | ||||||
| #include "app_common.h" |  | ||||||
| #include "hw_conf.h" |  | ||||||
| 
 |  | ||||||
| /* Private typedef -----------------------------------------------------------*/ |  | ||||||
| typedef enum |  | ||||||
| { |  | ||||||
|   TimerID_Free, |  | ||||||
|   TimerID_Created, |  | ||||||
|   TimerID_Running |  | ||||||
| }TimerIDStatus_t; |  | ||||||
| 
 |  | ||||||
| typedef enum |  | ||||||
| { |  | ||||||
|   SSR_Read_Requested, |  | ||||||
|   SSR_Read_Not_Requested |  | ||||||
| }RequestReadSSR_t; |  | ||||||
| 
 |  | ||||||
| typedef enum |  | ||||||
| { |  | ||||||
|   WakeupTimerValue_Overpassed, |  | ||||||
|   WakeupTimerValue_LargeEnough |  | ||||||
| }WakeupTimerLimitation_Status_t; |  | ||||||
| 
 |  | ||||||
| typedef struct |  | ||||||
| { |  | ||||||
|   HW_TS_pTimerCb_t  pTimerCallBack; |  | ||||||
|   uint32_t        CounterInit; |  | ||||||
|   uint32_t        CountLeft; |  | ||||||
|   TimerIDStatus_t     TimerIDStatus; |  | ||||||
|   HW_TS_Mode_t   TimerMode; |  | ||||||
|   uint32_t        TimerProcessID; |  | ||||||
|   uint8_t         PreviousID; |  | ||||||
|   uint8_t         NextID; |  | ||||||
| }TimerContext_t; |  | ||||||
| 
 |  | ||||||
| /* Private defines -----------------------------------------------------------*/ |  | ||||||
| #define SSR_FORBIDDEN_VALUE   0xFFFFFFFF |  | ||||||
| #define TIMER_LIST_EMPTY      0xFFFF |  | ||||||
| 
 |  | ||||||
| /* Private macros ------------------------------------------------------------*/ |  | ||||||
| /* Private variables ---------------------------------------------------------*/ |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * START of Section TIMERSERVER_CONTEXT |  | ||||||
|  */ |  | ||||||
| 
 |  | ||||||
| PLACE_IN_SECTION("TIMERSERVER_CONTEXT") static volatile TimerContext_t aTimerContext[CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER]; |  | ||||||
| PLACE_IN_SECTION("TIMERSERVER_CONTEXT") static volatile uint8_t CurrentRunningTimerID; |  | ||||||
| PLACE_IN_SECTION("TIMERSERVER_CONTEXT") static volatile uint8_t PreviousRunningTimerID; |  | ||||||
| PLACE_IN_SECTION("TIMERSERVER_CONTEXT") static volatile uint32_t SSRValueOnLastSetup; |  | ||||||
| PLACE_IN_SECTION("TIMERSERVER_CONTEXT") static volatile WakeupTimerLimitation_Status_t  WakeupTimerLimitation; |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * END of Section TIMERSERVER_CONTEXT |  | ||||||
|  */ |  | ||||||
| 
 |  | ||||||
| static RTC_HandleTypeDef *phrtc;  /**< RTC handle */ |  | ||||||
| static uint8_t  WakeupTimerDivider; |  | ||||||
| static uint8_t  AsynchPrescalerUserConfig; |  | ||||||
| static uint16_t SynchPrescalerUserConfig; |  | ||||||
| static volatile uint16_t MaxWakeupTimerSetup; |  | ||||||
| 
 |  | ||||||
| /* Global variables ----------------------------------------------------------*/ |  | ||||||
| /* Private function prototypes -----------------------------------------------*/ |  | ||||||
| static void RestartWakeupCounter(uint16_t Value); |  | ||||||
| static uint16_t ReturnTimeElapsed(void); |  | ||||||
| static void RescheduleTimerList(void); |  | ||||||
| static void UnlinkTimer(uint8_t TimerID, RequestReadSSR_t RequestReadSSR); |  | ||||||
| static void LinkTimerBefore(uint8_t TimerID, uint8_t RefTimerID); |  | ||||||
| static void LinkTimerAfter(uint8_t TimerID, uint8_t RefTimerID); |  | ||||||
| static uint16_t linkTimer(uint8_t TimerID); |  | ||||||
| static uint32_t ReadRtcSsrValue(void); |  | ||||||
| 
 |  | ||||||
| __weak void HW_TS_RTC_CountUpdated_AppNot(void); |  | ||||||
| 
 |  | ||||||
| /* Functions Definition ------------------------------------------------------*/ |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * @brief  Read the RTC_SSR value |  | ||||||
|  *         As described in the reference manual, the RTC_SSR shall be read twice to ensure |  | ||||||
|  *         reliability of the value |  | ||||||
|  * @param  None |  | ||||||
|  * @retval SSR value read |  | ||||||
|  */ |  | ||||||
| static uint32_t ReadRtcSsrValue(void) |  | ||||||
| { |  | ||||||
|   uint32_t first_read; |  | ||||||
|   uint32_t second_read; |  | ||||||
| 
 |  | ||||||
|   first_read = (uint32_t)(READ_BIT(RTC->SSR, RTC_SSR_SS)); |  | ||||||
| 
 |  | ||||||
|   second_read = (uint32_t)(READ_BIT(RTC->SSR, RTC_SSR_SS)); |  | ||||||
| 
 |  | ||||||
|   while(first_read != second_read) |  | ||||||
|   { |  | ||||||
|     first_read = second_read; |  | ||||||
| 
 |  | ||||||
|     second_read = (uint32_t)(READ_BIT(RTC->SSR, RTC_SSR_SS)); |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   return second_read; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * @brief  Insert a Timer in the list after the Timer ID specified |  | ||||||
|  * @param  TimerID:   The ID of the Timer |  | ||||||
|  * @param  RefTimerID: The ID of the Timer to be linked after |  | ||||||
|  * @retval None |  | ||||||
|  */ |  | ||||||
| static void LinkTimerAfter(uint8_t TimerID, uint8_t RefTimerID) |  | ||||||
| { |  | ||||||
|   uint8_t next_id; |  | ||||||
| 
 |  | ||||||
|   next_id = aTimerContext[RefTimerID].NextID; |  | ||||||
| 
 |  | ||||||
|   if(next_id != CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER) |  | ||||||
|   { |  | ||||||
|     aTimerContext[next_id].PreviousID = TimerID; |  | ||||||
|   } |  | ||||||
|   aTimerContext[TimerID].NextID = next_id; |  | ||||||
|   aTimerContext[TimerID].PreviousID = RefTimerID ; |  | ||||||
|   aTimerContext[RefTimerID].NextID = TimerID; |  | ||||||
| 
 |  | ||||||
|   return; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * @brief  Insert a Timer in the list before the ID specified |  | ||||||
|  * @param  TimerID:   The ID of the Timer |  | ||||||
|  * @param  RefTimerID: The ID of the Timer to be linked before |  | ||||||
|  * @retval None |  | ||||||
|  */ |  | ||||||
| static void LinkTimerBefore(uint8_t TimerID, uint8_t RefTimerID) |  | ||||||
| { |  | ||||||
|   uint8_t previous_id; |  | ||||||
| 
 |  | ||||||
|   if(RefTimerID != CurrentRunningTimerID) |  | ||||||
|   { |  | ||||||
|     previous_id = aTimerContext[RefTimerID].PreviousID; |  | ||||||
| 
 |  | ||||||
|     aTimerContext[previous_id].NextID = TimerID; |  | ||||||
|     aTimerContext[TimerID].NextID = RefTimerID; |  | ||||||
|     aTimerContext[TimerID].PreviousID = previous_id ; |  | ||||||
|     aTimerContext[RefTimerID].PreviousID = TimerID; |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     aTimerContext[TimerID].NextID = RefTimerID; |  | ||||||
|     aTimerContext[RefTimerID].PreviousID = TimerID; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   return; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * @brief  Insert a Timer in the list |  | ||||||
|  * @param  TimerID:   The ID of the Timer |  | ||||||
|  * @retval None |  | ||||||
|  */ |  | ||||||
| static uint16_t linkTimer(uint8_t TimerID) |  | ||||||
| { |  | ||||||
|   uint32_t time_left; |  | ||||||
|   uint16_t time_elapsed; |  | ||||||
|   uint8_t timer_id_lookup; |  | ||||||
|   uint8_t next_id; |  | ||||||
| 
 |  | ||||||
|   if(CurrentRunningTimerID == CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER) |  | ||||||
|   { |  | ||||||
|     /**
 |  | ||||||
|      * No timer in the list |  | ||||||
|      */ |  | ||||||
|     PreviousRunningTimerID = CurrentRunningTimerID; |  | ||||||
|     CurrentRunningTimerID = TimerID; |  | ||||||
|     aTimerContext[TimerID].NextID = CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER; |  | ||||||
| 
 |  | ||||||
|     SSRValueOnLastSetup = SSR_FORBIDDEN_VALUE; |  | ||||||
|     time_elapsed = 0; |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     time_elapsed = ReturnTimeElapsed(); |  | ||||||
| 
 |  | ||||||
|     /**
 |  | ||||||
|      * update count of the timer to be linked |  | ||||||
|      */ |  | ||||||
|     aTimerContext[TimerID].CountLeft += time_elapsed; |  | ||||||
|     time_left = aTimerContext[TimerID].CountLeft; |  | ||||||
| 
 |  | ||||||
|     /**
 |  | ||||||
|      * Search for index where the new timer shall be linked |  | ||||||
|      */ |  | ||||||
|     if(aTimerContext[CurrentRunningTimerID].CountLeft <= time_left) |  | ||||||
|     { |  | ||||||
|       /**
 |  | ||||||
|        * Search for the ID after the first one |  | ||||||
|        */ |  | ||||||
|       timer_id_lookup = CurrentRunningTimerID; |  | ||||||
|       next_id = aTimerContext[timer_id_lookup].NextID; |  | ||||||
|       while((next_id != CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER) && (aTimerContext[next_id].CountLeft <= time_left)) |  | ||||||
|       { |  | ||||||
|         timer_id_lookup = aTimerContext[timer_id_lookup].NextID; |  | ||||||
|         next_id = aTimerContext[timer_id_lookup].NextID; |  | ||||||
|       } |  | ||||||
| 
 |  | ||||||
|       /**
 |  | ||||||
|        * Link after the ID |  | ||||||
|        */ |  | ||||||
|       LinkTimerAfter(TimerID, timer_id_lookup); |  | ||||||
|     } |  | ||||||
|     else |  | ||||||
|     { |  | ||||||
|       /**
 |  | ||||||
|        * Link before the first ID |  | ||||||
|        */ |  | ||||||
|       LinkTimerBefore(TimerID, CurrentRunningTimerID); |  | ||||||
|       PreviousRunningTimerID = CurrentRunningTimerID; |  | ||||||
|       CurrentRunningTimerID = TimerID; |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   return time_elapsed; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * @brief  Remove a Timer from the list |  | ||||||
|  * @param  TimerID:   The ID of the Timer |  | ||||||
|  * @param  RequestReadSSR: Request to read the SSR register or not |  | ||||||
|  * @retval None |  | ||||||
|  */ |  | ||||||
| static void UnlinkTimer(uint8_t TimerID, RequestReadSSR_t RequestReadSSR) |  | ||||||
| { |  | ||||||
|   uint8_t previous_id; |  | ||||||
|   uint8_t next_id; |  | ||||||
| 
 |  | ||||||
|   if(TimerID == CurrentRunningTimerID) |  | ||||||
|   { |  | ||||||
|     PreviousRunningTimerID = CurrentRunningTimerID; |  | ||||||
|     CurrentRunningTimerID = aTimerContext[TimerID].NextID; |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     previous_id = aTimerContext[TimerID].PreviousID; |  | ||||||
|     next_id = aTimerContext[TimerID].NextID; |  | ||||||
| 
 |  | ||||||
|     aTimerContext[previous_id].NextID = aTimerContext[TimerID].NextID; |  | ||||||
|     if(next_id != CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER) |  | ||||||
|     { |  | ||||||
|       aTimerContext[next_id].PreviousID = aTimerContext[TimerID].PreviousID; |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * Timer is out of the list |  | ||||||
|    */ |  | ||||||
|   aTimerContext[TimerID].TimerIDStatus = TimerID_Created; |  | ||||||
| 
 |  | ||||||
|   if((CurrentRunningTimerID == CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER) && (RequestReadSSR == SSR_Read_Requested)) |  | ||||||
|   { |  | ||||||
|     SSRValueOnLastSetup = SSR_FORBIDDEN_VALUE; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   return; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * @brief  Return the number of ticks counted by the wakeuptimer since it has been started |  | ||||||
|  * @note  The API is reading the SSR register to get how many ticks have been counted |  | ||||||
|  *        since the time the timer has been started |  | ||||||
|  * @param  None |  | ||||||
|  * @retval Time expired in Ticks |  | ||||||
|  */ |  | ||||||
| static uint16_t ReturnTimeElapsed(void) |  | ||||||
| { |  | ||||||
|   uint32_t  return_value; |  | ||||||
|   uint32_t  wrap_counter; |  | ||||||
| 
 |  | ||||||
|   if(SSRValueOnLastSetup != SSR_FORBIDDEN_VALUE) |  | ||||||
|   { |  | ||||||
|     return_value = ReadRtcSsrValue(); /**< Read SSR register first */ |  | ||||||
| 
 |  | ||||||
|     if (SSRValueOnLastSetup >= return_value) |  | ||||||
|     { |  | ||||||
|       return_value = SSRValueOnLastSetup - return_value; |  | ||||||
|     } |  | ||||||
|     else |  | ||||||
|     { |  | ||||||
|       wrap_counter = SynchPrescalerUserConfig - return_value; |  | ||||||
|       return_value = SSRValueOnLastSetup + wrap_counter; |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|     /**
 |  | ||||||
|      * At this stage, ReturnValue holds the number of ticks counted by SSR |  | ||||||
|      * Need to translate in number of ticks counted by the Wakeuptimer |  | ||||||
|      */ |  | ||||||
|     return_value = return_value*AsynchPrescalerUserConfig; |  | ||||||
|     return_value = return_value >> WakeupTimerDivider; |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     return_value = 0; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   return (uint16_t)return_value; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * @brief  Set the wakeup counter |  | ||||||
|  * @note  The API is writing the counter value so that the value is decreased by one to cope with the fact |  | ||||||
|  *    the interrupt is generated with 1 extra clock cycle (See RefManuel) |  | ||||||
|  *    It assumes all condition are met to be allowed to write the wakeup counter |  | ||||||
|  * @param  Value: Value to be written in the counter |  | ||||||
|  * @retval None |  | ||||||
|  */ |  | ||||||
| static void RestartWakeupCounter(uint16_t Value) |  | ||||||
| { |  | ||||||
|   /**
 |  | ||||||
|    * The wakeuptimer has been disabled in the calling function to reduce the time to poll the WUTWF |  | ||||||
|    * FLAG when the new value will have to be written |  | ||||||
|    *  __HAL_RTC_WAKEUPTIMER_DISABLE(phrtc); |  | ||||||
|    */ |  | ||||||
| 
 |  | ||||||
|   if(Value == 0) |  | ||||||
|   { |  | ||||||
|     SSRValueOnLastSetup = ReadRtcSsrValue(); |  | ||||||
| 
 |  | ||||||
|     /**
 |  | ||||||
|      * Simulate that the Timer expired |  | ||||||
|      */ |  | ||||||
|     HAL_NVIC_SetPendingIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID); |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     if((Value > 1) ||(WakeupTimerDivider != 1)) |  | ||||||
|     { |  | ||||||
|       Value -= 1; |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|     while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(phrtc, RTC_FLAG_WUTWF) == RESET); |  | ||||||
| 
 |  | ||||||
|     /**
 |  | ||||||
|      * make sure to clear the flags after checking the WUTWF. |  | ||||||
|      * It takes 2 RTCCLK between the time the WUTE bit is disabled and the |  | ||||||
|      * time the timer is disabled. The WUTWF bit somehow guarantee the system is stable |  | ||||||
|      * Otherwise, when the timer is periodic with 1 Tick, it may generate an extra interrupt in between |  | ||||||
|      * due to the autoreload feature |  | ||||||
|      */ |  | ||||||
|     __HAL_RTC_WAKEUPTIMER_CLEAR_FLAG(phrtc, RTC_FLAG_WUTF);   /**<  Clear flag in RTC module */ |  | ||||||
|     __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG(); /**<  Clear flag in EXTI module */ |  | ||||||
|     HAL_NVIC_ClearPendingIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID);   /**<  Clear pending bit in NVIC */ |  | ||||||
| 
 |  | ||||||
|     MODIFY_REG(RTC->WUTR, RTC_WUTR_WUT, Value); |  | ||||||
| 
 |  | ||||||
|     /**
 |  | ||||||
|      * Update the value here after the WUTWF polling that may take some time |  | ||||||
|      */ |  | ||||||
|     SSRValueOnLastSetup = ReadRtcSsrValue(); |  | ||||||
| 
 |  | ||||||
|     __HAL_RTC_WAKEUPTIMER_ENABLE(phrtc);    /**<  Enable the Wakeup Timer */ |  | ||||||
| 
 |  | ||||||
|     HW_TS_RTC_CountUpdated_AppNot(); |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   return ; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * @brief  Reschedule the list of timer |  | ||||||
|  * @note  1) Update the count left for each timer in the list |  | ||||||
|  *    2) Setup the wakeuptimer |  | ||||||
|  * @param  None |  | ||||||
|  * @retval None |  | ||||||
|  */ |  | ||||||
| static void RescheduleTimerList(void) |  | ||||||
| { |  | ||||||
|   uint8_t   localTimerID; |  | ||||||
|   uint32_t  timecountleft; |  | ||||||
|   uint16_t  wakeup_timer_value; |  | ||||||
|   uint16_t  time_elapsed; |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * The wakeuptimer is disabled now to reduce the time to poll the WUTWF |  | ||||||
|    * FLAG when the new value will have to be written |  | ||||||
|    */ |  | ||||||
|   if((READ_BIT(RTC->CR, RTC_CR_WUTE) == (RTC_CR_WUTE)) == SET) |  | ||||||
|   { |  | ||||||
|     /**
 |  | ||||||
|      * Wait for the flag to be back to 0 when the wakeup timer is enabled |  | ||||||
|      */ |  | ||||||
|     while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(phrtc, RTC_FLAG_WUTWF) == SET); |  | ||||||
|   } |  | ||||||
|   __HAL_RTC_WAKEUPTIMER_DISABLE(phrtc);   /**<  Disable the Wakeup Timer */ |  | ||||||
| 
 |  | ||||||
|   localTimerID = CurrentRunningTimerID; |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * Calculate what will be the value to write in the wakeuptimer |  | ||||||
|    */ |  | ||||||
|   timecountleft = aTimerContext[localTimerID].CountLeft; |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * Read how much has been counted |  | ||||||
|    */ |  | ||||||
|   time_elapsed = ReturnTimeElapsed(); |  | ||||||
| 
 |  | ||||||
|   if(timecountleft < time_elapsed ) |  | ||||||
|   { |  | ||||||
|     /**
 |  | ||||||
|      * There is no tick left to count |  | ||||||
|      */ |  | ||||||
|     wakeup_timer_value = 0; |  | ||||||
|     WakeupTimerLimitation = WakeupTimerValue_LargeEnough; |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     if(timecountleft > (time_elapsed + MaxWakeupTimerSetup)) |  | ||||||
|     { |  | ||||||
|       /**
 |  | ||||||
|        * The number of tick left is greater than the Wakeuptimer maximum value |  | ||||||
|        */ |  | ||||||
|       wakeup_timer_value = MaxWakeupTimerSetup; |  | ||||||
| 
 |  | ||||||
|       WakeupTimerLimitation = WakeupTimerValue_Overpassed; |  | ||||||
|     } |  | ||||||
|     else |  | ||||||
|     { |  | ||||||
|       wakeup_timer_value = timecountleft - time_elapsed; |  | ||||||
|       WakeupTimerLimitation = WakeupTimerValue_LargeEnough; |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * update ticks left to be counted for each timer |  | ||||||
|    */ |  | ||||||
|   while(localTimerID != CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER) |  | ||||||
|   { |  | ||||||
|     if (aTimerContext[localTimerID].CountLeft < time_elapsed) |  | ||||||
|     { |  | ||||||
|       aTimerContext[localTimerID].CountLeft = 0; |  | ||||||
|     } |  | ||||||
|     else |  | ||||||
|     { |  | ||||||
|       aTimerContext[localTimerID].CountLeft -= time_elapsed; |  | ||||||
|     } |  | ||||||
|     localTimerID = aTimerContext[localTimerID].NextID; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * Write next count |  | ||||||
|    */ |  | ||||||
|   RestartWakeupCounter(wakeup_timer_value); |  | ||||||
| 
 |  | ||||||
|   return ; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /* Public functions ----------------------------------------------------------*/ |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * For all public interface except that may need write access to the RTC, the RTC |  | ||||||
|  * shall be unlock at the beginning and locked at the output |  | ||||||
|  * In order to ease maintainability, the unlock is done at the top and the lock at then end |  | ||||||
|  * in case some new implementation is coming in the future |  | ||||||
|  */ |  | ||||||
| 
 |  | ||||||
| void HW_TS_RTC_Wakeup_Handler(void) |  | ||||||
| { |  | ||||||
|   HW_TS_pTimerCb_t ptimer_callback; |  | ||||||
|   uint32_t timer_process_id; |  | ||||||
|   uint8_t local_current_running_timer_id; |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   uint32_t primask_bit; |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   primask_bit = __get_PRIMASK();  /**< backup PRIMASK bit */ |  | ||||||
|   __disable_irq();          /**< Disable all interrupts by setting PRIMASK bit on Cortex*/ |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
| /* Disable the write protection for RTC registers */ |  | ||||||
|   __HAL_RTC_WRITEPROTECTION_DISABLE( phrtc ); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * Disable the Wakeup Timer |  | ||||||
|    * This may speed up a bit the processing to wait the timer to be disabled |  | ||||||
|    * The timer is still counting 2 RTCCLK |  | ||||||
|    */ |  | ||||||
|   __HAL_RTC_WAKEUPTIMER_DISABLE(phrtc); |  | ||||||
| 
 |  | ||||||
|   local_current_running_timer_id = CurrentRunningTimerID; |  | ||||||
| 
 |  | ||||||
|   if(aTimerContext[local_current_running_timer_id].TimerIDStatus == TimerID_Running) |  | ||||||
|   { |  | ||||||
|     ptimer_callback = aTimerContext[local_current_running_timer_id].pTimerCallBack; |  | ||||||
|     timer_process_id = aTimerContext[local_current_running_timer_id].TimerProcessID; |  | ||||||
| 
 |  | ||||||
|     /**
 |  | ||||||
|      * It should be good to check whether the TimeElapsed is greater or not than the tick left to be counted |  | ||||||
|      * However, due to the inaccuracy of the reading of the time elapsed, it may return there is 1 tick |  | ||||||
|      * to be left whereas the count is over |  | ||||||
|      * A more secure implementation has been done with a flag to state whereas the full count has been written |  | ||||||
|      * in the wakeuptimer or not |  | ||||||
|      */ |  | ||||||
|     if(WakeupTimerLimitation != WakeupTimerValue_Overpassed) |  | ||||||
|     { |  | ||||||
|       if(aTimerContext[local_current_running_timer_id].TimerMode == hw_ts_Repeated) |  | ||||||
|       { |  | ||||||
|         UnlinkTimer(local_current_running_timer_id, SSR_Read_Not_Requested); |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|         __set_PRIMASK(primask_bit); /**< Restore PRIMASK bit*/ |  | ||||||
| #endif |  | ||||||
|         HW_TS_Start(local_current_running_timer_id, aTimerContext[local_current_running_timer_id].CounterInit); |  | ||||||
| 
 |  | ||||||
|         /* Disable the write protection for RTC registers */ |  | ||||||
|         __HAL_RTC_WRITEPROTECTION_DISABLE( phrtc ); |  | ||||||
|         } |  | ||||||
|       else |  | ||||||
|       { |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|         __set_PRIMASK(primask_bit); /**< Restore PRIMASK bit*/ |  | ||||||
| #endif |  | ||||||
|         HW_TS_Stop(local_current_running_timer_id); |  | ||||||
| 
 |  | ||||||
|         /* Disable the write protection for RTC registers */ |  | ||||||
|         __HAL_RTC_WRITEPROTECTION_DISABLE( phrtc ); |  | ||||||
|         } |  | ||||||
| 
 |  | ||||||
|       HW_TS_RTC_Int_AppNot(timer_process_id, local_current_running_timer_id, ptimer_callback); |  | ||||||
|     } |  | ||||||
|     else |  | ||||||
|     { |  | ||||||
|       RescheduleTimerList(); |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|       __set_PRIMASK(primask_bit); /**< Restore PRIMASK bit*/ |  | ||||||
| #endif |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     /**
 |  | ||||||
|      * We should never end up in this case |  | ||||||
|      * However, if due to any bug in the timer server this is the case, the mistake may not impact the user. |  | ||||||
|      * We could just clean the interrupt flag and get out from this unexpected interrupt |  | ||||||
|      */ |  | ||||||
|     while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(phrtc, RTC_FLAG_WUTWF) == RESET); |  | ||||||
| 
 |  | ||||||
|     /**
 |  | ||||||
|      * make sure to clear the flags after checking the WUTWF. |  | ||||||
|      * It takes 2 RTCCLK between the time the WUTE bit is disabled and the |  | ||||||
|      * time the timer is disabled. The WUTWF bit somehow guarantee the system is stable |  | ||||||
|      * Otherwise, when the timer is periodic with 1 Tick, it may generate an extra interrupt in between |  | ||||||
|      * due to the autoreload feature |  | ||||||
|      */ |  | ||||||
|     __HAL_RTC_WAKEUPTIMER_CLEAR_FLAG(phrtc, RTC_FLAG_WUTF);   /**<  Clear flag in RTC module */ |  | ||||||
|     __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG(); /**<  Clear flag in EXTI module */ |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|     __set_PRIMASK(primask_bit); /**< Restore PRIMASK bit*/ |  | ||||||
| #endif |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   /* Enable the write protection for RTC registers */ |  | ||||||
|   __HAL_RTC_WRITEPROTECTION_ENABLE( phrtc ); |  | ||||||
| 
 |  | ||||||
|   return; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| void HW_TS_Init(HW_TS_InitMode_t TimerInitMode, RTC_HandleTypeDef *hrtc) |  | ||||||
| { |  | ||||||
|   uint8_t loop; |  | ||||||
|   uint32_t localmaxwakeuptimersetup; |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * Get RTC handler |  | ||||||
|    */ |  | ||||||
|   phrtc = hrtc; |  | ||||||
| 
 |  | ||||||
|  /* Disable the write protection for RTC registers */ |  | ||||||
|   __HAL_RTC_WRITEPROTECTION_DISABLE( phrtc ); |  | ||||||
| 
 |  | ||||||
|   SET_BIT(RTC->CR, RTC_CR_BYPSHAD); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * Readout the user config |  | ||||||
|    */ |  | ||||||
|   WakeupTimerDivider = (4 - ((uint32_t)(READ_BIT(RTC->CR, RTC_CR_WUCKSEL)))); |  | ||||||
| 
 |  | ||||||
|   AsynchPrescalerUserConfig = (uint8_t)(READ_BIT(RTC->PRER, RTC_PRER_PREDIV_A) >> (uint32_t)POSITION_VAL(RTC_PRER_PREDIV_A)) + 1; |  | ||||||
| 
 |  | ||||||
|   SynchPrescalerUserConfig = (uint16_t)(READ_BIT(RTC->PRER, RTC_PRER_PREDIV_S)) + 1; |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    *  Margin is taken to avoid wrong calculation when the wrap around is there and some |  | ||||||
|    *  application interrupts may have delayed the reading |  | ||||||
|    */ |  | ||||||
|   localmaxwakeuptimersetup = ((((SynchPrescalerUserConfig - 1)*AsynchPrescalerUserConfig) - CFG_HW_TS_RTC_HANDLER_MAX_DELAY) >> WakeupTimerDivider); |  | ||||||
| 
 |  | ||||||
|   if(localmaxwakeuptimersetup >= 0xFFFF) |  | ||||||
|   { |  | ||||||
|     MaxWakeupTimerSetup = 0xFFFF; |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     MaxWakeupTimerSetup = (uint16_t)localmaxwakeuptimersetup; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * Configure EXTI module |  | ||||||
|    */ |  | ||||||
|   LL_EXTI_EnableRisingTrig_0_31(RTC_EXTI_LINE_WAKEUPTIMER_EVENT); |  | ||||||
|   LL_EXTI_EnableIT_0_31(RTC_EXTI_LINE_WAKEUPTIMER_EVENT); |  | ||||||
| 
 |  | ||||||
|   if(TimerInitMode == hw_ts_InitMode_Full) |  | ||||||
|   { |  | ||||||
|     WakeupTimerLimitation = WakeupTimerValue_LargeEnough; |  | ||||||
|     SSRValueOnLastSetup = SSR_FORBIDDEN_VALUE; |  | ||||||
| 
 |  | ||||||
|     /**
 |  | ||||||
|      * Initialize the timer server |  | ||||||
|      */ |  | ||||||
|     for(loop = 0; loop < CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER; loop++) |  | ||||||
|     { |  | ||||||
|       aTimerContext[loop].TimerIDStatus = TimerID_Free; |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|     CurrentRunningTimerID = CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER;   /**<  Set ID to non valid value */ |  | ||||||
| 
 |  | ||||||
|     __HAL_RTC_WAKEUPTIMER_DISABLE(phrtc);                       /**<  Disable the Wakeup Timer */ |  | ||||||
|     __HAL_RTC_WAKEUPTIMER_CLEAR_FLAG(phrtc, RTC_FLAG_WUTF);     /**<  Clear flag in RTC module */ |  | ||||||
|     __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG(); /**<  Clear flag in EXTI module  */ |  | ||||||
|     HAL_NVIC_ClearPendingIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID);       /**<  Clear pending bit in NVIC  */ |  | ||||||
|     __HAL_RTC_WAKEUPTIMER_ENABLE_IT(phrtc, RTC_IT_WUT);         /**<  Enable interrupt in RTC module  */ |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     if(__HAL_RTC_WAKEUPTIMER_GET_FLAG(phrtc, RTC_FLAG_WUTF) != RESET) |  | ||||||
|     { |  | ||||||
|       /**
 |  | ||||||
|        * Simulate that the Timer expired |  | ||||||
|        */ |  | ||||||
|       HAL_NVIC_SetPendingIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID); |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   /* Enable the write protection for RTC registers */ |  | ||||||
|   __HAL_RTC_WRITEPROTECTION_ENABLE( phrtc ); |  | ||||||
| 
 |  | ||||||
|   HAL_NVIC_SetPriority(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID, CFG_HW_TS_NVIC_RTC_WAKEUP_IT_PREEMPTPRIO, CFG_HW_TS_NVIC_RTC_WAKEUP_IT_SUBPRIO);   /**<  Set NVIC priority */ |  | ||||||
|   HAL_NVIC_EnableIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID); /**<  Enable NVIC */ |  | ||||||
| 
 |  | ||||||
|   return; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| HW_TS_ReturnStatus_t HW_TS_Create(uint32_t TimerProcessID, uint8_t *pTimerId, HW_TS_Mode_t TimerMode, HW_TS_pTimerCb_t pftimeout_handler) |  | ||||||
| { |  | ||||||
|   HW_TS_ReturnStatus_t localreturnstatus; |  | ||||||
|   uint8_t loop = 0; |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   uint32_t primask_bit; |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   primask_bit = __get_PRIMASK();  /**< backup PRIMASK bit */ |  | ||||||
|   __disable_irq();          /**< Disable all interrupts by setting PRIMASK bit on Cortex*/ |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
|   while((loop < CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER) && (aTimerContext[loop].TimerIDStatus != TimerID_Free)) |  | ||||||
|   { |  | ||||||
|     loop++; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   if(loop != CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER) |  | ||||||
|   { |  | ||||||
|     aTimerContext[loop].TimerIDStatus = TimerID_Created; |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|     __set_PRIMASK(primask_bit); /**< Restore PRIMASK bit*/ |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
|     aTimerContext[loop].TimerProcessID = TimerProcessID; |  | ||||||
|     aTimerContext[loop].TimerMode = TimerMode; |  | ||||||
|     aTimerContext[loop].pTimerCallBack = pftimeout_handler; |  | ||||||
|     *pTimerId = loop; |  | ||||||
| 
 |  | ||||||
|     localreturnstatus = hw_ts_Successful; |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|     __set_PRIMASK(primask_bit); /**< Restore PRIMASK bit*/ |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
|     localreturnstatus = hw_ts_Failed; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   return(localreturnstatus); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| void HW_TS_Delete(uint8_t timer_id) |  | ||||||
| { |  | ||||||
|   HW_TS_Stop(timer_id); |  | ||||||
| 
 |  | ||||||
|   aTimerContext[timer_id].TimerIDStatus = TimerID_Free; /**<  release ID */ |  | ||||||
| 
 |  | ||||||
|   return; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| void HW_TS_Stop(uint8_t timer_id) |  | ||||||
| { |  | ||||||
|   uint8_t localcurrentrunningtimerid; |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   uint32_t primask_bit; |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   primask_bit = __get_PRIMASK();  /**< backup PRIMASK bit */ |  | ||||||
|   __disable_irq();          /**< Disable all interrupts by setting PRIMASK bit on Cortex*/ |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
|   HAL_NVIC_DisableIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID);    /**<  Disable NVIC */ |  | ||||||
| 
 |  | ||||||
|   /* Disable the write protection for RTC registers */ |  | ||||||
|   __HAL_RTC_WRITEPROTECTION_DISABLE( phrtc ); |  | ||||||
| 
 |  | ||||||
|   if(aTimerContext[timer_id].TimerIDStatus == TimerID_Running) |  | ||||||
|   { |  | ||||||
|     UnlinkTimer(timer_id, SSR_Read_Requested); |  | ||||||
|     localcurrentrunningtimerid = CurrentRunningTimerID; |  | ||||||
| 
 |  | ||||||
|     if(localcurrentrunningtimerid == CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER) |  | ||||||
|     { |  | ||||||
|       /**
 |  | ||||||
|        * List is empty |  | ||||||
|        */ |  | ||||||
| 
 |  | ||||||
|       /**
 |  | ||||||
|        * Disable the timer |  | ||||||
|        */ |  | ||||||
|       if((READ_BIT(RTC->CR, RTC_CR_WUTE) == (RTC_CR_WUTE)) == SET) |  | ||||||
|       { |  | ||||||
|         /**
 |  | ||||||
|          * Wait for the flag to be back to 0 when the wakeup timer is enabled |  | ||||||
|          */ |  | ||||||
|         while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(phrtc, RTC_FLAG_WUTWF) == SET); |  | ||||||
|       } |  | ||||||
|       __HAL_RTC_WAKEUPTIMER_DISABLE(phrtc);   /**<  Disable the Wakeup Timer */ |  | ||||||
| 
 |  | ||||||
|       while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(phrtc, RTC_FLAG_WUTWF) == RESET); |  | ||||||
| 
 |  | ||||||
|       /**
 |  | ||||||
|        * make sure to clear the flags after checking the WUTWF. |  | ||||||
|        * It takes 2 RTCCLK between the time the WUTE bit is disabled and the |  | ||||||
|        * time the timer is disabled. The WUTWF bit somehow guarantee the system is stable |  | ||||||
|        * Otherwise, when the timer is periodic with 1 Tick, it may generate an extra interrupt in between |  | ||||||
|        * due to the autoreload feature |  | ||||||
|        */ |  | ||||||
|       __HAL_RTC_WAKEUPTIMER_CLEAR_FLAG(phrtc, RTC_FLAG_WUTF);   /**<  Clear flag in RTC module */ |  | ||||||
|       __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG(); /**<  Clear flag in EXTI module */ |  | ||||||
|       HAL_NVIC_ClearPendingIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID);   /**<  Clear pending bit in NVIC */ |  | ||||||
|     } |  | ||||||
|     else if(PreviousRunningTimerID != localcurrentrunningtimerid) |  | ||||||
|     { |  | ||||||
|       RescheduleTimerList(); |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   /* Enable the write protection for RTC registers */ |  | ||||||
|   __HAL_RTC_WRITEPROTECTION_ENABLE( phrtc ); |  | ||||||
| 
 |  | ||||||
|   HAL_NVIC_EnableIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID); /**<  Enable NVIC */ |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   __set_PRIMASK(primask_bit); /**< Restore PRIMASK bit*/ |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
|   return; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| void HW_TS_Start(uint8_t timer_id, uint32_t timeout_ticks) |  | ||||||
| { |  | ||||||
|   uint16_t time_elapsed; |  | ||||||
|   uint8_t localcurrentrunningtimerid; |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   uint32_t primask_bit; |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
|   if(aTimerContext[timer_id].TimerIDStatus == TimerID_Running) |  | ||||||
|   { |  | ||||||
|     HW_TS_Stop( timer_id ); |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   primask_bit = __get_PRIMASK();  /**< backup PRIMASK bit */ |  | ||||||
|   __disable_irq();          /**< Disable all interrupts by setting PRIMASK bit on Cortex*/ |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
|   HAL_NVIC_DisableIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID);    /**<  Disable NVIC */ |  | ||||||
| 
 |  | ||||||
|   /* Disable the write protection for RTC registers */ |  | ||||||
|   __HAL_RTC_WRITEPROTECTION_DISABLE( phrtc ); |  | ||||||
| 
 |  | ||||||
|   aTimerContext[timer_id].TimerIDStatus = TimerID_Running; |  | ||||||
| 
 |  | ||||||
|   aTimerContext[timer_id].CountLeft = timeout_ticks; |  | ||||||
|   aTimerContext[timer_id].CounterInit = timeout_ticks; |  | ||||||
| 
 |  | ||||||
|   time_elapsed =  linkTimer(timer_id); |  | ||||||
| 
 |  | ||||||
|   localcurrentrunningtimerid = CurrentRunningTimerID; |  | ||||||
| 
 |  | ||||||
|   if(PreviousRunningTimerID != localcurrentrunningtimerid) |  | ||||||
|   { |  | ||||||
|     RescheduleTimerList(); |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     aTimerContext[timer_id].CountLeft -= time_elapsed; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   /* Enable the write protection for RTC registers */ |  | ||||||
|   __HAL_RTC_WRITEPROTECTION_ENABLE( phrtc ); |  | ||||||
| 
 |  | ||||||
|   HAL_NVIC_EnableIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID); /**<  Enable NVIC */ |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   __set_PRIMASK(primask_bit); /**< Restore PRIMASK bit*/ |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
|   return; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| uint16_t HW_TS_RTC_ReadLeftTicksToCount(void) |  | ||||||
| { |  | ||||||
|   uint32_t primask_bit; |  | ||||||
|   uint16_t return_value, auro_reload_value, elapsed_time_value; |  | ||||||
| 
 |  | ||||||
|   primask_bit = __get_PRIMASK();  /**< backup PRIMASK bit */ |  | ||||||
|   __disable_irq();                /**< Disable all interrupts by setting PRIMASK bit on Cortex*/ |  | ||||||
| 
 |  | ||||||
|   if((READ_BIT(RTC->CR, RTC_CR_WUTE) == (RTC_CR_WUTE)) == SET) |  | ||||||
|   { |  | ||||||
|     auro_reload_value = (uint32_t)(READ_BIT(RTC->WUTR, RTC_WUTR_WUT)); |  | ||||||
| 
 |  | ||||||
|     elapsed_time_value = ReturnTimeElapsed(); |  | ||||||
| 
 |  | ||||||
|     if(auro_reload_value > elapsed_time_value) |  | ||||||
|     { |  | ||||||
|       return_value = auro_reload_value - elapsed_time_value; |  | ||||||
|     } |  | ||||||
|     else |  | ||||||
|     { |  | ||||||
|       return_value = 0; |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     return_value = TIMER_LIST_EMPTY; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   __set_PRIMASK(primask_bit);     /**< Restore PRIMASK bit*/ |  | ||||||
| 
 |  | ||||||
|   return (return_value); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| __weak void HW_TS_RTC_Int_AppNot(uint32_t TimerProcessID, uint8_t TimerID, HW_TS_pTimerCb_t pTimerCallBack) |  | ||||||
| { |  | ||||||
|   pTimerCallBack(); |  | ||||||
| 
 |  | ||||||
|   return; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |  | ||||||
| @ -23,11 +23,3 @@ void furi_hal_bootloader_set_mode(FuriHalBootloaderMode mode) { | |||||||
|         LL_RTC_BAK_SetRegister(RTC, LL_RTC_BKP_DR0, BOOT_REQUEST_DFU); |         LL_RTC_BAK_SetRegister(RTC, LL_RTC_BKP_DR0, BOOT_REQUEST_DFU); | ||||||
|     } |     } | ||||||
| } | } | ||||||
| 
 |  | ||||||
| void furi_hal_bootloader_set_flags(FuriHalBootloaderFlag flags) { |  | ||||||
|     LL_RTC_BAK_SetRegister(RTC, LL_RTC_BKP_DR2, flags); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| FuriHalBootloaderFlag furi_hal_bootloader_get_flags() { |  | ||||||
|     return LL_RTC_BAK_GetRegister(RTC, LL_RTC_BKP_DR2); |  | ||||||
| } |  | ||||||
| @ -13,16 +13,23 @@ | |||||||
| #define FURI_HAL_BT_HID_KB_KEYS_MAX (6) | #define FURI_HAL_BT_HID_KB_KEYS_MAX (6) | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|  |     // uint8_t report_id;
 | ||||||
|     uint8_t mods; |     uint8_t mods; | ||||||
|     uint8_t reserved; |     uint8_t reserved; | ||||||
|     uint8_t key[FURI_HAL_BT_HID_KB_KEYS_MAX]; |     uint8_t key[FURI_HAL_BT_HID_KB_KEYS_MAX]; | ||||||
| } FuriHalBtHidKbReport; | } FuriHalBtHidKbReport; | ||||||
| 
 | 
 | ||||||
| // TODO rework with HID defines
 | typedef struct { | ||||||
|  |     uint8_t report_id; | ||||||
|  |     uint8_t key; | ||||||
|  | } FuriHalBtHidMediaReport; | ||||||
|  | 
 | ||||||
|  | // TODO make composite HID device
 | ||||||
| static uint8_t furi_hal_bt_hid_report_map_data[] = { | static uint8_t furi_hal_bt_hid_report_map_data[] = { | ||||||
|     0x05, 0x01,       // Usage Page (Generic Desktop)
 |     0x05, 0x01,       // Usage Page (Generic Desktop)
 | ||||||
|     0x09, 0x06,       // Usage (Keyboard)
 |     0x09, 0x06,       // Usage (Keyboard)
 | ||||||
|     0xA1, 0x01,       // Collection (Application)
 |     0xA1, 0x01,       // Collection (Application)
 | ||||||
|  |     // 0x85, 0x01,       // Report ID (1)
 | ||||||
|     0x05, 0x07,       // Usage Page (Key Codes)
 |     0x05, 0x07,       // Usage Page (Key Codes)
 | ||||||
|     0x19, 0xe0,       // Usage Minimum (224)
 |     0x19, 0xe0,       // Usage Minimum (224)
 | ||||||
|     0x29, 0xe7,       // Usage Maximum (231)
 |     0x29, 0xe7,       // Usage Maximum (231)
 | ||||||
| @ -62,10 +69,31 @@ static uint8_t furi_hal_bt_hid_report_map_data[] = { | |||||||
|     0x95, 0x02,       // Report Count (2)
 |     0x95, 0x02,       // Report Count (2)
 | ||||||
|     0xB1, 0x02,       // Feature (Data, Variable, Absolute)
 |     0xB1, 0x02,       // Feature (Data, Variable, Absolute)
 | ||||||
| 
 | 
 | ||||||
|     0xC0              // End Collection (Application)
 |     0xC0,              // End Collection (Application)
 | ||||||
|  | 
 | ||||||
|  |     // 0x05, 0x0C,        // Usage Page (Consumer)
 | ||||||
|  |     // 0x09, 0x01,        // Usage (Consumer Control)
 | ||||||
|  |     // 0xA1, 0x01,        // Collection (Application)
 | ||||||
|  |     // 0x85, 0x02,        //   Report ID (2)
 | ||||||
|  |     // 0x05, 0x0C,        //   Usage Page (Consumer)
 | ||||||
|  |     // 0x15, 0x00,        //   Logical Minimum (0)
 | ||||||
|  |     // 0x25, 0x01,        //   Logical Maximum (1)
 | ||||||
|  |     // 0x75, 0x01,        //   Report Size (1)
 | ||||||
|  |     // 0x95, 0x07,        //   Report Count (7)
 | ||||||
|  |     // 0x09, 0xB5,        //   Usage (Scan Next Track)
 | ||||||
|  |     // 0x09, 0xB6,        //   Usage (Scan Previous Track)
 | ||||||
|  |     // 0x09, 0xB7,        //   Usage (Stop)
 | ||||||
|  |     // 0x09, 0xB8,        //   Usage (Eject)
 | ||||||
|  |     // 0x09, 0xCD,        //   Usage (Play/Pause)
 | ||||||
|  |     // 0x09, 0xE2,        //   Usage (Mute)
 | ||||||
|  |     // 0x09, 0xE9,        //   Usage (Volume Increment)
 | ||||||
|  |     // 0x09, 0xEA,        //   Usage (Volume Decrement)
 | ||||||
|  |     // 0x81, 0x02,        //   Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
 | ||||||
|  |     // 0xC0,              // End Collection
 | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| FuriHalBtHidKbReport* kb_report = NULL; | FuriHalBtHidKbReport* kb_report = NULL; | ||||||
|  | FuriHalBtHidMediaReport* media_report = NULL; | ||||||
| 
 | 
 | ||||||
| void furi_hal_bt_hid_start() { | void furi_hal_bt_hid_start() { | ||||||
|     // Start device info
 |     // Start device info
 | ||||||
| @ -82,6 +110,7 @@ void furi_hal_bt_hid_start() { | |||||||
|     } |     } | ||||||
|     // Configure HID Keyboard
 |     // Configure HID Keyboard
 | ||||||
|     kb_report = furi_alloc(sizeof(FuriHalBtHidKbReport)); |     kb_report = furi_alloc(sizeof(FuriHalBtHidKbReport)); | ||||||
|  |     media_report = furi_alloc(sizeof(FuriHalBtHidMediaReport)); | ||||||
|     // Configure Report Map characteristic
 |     // Configure Report Map characteristic
 | ||||||
|     hid_svc_update_report_map(furi_hal_bt_hid_report_map_data, sizeof(furi_hal_bt_hid_report_map_data)); |     hid_svc_update_report_map(furi_hal_bt_hid_report_map_data, sizeof(furi_hal_bt_hid_report_map_data)); | ||||||
|     // Configure HID Information characteristic
 |     // Configure HID Information characteristic
 | ||||||
| @ -107,11 +136,14 @@ void furi_hal_bt_hid_stop() { | |||||||
|         hid_svc_stop(); |         hid_svc_stop(); | ||||||
|     } |     } | ||||||
|     free(kb_report); |     free(kb_report); | ||||||
|  |     free(media_report); | ||||||
|  |     media_report = NULL; | ||||||
|     kb_report = NULL; |     kb_report = NULL; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| bool furi_hal_bt_hid_kb_press(uint16_t button) { | bool furi_hal_bt_hid_kb_press(uint16_t button) { | ||||||
|     furi_assert(kb_report); |     furi_assert(kb_report); | ||||||
|  |     // kb_report->report_id = 0x01;
 | ||||||
|     for (uint8_t i = 0; i < FURI_HAL_BT_HID_KB_KEYS_MAX; i++) { |     for (uint8_t i = 0; i < FURI_HAL_BT_HID_KB_KEYS_MAX; i++) { | ||||||
|         if (kb_report->key[i] == 0) { |         if (kb_report->key[i] == 0) { | ||||||
|             kb_report->key[i] = button & 0xFF; |             kb_report->key[i] = button & 0xFF; | ||||||
| @ -124,6 +156,7 @@ bool furi_hal_bt_hid_kb_press(uint16_t button) { | |||||||
| 
 | 
 | ||||||
| bool furi_hal_bt_hid_kb_release(uint16_t button) { | bool furi_hal_bt_hid_kb_release(uint16_t button) { | ||||||
|     furi_assert(kb_report); |     furi_assert(kb_report); | ||||||
|  |     // kb_report->report_id = 0x01;
 | ||||||
|     for (uint8_t i = 0; i < FURI_HAL_BT_HID_KB_KEYS_MAX; i++) { |     for (uint8_t i = 0; i < FURI_HAL_BT_HID_KB_KEYS_MAX; i++) { | ||||||
|         if (kb_report->key[i] == (button & 0xFF)) { |         if (kb_report->key[i] == (button & 0xFF)) { | ||||||
|             kb_report->key[i] = 0; |             kb_report->key[i] = 0; | ||||||
| @ -136,6 +169,28 @@ bool furi_hal_bt_hid_kb_release(uint16_t button) { | |||||||
| 
 | 
 | ||||||
| bool furi_hal_bt_hid_kb_release_all() { | bool furi_hal_bt_hid_kb_release_all() { | ||||||
|     furi_assert(kb_report); |     furi_assert(kb_report); | ||||||
|  |     // kb_report->report_id = 0x01;
 | ||||||
|     memset(kb_report, 0, sizeof(FuriHalBtHidKbReport)); |     memset(kb_report, 0, sizeof(FuriHalBtHidKbReport)); | ||||||
|     return hid_svc_update_input_report((uint8_t*)kb_report, sizeof(FuriHalBtHidKbReport)); |     return hid_svc_update_input_report((uint8_t*)kb_report, sizeof(FuriHalBtHidKbReport)); | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | bool furi_hal_bt_hid_media_press(uint8_t button) { | ||||||
|  |     furi_assert(media_report); | ||||||
|  |     media_report->report_id = 0x02; | ||||||
|  |     media_report->key |= (0x01 << button); | ||||||
|  |     return hid_svc_update_input_report((uint8_t*)media_report, sizeof(FuriHalBtHidMediaReport)); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | bool furi_hal_bt_hid_media_release(uint8_t button) { | ||||||
|  |     furi_assert(media_report); | ||||||
|  |     media_report->report_id = 0x02; | ||||||
|  |     media_report->key &= ~(0x01 << button); | ||||||
|  |     return hid_svc_update_input_report((uint8_t*)media_report, sizeof(FuriHalBtHidMediaReport)); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | bool furi_hal_bt_hid_media_release_all() { | ||||||
|  |     furi_assert(media_report); | ||||||
|  |     media_report->report_id = 0x02; | ||||||
|  |     media_report->key = 0x00; | ||||||
|  |     return hid_svc_update_input_report((uint8_t*)media_report, sizeof(FuriHalBtHidMediaReport)); | ||||||
|  | } | ||||||
|  | |||||||
| @ -126,9 +126,9 @@ bool furi_hal_bt_start_app(FuriHalBtProfile profile, BleEventCallback event_cb, | |||||||
|         } else if(profile == FuriHalBtProfileHidKeyboard) { |         } else if(profile == FuriHalBtProfileHidKeyboard) { | ||||||
|             // Change MAC address for HID profile
 |             // Change MAC address for HID profile
 | ||||||
|             config->mac_address[2]++; |             config->mac_address[2]++; | ||||||
|             // Change name Flipper -> Clicker
 |             // Change name Flipper -> Keynote
 | ||||||
|             const char* clicker_str = "Clicker"; |             const char* clicker_str = "Keynote"; | ||||||
|             memcpy(&config->adv_name[1], clicker_str, strlen(clicker_str) - 1); |             memcpy(&config->adv_name[1], clicker_str, strlen(clicker_str)); | ||||||
|         } |         } | ||||||
|         ret = gap_init(config, event_cb, context); |         ret = gap_init(config, event_cb, context); | ||||||
|         if(!ret) { |         if(!ret) { | ||||||
|  | |||||||
| @ -77,14 +77,6 @@ void furi_hal_clock_init() { | |||||||
|         Error_Handler(); |         Error_Handler(); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     if(LL_RCC_GetRTCClockSource() != LL_RCC_RTC_CLKSOURCE_LSE) { |  | ||||||
|         LL_RCC_ForceBackupDomainReset(); |  | ||||||
|         LL_RCC_ReleaseBackupDomainReset(); |  | ||||||
|         LL_RCC_SetRTCClockSource(LL_RCC_RTC_CLKSOURCE_LSE); |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|     LL_RCC_EnableRTC(); |  | ||||||
| 
 |  | ||||||
|     LL_RCC_SetUSARTClockSource(LL_RCC_USART1_CLKSOURCE_PCLK2); |     LL_RCC_SetUSARTClockSource(LL_RCC_USART1_CLKSOURCE_PCLK2); | ||||||
|     LL_RCC_SetLPUARTClockSource(LL_RCC_LPUART1_CLKSOURCE_PCLK1); |     LL_RCC_SetLPUARTClockSource(LL_RCC_LPUART1_CLKSOURCE_PCLK1); | ||||||
|     LL_RCC_SetADCClockSource(LL_RCC_ADC_CLKSOURCE_PLLSAI1); |     LL_RCC_SetADCClockSource(LL_RCC_ADC_CLKSOURCE_PLLSAI1); | ||||||
| @ -118,7 +110,6 @@ void furi_hal_clock_init() { | |||||||
|     LL_AHB3_GRP1_EnableClock(LL_AHB3_GRP1_PERIPH_AES2); |     LL_AHB3_GRP1_EnableClock(LL_AHB3_GRP1_PERIPH_AES2); | ||||||
| 
 | 
 | ||||||
|     // APB1
 |     // APB1
 | ||||||
|     LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_RTCAPB); |  | ||||||
|     LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_TIM2); |     LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_TIM2); | ||||||
|     LL_APB1_GRP2_EnableClock(LL_APB1_GRP2_PERIPH_LPUART1); |     LL_APB1_GRP2_EnableClock(LL_APB1_GRP2_PERIPH_LPUART1); | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -158,7 +158,6 @@ void DMA2_Channel8_IRQHandler(void) { | |||||||
|     if (furi_hal_dma_channel_isr[1][7]) furi_hal_dma_channel_isr[1][7](); |     if (furi_hal_dma_channel_isr[1][7]) furi_hal_dma_channel_isr[1][7](); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| void TAMP_STAMP_LSECSS_IRQHandler(void) { | void TAMP_STAMP_LSECSS_IRQHandler(void) { | ||||||
|     if (LL_RCC_IsActiveFlag_LSECSS()) { |     if (LL_RCC_IsActiveFlag_LSECSS()) { | ||||||
|         LL_RCC_ClearFlag_LSECSS(); |         LL_RCC_ClearFlag_LSECSS(); | ||||||
| @ -174,7 +173,6 @@ void TAMP_STAMP_LSECSS_IRQHandler(void) { | |||||||
| void RCC_IRQHandler(void) { | void RCC_IRQHandler(void) { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| void NMI_Handler(void) { | void NMI_Handler(void) { | ||||||
|     if (LL_RCC_IsActiveFlag_HSECSS()) { |     if (LL_RCC_IsActiveFlag_HSECSS()) { | ||||||
|         LL_RCC_ClearFlag_HSECSS(); |         LL_RCC_ClearFlag_HSECSS(); | ||||||
| @ -206,5 +204,4 @@ void UsageFault_Handler(void) { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void DebugMon_Handler(void) { | void DebugMon_Handler(void) { | ||||||
| 
 |  | ||||||
| } | } | ||||||
|  | |||||||
| @ -65,7 +65,7 @@ bool furi_hal_nfc_detect(rfalNfcDevice **dev_list, uint8_t* dev_cnt, uint32_t ti | |||||||
|     while(state != RFAL_NFC_STATE_ACTIVATED) { |     while(state != RFAL_NFC_STATE_ACTIVATED) { | ||||||
|         rfalNfcWorker(); |         rfalNfcWorker(); | ||||||
|         state = rfalNfcGetState(); |         state = rfalNfcGetState(); | ||||||
|         FURI_LOG_D(TAG, "Current state %d", state); |         FURI_LOG_T(TAG, "Current state %d", state); | ||||||
|         if(state == RFAL_NFC_STATE_POLL_ACTIVATION) { |         if(state == RFAL_NFC_STATE_POLL_ACTIVATION) { | ||||||
|             start = DWT->CYCCNT; |             start = DWT->CYCCNT; | ||||||
|             continue; |             continue; | ||||||
| @ -75,7 +75,7 @@ bool furi_hal_nfc_detect(rfalNfcDevice **dev_list, uint8_t* dev_cnt, uint32_t ti | |||||||
|         } |         } | ||||||
|         if(DWT->CYCCNT - start > timeout * clocks_in_ms) { |         if(DWT->CYCCNT - start > timeout * clocks_in_ms) { | ||||||
|             rfalNfcDeactivate(true); |             rfalNfcDeactivate(true); | ||||||
|             FURI_LOG_D(TAG, "Timeout"); |             FURI_LOG_T(TAG, "Timeout"); | ||||||
|             return false; |             return false; | ||||||
|         } |         } | ||||||
|         osThreadYield(); |         osThreadYield(); | ||||||
|  | |||||||
							
								
								
									
										122
									
								
								firmware/targets/f6/furi-hal/furi-hal-rtc.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1,122 @@ | |||||||
|  | #include <furi-hal-rtc.h> | ||||||
|  | #include <stm32wbxx_ll_rcc.h> | ||||||
|  | #include <stm32wbxx_ll_rtc.h> | ||||||
|  | 
 | ||||||
|  | #include <furi.h> | ||||||
|  | 
 | ||||||
|  | #define TAG "FuriHalRtc" | ||||||
|  | 
 | ||||||
|  | #define FURI_HAL_RTC_BOOT_FLAGS_REG LL_RTC_BKP_DR0 | ||||||
|  | #define FURI_HAL_RTC_BOOT_VERSION_REG LL_RTC_BKP_DR1 | ||||||
|  | #define FURI_HAL_RTC_SYSTEM_REG LL_RTC_BKP_DR2 | ||||||
|  | 
 | ||||||
|  | typedef struct { | ||||||
|  |     uint8_t log_level:4; | ||||||
|  |     uint8_t log_reserved:4; | ||||||
|  |     uint8_t flags; | ||||||
|  |     uint16_t reserved; | ||||||
|  | } DeveloperReg; | ||||||
|  | 
 | ||||||
|  | void furi_hal_rtc_init() { | ||||||
|  |     if(LL_RCC_GetRTCClockSource() != LL_RCC_RTC_CLKSOURCE_LSE) { | ||||||
|  |         LL_RCC_ForceBackupDomainReset(); | ||||||
|  |         LL_RCC_ReleaseBackupDomainReset(); | ||||||
|  |         LL_RCC_SetRTCClockSource(LL_RCC_RTC_CLKSOURCE_LSE); | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     LL_RCC_EnableRTC(); | ||||||
|  |     LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_RTCAPB); | ||||||
|  | 
 | ||||||
|  |     LL_RTC_InitTypeDef RTC_InitStruct = {0}; | ||||||
|  |     RTC_InitStruct.HourFormat = LL_RTC_HOURFORMAT_24HOUR; | ||||||
|  |     RTC_InitStruct.AsynchPrescaler = 127; | ||||||
|  |     RTC_InitStruct.SynchPrescaler = 255; | ||||||
|  |     LL_RTC_Init(RTC, &RTC_InitStruct); | ||||||
|  | 
 | ||||||
|  |     furi_log_set_level(furi_hal_rtc_get_log_level()); | ||||||
|  | 
 | ||||||
|  |     FURI_LOG_I(TAG, "Init OK"); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void furi_hal_rtc_set_log_level(uint8_t level) { | ||||||
|  |     uint32_t data = LL_RTC_BAK_GetRegister(RTC, FURI_HAL_RTC_SYSTEM_REG); | ||||||
|  |     ((DeveloperReg*)&data)->log_level = level; | ||||||
|  |     LL_RTC_BAK_SetRegister(RTC, FURI_HAL_RTC_SYSTEM_REG, data); | ||||||
|  |     furi_log_set_level(level); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | uint8_t furi_hal_rtc_get_log_level() { | ||||||
|  |     uint32_t data = LL_RTC_BAK_GetRegister(RTC, FURI_HAL_RTC_SYSTEM_REG); | ||||||
|  |     return ((DeveloperReg*)&data)->log_level; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void furi_hal_rtc_set_flag(FuriHalRtcFlag flag) { | ||||||
|  |     uint32_t data = LL_RTC_BAK_GetRegister(RTC, FURI_HAL_RTC_SYSTEM_REG); | ||||||
|  |     ((DeveloperReg*)&data)->flags |= flag; | ||||||
|  |     LL_RTC_BAK_SetRegister(RTC, FURI_HAL_RTC_SYSTEM_REG, data); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void furi_hal_rtc_reset_flag(FuriHalRtcFlag flag) { | ||||||
|  |     uint32_t data = LL_RTC_BAK_GetRegister(RTC, FURI_HAL_RTC_SYSTEM_REG); | ||||||
|  |     ((DeveloperReg*)&data)->flags &= ~flag; | ||||||
|  |     LL_RTC_BAK_SetRegister(RTC, FURI_HAL_RTC_SYSTEM_REG, data); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | bool furi_hal_rtc_is_flag_set(FuriHalRtcFlag flag) { | ||||||
|  |     uint32_t data = LL_RTC_BAK_GetRegister(RTC, FURI_HAL_RTC_SYSTEM_REG); | ||||||
|  |     return ((DeveloperReg*)&data)->flags & flag; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void furi_hal_rtc_set_datetime(FuriHalRtcDateTime* datetime) { | ||||||
|  |     furi_assert(datetime); | ||||||
|  | 
 | ||||||
|  |     /* Disable write protection */ | ||||||
|  |     LL_RTC_DisableWriteProtection(RTC); | ||||||
|  | 
 | ||||||
|  |     /* Enter Initialization mode and wait for INIT flag to be set */ | ||||||
|  |     LL_RTC_EnableInitMode(RTC); | ||||||
|  |     while(!LL_RTC_IsActiveFlag_INIT(RTC)) {} | ||||||
|  | 
 | ||||||
|  |     /* Set time */ | ||||||
|  |     LL_RTC_TIME_Config(RTC, | ||||||
|  |         LL_RTC_TIME_FORMAT_AM_OR_24, | ||||||
|  |         __LL_RTC_CONVERT_BIN2BCD(datetime->hour), | ||||||
|  |         __LL_RTC_CONVERT_BIN2BCD(datetime->minute), | ||||||
|  |         __LL_RTC_CONVERT_BIN2BCD(datetime->second) | ||||||
|  |     ); | ||||||
|  | 
 | ||||||
|  |     /* Set date */ | ||||||
|  |     LL_RTC_DATE_Config(RTC, | ||||||
|  |         datetime->weekday, | ||||||
|  |         __LL_RTC_CONVERT_BIN2BCD(datetime->day), | ||||||
|  |         __LL_RTC_CONVERT_BIN2BCD(datetime->month), | ||||||
|  |         __LL_RTC_CONVERT_BIN2BCD(datetime->year - 2000) | ||||||
|  |     ); | ||||||
|  | 
 | ||||||
|  |     /* Exit Initialization mode */ | ||||||
|  |     LL_RTC_DisableInitMode(RTC); | ||||||
|  | 
 | ||||||
|  |     /* If RTC_CR_BYPSHAD bit = 0, wait for synchro else this check is not needed */ | ||||||
|  |     if (!LL_RTC_IsShadowRegBypassEnabled(RTC)) { | ||||||
|  |         LL_RTC_ClearFlag_RS(RTC); | ||||||
|  |         while(!LL_RTC_IsActiveFlag_RS(RTC)) {}; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     /* Enable write protection */ | ||||||
|  |     LL_RTC_EnableWriteProtection(RTC); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void furi_hal_rtc_get_datetime(FuriHalRtcDateTime* datetime) { | ||||||
|  |     furi_assert(datetime); | ||||||
|  | 
 | ||||||
|  |     uint32_t time = LL_RTC_TIME_Get(RTC); // 0x00HHMMSS
 | ||||||
|  |     uint32_t date = LL_RTC_DATE_Get(RTC); // 0xWWDDMMYY
 | ||||||
|  | 
 | ||||||
|  |     datetime->second = __LL_RTC_CONVERT_BCD2BIN((time>>0) & 0xFF); | ||||||
|  |     datetime->minute = __LL_RTC_CONVERT_BCD2BIN((time>>8) & 0xFF); | ||||||
|  |     datetime->hour = __LL_RTC_CONVERT_BCD2BIN((time>>16) & 0xFF); | ||||||
|  |     datetime->year = __LL_RTC_CONVERT_BCD2BIN((date >> 0) & 0xFF) + 2000; | ||||||
|  |     datetime->month = __LL_RTC_CONVERT_BCD2BIN((date >> 8) & 0xFF); | ||||||
|  |     datetime->day = __LL_RTC_CONVERT_BCD2BIN((date >> 16) & 0xFF); | ||||||
|  |     datetime->weekday = __LL_RTC_CONVERT_BCD2BIN((date >> 24) & 0xFF); | ||||||
|  | } | ||||||
| @ -808,6 +808,8 @@ typedef struct { | |||||||
|     bool flip_flop; |     bool flip_flop; | ||||||
|     FuriHalSubGhzAsyncTxCallback callback; |     FuriHalSubGhzAsyncTxCallback callback; | ||||||
|     void* callback_context; |     void* callback_context; | ||||||
|  |     uint64_t duty_high; | ||||||
|  |     uint64_t duty_low; | ||||||
| } FuriHalSubGhzAsyncTx; | } FuriHalSubGhzAsyncTx; | ||||||
| 
 | 
 | ||||||
| static FuriHalSubGhzAsyncTx furi_hal_subghz_async_tx = {0}; | static FuriHalSubGhzAsyncTx furi_hal_subghz_async_tx = {0}; | ||||||
| @ -817,21 +819,30 @@ static void furi_hal_subghz_async_tx_refill(uint32_t* buffer, size_t samples) { | |||||||
|         bool is_odd = samples % 2; |         bool is_odd = samples % 2; | ||||||
|         LevelDuration ld = |         LevelDuration ld = | ||||||
|             furi_hal_subghz_async_tx.callback(furi_hal_subghz_async_tx.callback_context); |             furi_hal_subghz_async_tx.callback(furi_hal_subghz_async_tx.callback_context); | ||||||
|         if(level_duration_is_wait(ld)) return; | 
 | ||||||
|         if(level_duration_is_reset(ld)) { |         if(level_duration_is_wait(ld)) { | ||||||
|  |             return; | ||||||
|  |         } else if(level_duration_is_reset(ld)) { | ||||||
|             // One more even sample required to end at low level
 |             // One more even sample required to end at low level
 | ||||||
|             if(is_odd) { |             if(is_odd) { | ||||||
|                 *buffer = API_HAL_SUBGHZ_ASYNC_TX_GUARD_TIME; |                 *buffer = API_HAL_SUBGHZ_ASYNC_TX_GUARD_TIME; | ||||||
|                 buffer++; |                 buffer++; | ||||||
|                 samples--; |                 samples--; | ||||||
|  |                 furi_hal_subghz_async_tx.duty_low += API_HAL_SUBGHZ_ASYNC_TX_GUARD_TIME; | ||||||
|             } |             } | ||||||
|             break; |             break; | ||||||
|         } else { |         } else { | ||||||
|             // Inject guard time if level is incorrect
 |             // Inject guard time if level is incorrect
 | ||||||
|             if(is_odd == level_duration_get_level(ld)) { |             bool level = level_duration_get_level(ld); | ||||||
|  |             if(is_odd == level) { | ||||||
|                 *buffer = API_HAL_SUBGHZ_ASYNC_TX_GUARD_TIME; |                 *buffer = API_HAL_SUBGHZ_ASYNC_TX_GUARD_TIME; | ||||||
|                 buffer++; |                 buffer++; | ||||||
|                 samples--; |                 samples--; | ||||||
|  |                 if (!level) { | ||||||
|  |                     furi_hal_subghz_async_tx.duty_high += API_HAL_SUBGHZ_ASYNC_TX_GUARD_TIME; | ||||||
|  |                 } else { | ||||||
|  |                     furi_hal_subghz_async_tx.duty_low += API_HAL_SUBGHZ_ASYNC_TX_GUARD_TIME; | ||||||
|  |                 } | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             uint32_t duration = level_duration_get_duration(ld); |             uint32_t duration = level_duration_get_duration(ld); | ||||||
| @ -839,6 +850,12 @@ static void furi_hal_subghz_async_tx_refill(uint32_t* buffer, size_t samples) { | |||||||
|             *buffer = duration; |             *buffer = duration; | ||||||
|             buffer++; |             buffer++; | ||||||
|             samples--; |             samples--; | ||||||
|  | 
 | ||||||
|  |             if (level) { | ||||||
|  |                 furi_hal_subghz_async_tx.duty_high += duration; | ||||||
|  |             } else { | ||||||
|  |                 furi_hal_subghz_async_tx.duty_low += duration; | ||||||
|  |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| @ -888,6 +905,9 @@ bool furi_hal_subghz_start_async_tx(FuriHalSubGhzAsyncTxCallback callback, void* | |||||||
| 
 | 
 | ||||||
|     furi_hal_subghz_state = SubGhzStateAsyncTx; |     furi_hal_subghz_state = SubGhzStateAsyncTx; | ||||||
| 
 | 
 | ||||||
|  |     furi_hal_subghz_async_tx.duty_low = 0; | ||||||
|  |     furi_hal_subghz_async_tx.duty_high = 0; | ||||||
|  | 
 | ||||||
|     furi_hal_subghz_async_tx.buffer = |     furi_hal_subghz_async_tx.buffer = | ||||||
|         furi_alloc(API_HAL_SUBGHZ_ASYNC_TX_BUFFER_FULL * sizeof(uint32_t)); |         furi_alloc(API_HAL_SUBGHZ_ASYNC_TX_BUFFER_FULL * sizeof(uint32_t)); | ||||||
|     furi_hal_subghz_async_tx_refill( |     furi_hal_subghz_async_tx_refill( | ||||||
| @ -994,5 +1014,8 @@ void furi_hal_subghz_stop_async_tx() { | |||||||
| 
 | 
 | ||||||
|     free(furi_hal_subghz_async_tx.buffer); |     free(furi_hal_subghz_async_tx.buffer); | ||||||
| 
 | 
 | ||||||
|  |     float duty_cycle = 100.0f * (float)furi_hal_subghz_async_tx.duty_high / ((float)furi_hal_subghz_async_tx.duty_low + (float)furi_hal_subghz_async_tx.duty_high); | ||||||
|  |     FURI_LOG_D(TAG, "Async TX Radio stats: on %0.0fus, off %0.0fus, DutyCycle: %0.0f%%", (float)furi_hal_subghz_async_tx.duty_high, (float)furi_hal_subghz_async_tx.duty_low, duty_cycle); | ||||||
|  | 
 | ||||||
|     furi_hal_subghz_state = SubGhzStateIdle; |     furi_hal_subghz_state = SubGhzStateIdle; | ||||||
| } | } | ||||||
|  | |||||||
| @ -1,7 +1,6 @@ | |||||||
| #include <furi-hal.h> | #include <furi-hal.h> | ||||||
| 
 | 
 | ||||||
| #include <comp.h> | #include <comp.h> | ||||||
| #include <rtc.h> |  | ||||||
| #include <tim.h> | #include <tim.h> | ||||||
| #include <gpio.h> | #include <gpio.h> | ||||||
| 
 | 
 | ||||||
| @ -13,18 +12,14 @@ | |||||||
| 
 | 
 | ||||||
| void furi_hal_init() { | void furi_hal_init() { | ||||||
|     furi_hal_clock_init(); |     furi_hal_clock_init(); | ||||||
|  |     furi_hal_rtc_init(); | ||||||
|     furi_hal_console_init(); |     furi_hal_console_init(); | ||||||
|     furi_hal_interrupt_init(); |     furi_hal_interrupt_init(); | ||||||
|     furi_hal_delay_init(); |     furi_hal_delay_init(); | ||||||
| 
 | 
 | ||||||
|     // FreeRTOS glue
 |  | ||||||
|     furi_hal_os_init(); |  | ||||||
| 
 |  | ||||||
|     MX_GPIO_Init(); |     MX_GPIO_Init(); | ||||||
|     FURI_LOG_I(TAG, "GPIO OK"); |     FURI_LOG_I(TAG, "GPIO OK"); | ||||||
| 
 | 
 | ||||||
|     MX_RTC_Init(); |  | ||||||
|     FURI_LOG_I(TAG, "RTC OK"); |  | ||||||
|     furi_hal_bootloader_init(); |     furi_hal_bootloader_init(); | ||||||
|     furi_hal_version_init(); |     furi_hal_version_init(); | ||||||
| 
 | 
 | ||||||
| @ -59,6 +54,9 @@ void furi_hal_init() { | |||||||
|     furi_hal_bt_init(); |     furi_hal_bt_init(); | ||||||
|     furi_hal_compress_icon_init(); |     furi_hal_compress_icon_init(); | ||||||
| 
 | 
 | ||||||
|  |     // FreeRTOS glue
 | ||||||
|  |     furi_hal_os_init(); | ||||||
|  | 
 | ||||||
|     // FatFS driver initialization
 |     // FatFS driver initialization
 | ||||||
|     MX_FATFS_Init(); |     MX_FATFS_Init(); | ||||||
|     FURI_LOG_I(TAG, "FATFS OK"); |     FURI_LOG_I(TAG, "FATFS OK"); | ||||||
|  | |||||||
| @ -24,7 +24,7 @@ LDFLAGS			+= $(MCU_FLAGS) -specs=nosys.specs -specs=nano.specs -u _printf_float | |||||||
| CPPFLAGS		+= -fno-rtti -fno-use-cxa-atexit -fno-exceptions | CPPFLAGS		+= -fno-rtti -fno-use-cxa-atexit -fno-exceptions | ||||||
| LDFLAGS			+= -Wl,--start-group -lstdc++ -lsupc++ -Wl,--end-group | LDFLAGS			+= -Wl,--start-group -lstdc++ -lsupc++ -Wl,--end-group | ||||||
| 
 | 
 | ||||||
| HARDWARE_TARGET = 6 | HARDWARE_TARGET = 7 | ||||||
| 
 | 
 | ||||||
| MXPROJECT_DIR = $(TARGET_DIR) | MXPROJECT_DIR = $(TARGET_DIR) | ||||||
| 
 | 
 | ||||||
| @ -57,7 +57,6 @@ C_SOURCES += \ | |||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_pwr.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_pwr.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_pwr_ex.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_pwr_ex.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_rcc.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_rcc.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_rtc.c \
 |  | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_rtc_ex.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_rtc_ex.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_tim.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_tim.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_tim_ex.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_tim_ex.c \
 | ||||||
| @ -67,6 +66,7 @@ C_SOURCES += \ | |||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_i2c.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_i2c.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_lptim.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_lptim.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_rcc.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_rcc.c \
 | ||||||
|  | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_rtc.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_spi.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_spi.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_tim.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_tim.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_usart.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_usart.c \
 | ||||||
|  | |||||||
| @ -1,52 +0,0 @@ | |||||||
| /**
 |  | ||||||
|   ****************************************************************************** |  | ||||||
|   * @file    rtc.h |  | ||||||
|   * @brief   This file contains all the function prototypes for |  | ||||||
|   *          the rtc.c file |  | ||||||
|   ****************************************************************************** |  | ||||||
|   * @attention |  | ||||||
|   * |  | ||||||
|   * <h2><center>© Copyright (c) 2021 STMicroelectronics. |  | ||||||
|   * All rights reserved.</center></h2> |  | ||||||
|   * |  | ||||||
|   * This software component is licensed by ST under Ultimate Liberty license |  | ||||||
|   * SLA0044, the "License"; You may not use this file except in compliance with |  | ||||||
|   * the License. You may obtain a copy of the License at: |  | ||||||
|   *                             www.st.com/SLA0044 |  | ||||||
|   * |  | ||||||
|   ****************************************************************************** |  | ||||||
|   */ |  | ||||||
| /* Define to prevent recursive inclusion -------------------------------------*/ |  | ||||||
| #ifndef __RTC_H__ |  | ||||||
| #define __RTC_H__ |  | ||||||
| 
 |  | ||||||
| #ifdef __cplusplus |  | ||||||
| extern "C" { |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
| /* Includes ------------------------------------------------------------------*/ |  | ||||||
| #include "main.h" |  | ||||||
| 
 |  | ||||||
| /* USER CODE BEGIN Includes */ |  | ||||||
| 
 |  | ||||||
| /* USER CODE END Includes */ |  | ||||||
| 
 |  | ||||||
| extern RTC_HandleTypeDef hrtc; |  | ||||||
| 
 |  | ||||||
| /* USER CODE BEGIN Private defines */ |  | ||||||
| 
 |  | ||||||
| /* USER CODE END Private defines */ |  | ||||||
| 
 |  | ||||||
| void MX_RTC_Init(void); |  | ||||||
| 
 |  | ||||||
| /* USER CODE BEGIN Prototypes */ |  | ||||||
| 
 |  | ||||||
| /* USER CODE END Prototypes */ |  | ||||||
| 
 |  | ||||||
| #ifdef __cplusplus |  | ||||||
| } |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
| #endif /* __RTC_H__ */ |  | ||||||
| 
 |  | ||||||
| /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |  | ||||||
| @ -48,7 +48,7 @@ | |||||||
| #define HAL_PKA_MODULE_ENABLED | #define HAL_PKA_MODULE_ENABLED | ||||||
| /*#define HAL_QSPI_MODULE_ENABLED   */ | /*#define HAL_QSPI_MODULE_ENABLED   */ | ||||||
| #define HAL_RNG_MODULE_ENABLED | #define HAL_RNG_MODULE_ENABLED | ||||||
| #define HAL_RTC_MODULE_ENABLED | /*#define HAL_RTC_MODULE_ENABLED    */ | ||||||
| /*#define HAL_SAI_MODULE_ENABLED    */ | /*#define HAL_SAI_MODULE_ENABLED    */ | ||||||
| /*#define HAL_SMBUS_MODULE_ENABLED  */ | /*#define HAL_SMBUS_MODULE_ENABLED  */ | ||||||
| /*#define HAL_SMARTCARD_MODULE_ENABLED   */ | /*#define HAL_SMARTCARD_MODULE_ENABLED   */ | ||||||
|  | |||||||
| @ -1,123 +0,0 @@ | |||||||
| /**
 |  | ||||||
|   ****************************************************************************** |  | ||||||
|   * @file    rtc.c |  | ||||||
|   * @brief   This file provides code for the configuration |  | ||||||
|   *          of the RTC instances. |  | ||||||
|   ****************************************************************************** |  | ||||||
|   * @attention |  | ||||||
|   * |  | ||||||
|   * <h2><center>© Copyright (c) 2021 STMicroelectronics. |  | ||||||
|   * All rights reserved.</center></h2> |  | ||||||
|   * |  | ||||||
|   * This software component is licensed by ST under Ultimate Liberty license |  | ||||||
|   * SLA0044, the "License"; You may not use this file except in compliance with |  | ||||||
|   * the License. You may obtain a copy of the License at: |  | ||||||
|   *                             www.st.com/SLA0044 |  | ||||||
|   * |  | ||||||
|   ****************************************************************************** |  | ||||||
|   */ |  | ||||||
| 
 |  | ||||||
| /* Includes ------------------------------------------------------------------*/ |  | ||||||
| #include "rtc.h" |  | ||||||
| 
 |  | ||||||
| /* USER CODE BEGIN 0 */ |  | ||||||
| 
 |  | ||||||
| /* USER CODE END 0 */ |  | ||||||
| 
 |  | ||||||
| RTC_HandleTypeDef hrtc; |  | ||||||
| 
 |  | ||||||
| /* RTC init function */ |  | ||||||
| void MX_RTC_Init(void) |  | ||||||
| { |  | ||||||
|   RTC_TimeTypeDef sTime = {0}; |  | ||||||
|   RTC_DateTypeDef sDate = {0}; |  | ||||||
| 
 |  | ||||||
|   /** Initialize RTC Only
 |  | ||||||
|   */ |  | ||||||
|   hrtc.Instance = RTC; |  | ||||||
|   hrtc.Init.HourFormat = RTC_HOURFORMAT_24; |  | ||||||
|   hrtc.Init.AsynchPrediv = 127; |  | ||||||
|   hrtc.Init.SynchPrediv = 255; |  | ||||||
|   hrtc.Init.OutPut = RTC_OUTPUT_DISABLE; |  | ||||||
|   hrtc.Init.OutPutPolarity = RTC_OUTPUT_POLARITY_HIGH; |  | ||||||
|   hrtc.Init.OutPutType = RTC_OUTPUT_TYPE_OPENDRAIN; |  | ||||||
|   hrtc.Init.OutPutRemap = RTC_OUTPUT_REMAP_NONE; |  | ||||||
|   if (HAL_RTC_Init(&hrtc) != HAL_OK) |  | ||||||
|   { |  | ||||||
|     Error_Handler(); |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   /* USER CODE BEGIN Check_RTC_BKUP */ |  | ||||||
|   return; |  | ||||||
|   /* USER CODE END Check_RTC_BKUP */ |  | ||||||
| 
 |  | ||||||
|   /** Initialize RTC and set the Time and Date
 |  | ||||||
|   */ |  | ||||||
|   sTime.Hours = 0x0; |  | ||||||
|   sTime.Minutes = 0x0; |  | ||||||
|   sTime.Seconds = 0x0; |  | ||||||
|   sTime.SubSeconds = 0x0; |  | ||||||
|   sTime.DayLightSaving = RTC_DAYLIGHTSAVING_NONE; |  | ||||||
|   sTime.StoreOperation = RTC_STOREOPERATION_RESET; |  | ||||||
|   if (HAL_RTC_SetTime(&hrtc, &sTime, RTC_FORMAT_BCD) != HAL_OK) |  | ||||||
|   { |  | ||||||
|     Error_Handler(); |  | ||||||
|   } |  | ||||||
|   sDate.WeekDay = RTC_WEEKDAY_MONDAY; |  | ||||||
|   sDate.Month = RTC_MONTH_JANUARY; |  | ||||||
|   sDate.Date = 0x1; |  | ||||||
|   sDate.Year = 0x0; |  | ||||||
| 
 |  | ||||||
|   if (HAL_RTC_SetDate(&hrtc, &sDate, RTC_FORMAT_BCD) != HAL_OK) |  | ||||||
|   { |  | ||||||
|     Error_Handler(); |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| void HAL_RTC_MspInit(RTC_HandleTypeDef* rtcHandle) |  | ||||||
| { |  | ||||||
| 
 |  | ||||||
|   if(rtcHandle->Instance==RTC) |  | ||||||
|   { |  | ||||||
|   /* USER CODE BEGIN RTC_MspInit 0 */ |  | ||||||
| 
 |  | ||||||
|   /* USER CODE END RTC_MspInit 0 */ |  | ||||||
|     /* RTC clock enable */ |  | ||||||
|     __HAL_RCC_RTC_ENABLE(); |  | ||||||
|     __HAL_RCC_RTCAPB_CLK_ENABLE(); |  | ||||||
| 
 |  | ||||||
|     /* RTC interrupt Init */ |  | ||||||
|     HAL_NVIC_SetPriority(TAMP_STAMP_LSECSS_IRQn, 5, 0); |  | ||||||
|     HAL_NVIC_EnableIRQ(TAMP_STAMP_LSECSS_IRQn); |  | ||||||
|   /* USER CODE BEGIN RTC_MspInit 1 */ |  | ||||||
| 
 |  | ||||||
|   /* USER CODE END RTC_MspInit 1 */ |  | ||||||
|   } |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| void HAL_RTC_MspDeInit(RTC_HandleTypeDef* rtcHandle) |  | ||||||
| { |  | ||||||
| 
 |  | ||||||
|   if(rtcHandle->Instance==RTC) |  | ||||||
|   { |  | ||||||
|   /* USER CODE BEGIN RTC_MspDeInit 0 */ |  | ||||||
| 
 |  | ||||||
|   /* USER CODE END RTC_MspDeInit 0 */ |  | ||||||
|     /* Peripheral clock disable */ |  | ||||||
|     __HAL_RCC_RTC_DISABLE(); |  | ||||||
|     __HAL_RCC_RTCAPB_CLK_DISABLE(); |  | ||||||
| 
 |  | ||||||
|     /* RTC interrupt Deinit */ |  | ||||||
|     HAL_NVIC_DisableIRQ(TAMP_STAMP_LSECSS_IRQn); |  | ||||||
|   /* USER CODE BEGIN RTC_MspDeInit 1 */ |  | ||||||
| 
 |  | ||||||
|   /* USER CODE END RTC_MspDeInit 1 */ |  | ||||||
|   } |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /* USER CODE BEGIN 1 */ |  | ||||||
| 
 |  | ||||||
| /* USER CODE END 1 */ |  | ||||||
| 
 |  | ||||||
| /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |  | ||||||
| @ -6,7 +6,6 @@ | |||||||
| 
 | 
 | ||||||
| extern usbd_device udev; | extern usbd_device udev; | ||||||
| extern COMP_HandleTypeDef hcomp1; | extern COMP_HandleTypeDef hcomp1; | ||||||
| extern RTC_HandleTypeDef hrtc; |  | ||||||
| extern TIM_HandleTypeDef htim1; | extern TIM_HandleTypeDef htim1; | ||||||
| extern TIM_HandleTypeDef htim2; | extern TIM_HandleTypeDef htim2; | ||||||
| extern TIM_HandleTypeDef htim16; | extern TIM_HandleTypeDef htim16; | ||||||
| @ -40,10 +39,6 @@ void HSEM_IRQHandler(void) { | |||||||
|     HAL_HSEM_IRQHandler(); |     HAL_HSEM_IRQHandler(); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void RTC_WKUP_IRQHandler(void){ |  | ||||||
|     HW_TS_RTC_Wakeup_Handler(); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| void IPCC_C1_TX_IRQHandler(void){ | void IPCC_C1_TX_IRQHandler(void){ | ||||||
|     HW_IPCC_Tx_Handler(); |     HW_IPCC_Tx_Handler(); | ||||||
| } | } | ||||||
|  | |||||||
| @ -75,7 +75,7 @@ SVCCTL_UserEvtFlowStatus_t SVCCTL_App_Notification( void *pckt ) | |||||||
|             } |             } | ||||||
|             if(gap->enable_adv) { |             if(gap->enable_adv) { | ||||||
|                 // Restart advertising
 |                 // Restart advertising
 | ||||||
|                 gap_advertise_start(GapCommandAdvFast); |                 gap_advertise_start(GapStateAdvFast); | ||||||
|                 furi_hal_power_insomnia_exit(); |                 furi_hal_power_insomnia_exit(); | ||||||
|             } |             } | ||||||
|             BleEvent event = {.type = BleEventTypeDisconnected}; |             BleEvent event = {.type = BleEventTypeDisconnected}; | ||||||
| @ -446,7 +446,11 @@ void gap_thread_stop() { | |||||||
| static int32_t gap_app(void *context) { | static int32_t gap_app(void *context) { | ||||||
|     GapCommand command; |     GapCommand command; | ||||||
|     while(1) { |     while(1) { | ||||||
|         furi_check(osMessageQueueGet(gap->command_queue, &command, NULL, osWaitForever) == osOK); |         osStatus status = osMessageQueueGet(gap->command_queue, &command, NULL, osWaitForever); | ||||||
|  |         if(status != osOK) { | ||||||
|  |             FURI_LOG_E(TAG, "Message queue get error: %d", status); | ||||||
|  |             continue; | ||||||
|  |         } | ||||||
|         osMutexAcquire(gap->state_mutex, osWaitForever); |         osMutexAcquire(gap->state_mutex, osWaitForever); | ||||||
|         if(command == GapCommandKillThread) { |         if(command == GapCommandKillThread) { | ||||||
|             break; |             break; | ||||||
|  | |||||||
| @ -3,8 +3,8 @@ | |||||||
| #include <stdint.h> | #include <stdint.h> | ||||||
| #include <stdbool.h> | #include <stdbool.h> | ||||||
| 
 | 
 | ||||||
| #define HID_SVC_REPORT_MAP_MAX_LEN (80) | #define HID_SVC_REPORT_MAP_MAX_LEN (120) | ||||||
| #define HID_SVC_REPORT_MAX_LEN (8) | #define HID_SVC_REPORT_MAX_LEN (9) | ||||||
| #define HID_SVC_BOOT_KEYBOARD_INPUT_REPORT_MAX_LEN (8) | #define HID_SVC_BOOT_KEYBOARD_INPUT_REPORT_MAX_LEN (8) | ||||||
| #define HID_SVC_REPORT_REF_LEN (2) | #define HID_SVC_REPORT_REF_LEN (2) | ||||||
| #define HID_SVC_INFO_LEN (4) | #define HID_SVC_INFO_LEN (4) | ||||||
|  | |||||||
| @ -82,165 +82,6 @@ extern "C" { | |||||||
|   void HW_UART_Interrupt_Handler(hw_uart_id_t hw_uart_id); |   void HW_UART_Interrupt_Handler(hw_uart_id_t hw_uart_id); | ||||||
|   void HW_UART_DMA_Interrupt_Handler(hw_uart_id_t hw_uart_id); |   void HW_UART_DMA_Interrupt_Handler(hw_uart_id_t hw_uart_id); | ||||||
| 
 | 
 | ||||||
|   /******************************************************************************
 |  | ||||||
|    * HW TimerServer |  | ||||||
|    ******************************************************************************/ |  | ||||||
|   /* Exported types ------------------------------------------------------------*/ |  | ||||||
|   /**
 |  | ||||||
|    * This setting is used when standby mode is supported. |  | ||||||
|    * hw_ts_InitMode_Limited should be used when the device restarts from Standby Mode. In that case, the Timer Server does |  | ||||||
|    * not re-initialized its context. Only the Hardware register which content has been lost is reconfigured |  | ||||||
|    * Otherwise, hw_ts_InitMode_Full should be requested (Start from Power ON) and everything is re-initialized. |  | ||||||
|    */ |  | ||||||
|   typedef enum |  | ||||||
|   { |  | ||||||
|     hw_ts_InitMode_Full, |  | ||||||
|     hw_ts_InitMode_Limited, |  | ||||||
|   } HW_TS_InitMode_t; |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * When a Timer is created as a SingleShot timer, it is not automatically restarted when the timeout occurs. However, |  | ||||||
|    * the timer is kept reserved in the list and could be restarted at anytime with HW_TS_Start() |  | ||||||
|    * |  | ||||||
|    * When a Timer is created as a Repeated timer, it is automatically restarted when the timeout occurs. |  | ||||||
|    */ |  | ||||||
|   typedef enum |  | ||||||
|   { |  | ||||||
|     hw_ts_SingleShot, |  | ||||||
|     hw_ts_Repeated |  | ||||||
|   } HW_TS_Mode_t; |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * hw_ts_Successful is returned when a Timer has been successfully created with HW_TS_Create(). Otherwise, hw_ts_Failed |  | ||||||
|    * is returned. When hw_ts_Failed is returned, that means there are not enough free slots in the list to create a |  | ||||||
|    * Timer. In that case, CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER should be increased |  | ||||||
|    */ |  | ||||||
|   typedef enum |  | ||||||
|   { |  | ||||||
|     hw_ts_Successful, |  | ||||||
|     hw_ts_Failed, |  | ||||||
|   }HW_TS_ReturnStatus_t; |  | ||||||
| 
 |  | ||||||
|   typedef void (*HW_TS_pTimerCb_t)(void); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * @brief  Initialize the timer server |  | ||||||
|    *         This API shall be called by the application before any timer is requested to the timer server. It |  | ||||||
|    *         configures the RTC module to be connected to the LSI input clock. |  | ||||||
|    * |  | ||||||
|    * @param  TimerInitMode: When the device restarts from Standby, it should request hw_ts_InitMode_Limited so that the |  | ||||||
|    *         Timer context is not re-initialized. Otherwise, hw_ts_InitMode_Full should be requested |  | ||||||
|    * @param  hrtc: RTC Handle |  | ||||||
|    * @retval None |  | ||||||
|    */ |  | ||||||
|   void HW_TS_Init(HW_TS_InitMode_t TimerInitMode, RTC_HandleTypeDef *hrtc); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * @brief  Interface to create a virtual timer |  | ||||||
|    *         The user shall call this API to create a timer. Once created, the timer is reserved to the module until it |  | ||||||
|    *         has been deleted. When creating a timer, the user shall specify the mode (single shot or repeated), the |  | ||||||
|    *         callback to be notified when the timer expires and a module ID to identify in the timer interrupt handler |  | ||||||
|    *         which module is concerned. In return, the user gets a timer ID to handle it. |  | ||||||
|    * |  | ||||||
|    * @param  TimerProcessID:  This is an identifier provided by the user and returned in the callback to allow |  | ||||||
|    *                          identification of the requester |  | ||||||
|    * @param  pTimerId: Timer Id returned to the user to request operation (start, stop, delete) |  | ||||||
|    * @param  TimerMode: Mode of the virtual timer (Single shot or repeated) |  | ||||||
|    * @param  pTimerCallBack: Callback when the virtual timer expires |  | ||||||
|    * @retval HW_TS_ReturnStatus_t: Return whether the creation is sucessfull or not |  | ||||||
|    */ |  | ||||||
|   HW_TS_ReturnStatus_t HW_TS_Create(uint32_t TimerProcessID, uint8_t *pTimerId, HW_TS_Mode_t TimerMode, HW_TS_pTimerCb_t pTimerCallBack); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * @brief  Stop a virtual timer |  | ||||||
|    *         This API may be used to stop a running timer. A timer which is stopped is move to the pending state. |  | ||||||
|    *         A pending timer may be restarted at any time with a different timeout value but the mode cannot be changed. |  | ||||||
|    *         Nothing is done when it is called to stop a timer which has been already stopped |  | ||||||
|    * |  | ||||||
|    * @param  TimerID:  Id of the timer to stop |  | ||||||
|    * @retval None |  | ||||||
|    */ |  | ||||||
|   void HW_TS_Stop(uint8_t TimerID); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * @brief  Start a virtual timer |  | ||||||
|    *         This API shall be used to start a timer. The timeout value is specified and may be different each time. |  | ||||||
|    *         When the timer is in the single shot mode, it will move to the pending state when it expires. The user may |  | ||||||
|    *         restart it at any time with a different timeout value. When the timer is in the repeated mode, it always |  | ||||||
|    *         stay in the running state. When the timer expires, it will be restarted with the same timeout value. |  | ||||||
|    *         This API shall not be called on a running timer. |  | ||||||
|    * |  | ||||||
|    * @param  TimerID:  The ID Id of the timer to start |  | ||||||
|    * @param  timeout_ticks: Number of ticks of the virtual timer (Maximum value is (0xFFFFFFFF-0xFFFF = 0xFFFF0000) |  | ||||||
|    * @retval None |  | ||||||
|    */ |  | ||||||
|   void HW_TS_Start(uint8_t TimerID, uint32_t timeout_ticks); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * @brief  Delete a virtual timer from the list |  | ||||||
|    *         This API should be used when a timer is not needed anymore by the user. A deleted timer is removed from |  | ||||||
|    *         the timer list managed by the timer server. It cannot be restarted again. The user has to go with the |  | ||||||
|    *         creation of a new timer if required and may get a different timer id |  | ||||||
|    * |  | ||||||
|    * @param  TimerID:  The ID of the timer to remove from the list |  | ||||||
|    * @retval None |  | ||||||
|    */ |  | ||||||
|   void HW_TS_Delete(uint8_t TimerID); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * @brief  Schedule the timer list on the timer interrupt handler |  | ||||||
|    *         This interrupt handler shall be called by the application in the RTC interrupt handler. This handler takes |  | ||||||
|    *         care of clearing all status flag required in the RTC and EXTI peripherals |  | ||||||
|    * |  | ||||||
|    * @param  None |  | ||||||
|    * @retval None |  | ||||||
|    */ |  | ||||||
|   void HW_TS_RTC_Wakeup_Handler(void); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * @brief  Return the number of ticks to count before the interrupt |  | ||||||
|    *         This API returns the number of ticks left to be counted before an interrupt is generated by the |  | ||||||
|    *         Timer Server. This API may be used by the application for power management optimization. When the system |  | ||||||
|    *         enters low power mode, the mode selection is a tradeoff between the wakeup time where the CPU is running |  | ||||||
|    *         and the time while the CPU will be kept in low power mode before next wakeup. The deeper is the |  | ||||||
|    *         low power mode used, the longer is the wakeup time. The low power mode management considering wakeup time |  | ||||||
|    *         versus time in low power mode is implementation specific |  | ||||||
|    *         When the timer is disabled (No timer in the list), it returns 0xFFFF |  | ||||||
|    * |  | ||||||
|    * @param  None |  | ||||||
|    * @retval The number of ticks left to count |  | ||||||
|    */ |  | ||||||
|   uint16_t HW_TS_RTC_ReadLeftTicksToCount(void); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * @brief  Notify the application that a registered timer has expired |  | ||||||
|    *         This API shall be implemented by the user application. |  | ||||||
|    *         This API notifies the application that a timer expires. This API is running in the RTC Wakeup interrupt |  | ||||||
|    *         context. The application may implement an Operating System to change the context priority where the timer |  | ||||||
|    *         callback may be handled. This API provides the module ID to identify which module is concerned and to allow |  | ||||||
|    *         sending the information to the correct task |  | ||||||
|    * |  | ||||||
|    * @param  TimerProcessID: The TimerProcessId associated with the timer when it has been created |  | ||||||
|    * @param  TimerID: The TimerID of the expired timer |  | ||||||
|    * @param  pTimerCallBack: The Callback associated with the timer when it has been created |  | ||||||
|    * @retval None |  | ||||||
|    */ |  | ||||||
|   void HW_TS_RTC_Int_AppNot(uint32_t TimerProcessID, uint8_t TimerID, HW_TS_pTimerCb_t pTimerCallBack); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * @brief  Notify the application that the wakeupcounter has been updated |  | ||||||
|    *         This API should be implemented by the user application |  | ||||||
|    *         This API notifies the application that the counter has been updated. This is expected to be used along |  | ||||||
|    *         with the HW_TS_RTC_ReadLeftTicksToCount () API. It could be that the counter has been updated since the |  | ||||||
|    *         last call of HW_TS_RTC_ReadLeftTicksToCount () and before entering low power mode. This notification |  | ||||||
|    *         provides a way to the application to solve that race condition to reevaluate the counter value before |  | ||||||
|    *         entering low power mode |  | ||||||
|    * |  | ||||||
|    * @param  None |  | ||||||
|    * @retval None |  | ||||||
|    */ |  | ||||||
|   void HW_TS_RTC_CountUpdated_AppNot(void); |  | ||||||
| 
 |  | ||||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||||
| } | } | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -1,893 +0,0 @@ | |||||||
| /**
 |  | ||||||
|  ****************************************************************************** |  | ||||||
|   * File Name          : hw_timerserver.c |  | ||||||
|   * Description        : Hardware timerserver source file for STM32WPAN Middleware. |  | ||||||
|   * |  | ||||||
|  ****************************************************************************** |  | ||||||
|   * @attention |  | ||||||
|   * |  | ||||||
|   * <h2><center>© Copyright (c) 2020 STMicroelectronics. |  | ||||||
|   * All rights reserved.</center></h2> |  | ||||||
|   * |  | ||||||
|   * This software component is licensed by ST under Ultimate Liberty license |  | ||||||
|   * SLA0044, the "License"; You may not use this file except in compliance with |  | ||||||
|   * the License. You may obtain a copy of the License at: |  | ||||||
|   *                             www.st.com/SLA0044 |  | ||||||
|   * |  | ||||||
|   ****************************************************************************** |  | ||||||
|   */ |  | ||||||
| 
 |  | ||||||
| /* Includes ------------------------------------------------------------------*/ |  | ||||||
| #include "app_common.h" |  | ||||||
| #include "hw_conf.h" |  | ||||||
| 
 |  | ||||||
| /* Private typedef -----------------------------------------------------------*/ |  | ||||||
| typedef enum |  | ||||||
| { |  | ||||||
|   TimerID_Free, |  | ||||||
|   TimerID_Created, |  | ||||||
|   TimerID_Running |  | ||||||
| }TimerIDStatus_t; |  | ||||||
| 
 |  | ||||||
| typedef enum |  | ||||||
| { |  | ||||||
|   SSR_Read_Requested, |  | ||||||
|   SSR_Read_Not_Requested |  | ||||||
| }RequestReadSSR_t; |  | ||||||
| 
 |  | ||||||
| typedef enum |  | ||||||
| { |  | ||||||
|   WakeupTimerValue_Overpassed, |  | ||||||
|   WakeupTimerValue_LargeEnough |  | ||||||
| }WakeupTimerLimitation_Status_t; |  | ||||||
| 
 |  | ||||||
| typedef struct |  | ||||||
| { |  | ||||||
|   HW_TS_pTimerCb_t  pTimerCallBack; |  | ||||||
|   uint32_t        CounterInit; |  | ||||||
|   uint32_t        CountLeft; |  | ||||||
|   TimerIDStatus_t     TimerIDStatus; |  | ||||||
|   HW_TS_Mode_t   TimerMode; |  | ||||||
|   uint32_t        TimerProcessID; |  | ||||||
|   uint8_t         PreviousID; |  | ||||||
|   uint8_t         NextID; |  | ||||||
| }TimerContext_t; |  | ||||||
| 
 |  | ||||||
| /* Private defines -----------------------------------------------------------*/ |  | ||||||
| #define SSR_FORBIDDEN_VALUE   0xFFFFFFFF |  | ||||||
| #define TIMER_LIST_EMPTY      0xFFFF |  | ||||||
| 
 |  | ||||||
| /* Private macros ------------------------------------------------------------*/ |  | ||||||
| /* Private variables ---------------------------------------------------------*/ |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * START of Section TIMERSERVER_CONTEXT |  | ||||||
|  */ |  | ||||||
| 
 |  | ||||||
| PLACE_IN_SECTION("TIMERSERVER_CONTEXT") static volatile TimerContext_t aTimerContext[CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER]; |  | ||||||
| PLACE_IN_SECTION("TIMERSERVER_CONTEXT") static volatile uint8_t CurrentRunningTimerID; |  | ||||||
| PLACE_IN_SECTION("TIMERSERVER_CONTEXT") static volatile uint8_t PreviousRunningTimerID; |  | ||||||
| PLACE_IN_SECTION("TIMERSERVER_CONTEXT") static volatile uint32_t SSRValueOnLastSetup; |  | ||||||
| PLACE_IN_SECTION("TIMERSERVER_CONTEXT") static volatile WakeupTimerLimitation_Status_t  WakeupTimerLimitation; |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * END of Section TIMERSERVER_CONTEXT |  | ||||||
|  */ |  | ||||||
| 
 |  | ||||||
| static RTC_HandleTypeDef *phrtc;  /**< RTC handle */ |  | ||||||
| static uint8_t  WakeupTimerDivider; |  | ||||||
| static uint8_t  AsynchPrescalerUserConfig; |  | ||||||
| static uint16_t SynchPrescalerUserConfig; |  | ||||||
| static volatile uint16_t MaxWakeupTimerSetup; |  | ||||||
| 
 |  | ||||||
| /* Global variables ----------------------------------------------------------*/ |  | ||||||
| /* Private function prototypes -----------------------------------------------*/ |  | ||||||
| static void RestartWakeupCounter(uint16_t Value); |  | ||||||
| static uint16_t ReturnTimeElapsed(void); |  | ||||||
| static void RescheduleTimerList(void); |  | ||||||
| static void UnlinkTimer(uint8_t TimerID, RequestReadSSR_t RequestReadSSR); |  | ||||||
| static void LinkTimerBefore(uint8_t TimerID, uint8_t RefTimerID); |  | ||||||
| static void LinkTimerAfter(uint8_t TimerID, uint8_t RefTimerID); |  | ||||||
| static uint16_t linkTimer(uint8_t TimerID); |  | ||||||
| static uint32_t ReadRtcSsrValue(void); |  | ||||||
| 
 |  | ||||||
| __weak void HW_TS_RTC_CountUpdated_AppNot(void); |  | ||||||
| 
 |  | ||||||
| /* Functions Definition ------------------------------------------------------*/ |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * @brief  Read the RTC_SSR value |  | ||||||
|  *         As described in the reference manual, the RTC_SSR shall be read twice to ensure |  | ||||||
|  *         reliability of the value |  | ||||||
|  * @param  None |  | ||||||
|  * @retval SSR value read |  | ||||||
|  */ |  | ||||||
| static uint32_t ReadRtcSsrValue(void) |  | ||||||
| { |  | ||||||
|   uint32_t first_read; |  | ||||||
|   uint32_t second_read; |  | ||||||
| 
 |  | ||||||
|   first_read = (uint32_t)(READ_BIT(RTC->SSR, RTC_SSR_SS)); |  | ||||||
| 
 |  | ||||||
|   second_read = (uint32_t)(READ_BIT(RTC->SSR, RTC_SSR_SS)); |  | ||||||
| 
 |  | ||||||
|   while(first_read != second_read) |  | ||||||
|   { |  | ||||||
|     first_read = second_read; |  | ||||||
| 
 |  | ||||||
|     second_read = (uint32_t)(READ_BIT(RTC->SSR, RTC_SSR_SS)); |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   return second_read; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * @brief  Insert a Timer in the list after the Timer ID specified |  | ||||||
|  * @param  TimerID:   The ID of the Timer |  | ||||||
|  * @param  RefTimerID: The ID of the Timer to be linked after |  | ||||||
|  * @retval None |  | ||||||
|  */ |  | ||||||
| static void LinkTimerAfter(uint8_t TimerID, uint8_t RefTimerID) |  | ||||||
| { |  | ||||||
|   uint8_t next_id; |  | ||||||
| 
 |  | ||||||
|   next_id = aTimerContext[RefTimerID].NextID; |  | ||||||
| 
 |  | ||||||
|   if(next_id != CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER) |  | ||||||
|   { |  | ||||||
|     aTimerContext[next_id].PreviousID = TimerID; |  | ||||||
|   } |  | ||||||
|   aTimerContext[TimerID].NextID = next_id; |  | ||||||
|   aTimerContext[TimerID].PreviousID = RefTimerID ; |  | ||||||
|   aTimerContext[RefTimerID].NextID = TimerID; |  | ||||||
| 
 |  | ||||||
|   return; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * @brief  Insert a Timer in the list before the ID specified |  | ||||||
|  * @param  TimerID:   The ID of the Timer |  | ||||||
|  * @param  RefTimerID: The ID of the Timer to be linked before |  | ||||||
|  * @retval None |  | ||||||
|  */ |  | ||||||
| static void LinkTimerBefore(uint8_t TimerID, uint8_t RefTimerID) |  | ||||||
| { |  | ||||||
|   uint8_t previous_id; |  | ||||||
| 
 |  | ||||||
|   if(RefTimerID != CurrentRunningTimerID) |  | ||||||
|   { |  | ||||||
|     previous_id = aTimerContext[RefTimerID].PreviousID; |  | ||||||
| 
 |  | ||||||
|     aTimerContext[previous_id].NextID = TimerID; |  | ||||||
|     aTimerContext[TimerID].NextID = RefTimerID; |  | ||||||
|     aTimerContext[TimerID].PreviousID = previous_id ; |  | ||||||
|     aTimerContext[RefTimerID].PreviousID = TimerID; |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     aTimerContext[TimerID].NextID = RefTimerID; |  | ||||||
|     aTimerContext[RefTimerID].PreviousID = TimerID; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   return; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * @brief  Insert a Timer in the list |  | ||||||
|  * @param  TimerID:   The ID of the Timer |  | ||||||
|  * @retval None |  | ||||||
|  */ |  | ||||||
| static uint16_t linkTimer(uint8_t TimerID) |  | ||||||
| { |  | ||||||
|   uint32_t time_left; |  | ||||||
|   uint16_t time_elapsed; |  | ||||||
|   uint8_t timer_id_lookup; |  | ||||||
|   uint8_t next_id; |  | ||||||
| 
 |  | ||||||
|   if(CurrentRunningTimerID == CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER) |  | ||||||
|   { |  | ||||||
|     /**
 |  | ||||||
|      * No timer in the list |  | ||||||
|      */ |  | ||||||
|     PreviousRunningTimerID = CurrentRunningTimerID; |  | ||||||
|     CurrentRunningTimerID = TimerID; |  | ||||||
|     aTimerContext[TimerID].NextID = CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER; |  | ||||||
| 
 |  | ||||||
|     SSRValueOnLastSetup = SSR_FORBIDDEN_VALUE; |  | ||||||
|     time_elapsed = 0; |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     time_elapsed = ReturnTimeElapsed(); |  | ||||||
| 
 |  | ||||||
|     /**
 |  | ||||||
|      * update count of the timer to be linked |  | ||||||
|      */ |  | ||||||
|     aTimerContext[TimerID].CountLeft += time_elapsed; |  | ||||||
|     time_left = aTimerContext[TimerID].CountLeft; |  | ||||||
| 
 |  | ||||||
|     /**
 |  | ||||||
|      * Search for index where the new timer shall be linked |  | ||||||
|      */ |  | ||||||
|     if(aTimerContext[CurrentRunningTimerID].CountLeft <= time_left) |  | ||||||
|     { |  | ||||||
|       /**
 |  | ||||||
|        * Search for the ID after the first one |  | ||||||
|        */ |  | ||||||
|       timer_id_lookup = CurrentRunningTimerID; |  | ||||||
|       next_id = aTimerContext[timer_id_lookup].NextID; |  | ||||||
|       while((next_id != CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER) && (aTimerContext[next_id].CountLeft <= time_left)) |  | ||||||
|       { |  | ||||||
|         timer_id_lookup = aTimerContext[timer_id_lookup].NextID; |  | ||||||
|         next_id = aTimerContext[timer_id_lookup].NextID; |  | ||||||
|       } |  | ||||||
| 
 |  | ||||||
|       /**
 |  | ||||||
|        * Link after the ID |  | ||||||
|        */ |  | ||||||
|       LinkTimerAfter(TimerID, timer_id_lookup); |  | ||||||
|     } |  | ||||||
|     else |  | ||||||
|     { |  | ||||||
|       /**
 |  | ||||||
|        * Link before the first ID |  | ||||||
|        */ |  | ||||||
|       LinkTimerBefore(TimerID, CurrentRunningTimerID); |  | ||||||
|       PreviousRunningTimerID = CurrentRunningTimerID; |  | ||||||
|       CurrentRunningTimerID = TimerID; |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   return time_elapsed; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * @brief  Remove a Timer from the list |  | ||||||
|  * @param  TimerID:   The ID of the Timer |  | ||||||
|  * @param  RequestReadSSR: Request to read the SSR register or not |  | ||||||
|  * @retval None |  | ||||||
|  */ |  | ||||||
| static void UnlinkTimer(uint8_t TimerID, RequestReadSSR_t RequestReadSSR) |  | ||||||
| { |  | ||||||
|   uint8_t previous_id; |  | ||||||
|   uint8_t next_id; |  | ||||||
| 
 |  | ||||||
|   if(TimerID == CurrentRunningTimerID) |  | ||||||
|   { |  | ||||||
|     PreviousRunningTimerID = CurrentRunningTimerID; |  | ||||||
|     CurrentRunningTimerID = aTimerContext[TimerID].NextID; |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     previous_id = aTimerContext[TimerID].PreviousID; |  | ||||||
|     next_id = aTimerContext[TimerID].NextID; |  | ||||||
| 
 |  | ||||||
|     aTimerContext[previous_id].NextID = aTimerContext[TimerID].NextID; |  | ||||||
|     if(next_id != CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER) |  | ||||||
|     { |  | ||||||
|       aTimerContext[next_id].PreviousID = aTimerContext[TimerID].PreviousID; |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * Timer is out of the list |  | ||||||
|    */ |  | ||||||
|   aTimerContext[TimerID].TimerIDStatus = TimerID_Created; |  | ||||||
| 
 |  | ||||||
|   if((CurrentRunningTimerID == CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER) && (RequestReadSSR == SSR_Read_Requested)) |  | ||||||
|   { |  | ||||||
|     SSRValueOnLastSetup = SSR_FORBIDDEN_VALUE; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   return; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * @brief  Return the number of ticks counted by the wakeuptimer since it has been started |  | ||||||
|  * @note  The API is reading the SSR register to get how many ticks have been counted |  | ||||||
|  *        since the time the timer has been started |  | ||||||
|  * @param  None |  | ||||||
|  * @retval Time expired in Ticks |  | ||||||
|  */ |  | ||||||
| static uint16_t ReturnTimeElapsed(void) |  | ||||||
| { |  | ||||||
|   uint32_t  return_value; |  | ||||||
|   uint32_t  wrap_counter; |  | ||||||
| 
 |  | ||||||
|   if(SSRValueOnLastSetup != SSR_FORBIDDEN_VALUE) |  | ||||||
|   { |  | ||||||
|     return_value = ReadRtcSsrValue(); /**< Read SSR register first */ |  | ||||||
| 
 |  | ||||||
|     if (SSRValueOnLastSetup >= return_value) |  | ||||||
|     { |  | ||||||
|       return_value = SSRValueOnLastSetup - return_value; |  | ||||||
|     } |  | ||||||
|     else |  | ||||||
|     { |  | ||||||
|       wrap_counter = SynchPrescalerUserConfig - return_value; |  | ||||||
|       return_value = SSRValueOnLastSetup + wrap_counter; |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|     /**
 |  | ||||||
|      * At this stage, ReturnValue holds the number of ticks counted by SSR |  | ||||||
|      * Need to translate in number of ticks counted by the Wakeuptimer |  | ||||||
|      */ |  | ||||||
|     return_value = return_value*AsynchPrescalerUserConfig; |  | ||||||
|     return_value = return_value >> WakeupTimerDivider; |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     return_value = 0; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   return (uint16_t)return_value; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * @brief  Set the wakeup counter |  | ||||||
|  * @note  The API is writing the counter value so that the value is decreased by one to cope with the fact |  | ||||||
|  *    the interrupt is generated with 1 extra clock cycle (See RefManuel) |  | ||||||
|  *    It assumes all condition are met to be allowed to write the wakeup counter |  | ||||||
|  * @param  Value: Value to be written in the counter |  | ||||||
|  * @retval None |  | ||||||
|  */ |  | ||||||
| static void RestartWakeupCounter(uint16_t Value) |  | ||||||
| { |  | ||||||
|   /**
 |  | ||||||
|    * The wakeuptimer has been disabled in the calling function to reduce the time to poll the WUTWF |  | ||||||
|    * FLAG when the new value will have to be written |  | ||||||
|    *  __HAL_RTC_WAKEUPTIMER_DISABLE(phrtc); |  | ||||||
|    */ |  | ||||||
| 
 |  | ||||||
|   if(Value == 0) |  | ||||||
|   { |  | ||||||
|     SSRValueOnLastSetup = ReadRtcSsrValue(); |  | ||||||
| 
 |  | ||||||
|     /**
 |  | ||||||
|      * Simulate that the Timer expired |  | ||||||
|      */ |  | ||||||
|     HAL_NVIC_SetPendingIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID); |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     if((Value > 1) ||(WakeupTimerDivider != 1)) |  | ||||||
|     { |  | ||||||
|       Value -= 1; |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|     while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(phrtc, RTC_FLAG_WUTWF) == RESET); |  | ||||||
| 
 |  | ||||||
|     /**
 |  | ||||||
|      * make sure to clear the flags after checking the WUTWF. |  | ||||||
|      * It takes 2 RTCCLK between the time the WUTE bit is disabled and the |  | ||||||
|      * time the timer is disabled. The WUTWF bit somehow guarantee the system is stable |  | ||||||
|      * Otherwise, when the timer is periodic with 1 Tick, it may generate an extra interrupt in between |  | ||||||
|      * due to the autoreload feature |  | ||||||
|      */ |  | ||||||
|     __HAL_RTC_WAKEUPTIMER_CLEAR_FLAG(phrtc, RTC_FLAG_WUTF);   /**<  Clear flag in RTC module */ |  | ||||||
|     __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG(); /**<  Clear flag in EXTI module */ |  | ||||||
|     HAL_NVIC_ClearPendingIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID);   /**<  Clear pending bit in NVIC */ |  | ||||||
| 
 |  | ||||||
|     MODIFY_REG(RTC->WUTR, RTC_WUTR_WUT, Value); |  | ||||||
| 
 |  | ||||||
|     /**
 |  | ||||||
|      * Update the value here after the WUTWF polling that may take some time |  | ||||||
|      */ |  | ||||||
|     SSRValueOnLastSetup = ReadRtcSsrValue(); |  | ||||||
| 
 |  | ||||||
|     __HAL_RTC_WAKEUPTIMER_ENABLE(phrtc);    /**<  Enable the Wakeup Timer */ |  | ||||||
| 
 |  | ||||||
|     HW_TS_RTC_CountUpdated_AppNot(); |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   return ; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * @brief  Reschedule the list of timer |  | ||||||
|  * @note  1) Update the count left for each timer in the list |  | ||||||
|  *    2) Setup the wakeuptimer |  | ||||||
|  * @param  None |  | ||||||
|  * @retval None |  | ||||||
|  */ |  | ||||||
| static void RescheduleTimerList(void) |  | ||||||
| { |  | ||||||
|   uint8_t   localTimerID; |  | ||||||
|   uint32_t  timecountleft; |  | ||||||
|   uint16_t  wakeup_timer_value; |  | ||||||
|   uint16_t  time_elapsed; |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * The wakeuptimer is disabled now to reduce the time to poll the WUTWF |  | ||||||
|    * FLAG when the new value will have to be written |  | ||||||
|    */ |  | ||||||
|   if((READ_BIT(RTC->CR, RTC_CR_WUTE) == (RTC_CR_WUTE)) == SET) |  | ||||||
|   { |  | ||||||
|     /**
 |  | ||||||
|      * Wait for the flag to be back to 0 when the wakeup timer is enabled |  | ||||||
|      */ |  | ||||||
|     while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(phrtc, RTC_FLAG_WUTWF) == SET); |  | ||||||
|   } |  | ||||||
|   __HAL_RTC_WAKEUPTIMER_DISABLE(phrtc);   /**<  Disable the Wakeup Timer */ |  | ||||||
| 
 |  | ||||||
|   localTimerID = CurrentRunningTimerID; |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * Calculate what will be the value to write in the wakeuptimer |  | ||||||
|    */ |  | ||||||
|   timecountleft = aTimerContext[localTimerID].CountLeft; |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * Read how much has been counted |  | ||||||
|    */ |  | ||||||
|   time_elapsed = ReturnTimeElapsed(); |  | ||||||
| 
 |  | ||||||
|   if(timecountleft < time_elapsed ) |  | ||||||
|   { |  | ||||||
|     /**
 |  | ||||||
|      * There is no tick left to count |  | ||||||
|      */ |  | ||||||
|     wakeup_timer_value = 0; |  | ||||||
|     WakeupTimerLimitation = WakeupTimerValue_LargeEnough; |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     if(timecountleft > (time_elapsed + MaxWakeupTimerSetup)) |  | ||||||
|     { |  | ||||||
|       /**
 |  | ||||||
|        * The number of tick left is greater than the Wakeuptimer maximum value |  | ||||||
|        */ |  | ||||||
|       wakeup_timer_value = MaxWakeupTimerSetup; |  | ||||||
| 
 |  | ||||||
|       WakeupTimerLimitation = WakeupTimerValue_Overpassed; |  | ||||||
|     } |  | ||||||
|     else |  | ||||||
|     { |  | ||||||
|       wakeup_timer_value = timecountleft - time_elapsed; |  | ||||||
|       WakeupTimerLimitation = WakeupTimerValue_LargeEnough; |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * update ticks left to be counted for each timer |  | ||||||
|    */ |  | ||||||
|   while(localTimerID != CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER) |  | ||||||
|   { |  | ||||||
|     if (aTimerContext[localTimerID].CountLeft < time_elapsed) |  | ||||||
|     { |  | ||||||
|       aTimerContext[localTimerID].CountLeft = 0; |  | ||||||
|     } |  | ||||||
|     else |  | ||||||
|     { |  | ||||||
|       aTimerContext[localTimerID].CountLeft -= time_elapsed; |  | ||||||
|     } |  | ||||||
|     localTimerID = aTimerContext[localTimerID].NextID; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * Write next count |  | ||||||
|    */ |  | ||||||
|   RestartWakeupCounter(wakeup_timer_value); |  | ||||||
| 
 |  | ||||||
|   return ; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /* Public functions ----------------------------------------------------------*/ |  | ||||||
| 
 |  | ||||||
| /**
 |  | ||||||
|  * For all public interface except that may need write access to the RTC, the RTC |  | ||||||
|  * shall be unlock at the beginning and locked at the output |  | ||||||
|  * In order to ease maintainability, the unlock is done at the top and the lock at then end |  | ||||||
|  * in case some new implementation is coming in the future |  | ||||||
|  */ |  | ||||||
| 
 |  | ||||||
| void HW_TS_RTC_Wakeup_Handler(void) |  | ||||||
| { |  | ||||||
|   HW_TS_pTimerCb_t ptimer_callback; |  | ||||||
|   uint32_t timer_process_id; |  | ||||||
|   uint8_t local_current_running_timer_id; |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   uint32_t primask_bit; |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   primask_bit = __get_PRIMASK();  /**< backup PRIMASK bit */ |  | ||||||
|   __disable_irq();          /**< Disable all interrupts by setting PRIMASK bit on Cortex*/ |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
| /* Disable the write protection for RTC registers */ |  | ||||||
|   __HAL_RTC_WRITEPROTECTION_DISABLE( phrtc ); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * Disable the Wakeup Timer |  | ||||||
|    * This may speed up a bit the processing to wait the timer to be disabled |  | ||||||
|    * The timer is still counting 2 RTCCLK |  | ||||||
|    */ |  | ||||||
|   __HAL_RTC_WAKEUPTIMER_DISABLE(phrtc); |  | ||||||
| 
 |  | ||||||
|   local_current_running_timer_id = CurrentRunningTimerID; |  | ||||||
| 
 |  | ||||||
|   if(aTimerContext[local_current_running_timer_id].TimerIDStatus == TimerID_Running) |  | ||||||
|   { |  | ||||||
|     ptimer_callback = aTimerContext[local_current_running_timer_id].pTimerCallBack; |  | ||||||
|     timer_process_id = aTimerContext[local_current_running_timer_id].TimerProcessID; |  | ||||||
| 
 |  | ||||||
|     /**
 |  | ||||||
|      * It should be good to check whether the TimeElapsed is greater or not than the tick left to be counted |  | ||||||
|      * However, due to the inaccuracy of the reading of the time elapsed, it may return there is 1 tick |  | ||||||
|      * to be left whereas the count is over |  | ||||||
|      * A more secure implementation has been done with a flag to state whereas the full count has been written |  | ||||||
|      * in the wakeuptimer or not |  | ||||||
|      */ |  | ||||||
|     if(WakeupTimerLimitation != WakeupTimerValue_Overpassed) |  | ||||||
|     { |  | ||||||
|       if(aTimerContext[local_current_running_timer_id].TimerMode == hw_ts_Repeated) |  | ||||||
|       { |  | ||||||
|         UnlinkTimer(local_current_running_timer_id, SSR_Read_Not_Requested); |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|         __set_PRIMASK(primask_bit); /**< Restore PRIMASK bit*/ |  | ||||||
| #endif |  | ||||||
|         HW_TS_Start(local_current_running_timer_id, aTimerContext[local_current_running_timer_id].CounterInit); |  | ||||||
| 
 |  | ||||||
|         /* Disable the write protection for RTC registers */ |  | ||||||
|         __HAL_RTC_WRITEPROTECTION_DISABLE( phrtc ); |  | ||||||
|         } |  | ||||||
|       else |  | ||||||
|       { |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|         __set_PRIMASK(primask_bit); /**< Restore PRIMASK bit*/ |  | ||||||
| #endif |  | ||||||
|         HW_TS_Stop(local_current_running_timer_id); |  | ||||||
| 
 |  | ||||||
|         /* Disable the write protection for RTC registers */ |  | ||||||
|         __HAL_RTC_WRITEPROTECTION_DISABLE( phrtc ); |  | ||||||
|         } |  | ||||||
| 
 |  | ||||||
|       HW_TS_RTC_Int_AppNot(timer_process_id, local_current_running_timer_id, ptimer_callback); |  | ||||||
|     } |  | ||||||
|     else |  | ||||||
|     { |  | ||||||
|       RescheduleTimerList(); |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|       __set_PRIMASK(primask_bit); /**< Restore PRIMASK bit*/ |  | ||||||
| #endif |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     /**
 |  | ||||||
|      * We should never end up in this case |  | ||||||
|      * However, if due to any bug in the timer server this is the case, the mistake may not impact the user. |  | ||||||
|      * We could just clean the interrupt flag and get out from this unexpected interrupt |  | ||||||
|      */ |  | ||||||
|     while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(phrtc, RTC_FLAG_WUTWF) == RESET); |  | ||||||
| 
 |  | ||||||
|     /**
 |  | ||||||
|      * make sure to clear the flags after checking the WUTWF. |  | ||||||
|      * It takes 2 RTCCLK between the time the WUTE bit is disabled and the |  | ||||||
|      * time the timer is disabled. The WUTWF bit somehow guarantee the system is stable |  | ||||||
|      * Otherwise, when the timer is periodic with 1 Tick, it may generate an extra interrupt in between |  | ||||||
|      * due to the autoreload feature |  | ||||||
|      */ |  | ||||||
|     __HAL_RTC_WAKEUPTIMER_CLEAR_FLAG(phrtc, RTC_FLAG_WUTF);   /**<  Clear flag in RTC module */ |  | ||||||
|     __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG(); /**<  Clear flag in EXTI module */ |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|     __set_PRIMASK(primask_bit); /**< Restore PRIMASK bit*/ |  | ||||||
| #endif |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   /* Enable the write protection for RTC registers */ |  | ||||||
|   __HAL_RTC_WRITEPROTECTION_ENABLE( phrtc ); |  | ||||||
| 
 |  | ||||||
|   return; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| void HW_TS_Init(HW_TS_InitMode_t TimerInitMode, RTC_HandleTypeDef *hrtc) |  | ||||||
| { |  | ||||||
|   uint8_t loop; |  | ||||||
|   uint32_t localmaxwakeuptimersetup; |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * Get RTC handler |  | ||||||
|    */ |  | ||||||
|   phrtc = hrtc; |  | ||||||
| 
 |  | ||||||
|  /* Disable the write protection for RTC registers */ |  | ||||||
|   __HAL_RTC_WRITEPROTECTION_DISABLE( phrtc ); |  | ||||||
| 
 |  | ||||||
|   SET_BIT(RTC->CR, RTC_CR_BYPSHAD); |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * Readout the user config |  | ||||||
|    */ |  | ||||||
|   WakeupTimerDivider = (4 - ((uint32_t)(READ_BIT(RTC->CR, RTC_CR_WUCKSEL)))); |  | ||||||
| 
 |  | ||||||
|   AsynchPrescalerUserConfig = (uint8_t)(READ_BIT(RTC->PRER, RTC_PRER_PREDIV_A) >> (uint32_t)POSITION_VAL(RTC_PRER_PREDIV_A)) + 1; |  | ||||||
| 
 |  | ||||||
|   SynchPrescalerUserConfig = (uint16_t)(READ_BIT(RTC->PRER, RTC_PRER_PREDIV_S)) + 1; |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    *  Margin is taken to avoid wrong calculation when the wrap around is there and some |  | ||||||
|    *  application interrupts may have delayed the reading |  | ||||||
|    */ |  | ||||||
|   localmaxwakeuptimersetup = ((((SynchPrescalerUserConfig - 1)*AsynchPrescalerUserConfig) - CFG_HW_TS_RTC_HANDLER_MAX_DELAY) >> WakeupTimerDivider); |  | ||||||
| 
 |  | ||||||
|   if(localmaxwakeuptimersetup >= 0xFFFF) |  | ||||||
|   { |  | ||||||
|     MaxWakeupTimerSetup = 0xFFFF; |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     MaxWakeupTimerSetup = (uint16_t)localmaxwakeuptimersetup; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   /**
 |  | ||||||
|    * Configure EXTI module |  | ||||||
|    */ |  | ||||||
|   LL_EXTI_EnableRisingTrig_0_31(RTC_EXTI_LINE_WAKEUPTIMER_EVENT); |  | ||||||
|   LL_EXTI_EnableIT_0_31(RTC_EXTI_LINE_WAKEUPTIMER_EVENT); |  | ||||||
| 
 |  | ||||||
|   if(TimerInitMode == hw_ts_InitMode_Full) |  | ||||||
|   { |  | ||||||
|     WakeupTimerLimitation = WakeupTimerValue_LargeEnough; |  | ||||||
|     SSRValueOnLastSetup = SSR_FORBIDDEN_VALUE; |  | ||||||
| 
 |  | ||||||
|     /**
 |  | ||||||
|      * Initialize the timer server |  | ||||||
|      */ |  | ||||||
|     for(loop = 0; loop < CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER; loop++) |  | ||||||
|     { |  | ||||||
|       aTimerContext[loop].TimerIDStatus = TimerID_Free; |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|     CurrentRunningTimerID = CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER;   /**<  Set ID to non valid value */ |  | ||||||
| 
 |  | ||||||
|     __HAL_RTC_WAKEUPTIMER_DISABLE(phrtc);                       /**<  Disable the Wakeup Timer */ |  | ||||||
|     __HAL_RTC_WAKEUPTIMER_CLEAR_FLAG(phrtc, RTC_FLAG_WUTF);     /**<  Clear flag in RTC module */ |  | ||||||
|     __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG(); /**<  Clear flag in EXTI module  */ |  | ||||||
|     HAL_NVIC_ClearPendingIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID);       /**<  Clear pending bit in NVIC  */ |  | ||||||
|     __HAL_RTC_WAKEUPTIMER_ENABLE_IT(phrtc, RTC_IT_WUT);         /**<  Enable interrupt in RTC module  */ |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     if(__HAL_RTC_WAKEUPTIMER_GET_FLAG(phrtc, RTC_FLAG_WUTF) != RESET) |  | ||||||
|     { |  | ||||||
|       /**
 |  | ||||||
|        * Simulate that the Timer expired |  | ||||||
|        */ |  | ||||||
|       HAL_NVIC_SetPendingIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID); |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   /* Enable the write protection for RTC registers */ |  | ||||||
|   __HAL_RTC_WRITEPROTECTION_ENABLE( phrtc ); |  | ||||||
| 
 |  | ||||||
|   HAL_NVIC_SetPriority(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID, CFG_HW_TS_NVIC_RTC_WAKEUP_IT_PREEMPTPRIO, CFG_HW_TS_NVIC_RTC_WAKEUP_IT_SUBPRIO);   /**<  Set NVIC priority */ |  | ||||||
|   HAL_NVIC_EnableIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID); /**<  Enable NVIC */ |  | ||||||
| 
 |  | ||||||
|   return; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| HW_TS_ReturnStatus_t HW_TS_Create(uint32_t TimerProcessID, uint8_t *pTimerId, HW_TS_Mode_t TimerMode, HW_TS_pTimerCb_t pftimeout_handler) |  | ||||||
| { |  | ||||||
|   HW_TS_ReturnStatus_t localreturnstatus; |  | ||||||
|   uint8_t loop = 0; |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   uint32_t primask_bit; |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   primask_bit = __get_PRIMASK();  /**< backup PRIMASK bit */ |  | ||||||
|   __disable_irq();          /**< Disable all interrupts by setting PRIMASK bit on Cortex*/ |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
|   while((loop < CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER) && (aTimerContext[loop].TimerIDStatus != TimerID_Free)) |  | ||||||
|   { |  | ||||||
|     loop++; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   if(loop != CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER) |  | ||||||
|   { |  | ||||||
|     aTimerContext[loop].TimerIDStatus = TimerID_Created; |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|     __set_PRIMASK(primask_bit); /**< Restore PRIMASK bit*/ |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
|     aTimerContext[loop].TimerProcessID = TimerProcessID; |  | ||||||
|     aTimerContext[loop].TimerMode = TimerMode; |  | ||||||
|     aTimerContext[loop].pTimerCallBack = pftimeout_handler; |  | ||||||
|     *pTimerId = loop; |  | ||||||
| 
 |  | ||||||
|     localreturnstatus = hw_ts_Successful; |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|     __set_PRIMASK(primask_bit); /**< Restore PRIMASK bit*/ |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
|     localreturnstatus = hw_ts_Failed; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   return(localreturnstatus); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| void HW_TS_Delete(uint8_t timer_id) |  | ||||||
| { |  | ||||||
|   HW_TS_Stop(timer_id); |  | ||||||
| 
 |  | ||||||
|   aTimerContext[timer_id].TimerIDStatus = TimerID_Free; /**<  release ID */ |  | ||||||
| 
 |  | ||||||
|   return; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| void HW_TS_Stop(uint8_t timer_id) |  | ||||||
| { |  | ||||||
|   uint8_t localcurrentrunningtimerid; |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   uint32_t primask_bit; |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   primask_bit = __get_PRIMASK();  /**< backup PRIMASK bit */ |  | ||||||
|   __disable_irq();          /**< Disable all interrupts by setting PRIMASK bit on Cortex*/ |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
|   HAL_NVIC_DisableIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID);    /**<  Disable NVIC */ |  | ||||||
| 
 |  | ||||||
|   /* Disable the write protection for RTC registers */ |  | ||||||
|   __HAL_RTC_WRITEPROTECTION_DISABLE( phrtc ); |  | ||||||
| 
 |  | ||||||
|   if(aTimerContext[timer_id].TimerIDStatus == TimerID_Running) |  | ||||||
|   { |  | ||||||
|     UnlinkTimer(timer_id, SSR_Read_Requested); |  | ||||||
|     localcurrentrunningtimerid = CurrentRunningTimerID; |  | ||||||
| 
 |  | ||||||
|     if(localcurrentrunningtimerid == CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER) |  | ||||||
|     { |  | ||||||
|       /**
 |  | ||||||
|        * List is empty |  | ||||||
|        */ |  | ||||||
| 
 |  | ||||||
|       /**
 |  | ||||||
|        * Disable the timer |  | ||||||
|        */ |  | ||||||
|       if((READ_BIT(RTC->CR, RTC_CR_WUTE) == (RTC_CR_WUTE)) == SET) |  | ||||||
|       { |  | ||||||
|         /**
 |  | ||||||
|          * Wait for the flag to be back to 0 when the wakeup timer is enabled |  | ||||||
|          */ |  | ||||||
|         while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(phrtc, RTC_FLAG_WUTWF) == SET); |  | ||||||
|       } |  | ||||||
|       __HAL_RTC_WAKEUPTIMER_DISABLE(phrtc);   /**<  Disable the Wakeup Timer */ |  | ||||||
| 
 |  | ||||||
|       while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(phrtc, RTC_FLAG_WUTWF) == RESET); |  | ||||||
| 
 |  | ||||||
|       /**
 |  | ||||||
|        * make sure to clear the flags after checking the WUTWF. |  | ||||||
|        * It takes 2 RTCCLK between the time the WUTE bit is disabled and the |  | ||||||
|        * time the timer is disabled. The WUTWF bit somehow guarantee the system is stable |  | ||||||
|        * Otherwise, when the timer is periodic with 1 Tick, it may generate an extra interrupt in between |  | ||||||
|        * due to the autoreload feature |  | ||||||
|        */ |  | ||||||
|       __HAL_RTC_WAKEUPTIMER_CLEAR_FLAG(phrtc, RTC_FLAG_WUTF);   /**<  Clear flag in RTC module */ |  | ||||||
|       __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG(); /**<  Clear flag in EXTI module */ |  | ||||||
|       HAL_NVIC_ClearPendingIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID);   /**<  Clear pending bit in NVIC */ |  | ||||||
|     } |  | ||||||
|     else if(PreviousRunningTimerID != localcurrentrunningtimerid) |  | ||||||
|     { |  | ||||||
|       RescheduleTimerList(); |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   /* Enable the write protection for RTC registers */ |  | ||||||
|   __HAL_RTC_WRITEPROTECTION_ENABLE( phrtc ); |  | ||||||
| 
 |  | ||||||
|   HAL_NVIC_EnableIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID); /**<  Enable NVIC */ |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   __set_PRIMASK(primask_bit); /**< Restore PRIMASK bit*/ |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
|   return; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| void HW_TS_Start(uint8_t timer_id, uint32_t timeout_ticks) |  | ||||||
| { |  | ||||||
|   uint16_t time_elapsed; |  | ||||||
|   uint8_t localcurrentrunningtimerid; |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   uint32_t primask_bit; |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
|   if(aTimerContext[timer_id].TimerIDStatus == TimerID_Running) |  | ||||||
|   { |  | ||||||
|     HW_TS_Stop( timer_id ); |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   primask_bit = __get_PRIMASK();  /**< backup PRIMASK bit */ |  | ||||||
|   __disable_irq();          /**< Disable all interrupts by setting PRIMASK bit on Cortex*/ |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
|   HAL_NVIC_DisableIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID);    /**<  Disable NVIC */ |  | ||||||
| 
 |  | ||||||
|   /* Disable the write protection for RTC registers */ |  | ||||||
|   __HAL_RTC_WRITEPROTECTION_DISABLE( phrtc ); |  | ||||||
| 
 |  | ||||||
|   aTimerContext[timer_id].TimerIDStatus = TimerID_Running; |  | ||||||
| 
 |  | ||||||
|   aTimerContext[timer_id].CountLeft = timeout_ticks; |  | ||||||
|   aTimerContext[timer_id].CounterInit = timeout_ticks; |  | ||||||
| 
 |  | ||||||
|   time_elapsed =  linkTimer(timer_id); |  | ||||||
| 
 |  | ||||||
|   localcurrentrunningtimerid = CurrentRunningTimerID; |  | ||||||
| 
 |  | ||||||
|   if(PreviousRunningTimerID != localcurrentrunningtimerid) |  | ||||||
|   { |  | ||||||
|     RescheduleTimerList(); |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     aTimerContext[timer_id].CountLeft -= time_elapsed; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   /* Enable the write protection for RTC registers */ |  | ||||||
|   __HAL_RTC_WRITEPROTECTION_ENABLE( phrtc ); |  | ||||||
| 
 |  | ||||||
|   HAL_NVIC_EnableIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID); /**<  Enable NVIC */ |  | ||||||
| 
 |  | ||||||
| #if (CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION == 1) |  | ||||||
|   __set_PRIMASK(primask_bit); /**< Restore PRIMASK bit*/ |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
|   return; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| uint16_t HW_TS_RTC_ReadLeftTicksToCount(void) |  | ||||||
| { |  | ||||||
|   uint32_t primask_bit; |  | ||||||
|   uint16_t return_value, auro_reload_value, elapsed_time_value; |  | ||||||
| 
 |  | ||||||
|   primask_bit = __get_PRIMASK();  /**< backup PRIMASK bit */ |  | ||||||
|   __disable_irq();                /**< Disable all interrupts by setting PRIMASK bit on Cortex*/ |  | ||||||
| 
 |  | ||||||
|   if((READ_BIT(RTC->CR, RTC_CR_WUTE) == (RTC_CR_WUTE)) == SET) |  | ||||||
|   { |  | ||||||
|     auro_reload_value = (uint32_t)(READ_BIT(RTC->WUTR, RTC_WUTR_WUT)); |  | ||||||
| 
 |  | ||||||
|     elapsed_time_value = ReturnTimeElapsed(); |  | ||||||
| 
 |  | ||||||
|     if(auro_reload_value > elapsed_time_value) |  | ||||||
|     { |  | ||||||
|       return_value = auro_reload_value - elapsed_time_value; |  | ||||||
|     } |  | ||||||
|     else |  | ||||||
|     { |  | ||||||
|       return_value = 0; |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
|   else |  | ||||||
|   { |  | ||||||
|     return_value = TIMER_LIST_EMPTY; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   __set_PRIMASK(primask_bit);     /**< Restore PRIMASK bit*/ |  | ||||||
| 
 |  | ||||||
|   return (return_value); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| __weak void HW_TS_RTC_Int_AppNot(uint32_t TimerProcessID, uint8_t TimerID, HW_TS_pTimerCb_t pTimerCallBack) |  | ||||||
| { |  | ||||||
|   pTimerCallBack(); |  | ||||||
| 
 |  | ||||||
|   return; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |  | ||||||
| @ -23,11 +23,3 @@ void furi_hal_bootloader_set_mode(FuriHalBootloaderMode mode) { | |||||||
|         LL_RTC_BAK_SetRegister(RTC, LL_RTC_BKP_DR0, BOOT_REQUEST_DFU); |         LL_RTC_BAK_SetRegister(RTC, LL_RTC_BKP_DR0, BOOT_REQUEST_DFU); | ||||||
|     } |     } | ||||||
| } | } | ||||||
| 
 |  | ||||||
| void furi_hal_bootloader_set_flags(FuriHalBootloaderFlag flags) { |  | ||||||
|     LL_RTC_BAK_SetRegister(RTC, LL_RTC_BKP_DR2, flags); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| FuriHalBootloaderFlag furi_hal_bootloader_get_flags() { |  | ||||||
|     return LL_RTC_BAK_GetRegister(RTC, LL_RTC_BKP_DR2); |  | ||||||
| } |  | ||||||
| @ -13,16 +13,23 @@ | |||||||
| #define FURI_HAL_BT_HID_KB_KEYS_MAX (6) | #define FURI_HAL_BT_HID_KB_KEYS_MAX (6) | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|  |     // uint8_t report_id;
 | ||||||
|     uint8_t mods; |     uint8_t mods; | ||||||
|     uint8_t reserved; |     uint8_t reserved; | ||||||
|     uint8_t key[FURI_HAL_BT_HID_KB_KEYS_MAX]; |     uint8_t key[FURI_HAL_BT_HID_KB_KEYS_MAX]; | ||||||
| } FuriHalBtHidKbReport; | } FuriHalBtHidKbReport; | ||||||
| 
 | 
 | ||||||
| // TODO rework with HID defines
 | typedef struct { | ||||||
|  |     uint8_t report_id; | ||||||
|  |     uint8_t key; | ||||||
|  | } FuriHalBtHidMediaReport; | ||||||
|  | 
 | ||||||
|  | // TODO make composite HID device
 | ||||||
| static uint8_t furi_hal_bt_hid_report_map_data[] = { | static uint8_t furi_hal_bt_hid_report_map_data[] = { | ||||||
|     0x05, 0x01,       // Usage Page (Generic Desktop)
 |     0x05, 0x01,       // Usage Page (Generic Desktop)
 | ||||||
|     0x09, 0x06,       // Usage (Keyboard)
 |     0x09, 0x06,       // Usage (Keyboard)
 | ||||||
|     0xA1, 0x01,       // Collection (Application)
 |     0xA1, 0x01,       // Collection (Application)
 | ||||||
|  |     // 0x85, 0x01,       // Report ID (1)
 | ||||||
|     0x05, 0x07,       // Usage Page (Key Codes)
 |     0x05, 0x07,       // Usage Page (Key Codes)
 | ||||||
|     0x19, 0xe0,       // Usage Minimum (224)
 |     0x19, 0xe0,       // Usage Minimum (224)
 | ||||||
|     0x29, 0xe7,       // Usage Maximum (231)
 |     0x29, 0xe7,       // Usage Maximum (231)
 | ||||||
| @ -62,10 +69,31 @@ static uint8_t furi_hal_bt_hid_report_map_data[] = { | |||||||
|     0x95, 0x02,       // Report Count (2)
 |     0x95, 0x02,       // Report Count (2)
 | ||||||
|     0xB1, 0x02,       // Feature (Data, Variable, Absolute)
 |     0xB1, 0x02,       // Feature (Data, Variable, Absolute)
 | ||||||
| 
 | 
 | ||||||
|     0xC0              // End Collection (Application)
 |     0xC0,              // End Collection (Application)
 | ||||||
|  | 
 | ||||||
|  |     // 0x05, 0x0C,        // Usage Page (Consumer)
 | ||||||
|  |     // 0x09, 0x01,        // Usage (Consumer Control)
 | ||||||
|  |     // 0xA1, 0x01,        // Collection (Application)
 | ||||||
|  |     // 0x85, 0x02,        //   Report ID (2)
 | ||||||
|  |     // 0x05, 0x0C,        //   Usage Page (Consumer)
 | ||||||
|  |     // 0x15, 0x00,        //   Logical Minimum (0)
 | ||||||
|  |     // 0x25, 0x01,        //   Logical Maximum (1)
 | ||||||
|  |     // 0x75, 0x01,        //   Report Size (1)
 | ||||||
|  |     // 0x95, 0x07,        //   Report Count (7)
 | ||||||
|  |     // 0x09, 0xB5,        //   Usage (Scan Next Track)
 | ||||||
|  |     // 0x09, 0xB6,        //   Usage (Scan Previous Track)
 | ||||||
|  |     // 0x09, 0xB7,        //   Usage (Stop)
 | ||||||
|  |     // 0x09, 0xB8,        //   Usage (Eject)
 | ||||||
|  |     // 0x09, 0xCD,        //   Usage (Play/Pause)
 | ||||||
|  |     // 0x09, 0xE2,        //   Usage (Mute)
 | ||||||
|  |     // 0x09, 0xE9,        //   Usage (Volume Increment)
 | ||||||
|  |     // 0x09, 0xEA,        //   Usage (Volume Decrement)
 | ||||||
|  |     // 0x81, 0x02,        //   Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
 | ||||||
|  |     // 0xC0,              // End Collection
 | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| FuriHalBtHidKbReport* kb_report = NULL; | FuriHalBtHidKbReport* kb_report = NULL; | ||||||
|  | FuriHalBtHidMediaReport* media_report = NULL; | ||||||
| 
 | 
 | ||||||
| void furi_hal_bt_hid_start() { | void furi_hal_bt_hid_start() { | ||||||
|     // Start device info
 |     // Start device info
 | ||||||
| @ -82,6 +110,7 @@ void furi_hal_bt_hid_start() { | |||||||
|     } |     } | ||||||
|     // Configure HID Keyboard
 |     // Configure HID Keyboard
 | ||||||
|     kb_report = furi_alloc(sizeof(FuriHalBtHidKbReport)); |     kb_report = furi_alloc(sizeof(FuriHalBtHidKbReport)); | ||||||
|  |     media_report = furi_alloc(sizeof(FuriHalBtHidMediaReport)); | ||||||
|     // Configure Report Map characteristic
 |     // Configure Report Map characteristic
 | ||||||
|     hid_svc_update_report_map(furi_hal_bt_hid_report_map_data, sizeof(furi_hal_bt_hid_report_map_data)); |     hid_svc_update_report_map(furi_hal_bt_hid_report_map_data, sizeof(furi_hal_bt_hid_report_map_data)); | ||||||
|     // Configure HID Information characteristic
 |     // Configure HID Information characteristic
 | ||||||
| @ -107,11 +136,14 @@ void furi_hal_bt_hid_stop() { | |||||||
|         hid_svc_stop(); |         hid_svc_stop(); | ||||||
|     } |     } | ||||||
|     free(kb_report); |     free(kb_report); | ||||||
|  |     free(media_report); | ||||||
|  |     media_report = NULL; | ||||||
|     kb_report = NULL; |     kb_report = NULL; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| bool furi_hal_bt_hid_kb_press(uint16_t button) { | bool furi_hal_bt_hid_kb_press(uint16_t button) { | ||||||
|     furi_assert(kb_report); |     furi_assert(kb_report); | ||||||
|  |     // kb_report->report_id = 0x01;
 | ||||||
|     for (uint8_t i = 0; i < FURI_HAL_BT_HID_KB_KEYS_MAX; i++) { |     for (uint8_t i = 0; i < FURI_HAL_BT_HID_KB_KEYS_MAX; i++) { | ||||||
|         if (kb_report->key[i] == 0) { |         if (kb_report->key[i] == 0) { | ||||||
|             kb_report->key[i] = button & 0xFF; |             kb_report->key[i] = button & 0xFF; | ||||||
| @ -124,6 +156,7 @@ bool furi_hal_bt_hid_kb_press(uint16_t button) { | |||||||
| 
 | 
 | ||||||
| bool furi_hal_bt_hid_kb_release(uint16_t button) { | bool furi_hal_bt_hid_kb_release(uint16_t button) { | ||||||
|     furi_assert(kb_report); |     furi_assert(kb_report); | ||||||
|  |     // kb_report->report_id = 0x01;
 | ||||||
|     for (uint8_t i = 0; i < FURI_HAL_BT_HID_KB_KEYS_MAX; i++) { |     for (uint8_t i = 0; i < FURI_HAL_BT_HID_KB_KEYS_MAX; i++) { | ||||||
|         if (kb_report->key[i] == (button & 0xFF)) { |         if (kb_report->key[i] == (button & 0xFF)) { | ||||||
|             kb_report->key[i] = 0; |             kb_report->key[i] = 0; | ||||||
| @ -136,6 +169,28 @@ bool furi_hal_bt_hid_kb_release(uint16_t button) { | |||||||
| 
 | 
 | ||||||
| bool furi_hal_bt_hid_kb_release_all() { | bool furi_hal_bt_hid_kb_release_all() { | ||||||
|     furi_assert(kb_report); |     furi_assert(kb_report); | ||||||
|  |     // kb_report->report_id = 0x01;
 | ||||||
|     memset(kb_report, 0, sizeof(FuriHalBtHidKbReport)); |     memset(kb_report, 0, sizeof(FuriHalBtHidKbReport)); | ||||||
|     return hid_svc_update_input_report((uint8_t*)kb_report, sizeof(FuriHalBtHidKbReport)); |     return hid_svc_update_input_report((uint8_t*)kb_report, sizeof(FuriHalBtHidKbReport)); | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | bool furi_hal_bt_hid_media_press(uint8_t button) { | ||||||
|  |     furi_assert(media_report); | ||||||
|  |     media_report->report_id = 0x02; | ||||||
|  |     media_report->key |= (0x01 << button); | ||||||
|  |     return hid_svc_update_input_report((uint8_t*)media_report, sizeof(FuriHalBtHidMediaReport)); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | bool furi_hal_bt_hid_media_release(uint8_t button) { | ||||||
|  |     furi_assert(media_report); | ||||||
|  |     media_report->report_id = 0x02; | ||||||
|  |     media_report->key &= ~(0x01 << button); | ||||||
|  |     return hid_svc_update_input_report((uint8_t*)media_report, sizeof(FuriHalBtHidMediaReport)); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | bool furi_hal_bt_hid_media_release_all() { | ||||||
|  |     furi_assert(media_report); | ||||||
|  |     media_report->report_id = 0x02; | ||||||
|  |     media_report->key = 0x00; | ||||||
|  |     return hid_svc_update_input_report((uint8_t*)media_report, sizeof(FuriHalBtHidMediaReport)); | ||||||
|  | } | ||||||
|  | |||||||
| @ -126,9 +126,9 @@ bool furi_hal_bt_start_app(FuriHalBtProfile profile, BleEventCallback event_cb, | |||||||
|         } else if(profile == FuriHalBtProfileHidKeyboard) { |         } else if(profile == FuriHalBtProfileHidKeyboard) { | ||||||
|             // Change MAC address for HID profile
 |             // Change MAC address for HID profile
 | ||||||
|             config->mac_address[2]++; |             config->mac_address[2]++; | ||||||
|             // Change name Flipper -> Clicker
 |             // Change name Flipper -> Keynote
 | ||||||
|             const char* clicker_str = "Clicker"; |             const char* clicker_str = "Keynote"; | ||||||
|             memcpy(&config->adv_name[1], clicker_str, strlen(clicker_str) - 1); |             memcpy(&config->adv_name[1], clicker_str, strlen(clicker_str)); | ||||||
|         } |         } | ||||||
|         ret = gap_init(config, event_cb, context); |         ret = gap_init(config, event_cb, context); | ||||||
|         if(!ret) { |         if(!ret) { | ||||||
|  | |||||||
| @ -77,14 +77,6 @@ void furi_hal_clock_init() { | |||||||
|         Error_Handler(); |         Error_Handler(); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     if(LL_RCC_GetRTCClockSource() != LL_RCC_RTC_CLKSOURCE_LSE) { |  | ||||||
|         LL_RCC_ForceBackupDomainReset(); |  | ||||||
|         LL_RCC_ReleaseBackupDomainReset(); |  | ||||||
|         LL_RCC_SetRTCClockSource(LL_RCC_RTC_CLKSOURCE_LSE); |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|     LL_RCC_EnableRTC(); |  | ||||||
| 
 |  | ||||||
|     LL_RCC_SetUSARTClockSource(LL_RCC_USART1_CLKSOURCE_PCLK2); |     LL_RCC_SetUSARTClockSource(LL_RCC_USART1_CLKSOURCE_PCLK2); | ||||||
|     LL_RCC_SetLPUARTClockSource(LL_RCC_LPUART1_CLKSOURCE_PCLK1); |     LL_RCC_SetLPUARTClockSource(LL_RCC_LPUART1_CLKSOURCE_PCLK1); | ||||||
|     LL_RCC_SetADCClockSource(LL_RCC_ADC_CLKSOURCE_PLLSAI1); |     LL_RCC_SetADCClockSource(LL_RCC_ADC_CLKSOURCE_PLLSAI1); | ||||||
| @ -118,7 +110,6 @@ void furi_hal_clock_init() { | |||||||
|     LL_AHB3_GRP1_EnableClock(LL_AHB3_GRP1_PERIPH_AES2); |     LL_AHB3_GRP1_EnableClock(LL_AHB3_GRP1_PERIPH_AES2); | ||||||
| 
 | 
 | ||||||
|     // APB1
 |     // APB1
 | ||||||
|     LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_RTCAPB); |  | ||||||
|     LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_TIM2); |     LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_TIM2); | ||||||
|     LL_APB1_GRP2_EnableClock(LL_APB1_GRP2_PERIPH_LPUART1); |     LL_APB1_GRP2_EnableClock(LL_APB1_GRP2_PERIPH_LPUART1); | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -158,7 +158,6 @@ void DMA2_Channel8_IRQHandler(void) { | |||||||
|     if (furi_hal_dma_channel_isr[1][7]) furi_hal_dma_channel_isr[1][7](); |     if (furi_hal_dma_channel_isr[1][7]) furi_hal_dma_channel_isr[1][7](); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| void TAMP_STAMP_LSECSS_IRQHandler(void) { | void TAMP_STAMP_LSECSS_IRQHandler(void) { | ||||||
|     if (LL_RCC_IsActiveFlag_LSECSS()) { |     if (LL_RCC_IsActiveFlag_LSECSS()) { | ||||||
|         LL_RCC_ClearFlag_LSECSS(); |         LL_RCC_ClearFlag_LSECSS(); | ||||||
| @ -174,7 +173,6 @@ void TAMP_STAMP_LSECSS_IRQHandler(void) { | |||||||
| void RCC_IRQHandler(void) { | void RCC_IRQHandler(void) { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| void NMI_Handler(void) { | void NMI_Handler(void) { | ||||||
|     if (LL_RCC_IsActiveFlag_HSECSS()) { |     if (LL_RCC_IsActiveFlag_HSECSS()) { | ||||||
|         LL_RCC_ClearFlag_HSECSS(); |         LL_RCC_ClearFlag_HSECSS(); | ||||||
| @ -206,5 +204,4 @@ void UsageFault_Handler(void) { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void DebugMon_Handler(void) { | void DebugMon_Handler(void) { | ||||||
| 
 |  | ||||||
| } | } | ||||||
|  | |||||||
| @ -65,7 +65,7 @@ bool furi_hal_nfc_detect(rfalNfcDevice **dev_list, uint8_t* dev_cnt, uint32_t ti | |||||||
|     while(state != RFAL_NFC_STATE_ACTIVATED) { |     while(state != RFAL_NFC_STATE_ACTIVATED) { | ||||||
|         rfalNfcWorker(); |         rfalNfcWorker(); | ||||||
|         state = rfalNfcGetState(); |         state = rfalNfcGetState(); | ||||||
|         FURI_LOG_D(TAG, "Current state %d", state); |         FURI_LOG_T(TAG, "Current state %d", state); | ||||||
|         if(state == RFAL_NFC_STATE_POLL_ACTIVATION) { |         if(state == RFAL_NFC_STATE_POLL_ACTIVATION) { | ||||||
|             start = DWT->CYCCNT; |             start = DWT->CYCCNT; | ||||||
|             continue; |             continue; | ||||||
| @ -75,7 +75,7 @@ bool furi_hal_nfc_detect(rfalNfcDevice **dev_list, uint8_t* dev_cnt, uint32_t ti | |||||||
|         } |         } | ||||||
|         if(DWT->CYCCNT - start > timeout * clocks_in_ms) { |         if(DWT->CYCCNT - start > timeout * clocks_in_ms) { | ||||||
|             rfalNfcDeactivate(true); |             rfalNfcDeactivate(true); | ||||||
|             FURI_LOG_D(TAG, "Timeout"); |             FURI_LOG_T(TAG, "Timeout"); | ||||||
|             return false; |             return false; | ||||||
|         } |         } | ||||||
|         osThreadYield(); |         osThreadYield(); | ||||||
|  | |||||||
							
								
								
									
										122
									
								
								firmware/targets/f7/furi-hal/furi-hal-rtc.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1,122 @@ | |||||||
|  | #include <furi-hal-rtc.h> | ||||||
|  | #include <stm32wbxx_ll_rcc.h> | ||||||
|  | #include <stm32wbxx_ll_rtc.h> | ||||||
|  | 
 | ||||||
|  | #include <furi.h> | ||||||
|  | 
 | ||||||
|  | #define TAG "FuriHalRtc" | ||||||
|  | 
 | ||||||
|  | #define FURI_HAL_RTC_BOOT_FLAGS_REG LL_RTC_BKP_DR0 | ||||||
|  | #define FURI_HAL_RTC_BOOT_VERSION_REG LL_RTC_BKP_DR1 | ||||||
|  | #define FURI_HAL_RTC_SYSTEM_REG LL_RTC_BKP_DR2 | ||||||
|  | 
 | ||||||
|  | typedef struct { | ||||||
|  |     uint8_t log_level:4; | ||||||
|  |     uint8_t log_reserved:4; | ||||||
|  |     uint8_t flags; | ||||||
|  |     uint16_t reserved; | ||||||
|  | } DeveloperReg; | ||||||
|  | 
 | ||||||
|  | void furi_hal_rtc_init() { | ||||||
|  |     if(LL_RCC_GetRTCClockSource() != LL_RCC_RTC_CLKSOURCE_LSE) { | ||||||
|  |         LL_RCC_ForceBackupDomainReset(); | ||||||
|  |         LL_RCC_ReleaseBackupDomainReset(); | ||||||
|  |         LL_RCC_SetRTCClockSource(LL_RCC_RTC_CLKSOURCE_LSE); | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     LL_RCC_EnableRTC(); | ||||||
|  |     LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_RTCAPB); | ||||||
|  | 
 | ||||||
|  |     LL_RTC_InitTypeDef RTC_InitStruct = {0}; | ||||||
|  |     RTC_InitStruct.HourFormat = LL_RTC_HOURFORMAT_24HOUR; | ||||||
|  |     RTC_InitStruct.AsynchPrescaler = 127; | ||||||
|  |     RTC_InitStruct.SynchPrescaler = 255; | ||||||
|  |     LL_RTC_Init(RTC, &RTC_InitStruct); | ||||||
|  | 
 | ||||||
|  |     furi_log_set_level(furi_hal_rtc_get_log_level()); | ||||||
|  | 
 | ||||||
|  |     FURI_LOG_I(TAG, "Init OK"); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void furi_hal_rtc_set_log_level(uint8_t level) { | ||||||
|  |     uint32_t data = LL_RTC_BAK_GetRegister(RTC, FURI_HAL_RTC_SYSTEM_REG); | ||||||
|  |     ((DeveloperReg*)&data)->log_level = level; | ||||||
|  |     LL_RTC_BAK_SetRegister(RTC, FURI_HAL_RTC_SYSTEM_REG, data); | ||||||
|  |     furi_log_set_level(level); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | uint8_t furi_hal_rtc_get_log_level() { | ||||||
|  |     uint32_t data = LL_RTC_BAK_GetRegister(RTC, FURI_HAL_RTC_SYSTEM_REG); | ||||||
|  |     return ((DeveloperReg*)&data)->log_level; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void furi_hal_rtc_set_flag(FuriHalRtcFlag flag) { | ||||||
|  |     uint32_t data = LL_RTC_BAK_GetRegister(RTC, FURI_HAL_RTC_SYSTEM_REG); | ||||||
|  |     ((DeveloperReg*)&data)->flags |= flag; | ||||||
|  |     LL_RTC_BAK_SetRegister(RTC, FURI_HAL_RTC_SYSTEM_REG, data); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void furi_hal_rtc_reset_flag(FuriHalRtcFlag flag) { | ||||||
|  |     uint32_t data = LL_RTC_BAK_GetRegister(RTC, FURI_HAL_RTC_SYSTEM_REG); | ||||||
|  |     ((DeveloperReg*)&data)->flags &= ~flag; | ||||||
|  |     LL_RTC_BAK_SetRegister(RTC, FURI_HAL_RTC_SYSTEM_REG, data); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | bool furi_hal_rtc_is_flag_set(FuriHalRtcFlag flag) { | ||||||
|  |     uint32_t data = LL_RTC_BAK_GetRegister(RTC, FURI_HAL_RTC_SYSTEM_REG); | ||||||
|  |     return ((DeveloperReg*)&data)->flags & flag; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void furi_hal_rtc_set_datetime(FuriHalRtcDateTime* datetime) { | ||||||
|  |     furi_assert(datetime); | ||||||
|  | 
 | ||||||
|  |     /* Disable write protection */ | ||||||
|  |     LL_RTC_DisableWriteProtection(RTC); | ||||||
|  | 
 | ||||||
|  |     /* Enter Initialization mode and wait for INIT flag to be set */ | ||||||
|  |     LL_RTC_EnableInitMode(RTC); | ||||||
|  |     while(!LL_RTC_IsActiveFlag_INIT(RTC)) {} | ||||||
|  | 
 | ||||||
|  |     /* Set time */ | ||||||
|  |     LL_RTC_TIME_Config(RTC, | ||||||
|  |         LL_RTC_TIME_FORMAT_AM_OR_24, | ||||||
|  |         __LL_RTC_CONVERT_BIN2BCD(datetime->hour), | ||||||
|  |         __LL_RTC_CONVERT_BIN2BCD(datetime->minute), | ||||||
|  |         __LL_RTC_CONVERT_BIN2BCD(datetime->second) | ||||||
|  |     ); | ||||||
|  | 
 | ||||||
|  |     /* Set date */ | ||||||
|  |     LL_RTC_DATE_Config(RTC, | ||||||
|  |         datetime->weekday, | ||||||
|  |         __LL_RTC_CONVERT_BIN2BCD(datetime->day), | ||||||
|  |         __LL_RTC_CONVERT_BIN2BCD(datetime->month), | ||||||
|  |         __LL_RTC_CONVERT_BIN2BCD(datetime->year - 2000) | ||||||
|  |     ); | ||||||
|  | 
 | ||||||
|  |     /* Exit Initialization mode */ | ||||||
|  |     LL_RTC_DisableInitMode(RTC); | ||||||
|  | 
 | ||||||
|  |     /* If RTC_CR_BYPSHAD bit = 0, wait for synchro else this check is not needed */ | ||||||
|  |     if (!LL_RTC_IsShadowRegBypassEnabled(RTC)) { | ||||||
|  |         LL_RTC_ClearFlag_RS(RTC); | ||||||
|  |         while(!LL_RTC_IsActiveFlag_RS(RTC)) {}; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     /* Enable write protection */ | ||||||
|  |     LL_RTC_EnableWriteProtection(RTC); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void furi_hal_rtc_get_datetime(FuriHalRtcDateTime* datetime) { | ||||||
|  |     furi_assert(datetime); | ||||||
|  | 
 | ||||||
|  |     uint32_t time = LL_RTC_TIME_Get(RTC); // 0x00HHMMSS
 | ||||||
|  |     uint32_t date = LL_RTC_DATE_Get(RTC); // 0xWWDDMMYY
 | ||||||
|  | 
 | ||||||
|  |     datetime->second = __LL_RTC_CONVERT_BCD2BIN((time>>0) & 0xFF); | ||||||
|  |     datetime->minute = __LL_RTC_CONVERT_BCD2BIN((time>>8) & 0xFF); | ||||||
|  |     datetime->hour = __LL_RTC_CONVERT_BCD2BIN((time>>16) & 0xFF); | ||||||
|  |     datetime->year = __LL_RTC_CONVERT_BCD2BIN((date >> 0) & 0xFF) + 2000; | ||||||
|  |     datetime->month = __LL_RTC_CONVERT_BCD2BIN((date >> 8) & 0xFF); | ||||||
|  |     datetime->day = __LL_RTC_CONVERT_BCD2BIN((date >> 16) & 0xFF); | ||||||
|  |     datetime->weekday = __LL_RTC_CONVERT_BCD2BIN((date >> 24) & 0xFF); | ||||||
|  | } | ||||||
| @ -808,6 +808,8 @@ typedef struct { | |||||||
|     bool flip_flop; |     bool flip_flop; | ||||||
|     FuriHalSubGhzAsyncTxCallback callback; |     FuriHalSubGhzAsyncTxCallback callback; | ||||||
|     void* callback_context; |     void* callback_context; | ||||||
|  |     uint64_t duty_high; | ||||||
|  |     uint64_t duty_low; | ||||||
| } FuriHalSubGhzAsyncTx; | } FuriHalSubGhzAsyncTx; | ||||||
| 
 | 
 | ||||||
| static FuriHalSubGhzAsyncTx furi_hal_subghz_async_tx = {0}; | static FuriHalSubGhzAsyncTx furi_hal_subghz_async_tx = {0}; | ||||||
| @ -817,21 +819,30 @@ static void furi_hal_subghz_async_tx_refill(uint32_t* buffer, size_t samples) { | |||||||
|         bool is_odd = samples % 2; |         bool is_odd = samples % 2; | ||||||
|         LevelDuration ld = |         LevelDuration ld = | ||||||
|             furi_hal_subghz_async_tx.callback(furi_hal_subghz_async_tx.callback_context); |             furi_hal_subghz_async_tx.callback(furi_hal_subghz_async_tx.callback_context); | ||||||
|         if(level_duration_is_wait(ld)) return; | 
 | ||||||
|         if(level_duration_is_reset(ld)) { |         if(level_duration_is_wait(ld)) { | ||||||
|  |             return; | ||||||
|  |         } else if(level_duration_is_reset(ld)) { | ||||||
|             // One more even sample required to end at low level
 |             // One more even sample required to end at low level
 | ||||||
|             if(is_odd) { |             if(is_odd) { | ||||||
|                 *buffer = API_HAL_SUBGHZ_ASYNC_TX_GUARD_TIME; |                 *buffer = API_HAL_SUBGHZ_ASYNC_TX_GUARD_TIME; | ||||||
|                 buffer++; |                 buffer++; | ||||||
|                 samples--; |                 samples--; | ||||||
|  |                 furi_hal_subghz_async_tx.duty_low += API_HAL_SUBGHZ_ASYNC_TX_GUARD_TIME; | ||||||
|             } |             } | ||||||
|             break; |             break; | ||||||
|         } else { |         } else { | ||||||
|             // Inject guard time if level is incorrect
 |             // Inject guard time if level is incorrect
 | ||||||
|             if(is_odd == level_duration_get_level(ld)) { |             bool level = level_duration_get_level(ld); | ||||||
|  |             if(is_odd == level) { | ||||||
|                 *buffer = API_HAL_SUBGHZ_ASYNC_TX_GUARD_TIME; |                 *buffer = API_HAL_SUBGHZ_ASYNC_TX_GUARD_TIME; | ||||||
|                 buffer++; |                 buffer++; | ||||||
|                 samples--; |                 samples--; | ||||||
|  |                 if (!level) { | ||||||
|  |                     furi_hal_subghz_async_tx.duty_high += API_HAL_SUBGHZ_ASYNC_TX_GUARD_TIME; | ||||||
|  |                 } else { | ||||||
|  |                     furi_hal_subghz_async_tx.duty_low += API_HAL_SUBGHZ_ASYNC_TX_GUARD_TIME; | ||||||
|  |                 } | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             uint32_t duration = level_duration_get_duration(ld); |             uint32_t duration = level_duration_get_duration(ld); | ||||||
| @ -839,6 +850,12 @@ static void furi_hal_subghz_async_tx_refill(uint32_t* buffer, size_t samples) { | |||||||
|             *buffer = duration; |             *buffer = duration; | ||||||
|             buffer++; |             buffer++; | ||||||
|             samples--; |             samples--; | ||||||
|  | 
 | ||||||
|  |             if (level) { | ||||||
|  |                 furi_hal_subghz_async_tx.duty_high += duration; | ||||||
|  |             } else { | ||||||
|  |                 furi_hal_subghz_async_tx.duty_low += duration; | ||||||
|  |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| @ -888,6 +905,9 @@ bool furi_hal_subghz_start_async_tx(FuriHalSubGhzAsyncTxCallback callback, void* | |||||||
| 
 | 
 | ||||||
|     furi_hal_subghz_state = SubGhzStateAsyncTx; |     furi_hal_subghz_state = SubGhzStateAsyncTx; | ||||||
| 
 | 
 | ||||||
|  |     furi_hal_subghz_async_tx.duty_low = 0; | ||||||
|  |     furi_hal_subghz_async_tx.duty_high = 0; | ||||||
|  | 
 | ||||||
|     furi_hal_subghz_async_tx.buffer = |     furi_hal_subghz_async_tx.buffer = | ||||||
|         furi_alloc(API_HAL_SUBGHZ_ASYNC_TX_BUFFER_FULL * sizeof(uint32_t)); |         furi_alloc(API_HAL_SUBGHZ_ASYNC_TX_BUFFER_FULL * sizeof(uint32_t)); | ||||||
|     furi_hal_subghz_async_tx_refill( |     furi_hal_subghz_async_tx_refill( | ||||||
| @ -994,5 +1014,8 @@ void furi_hal_subghz_stop_async_tx() { | |||||||
| 
 | 
 | ||||||
|     free(furi_hal_subghz_async_tx.buffer); |     free(furi_hal_subghz_async_tx.buffer); | ||||||
| 
 | 
 | ||||||
|  |     float duty_cycle = 100.0f * (float)furi_hal_subghz_async_tx.duty_high / ((float)furi_hal_subghz_async_tx.duty_low + (float)furi_hal_subghz_async_tx.duty_high); | ||||||
|  |     FURI_LOG_D(TAG, "Async TX Radio stats: on %0.0fus, off %0.0fus, DutyCycle: %0.0f%%", (float)furi_hal_subghz_async_tx.duty_high, (float)furi_hal_subghz_async_tx.duty_low, duty_cycle); | ||||||
|  | 
 | ||||||
|     furi_hal_subghz_state = SubGhzStateIdle; |     furi_hal_subghz_state = SubGhzStateIdle; | ||||||
| } | } | ||||||
|  | |||||||
| @ -1,7 +1,6 @@ | |||||||
| #include <furi-hal.h> | #include <furi-hal.h> | ||||||
| 
 | 
 | ||||||
| #include <comp.h> | #include <comp.h> | ||||||
| #include <rtc.h> |  | ||||||
| #include <tim.h> | #include <tim.h> | ||||||
| #include <gpio.h> | #include <gpio.h> | ||||||
| 
 | 
 | ||||||
| @ -13,18 +12,14 @@ | |||||||
| 
 | 
 | ||||||
| void furi_hal_init() { | void furi_hal_init() { | ||||||
|     furi_hal_clock_init(); |     furi_hal_clock_init(); | ||||||
|  |     furi_hal_rtc_init(); | ||||||
|     furi_hal_console_init(); |     furi_hal_console_init(); | ||||||
|     furi_hal_interrupt_init(); |     furi_hal_interrupt_init(); | ||||||
|     furi_hal_delay_init(); |     furi_hal_delay_init(); | ||||||
| 
 | 
 | ||||||
|     // FreeRTOS glue
 |  | ||||||
|     furi_hal_os_init(); |  | ||||||
| 
 |  | ||||||
|     MX_GPIO_Init(); |     MX_GPIO_Init(); | ||||||
|     FURI_LOG_I(TAG, "GPIO OK"); |     FURI_LOG_I(TAG, "GPIO OK"); | ||||||
| 
 | 
 | ||||||
|     MX_RTC_Init(); |  | ||||||
|     FURI_LOG_I(TAG, "RTC OK"); |  | ||||||
|     furi_hal_bootloader_init(); |     furi_hal_bootloader_init(); | ||||||
|     furi_hal_version_init(); |     furi_hal_version_init(); | ||||||
| 
 | 
 | ||||||
| @ -59,6 +54,9 @@ void furi_hal_init() { | |||||||
|     furi_hal_bt_init(); |     furi_hal_bt_init(); | ||||||
|     furi_hal_compress_icon_init(); |     furi_hal_compress_icon_init(); | ||||||
| 
 | 
 | ||||||
|  |     // FreeRTOS glue
 | ||||||
|  |     furi_hal_os_init(); | ||||||
|  | 
 | ||||||
|     // FatFS driver initialization
 |     // FatFS driver initialization
 | ||||||
|     MX_FATFS_Init(); |     MX_FATFS_Init(); | ||||||
|     FURI_LOG_I(TAG, "FATFS OK"); |     FURI_LOG_I(TAG, "FATFS OK"); | ||||||
|  | |||||||
| @ -57,7 +57,6 @@ C_SOURCES += \ | |||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_pwr.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_pwr.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_pwr_ex.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_pwr_ex.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_rcc.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_rcc.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_rtc.c \
 |  | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_rtc_ex.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_rtc_ex.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_tim.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_tim.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_tim_ex.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_tim_ex.c \
 | ||||||
| @ -67,6 +66,7 @@ C_SOURCES += \ | |||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_i2c.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_i2c.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_lptim.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_lptim.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_rcc.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_rcc.c \
 | ||||||
|  | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_rtc.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_spi.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_spi.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_tim.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_tim.c \
 | ||||||
| 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_usart.c \
 | 	$(CUBE_DIR)/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_usart.c \
 | ||||||
|  | |||||||
| @ -17,12 +17,6 @@ typedef enum { | |||||||
|     FuriHalBootloaderModeDFU |     FuriHalBootloaderModeDFU | ||||||
| } FuriHalBootloaderMode; | } FuriHalBootloaderMode; | ||||||
| 
 | 
 | ||||||
| /** Boot flags */ |  | ||||||
| typedef enum { |  | ||||||
|     FuriHalBootloaderFlagDefault=0, |  | ||||||
|     FuriHalBootloaderFlagFactoryReset=1, |  | ||||||
| } FuriHalBootloaderFlag; |  | ||||||
| 
 |  | ||||||
| /** Initialize boot subsystem
 | /** Initialize boot subsystem
 | ||||||
|  */ |  */ | ||||||
| void furi_hal_bootloader_init(); | void furi_hal_bootloader_init(); | ||||||
| @ -33,18 +27,6 @@ void furi_hal_bootloader_init(); | |||||||
|  */ |  */ | ||||||
| void furi_hal_bootloader_set_mode(FuriHalBootloaderMode mode); | void furi_hal_bootloader_set_mode(FuriHalBootloaderMode mode); | ||||||
| 
 | 
 | ||||||
| /** Set bootloader flags
 |  | ||||||
|  * |  | ||||||
|  * @param[in]  flags  FuriHalBootloaderFlag |  | ||||||
|  */ |  | ||||||
| void furi_hal_bootloader_set_flags(FuriHalBootloaderFlag flags); |  | ||||||
| 
 |  | ||||||
| /** Get boot flag
 |  | ||||||
|  * |  | ||||||
|  * @return     FuriHalBootloaderFlag |  | ||||||
|  */ |  | ||||||
| FuriHalBootloaderFlag furi_hal_bootloader_get_flags(); |  | ||||||
| 
 |  | ||||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||||
| } | } | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -3,6 +3,17 @@ | |||||||
| #include <stdint.h> | #include <stdint.h> | ||||||
| #include <stdbool.h> | #include <stdbool.h> | ||||||
| 
 | 
 | ||||||
|  | enum FuriHalBtHidMediKeys{ | ||||||
|  |     FuriHalBtHidMediaScanNext, | ||||||
|  |     FuriHalBtHidMediaScanPrevious, | ||||||
|  |     FuriHalBtHidMediaStop, | ||||||
|  |     FuriHalBtHidMediaEject, | ||||||
|  |     FuriHalBtHidMediaPlayPause, | ||||||
|  |     FuriHalBtHidMediaMute, | ||||||
|  |     FuriHalBtHidMediaVolumeUp, | ||||||
|  |     FuriHalBtHidMediaVolumeDown, | ||||||
|  | }; | ||||||
|  | 
 | ||||||
| /** Start Hid Keyboard Profile
 | /** Start Hid Keyboard Profile
 | ||||||
|  */ |  */ | ||||||
| void furi_hal_bt_hid_start(); | void furi_hal_bt_hid_start(); | ||||||
| @ -11,7 +22,7 @@ void furi_hal_bt_hid_start(); | |||||||
|  */ |  */ | ||||||
| void furi_hal_bt_hid_stop(); | void furi_hal_bt_hid_stop(); | ||||||
| 
 | 
 | ||||||
| /** Press key button
 | /** Press keyboard button
 | ||||||
|  * |  * | ||||||
|  * @param button    button code from HID specification |  * @param button    button code from HID specification | ||||||
|  * |  * | ||||||
| @ -19,7 +30,7 @@ void furi_hal_bt_hid_stop(); | |||||||
|  */ |  */ | ||||||
| bool furi_hal_bt_hid_kb_press(uint16_t button); | bool furi_hal_bt_hid_kb_press(uint16_t button); | ||||||
| 
 | 
 | ||||||
| /** Release key button
 | /** Release keyboard button
 | ||||||
|  * |  * | ||||||
|  * @param button    button code from HID specification |  * @param button    button code from HID specification | ||||||
|  * |  * | ||||||
| @ -27,8 +38,26 @@ bool furi_hal_bt_hid_kb_press(uint16_t button); | |||||||
|  */ |  */ | ||||||
| bool furi_hal_bt_hid_kb_release(uint16_t button); | bool furi_hal_bt_hid_kb_release(uint16_t button); | ||||||
| 
 | 
 | ||||||
| /** Release all key buttons
 | /** Release all keyboard buttons
 | ||||||
|  * |  * | ||||||
|  * @return          true on success |  * @return          true on success | ||||||
|  */ |  */ | ||||||
| bool furi_hal_bt_hid_kb_release_all(); | bool furi_hal_bt_hid_kb_release_all(); | ||||||
|  | 
 | ||||||
|  | /** Release all media buttons
 | ||||||
|  |  * | ||||||
|  |  * @return          true on success | ||||||
|  |  */ | ||||||
|  | bool furi_hal_bt_hid_media_press(uint8_t button); | ||||||
|  | 
 | ||||||
|  | /** Release all media buttons
 | ||||||
|  |  * | ||||||
|  |  * @return          true on success | ||||||
|  |  */ | ||||||
|  | bool furi_hal_bt_hid_media_release(uint8_t button); | ||||||
|  | 
 | ||||||
|  | /** Release all media buttons
 | ||||||
|  |  * | ||||||
|  |  * @return          true on success | ||||||
|  |  */ | ||||||
|  | bool furi_hal_bt_hid_media_release_all(); | ||||||
|  | |||||||
							
								
								
									
										52
									
								
								firmware/targets/furi-hal-include/furi-hal-rtc.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1,52 @@ | |||||||
|  | /**
 | ||||||
|  |  * @file furi-hal-rtc.h | ||||||
|  |  * Furi Hal RTC API | ||||||
|  |  */ | ||||||
|  | 
 | ||||||
|  | #pragma once | ||||||
|  | 
 | ||||||
|  | #include <stdint.h> | ||||||
|  | #include <stdbool.h> | ||||||
|  | #include <main.h> | ||||||
|  | 
 | ||||||
|  | #ifdef __cplusplus | ||||||
|  | extern "C" { | ||||||
|  | #endif | ||||||
|  | 
 | ||||||
|  | typedef struct { | ||||||
|  |     // Time
 | ||||||
|  |     uint8_t hour;   /**< Hour in 24H format: 0-23 */ | ||||||
|  |     uint8_t minute; /**< Minute: 0-59 */ | ||||||
|  |     uint8_t second; /**< Second: 0-59 */ | ||||||
|  |     // Date
 | ||||||
|  |     uint8_t day;    /**< Current day: 1-31 */ | ||||||
|  |     uint8_t month;  /**< Current month: 1-12 */ | ||||||
|  |     uint16_t year;  /**< Current year: 2000-2099 */ | ||||||
|  |     uint8_t weekday;/**< Current weekday: 1-7 */ | ||||||
|  | } FuriHalRtcDateTime; | ||||||
|  | 
 | ||||||
|  | typedef enum { | ||||||
|  |     FuriHalRtcFlagDebug = (1<<0), | ||||||
|  |     FuriHalRtcFlagFactoryReset = (1<<1), | ||||||
|  | } FuriHalRtcFlag; | ||||||
|  | 
 | ||||||
|  | /** Initialize RTC subsystem */ | ||||||
|  | void furi_hal_rtc_init(); | ||||||
|  | 
 | ||||||
|  | void furi_hal_rtc_set_log_level(uint8_t level); | ||||||
|  | 
 | ||||||
|  | uint8_t furi_hal_rtc_get_log_level(); | ||||||
|  | 
 | ||||||
|  | void furi_hal_rtc_set_flag(FuriHalRtcFlag flag); | ||||||
|  | 
 | ||||||
|  | void furi_hal_rtc_reset_flag(FuriHalRtcFlag flag); | ||||||
|  | 
 | ||||||
|  | bool furi_hal_rtc_is_flag_set(FuriHalRtcFlag flag); | ||||||
|  | 
 | ||||||
|  | void furi_hal_rtc_set_datetime(FuriHalRtcDateTime* datetime); | ||||||
|  | 
 | ||||||
|  | void furi_hal_rtc_get_datetime(FuriHalRtcDateTime* datetime); | ||||||
|  | 
 | ||||||
|  | #ifdef __cplusplus | ||||||
|  | } | ||||||
|  | #endif | ||||||
| @ -17,6 +17,7 @@ template <unsigned int N> struct STOP_EXTERNING_ME {}; | |||||||
| #include "furi-hal-sd.h" | #include "furi-hal-sd.h" | ||||||
| #include "furi-hal-i2c.h" | #include "furi-hal-i2c.h" | ||||||
| #include "furi-hal-resources.h" | #include "furi-hal-resources.h" | ||||||
|  | #include "furi-hal-rtc.h" | ||||||
| #include "furi-hal-gpio.h" | #include "furi-hal-gpio.h" | ||||||
| #include "furi-hal-light.h" | #include "furi-hal-light.h" | ||||||
| #include "furi-hal-delay.h" | #include "furi-hal-delay.h" | ||||||
|  | |||||||
| @ -8,9 +8,9 @@ | |||||||
| 
 | 
 | ||||||
| #define LFS_TAG "Lfs" | #define LFS_TAG "Lfs" | ||||||
| 
 | 
 | ||||||
| #define LFS_TRACE(...) FURI_LOG_D(LFS_TAG, __VA_ARGS__); | #define LFS_TRACE(...) FURI_LOG_T(LFS_TAG, __VA_ARGS__); | ||||||
| 
 | 
 | ||||||
| #define LFS_DEBUG(...) FURI_LOG_I(LFS_TAG, __VA_ARGS__); | #define LFS_DEBUG(...) FURI_LOG_D(LFS_TAG, __VA_ARGS__); | ||||||
| 
 | 
 | ||||||
| #define LFS_WARN(...) FURI_LOG_W(LFS_TAG, __VA_ARGS__); | #define LFS_WARN(...) FURI_LOG_W(LFS_TAG, __VA_ARGS__); | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -53,9 +53,14 @@ uint16_t mf_ul_prepare_read(uint8_t* dest, uint8_t start_page) { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void mf_ul_parse_read_response(uint8_t* buff, uint16_t page_addr, MifareUlDevice* mf_ul_read) { | void mf_ul_parse_read_response(uint8_t* buff, uint16_t page_addr, MifareUlDevice* mf_ul_read) { | ||||||
|     mf_ul_read->pages_readed += 4; |     uint8_t pages_read = 4; | ||||||
|  |     uint8_t page_read_count = mf_ul_read->pages_readed + pages_read; | ||||||
|  |     if(page_read_count > mf_ul_read->pages_to_read) { | ||||||
|  |         pages_read -= page_read_count - mf_ul_read->pages_to_read; | ||||||
|  |     } | ||||||
|  |     mf_ul_read->pages_readed += pages_read; | ||||||
|     mf_ul_read->data.data_size = mf_ul_read->pages_readed * 4; |     mf_ul_read->data.data_size = mf_ul_read->pages_readed * 4; | ||||||
|     memcpy(&mf_ul_read->data.data[page_addr * 4], buff, 16); |     memcpy(&mf_ul_read->data.data[page_addr * 4], buff, pages_read * 4); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| uint16_t mf_ul_prepare_fast_read(uint8_t* dest, uint8_t start_page, uint8_t end_page) { | uint16_t mf_ul_prepare_fast_read(uint8_t* dest, uint8_t start_page, uint8_t end_page) { | ||||||
| @ -140,6 +145,7 @@ uint16_t mf_ul_prepare_write(uint8_t* dest, uint16_t page_addr, uint32_t data) { | |||||||
| 
 | 
 | ||||||
| void mf_ul_prepare_emulation(MifareUlDevice* mf_ul_emulate, MifareUlData* data) { | void mf_ul_prepare_emulation(MifareUlDevice* mf_ul_emulate, MifareUlData* data) { | ||||||
|     mf_ul_emulate->data = *data; |     mf_ul_emulate->data = *data; | ||||||
|  |     mf_ul_emulate->auth_data = NULL; | ||||||
|     mf_ul_emulate->data_changed = false; |     mf_ul_emulate->data_changed = false; | ||||||
|     if(data->version.storage_size == 0) { |     if(data->version.storage_size == 0) { | ||||||
|         mf_ul_emulate->type = MfUltralightTypeUnknown; |         mf_ul_emulate->type = MfUltralightTypeUnknown; | ||||||
| @ -150,6 +156,37 @@ void mf_ul_prepare_emulation(MifareUlDevice* mf_ul_emulate, MifareUlData* data) | |||||||
|     } else if(data->version.storage_size == 0x0E) { |     } else if(data->version.storage_size == 0x0E) { | ||||||
|         mf_ul_emulate->type = MfUltralightTypeUL21; |         mf_ul_emulate->type = MfUltralightTypeUL21; | ||||||
|         mf_ul_emulate->support_fast_read = true; |         mf_ul_emulate->support_fast_read = true; | ||||||
|  |     } else if(data->version.storage_size == 0x0F) { | ||||||
|  |         mf_ul_emulate->type = MfUltralightTypeNTAG213; | ||||||
|  |         mf_ul_emulate->support_fast_read = true; | ||||||
|  |     } else if(data->version.storage_size == 0x11) { | ||||||
|  |         mf_ul_emulate->type = MfUltralightTypeNTAG215; | ||||||
|  |         mf_ul_emulate->support_fast_read = true; | ||||||
|  |     } else if(data->version.storage_size == 0x13) { | ||||||
|  |         mf_ul_emulate->type = MfUltralightTypeNTAG216; | ||||||
|  |         mf_ul_emulate->support_fast_read = true; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     if(mf_ul_emulate->type >= MfUltralightTypeNTAG213) { | ||||||
|  |         uint16_t pwd_page = (data->data_size / 4) - 2; | ||||||
|  |         mf_ul_emulate->auth_data = (MifareUlAuthData*)&data->data[pwd_page * 4]; | ||||||
|  |     } | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void mf_ul_protect_auth_data_on_read_command( | ||||||
|  |     uint8_t* tx_buff, | ||||||
|  |     uint8_t start_page, | ||||||
|  |     uint8_t end_page, | ||||||
|  |     MifareUlDevice* mf_ul_emulate) { | ||||||
|  |     if(mf_ul_emulate->type >= MfUltralightTypeNTAG213) { | ||||||
|  |         uint8_t pwd_page = (mf_ul_emulate->data.data_size / 4) - 2; | ||||||
|  |         uint8_t pack_page = pwd_page + 1; | ||||||
|  |         if((start_page <= pwd_page) && (end_page >= pwd_page)) { | ||||||
|  |             memset(&tx_buff[(pwd_page - start_page) * 4], 0, 4); | ||||||
|  |         } | ||||||
|  |         if((start_page <= pack_page) && (end_page >= pack_page)) { | ||||||
|  |             memset(&tx_buff[(pack_page - start_page) * 4], 0, 2); | ||||||
|  |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| @ -175,16 +212,24 @@ uint16_t mf_ul_prepare_emulation_response(uint8_t* buff_rx, uint16_t len_rx, uin | |||||||
|             } else { |             } else { | ||||||
|                 memcpy(buff_tx, &mf_ul_emulate->data.data[start_page * 4], tx_len); |                 memcpy(buff_tx, &mf_ul_emulate->data.data[start_page * 4], tx_len); | ||||||
|             } |             } | ||||||
|  |             mf_ul_protect_auth_data_on_read_command( | ||||||
|  |                 buff_tx, start_page, (start_page + 4), mf_ul_emulate); | ||||||
|         } |         } | ||||||
|     } else if(cmd == MF_UL_FAST_READ_CMD) { |     } else if(cmd == MF_UL_FAST_READ_CMD) { | ||||||
|         if(mf_ul_emulate->support_fast_read) { |         if(mf_ul_emulate->support_fast_read) { | ||||||
|             uint8_t start_page = buff_rx[1]; |             uint8_t start_page = buff_rx[1]; | ||||||
|             uint8_t end_page = buff_rx[2]; |             uint8_t end_page = buff_rx[2]; | ||||||
|             if((start_page < page_num) && |             if((start_page < page_num) && | ||||||
|                (end_page < page_num) && (start_page < end_page)) { |                (end_page < page_num) && (start_page < (end_page + 1))) { | ||||||
|                 tx_len = (end_page - start_page) * 4; |                 tx_len = ((end_page + 1) - start_page) * 4; | ||||||
|                 memcpy(buff_tx, &mf_ul_emulate->data.data[start_page * 4], tx_len); |                 memcpy(buff_tx, &mf_ul_emulate->data.data[start_page * 4], tx_len); | ||||||
|                } |                 mf_ul_protect_auth_data_on_read_command( | ||||||
|  |                     buff_tx, start_page, end_page, mf_ul_emulate); | ||||||
|  |             } else { | ||||||
|  |                 // TODO make 4-bit NAK
 | ||||||
|  |                 buff_tx[0] = 0x0; | ||||||
|  |                 tx_len = 1; | ||||||
|  |             } | ||||||
|         } |         } | ||||||
|     } else if(cmd == MF_UL_WRITE) { |     } else if(cmd == MF_UL_WRITE) { | ||||||
|         uint8_t write_page = buff_rx[1]; |         uint8_t write_page = buff_rx[1]; | ||||||
| @ -213,6 +258,22 @@ uint16_t mf_ul_prepare_emulation_response(uint8_t* buff_rx, uint16_t len_rx, uin | |||||||
|             buff_tx[0] = 0x0A; |             buff_tx[0] = 0x0A; | ||||||
|             tx_len = 1; |             tx_len = 1; | ||||||
|         } |         } | ||||||
|  |     } else if(cmd == MF_UL_AUTH) { | ||||||
|  |         if(mf_ul_emulate->type >= MfUltralightTypeNTAG213) { | ||||||
|  |             if(memcmp(&buff_rx[1], mf_ul_emulate->auth_data->pwd, 4) == 0) { | ||||||
|  |                 buff_tx[0] = mf_ul_emulate->auth_data->pack.raw[0]; | ||||||
|  |                 buff_tx[1] = mf_ul_emulate->auth_data->pack.raw[1]; | ||||||
|  |                 tx_len = 2; | ||||||
|  |             } else if(!mf_ul_emulate->auth_data->pack.value) { | ||||||
|  |                 buff_tx[0] = 0x80; | ||||||
|  |                 buff_tx[1] = 0x80; | ||||||
|  |                 tx_len = 2; | ||||||
|  |             } else { | ||||||
|  |                 // TODO make 4-bit NAK
 | ||||||
|  |                 buff_tx[0] = 0x0; | ||||||
|  |                 tx_len = 1; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|     } else if(cmd == MF_UL_READ_SIG) { |     } else if(cmd == MF_UL_READ_SIG) { | ||||||
|         // Check 2nd byte = 0x00 - RFU
 |         // Check 2nd byte = 0x00 - RFU
 | ||||||
|         if(buff_rx[1] == 0x00) { |         if(buff_rx[1] == 0x00) { | ||||||
|  | |||||||
| @ -60,6 +60,14 @@ typedef struct { | |||||||
|     uint8_t data[MF_UL_MAX_DUMP_SIZE]; |     uint8_t data[MF_UL_MAX_DUMP_SIZE]; | ||||||
| } MifareUlData; | } MifareUlData; | ||||||
| 
 | 
 | ||||||
|  | typedef struct { | ||||||
|  |     uint8_t pwd[4]; | ||||||
|  |     union { | ||||||
|  |         uint8_t raw[2]; | ||||||
|  |         uint16_t value; | ||||||
|  |     } pack; | ||||||
|  | } MifareUlAuthData; | ||||||
|  | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     MfUltralightType type; |     MfUltralightType type; | ||||||
|     uint8_t pages_to_read; |     uint8_t pages_to_read; | ||||||
| @ -67,6 +75,7 @@ typedef struct { | |||||||
|     bool support_fast_read; |     bool support_fast_read; | ||||||
|     bool data_changed; |     bool data_changed; | ||||||
|     MifareUlData data; |     MifareUlData data; | ||||||
|  |     MifareUlAuthData* auth_data; | ||||||
| } MifareUlDevice; | } MifareUlDevice; | ||||||
| 
 | 
 | ||||||
| bool mf_ul_check_card_type(uint8_t ATQA0, uint8_t ATQA1, uint8_t SAK); | bool mf_ul_check_card_type(uint8_t ATQA0, uint8_t ATQA1, uint8_t SAK); | ||||||
|  | |||||||
| @ -5,11 +5,13 @@ | |||||||
|  * |  * | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #define SUBGHZ_PT_SHORT 400 | #define SUBGHZ_PT_SHORT 300 | ||||||
| #define SUBGHZ_PT_LONG (SUBGHZ_PT_SHORT * 3) | #define SUBGHZ_PT_LONG (SUBGHZ_PT_SHORT * 3) | ||||||
| #define SUBGHZ_PT_GUARD (SUBGHZ_PT_SHORT * 30) | #define SUBGHZ_PT_GUARD (SUBGHZ_PT_SHORT * 30) | ||||||
| #define SUBGHZ_PT_COUNT_KEY 5 | #define SUBGHZ_PT_COUNT_KEY_433 9 | ||||||
| #define SUBGHZ_PT_TIMEOUT 320 | #define SUBGHZ_PT_TIMEOUT_433 900 | ||||||
|  | #define SUBGHZ_PT_COUNT_KEY_868 9 | ||||||
|  | #define SUBGHZ_PT_TIMEOUT_868 14000 | ||||||
| 
 | 
 | ||||||
| #define TAG "SubghzPrinceton" | #define TAG "SubghzPrinceton" | ||||||
| 
 | 
 | ||||||
| @ -19,8 +21,11 @@ struct SubGhzEncoderPrinceton { | |||||||
|     size_t repeat; |     size_t repeat; | ||||||
|     size_t front; |     size_t front; | ||||||
|     size_t count_key; |     size_t count_key; | ||||||
|  |     size_t count_key_package; | ||||||
|     uint32_t time_high; |     uint32_t time_high; | ||||||
|     uint32_t time_low; |     uint32_t time_low; | ||||||
|  |     uint32_t timeout; | ||||||
|  |     uint32_t time_stop; | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| typedef enum { | typedef enum { | ||||||
| @ -48,15 +53,37 @@ void subghz_encoder_princeton_set_te(SubGhzEncoderPrinceton* instance, void* dec | |||||||
|     } |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void subghz_encoder_princeton_set(SubGhzEncoderPrinceton* instance, uint32_t key, size_t repeat) { | void subghz_encoder_princeton_stop(SubGhzEncoderPrinceton* instance, uint32_t time_stop) { | ||||||
|  |     instance->time_stop = time_stop; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void subghz_encoder_princeton_set( | ||||||
|  |     SubGhzEncoderPrinceton* instance, | ||||||
|  |     uint32_t key, | ||||||
|  |     size_t repeat, | ||||||
|  |     uint32_t frequency) { | ||||||
|     furi_assert(instance); |     furi_assert(instance); | ||||||
|     instance->te = SUBGHZ_PT_SHORT; |     instance->te = SUBGHZ_PT_SHORT; | ||||||
|     instance->key = key; |     instance->key = key; | ||||||
|     instance->repeat = repeat + 1; |     instance->repeat = repeat + 1; | ||||||
|     instance->front = 48; |     instance->front = 48; | ||||||
|     instance->count_key = SUBGHZ_PT_COUNT_KEY + 7; |  | ||||||
|     instance->time_high = 0; |     instance->time_high = 0; | ||||||
|     instance->time_low = 0; |     instance->time_low = 0; | ||||||
|  |     if(frequency < 700000000) { | ||||||
|  |         instance->count_key_package = SUBGHZ_PT_COUNT_KEY_433; | ||||||
|  |         instance->timeout = SUBGHZ_PT_TIMEOUT_433; | ||||||
|  |     } else { | ||||||
|  |         instance->count_key_package = SUBGHZ_PT_COUNT_KEY_868; | ||||||
|  |         instance->timeout = SUBGHZ_PT_TIMEOUT_868; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     instance->count_key = instance->count_key_package + 3; | ||||||
|  | 
 | ||||||
|  |     if((millis() - instance->time_stop) < instance->timeout) { | ||||||
|  |         instance->time_stop = (instance->timeout - (millis() - instance->time_stop)) * 1000; | ||||||
|  |     } else { | ||||||
|  |         instance->time_stop = 0; | ||||||
|  |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| size_t subghz_encoder_princeton_get_repeat_left(SubGhzEncoderPrinceton* instance) { | size_t subghz_encoder_princeton_get_repeat_left(SubGhzEncoderPrinceton* instance) { | ||||||
| @ -70,7 +97,8 @@ void subghz_encoder_princeton_print_log(void* context) { | |||||||
|         ((float)instance->time_high / (instance->time_high + instance->time_low)) * 100; |         ((float)instance->time_high / (instance->time_high + instance->time_low)) * 100; | ||||||
|     FURI_LOG_I( |     FURI_LOG_I( | ||||||
|         TAG "Encoder", |         TAG "Encoder", | ||||||
|         "Radio ON=%dus, OFF=%dus, DutyCycle=%d,%d%%", |         "Radio tx_time=%dus  ON=%dus, OFF=%dus, DutyCycle=%d,%d%%", | ||||||
|  |         instance->time_high + instance->time_low, | ||||||
|         instance->time_high, |         instance->time_high, | ||||||
|         instance->time_low, |         instance->time_low, | ||||||
|         (uint32_t)duty_cycle, |         (uint32_t)duty_cycle, | ||||||
| @ -106,20 +134,31 @@ LevelDuration subghz_encoder_princeton_yield(void* context) { | |||||||
|                 instance->time_low += instance->te * 3; |                 instance->time_low += instance->te * 3; | ||||||
|         } |         } | ||||||
|     } else { |     } else { | ||||||
|         if(--instance->count_key != 0) { |         if(instance->time_stop) { | ||||||
|             ret = level_duration_make(level, level ? instance->te : instance->te * 30); |             ret = level_duration_make(level, level ? instance->te : instance->time_stop); | ||||||
|             if(level) |             if(level) | ||||||
|                 instance->time_high += instance->te; |                 instance->time_high += instance->te; | ||||||
|             else |             else { | ||||||
|                 instance->time_low += instance->te * 30; |                 instance->time_low += instance->time_stop; | ||||||
|  |                 instance->time_stop = 0; | ||||||
|  |                 instance->front = 47; | ||||||
|  |             } | ||||||
|         } else { |         } else { | ||||||
|             instance->count_key = SUBGHZ_PT_COUNT_KEY + 6; |             if(--instance->count_key != 0) { | ||||||
|             instance->front = 48; |                 ret = level_duration_make(level, level ? instance->te : instance->te * 30); | ||||||
|             ret = level_duration_make(level, level ? instance->te : SUBGHZ_PT_TIMEOUT * 1000); |                 if(level) | ||||||
|             if(level) |                     instance->time_high += instance->te; | ||||||
|                 instance->time_high += instance->te; |                 else | ||||||
|             else |                     instance->time_low += instance->te * 30; | ||||||
|                 instance->time_low += SUBGHZ_PT_TIMEOUT * 1000; |             } else { | ||||||
|  |                 instance->count_key = instance->count_key_package + 2; | ||||||
|  |                 instance->front = 48; | ||||||
|  |                 ret = level_duration_make(level, level ? instance->te : instance->timeout * 1000); | ||||||
|  |                 if(level) | ||||||
|  |                     instance->time_high += instance->te; | ||||||
|  |                 else | ||||||
|  |                     instance->time_low += instance->timeout * 1000; | ||||||
|  |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| @ -128,7 +167,6 @@ LevelDuration subghz_encoder_princeton_yield(void* context) { | |||||||
|         instance->repeat--; |         instance->repeat--; | ||||||
|         instance->front = 0; |         instance->front = 0; | ||||||
|     } |     } | ||||||
| 
 |  | ||||||
|     return ret; |     return ret; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| @ -138,8 +176,8 @@ SubGhzDecoderPrinceton* subghz_decoder_princeton_alloc(void) { | |||||||
|     instance->te = SUBGHZ_PT_SHORT; |     instance->te = SUBGHZ_PT_SHORT; | ||||||
|     instance->common.name = "Princeton"; |     instance->common.name = "Princeton"; | ||||||
|     instance->common.code_min_count_bit_for_found = 24; |     instance->common.code_min_count_bit_for_found = 24; | ||||||
|     instance->common.te_short = SUBGHZ_PT_SHORT; //150;
 |     instance->common.te_short = 400; //150;
 | ||||||
|     instance->common.te_long = SUBGHZ_PT_LONG; //450;
 |     instance->common.te_long = 1200; //450;
 | ||||||
|     instance->common.te_delta = 250; //50;
 |     instance->common.te_delta = 250; //50;
 | ||||||
|     instance->common.type_protocol = SubGhzProtocolCommonTypeStatic; |     instance->common.type_protocol = SubGhzProtocolCommonTypeStatic; | ||||||
|     instance->common.to_string = (SubGhzProtocolCommonToStr)subghz_decoder_princeton_to_str; |     instance->common.to_string = (SubGhzProtocolCommonToStr)subghz_decoder_princeton_to_str; | ||||||
|  | |||||||
| @ -20,12 +20,19 @@ SubGhzEncoderPrinceton* subghz_encoder_princeton_alloc(); | |||||||
|  */ |  */ | ||||||
| void subghz_encoder_princeton_free(SubGhzEncoderPrinceton* instance); | void subghz_encoder_princeton_free(SubGhzEncoderPrinceton* instance); | ||||||
| 
 | 
 | ||||||
|  | void subghz_encoder_princeton_stop(SubGhzEncoderPrinceton* instance, uint32_t time_stop); | ||||||
|  | 
 | ||||||
| /** Set new encoder params
 | /** Set new encoder params
 | ||||||
|  * @param instance - SubGhzEncoderPrinceton instance |  * @param instance - SubGhzEncoderPrinceton instance | ||||||
|  * @param key - 24bit key |  * @param key - 24bit key | ||||||
|  * @param repeat - how many times to repeat  |  * @param repeat - how many times to repeat  | ||||||
|  |  * @param frequency - frequency | ||||||
|  */ |  */ | ||||||
| void subghz_encoder_princeton_set(SubGhzEncoderPrinceton* instance, uint32_t key, size_t repeat); | void subghz_encoder_princeton_set( | ||||||
|  |     SubGhzEncoderPrinceton* instance, | ||||||
|  |     uint32_t key, | ||||||
|  |     size_t repeat, | ||||||
|  |     uint32_t frequency); | ||||||
| 
 | 
 | ||||||
| /** Get repeat count left
 | /** Get repeat count left
 | ||||||
|  * @param instance - SubGhzEncoderPrinceton instance |  * @param instance - SubGhzEncoderPrinceton instance | ||||||
|  | |||||||
 DrZlo13
						DrZlo13