blob: bbc674c664ef0f20637fac7b089f5954619b5c94 [file] [log] [blame]
b.liud440f9f2025-04-18 10:44:31 +08001/*******************************************************
2*
3* @brief:
4* @details: add fota upgrade api
5* @author: l.yang
6* @date: 2023.8.3
7* @version: V1.0
8* @copyright:Copyright (c) MobileTek
9*
10*********************************************/
11#ifndef LYNQ_QSER_FOTA
12#define LYNQ_QSER_FOTA
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17
18/*******************************************************************************
19* @brief get reboot upgrade status
20 @param
21 NULL
22 @return
23 if reboot the other system successfully return 1, else return 0
24 *******************************************************************************/
25int lynq_get_reboot_upgrade_status(void);
26int lynq_get_upgrade_status(void);
27int lynq_fota_set_addr_value(char *value,int size);
28int lynq_fota_nrestart(void);
29int lynq_rock_main(int first_run);
30int lynq_read_process(void);
31
32#ifdef __cplusplus
33}
34#endif
35#endif
36