4#include "update_checker/update_checker.h"
7#include <power/power_service/power.h>
10#include <toolbox/api_lock.h>
19 MessageTypeSessionStart,
20 MessageTypeSessionStop,
22 MessageTypeVerifyBundleSha,
24 MessageTypeInstallationPrepare,
25 MessageTypeInstallationApply,
26 MessageTypeCheckForUpdate,
27 MessageTypeSetSettings,
42 } as_verify_bundle_sha;
46 FuriString* staging_path;
47 FuriString* manifest_path;
51 FuriString* manifest_path;
52 } as_installation_prepare;
72 FuriEventLoop* event_loop;
73 FuriMessageQueue* message_queue;
75 FuriState* settings_state;
77 FuriSemaphore* update_lock;
78 FuriState* update_state;
80#ifndef FW_CFG_recovery
82 FuriMessageQueue* download_queue;
85 FuriState* check_state;
86 FuriEventLoopTimer* check_timer;
87 FuriMutex* check_info_mutex;
88 FuriString* check_version;
89 FuriString* check_url;
91 FuriString* check_sha256;
92 FuriString* check_changelog;
94 FuriString* install_url;
95 FuriString* install_sha256;
96 bool install_is_autoupdate;
99 FuriEventLoopTimer* autoupdate_timer;
100 FuriSemaphore* autoupdate_semaphore;
113void updater_internal_settings_change_build_specific(
117void updater_internal_setup_build_specific(
Updater* instance);
Simple file downloader library.
APIs for working with storages, directories and files.
Definition fetch_loader.c:14
Definition storage_i.h:20
Definition update_checker.c:17
Definition updater_i.h:68
Definition updater_i.h:32
Definition system/updater/settings/interface_v2.h:50
Firmware update system interface.
UpdaterStatus
Definition updater.h:23