blob: e156d9c54c51245d42d343b43dc52f5da5fdc718 [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.
6 * @author
7 * @ingroup
8 *
9 * 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
11 * published by the Free Software Foundation.
12 *
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{
36 ABSVR_GET_UPGRADE_TYPE_REQ = MSG_CMD_ABSVR_BASE,
37 ABSVR_GET_UPGRADE_TYPE_RSP,
38
39 ABSVR_VRITFY_REQ,
40 ABSVR_VRITFY_RSP,
41
42 ABSVR_UPDATE_REQ,
43 ABSVR_UPDATING_RSP,
44 ABSVR_UPDATE_RSP,
45
46 ABSVR_SYNC_REQ,
47 ABSVR_SYNC_RSP,
48
49 ABSVR_GET_UPGRADE_STATUS_REQ,
50 ABSVR_GET_UPGRADE_STATUS_RSP,
51
52 ABSVR_GET_CURRENT_SYSTEM_REQ,
53 ABSVR_GET_CURRENT_SYSTEM_RSP,
54
55 ABSVR_GET_BOOT_TO_SYSTEM_REQ,
56 ABSVR_GET_BOOT_TO_SYSTEM_RSP,
57
58 ABSVR_SET_BOOT_TO_SYSTEM_REQ,
59 ABSVR_SET_BOOT_TO_SYSTEM_RSP,
60
61 ABSVR_GET_SYSTEM_STATUS_REQ,
62 ABSVR_GET_SYSTEM_STATUS_RSP,
63
64 ABSVR_SET_SYSTEM_STATUS_REQ,
65 ABSVR_SET_SYSTEM_STATUS_RSP,
66
67 ABSVR_GET_FOTA_STATUS_FOR_NV_REQ,
68 ABSVR_GET_FOTA_STATUS_FOR_NV_RSP,
69
70 ABSVR_SET_FOTA_STATUS_FOR_NV_REQ,
71 ABSVR_SET_FOTA_STATUS_FOR_NV_RSP,
72
73 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
80
81#endif
82