blob: 8e1834aaacbc1382a51fbe0e053199f64c78191f [file] [log] [blame]
xf.li742dd022023-06-08 01:43:32 -07001/**
2 * @file absvr_msg.h
3 * @brief Extern MSG APIs of absvr_msg
4 *
5 * Copyright (C) 2023 Sanechips Technology Co., Ltd.
lh758261d2023-07-13 05:52:04 -07006 * @author
7 * @ingroup
8 *
xf.li742dd022023-06-08 01:43:32 -07009 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
lh758261d2023-07-13 05:52:04 -070011 * published by the Free Software Foundation.
xf.li742dd022023-06-08 01:43:32 -070012 *
13 */
14
15
16#ifndef _ABSVR_MSG_H
17#define _ABSVR_MSG_H
18
19
20/*******************************************************************************
21 * Include header files *
22 ******************************************************************************/
23#include "message.h"
24
25
26/*******************************************************************************
27 * Macro definitions *
28 ******************************************************************************/
29
30
31/*******************************************************************************
32 * Type definitions *
33 ******************************************************************************/
34enum absvr_msg_cmd
35{
lh758261d2023-07-13 05:52:04 -070036 ABSVR_GET_UPGRADE_TYPE_REQ = MSG_CMD_ABSVR_BASE,
37 ABSVR_GET_UPGRADE_TYPE_RSP,
xf.li742dd022023-06-08 01:43:32 -070038
lh758261d2023-07-13 05:52:04 -070039 ABSVR_VRITFY_REQ,
40 ABSVR_VRITFY_RSP,
xf.li742dd022023-06-08 01:43:32 -070041
lh758261d2023-07-13 05:52:04 -070042 ABSVR_UPDATE_REQ,
43 ABSVR_UPDATING_RSP,
44 ABSVR_UPDATE_RSP,
xf.li742dd022023-06-08 01:43:32 -070045
lh758261d2023-07-13 05:52:04 -070046 ABSVR_SYNC_REQ,
47 ABSVR_SYNC_RSP,
xf.li742dd022023-06-08 01:43:32 -070048
lh758261d2023-07-13 05:52:04 -070049 ABSVR_GET_UPGRADE_STATUS_REQ,
50 ABSVR_GET_UPGRADE_STATUS_RSP,
xf.li742dd022023-06-08 01:43:32 -070051
lh758261d2023-07-13 05:52:04 -070052 ABSVR_GET_CURRENT_SYSTEM_REQ,
53 ABSVR_GET_CURRENT_SYSTEM_RSP,
xf.li742dd022023-06-08 01:43:32 -070054
lh758261d2023-07-13 05:52:04 -070055 ABSVR_GET_BOOT_TO_SYSTEM_REQ,
56 ABSVR_GET_BOOT_TO_SYSTEM_RSP,
xf.li742dd022023-06-08 01:43:32 -070057
lh758261d2023-07-13 05:52:04 -070058 ABSVR_SET_BOOT_TO_SYSTEM_REQ,
59 ABSVR_SET_BOOT_TO_SYSTEM_RSP,
xf.li742dd022023-06-08 01:43:32 -070060
lh758261d2023-07-13 05:52:04 -070061 ABSVR_GET_SYSTEM_STATUS_REQ,
62 ABSVR_GET_SYSTEM_STATUS_RSP,
xf.li742dd022023-06-08 01:43:32 -070063
lh758261d2023-07-13 05:52:04 -070064 ABSVR_SET_SYSTEM_STATUS_REQ,
65 ABSVR_SET_SYSTEM_STATUS_RSP,
xf.li742dd022023-06-08 01:43:32 -070066
lh758261d2023-07-13 05:52:04 -070067 ABSVR_GET_FOTA_STATUS_FOR_NV_REQ,
68 ABSVR_GET_FOTA_STATUS_FOR_NV_RSP,
xf.li742dd022023-06-08 01:43:32 -070069
lh758261d2023-07-13 05:52:04 -070070 ABSVR_SET_FOTA_STATUS_FOR_NV_REQ,
71 ABSVR_SET_FOTA_STATUS_FOR_NV_RSP,
xf.li742dd022023-06-08 01:43:32 -070072
lh758261d2023-07-13 05:52:04 -070073 ABSVR_GET_SYNC_STATUS_REQ,
74 ABSVR_GET_SYNC_STATUS_RSP,
75
76 ABSVR_SET_SYNC_STATUS_REQ,
77 ABSVR_SET_SYNC_STATUS_RSP,
78
79 ABSVR_CONFIG_PACKAGE_PATH_REQ,
80 ABSVR_CONFIG_PACKAGE_PATH_RSP
xf.li742dd022023-06-08 01:43:32 -070081};
82
83
84#endif
85