b.liu | d440f9f | 2025-04-18 10:44:31 +0800 | [diff] [blame] | 1 | /*******************************************************
|
| 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
|
| 14 | extern "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 | *******************************************************************************/
|
| 25 | int lynq_get_reboot_upgrade_status(void);
|
| 26 | int lynq_get_upgrade_status(void);
|
| 27 | int lynq_fota_set_addr_value(char *value,int size);
|
| 28 | int lynq_fota_nrestart(void);
|
| 29 | int lynq_rock_main(int first_run);
|
| 30 | int lynq_read_process(void);
|
| 31 |
|
| 32 | #ifdef __cplusplus
|
| 33 | }
|
| 34 | #endif
|
| 35 | #endif
|
| 36 |
|