blob: 5c29d84a160d127539c1ca40581381864be61638 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/**
2 * @file other_msg.h
3 * @brief ÌṩÁËÆ½Ì¨ÄÚ²¿Ð¡Ä£¿éµÄÏûÏ¢ID£¬ÈçDM¡¢FOTA¡¢SNTPµÈ£¬at_ctl¡¢mainctlÕâÁ½¸ö×î»ù±¾µÄ¹¦ÄܵÄÏûÏ¢IDÑϽûÔڴ˶¨Òå
4 *
5 * Copyright (C) 2017 Sanechips Technology Co., Ltd.
6 * @author
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 *
12 */
13#ifndef __OTHER_MSG_H__
14#define __OTHER_MSG_H__
15
16/*******************************************************************************
17 * Include header files *
18 ******************************************************************************/
19#include"message.h"
20
21/*******************************************************************************
22 * Macro definitions *
23 ******************************************************************************/
24
25
26/*******************************************************************************
27 * Type definitions *
28 ******************************************************************************/
29
30/**
31 * @brief
32 */
33enum other_msg_cmd {
34
35 MSG_CMD_EMBMS_CTRL_CLOSE_SOCKET = MSG_CMD_OTHER_BASE,
36 MSG_CMD_LINKUP_END, //zte_mainctrlÖ´ÐÐlinkup½Å±¾ºó£¬·¢ËÍÏûÏ¢¸øat_ctl
37 MSG_CMD_LINKDOWN_END, //zte_mainctrlÖ´ÐÐlinkdown½Å±¾ºó£¬·¢ËÍÏûÏ¢¸øat_ctl
38 //MSG_CMD_V6ADDR_IND,//¶ÔÓ¦½á¹¹ÌåV6ADDR_INFORM£¬IPv6 PDP¼¤»îʱ£¬slaac»ñÈ¡µ½ipv6µØÖ·³É¹¦»òʧ°Üºó£¬·¢ËÍÏûÏ¢¸øat_ctl
39 MSG_CMD_DATA_START, //Á÷Á¿Í³¼Æ
40 MSG_CMD_DATA_END, //Á÷Á¿Í³¼Æ
41 MSG_CMD_PARENT_CONTROL_SET, //ÉèÖüҳ¤¿ØÖÆ
42 MSG_CMD_PARENT_CONTROL_CLOSE, // ¹Ø±Õ¼Ò³¤¿ØÖÆ
43 MSG_CMD_SOFTTIMER_CREATE,
44 MSG_CMD_SOFTTIMER_DELETE,
45 MSG_CMD_SOFTTIMER_TIMEOUT,
46 MSG_CMD_LOCALUPDATE_START,
47 MSG_CMD_LOCALUPDATE_GET_RESULT,
48 MSG_CMD_SNTP_SET_MODE, //ÉèÖÃSNTPģʽ: ÊÖ¶¯¡¢×Ô¶¯
49 MSG_CMD_SNTP_SET_TIME, //ÉèÖÃSNTPʱ¼ä
50 MSG_CMD_SNTP_START,
51 MSG_CMD_SNTP_REGISTER, //ÐèҪ׼ȷʱ¼äµÄÓ¦ÓÃÏòsntp×¢²á
52 MSG_CMD_SNTP_UNREGISTER,
53 MSG_CMD_SNTP_SUCCESS,
54
55 /*¿ìËÙ¿ª»ú/¹Ø»ú֪ͨÏûÏ¢£¬Ã¶¾Ù¶ÔÓ¦¶Ë¿Ú*/
56 MSG_CMD_FASTPOWER_IND,
57 /*Ä£ÄâUSB²åÈë/°Î³ö*/
58 MSG_CMD_USBMOD_SETREQ,
59
60 //ÒÔÏÂΪоƬÈÏÖ¤ÏûÏ¢
61 MSG_CMD_SEND_ATCMD_STREAM_REQ,
62 MSG_CMD_SEND_ATCMD_STREAM_RSP,
63
64 /****************************ISMS*******************************/
65 MSG_CMD_ISMSSTART_REQ, //Æô¶¯ÖÇÄܶÌÐŽø³Ì
66 MSG_CMD_ISMSREADY_RSP, //ÖÇÄܶÌÐÅÆô¶¯Íê³É֪ͨ
67 MSG_CMD_ISMSINFO_REQ, //ÖÇÄܶÌÐŲéѯÇëÇó
68 MSG_CMD_ISMSDEL_REQ, //ɾ³ýÖ¸¶¨ÖÇÄܶÌÐÅÇëÇó
69 MSG_CMD_ISMSCLEAN_REQ, //Çå³ýÈ«²¿ÖÇÄܶÌÐÅÇëÇó
70 MSG_CMD_ISMSINFO_RSP, //ÖØÖÃÖÇÄܶÌÐÅÇëÇó(ÓëÇå³ý²Ù×÷Ò»Ñù)
71 MSG_CMD_ISMSUD_REQ, // ÉÏ´«ÖÕ¶ËÐÅÏ¢µÄÇëÇó
72
73 /***************************DM*********************************/
74 MSG_CMD_DM_CONFIG_REQ, //ÉèÖÃdm²¿·Ö¿ØÖÆÐÅÏ¢
75
76 /*************************ÊØ»¤±¦SAFECARE*************************/
77 MSG_CMD_SAFECARE_ONOFF_REQ, //¿ªÆô»ò¹Ø±ÕÊØ»¤±¦¹¦ÄÜÇëÇó
78 MSG_CMD_SAFECARE_ONOFF_RSP, //¿ªÆô»ò¹Ø±ÕÊØ»¤±¦¹¦ÄÜÏìÓ¦
79 MSG_CMD_SAFECARE_ACCOUNT_REQ, //¿ª»§ÇëÇó
80 MSG_CMD_SAFECARE_ACCOUNT_RSP, //¿ª»§ÏìÓ¦
81 MSG_CMD_SAFECARE_MOBSITE_REQ, //·þÎñЭÒ鵨ַÇëÇó
82 MSG_CMD_SAFECARE_MOBSITE_RSP, //·þÎñЭÒ鵨ַÏìÓ¦
83 MSG_CMD_SAFECARE_PLATLOCATION_REQ, //ƽ̨¶¨Î»ÇëÇó
84 MSG_CMD_SAFECARE_PLATLOCATION_RSP, //ƽ̨¶¨Î»ÏìÓ¦
85 MSG_CMD_SAFECARE_PERIOD_LOCATION_REQ, //ÖÜÆÚ¶¨Î»ÇëÇó
86 MSG_CMD_SAFECARE_PERIOD_LOCATION_RSP, //ÖÜÆÚ¶¨Î»ÏìÓ¦
87 MSG_CMD_SAFECARE_SMSNUM_REQ, //ÉÏÐжÌÐźÅÂë»ñÈ¡ÇëÇó
88 MSG_CMD_SAFECARE_SMSNUM_RSP, //ÉÏÐжÌÐźÅÂë»ñÈ¡ÏìÓ¦
89 MSG_CMD_SAFECARE_LOCATION_REQ, //¶¨Î»ÇëÇó
90 MSG_CMD_SAFECARE_LOCATION_RSP, //¶¨Î»ÏìÓ¦
91
92 MSG_CMD_SAFECARE_DATAUPDATE_REQ, //¸üÐÂÈ«¾ÖÊý¾ÝÇëÇó
93 MSG_CMD_SAFECARE_DATAUPDATE_RSP, //¸üÐÂÈ«¾ÖÊý¾ÝÏìÓ¦
94
95 MSG_CMD_SAFECARE_SOS_LOCATION_REQ, //SOS¶¨Î»ÇëÇó
96 MSG_CMD_SAFECARE_SOS_LOCATION_RSP, //SOS¶¨Î»ÏìÓ¦
97
98 MSG_CMD_SAFECARE_SENDKHSMS_REQ, //ÇëÇó·¢ËÍ¿ª»§¶ÌÐÅ
99
100 MSG_CMD_SAFECARE_POWER_ONOFF_REQ, //¿ªÆô»ò¹Ø±ÕÖÕ¶ËÇëÇó
101 MSG_CMD_SAFECARE_POWER_ONOFF_RSP, //¿ªÆô»ò¹Ø±ÕÖÕ¶ËÏìÓ¦
102
103 /*K318 T¿¨Çл»Ê¹ÓõÄÏûÏ¢begin*/
104 MSG_CMD_UDISKSTAT_SET_REQ, //ÉèÖÃÇëÇóÃüÁÇл»³ÉUÅÌģʽ/½ö³äµçģʽ
105 MSG_CMD_UDISKSTAT_SET_RSP, //ÉèÖÃÃüÁîµÄ»Ø¸´£¬Çл»³ÉUÅÌģʽ/½ö³äµçģʽ
106 MSG_CMD_USBFLAG_STAT_REQ, //²åÈë/°Î³öUSBÏßµÄ֪ͨÏûÏ¢
107 /*K318 T¿¨Çл»Ê¹ÓõÄÏûÏ¢end*/
108
109 /******************fotaÏà¹Ø*************************/
110 MSG_CMD_FOTAMANUAL_REQ,
111 MSG_CMD_FOTADL_REQ,
112 MSG_CMD_FOTADY_REQ,
113 MSG_CMD_FOTAVERSION_IND,
114 MSG_CMD_FOTAPKG_IND,
115 MSG_CMD_FOTARLT_IND,
116 MSG_CMD_FOTADLRESUME_IND,
117 MSG_CMD_FOTAUPRESUME_IND,
118
119 /******************fotaÏà¹Ø*************************/
120
121 MSG_GET_HOST_BY_NAME_SUCCESS, //»ñÈ¡hostÐÅÏ¢³É¹¦
122 MSG_GET_HOST_BY_NAME_TIMEOUT, //gehostbynameÐÅÏ¢³¬Ê±
123
124 /*************************¹Ì¶¨Ì¨WiFi*************************/
125 MSG_CMD_WIFI_GET_STATE_REQ, //»ñÈ¡WiFi״̬(¿ª¹Ø)ÇëÇó
126 MSG_CMD_WIFI_GET_STATE_RSP, //»ñÈ¡WiFi״̬(¿ª¹Ø)»ØÓ¦
127 MSG_CMD_WIFI_GET_INFO_REQ, //»ñÈ¡WiFiÐÅÏ¢(SSID¡¢ÃÜÂë¡¢°²È«Ä£Ê½)ÇëÇó
128 MSG_CMD_WIFI_GET_INFO_RSP, //»ñÈ¡WiFiÐÅÏ¢(SSID¡¢ÃÜÂë¡¢°²È«Ä£Ê½)»ØÓ¦
129 MSG_CMD_WIFI_GET_USER_LIST_REQ, //»ñÈ¡WiFiÓû§ÁбíÇëÇó
130 MSG_CMD_WIFI_GET_USER_LIST_RSP, //»ñÈ¡WiFiÓû§ÁÐ±í»ØÓ¦
131
132 MSG_CMD_WIFI_SET_ON_REQ, //´ò¿ªWiFiÇåÇó
133 MSG_CMD_WIFI_SET_ON_RSP, //´ò¿ªWiFi»ØÓ¦
134 MSG_CMD_WIFI_SET_OFF_REQ, //¹Ø±ÕWiFiÇåÇó
135 MSG_CMD_WIFI_SET_OFF_RSP, //¹Ø±ÕWiFi»ØÓ¦
136 MSG_CMD_WIFI_SET_SECURITY_REQ, //ÉèÖÃWiFi°²È«Ä£Ê½¡¢SSID¡¢ÃÜÂëÇëÇó
137 MSG_CMD_WIFI_SET_SECURITY_RSP, //ÉèÖÃWiFi°²È«Ä£Ê½¡¢SSID¡¢ÃÜÂë»ØÓ¦
138 MSG_CMD_WIFI_NOTIFY_CHARGER_STATUS,
139 MSG_CMD_WIFI_IS_READY,
140
141 /*************************¹Ì¶¨Ì¨Á÷Á¿¹ÜÀí*************************/
142 MSG_CMD_DATAMANAGER_SET_SWITCH_REQ, //ÉèÖÃÁ÷Á¿¹ÜÀí¿ª¹Ø´ò¿ªÇëÇó
143 MSG_CMD_DATAMANAGER_SET_SWITCH_RSP, //ÉèÖÃÁ÷Á¿¹ÜÀí¿ª¹Ø´ò¿ª»ØÓ¦
144 MSG_CMD_DATAMANAGER_GET_INFO_REQ, //»ñÈ¡ÒÑʹÓÃÁ÷Á¿¡¢×ÜÁ÷Á¿¡¢¸æ¾¯ÖµÇëÇó
145 MSG_CMD_DATAMANAGER_GET_INFO_RSP, //»ñÈ¡ÒÑʹÓÃÁ÷Á¿¡¢×ÜÁ÷Á¿¡¢¸æ¾¯Öµ»ØÓ¦
146 MSG_CMD_DATAMANAGER_SET_TOTAL_REQ, //ÉèÖÃ×ÜÁ÷Á¿ÇëÇó
147 MSG_CMD_DATAMANAGER_SET_TOTAL_RSP, //ÉèÖÃ×ÜÁ÷Á¿»ØÓ¦
148 MSG_CMD_DATAMANAGER_SET_WARNVALUE_REQ, //ÉèÖÃÁ÷Á¿¸æ¾¯ÖµÇëÇó
149 MSG_CMD_DATAMANAGER_SET_WARNVALUE_RSP, //ÉèÖÃÁ÷Á¿¸æ¾¯Öµ»ØÓ¦
150 MSG_CMD_DATAMANAGER_REACH_WARNVALUE, //Á÷Á¿Ê¹Óôﵽ×ÜÁ¿
151 MSG_CMD_DATAMANAGER_REACH_LIMIT, //Á÷Á¿Ê¹Óôﵽ×ÜÁ¿
152 MSG_CMD_DATAMANAGER_FLUXSTAT_READY, //Á÷Á¿Ä£¿éÆô¶¯Íê³É
153 MSG_CMD_PDPSTATUS_SET_SWITCH_REQ, //ÉèÖÃÍøÂçÁ¬½Ó¿ª¹ØÍ¨Öª
154 MSG_CMD_PDPSTATUS_SET_SWITCH_RSP, //ÉèÖÃÍøÂçÁ¬½Ó¿ª¹ØÏìÓ¦
155 /*BIPÏà¹Ø,BIPÄÚ²¿×Ô¼ºÊÕ·¢µÄÏûÏ¢*/
156 MSG_CMD_ID_BIP_AT_RCV,
157 /*ËøÍøÏà¹ØµÄÏûÏ¢*/
158 MSG_CMD_LOCKLISTAUTH_REQ,
159 MSG_CMD_LOCKNETLIST_SET_REQ,
160 MSG_CMD_LOCKNETKEY_REQ,
161 MSG_CMD_LOCKNETAMTSTATUS_GET_REQ,
162 MSG_CMD_LOCKNETDIGEST_GET_REQ,
163 MSG_CMD_LOCKNETSIGN_SET_REQ,
164 MSG_CMD_LOCKNETLEVEL_GET_REQ,
165 MSG_CMD_LOCKNETLIST_GET_REQ,
166 MSG_CMD_LOCKNETAUTH_REQ,
167 MSG_CMD_LOCKNETUNLOCKTIMES_GET_REQ,
168 MSG_CMD_LOCKNETSTATUS_GET_REQ,
169 MSG_CMD_LOCKNETUNLOCK_REQ,
170 MSG_CMD_ZURDY_LOCKAUTH_REQ,
171};
172
173/**
174 * @brief DMÄ£¿é½ÓÊÕÏûÏ¢µÄÀàÐÍ
175 */
176enum dm_msg_cmd {
177 MSG_CMD_DMREG_INFO = MSG_CMD_DM_BASE,
178 MSG_CMD_DMREG_FLAG,
179 MSG_CMD_SEND_REGMSG
180};
181
182/**
183 * @brief FOTAÄ£¿é½ÓÊÕÏûÏ¢µÄÀàÐÍ
184 */
185typedef enum {
186
187 MSG_CMD_FOTA_DM_EVENT_START = MSG_CMD_FOTA_BASE,
188 MSG_CMD_FOTA_DM_CI_POLLING,
189 MSG_CMD_FOTA_DM_CI_REPORTING, //Éý¼¶ºóÉϱ¨
190 MSG_CMD_FOTA_DM_UI_INIT_FOTA,
191 MSG_CMD_FOTA_DM_UI_CHANGE_PARA, //WEBUI֪ͨDMÉèÖòÎÊý(Òþ²Ø²Ëµ¥)
192 MSG_CMD_FOTA_DM_NI_NIA,
193 MSG_CMD_FOTA_DM_NI_BOOTSTRAP,
194 MSG_CMD_FOTA_DM_MC_CHANGE_APN_SUCCEED, //Ö÷¿ØÍ¨ÖªDMÇл»APN³É¹¦ÏûÏ¢
195 MSG_CMD_FOTA_DM_MC_CHANGE_APN_FAIL, //Ö÷¿ØÍ¨ÖªDMÇл»APNʧ°ÜÏûÏ¢
196 MSG_CMD_FOTA_DM_MC_DATA_STATUS, //Ö÷¿ØÍ¨ÖªDMÓÐÊý¾ÝÒµÎñ
197 MSG_CMD_FOTA_DM_MC_NODATA_STATUS, //Ö÷¿ØÍ¨ÖªDMÎÞÊý¾ÝÒµÎñ
198 MSG_CMD_FOTA_DM_BSP_PROC_OK, //bsp֪ͨDM´¦ÀíÍê³É
199 MSG_CMD_FOTA_DM_BSP_PROC_FAILED, //bsp֪ͨDM´¦Àíʧ°Ü
200 MSG_CMD_FOTA_DM_WAKE_UP_OK,//»½ÐÑÉ豸³É¹¦
201 MSG_CMD_FOTA_DM_FALL_ASLEEP_OK,//É豸ÐÝÃß
202 MSG_CMD_FOTA_DM_POWER_ON,//±íʾdmÄ£¿éµÄÆô¶¯
203 MSG_CMD_FOTA_DM_DEVICE_IS_POWER_ON,//É豸´Ó¹Ø»ú»ò³äµçģʽ½øÈëÕý³£¿ª»ú
204 MSG_CMD_FOTA_DM_DEVICE_IS_POWER_OFF,//É豸ÕýÔÚ½øÐгäµçµÈ·ÇÕý³£×´Ì¬
205 MSG_CMD_FOTA_DM_QUERY_SLEEP_FROM_SLEEP_MODULE,//˯ÃßÄ£¿éÓøÃÏûÏ¢²éѯfotaÄܹ»Ë¯Ãß
206 MSG_CMD_FOTA_DM_IF_GET_VERSION_STATUS,
207 MSG_CMD_FOTA_DM_IF_GET_CUR_OPS,
208 MSG_CMD_FOTA_DM_IF_GET_UPDATE_CMD,
209 MSG_CMD_FOTA_DM_IF_SET_UPDATE_CMD,
210 MSG_CMD_FOTA_DM_IF_GET_DL_PROGRESS,
211 MSG_CMD_FOTA_DM_IF_GET_FOTA_PKG_INFO,
212 MSG_CMD_FOTA_DM_IF_GET_UPDATE_RESULT,
213 MSG_CMD_FOTA_DM_IF_GET_UPDATE_SETTINGS,
214 MSG_CMD_FOTA_DM_IF_SET_UPDATE_SETTINGS,
215
216 MSG_CMD_FOTA_WEBUI_START_FOTA,
217 MSG_CMD_FOTA_WEBUI_START_DOWNLOAD,
218 MSG_CMD_FOTA_WEBUI_CHANGE_PARAMETER,
219 MSG_CMD_FOTA_DM_START_UPDATE,
220
221 MSG_CMD_FOTA_DM_VERIFY,
222 MSG_CMD_FOTA_DM_DO_UPDATE,
223
224 MSG_CMD_FOTA_DM_ENEVT_END
225
226} E_DM_Event_Type;
227
228enum amt_device_test_msg_cmd {
229 MSG_CMD_AMT_KEY_TEST_START_REQ = MSG_CMD_AMT_DEVICE_TEST_BASE, //¿ªÊ¼°´¼ü²âÊÔÏûÏ¢ÇëÇó
230 MSG_CMD_AMT_KEY_TEST_START_RSP, //¿ªÊ¼°´¼ü²âÊÔÏûÏ¢»ØÓ¦
231 MSG_CMD_AMT_KEY_TEST_STOP_REQ, //Í£Ö¹°´¼ü²âÊÔÏûÏ¢ÇëÇó
232 MSG_CMD_AMT_KEY_TEST_STOP_RSP, //Í£Ö¹°´¼ü²âÊÔÏûÏ¢»ØÓ¦
233 MSG_CMD_AMT_LCD_TEST_START_REQ, //¿ªÊ¼LCDÆÁÄ»²âÊÔÏûÏ¢ÇëÇó
234 MSG_CMD_AMT_LCD_TEST_START_RSP, //¿ªÊ¼LCDÆÁÄ»²âÊÔÏûÏ¢»ØÓ¦
235 MSG_CMD_AMT_LCD_TEST_STOP_REQ, //Í£Ö¹LCDÆÁÄ»²âÊÔÏûÏ¢ÇëÇó
236 MSG_CMD_AMT_LCD_TEST_STOP_RSP, //Í£Ö¹LCDÆÁÄ»²âÊÔÏûÏ¢»ØÓ¦
237 MSG_CMD_AMT_BATTERY_VOLTAGE_TEST_REQ, //µç³Øµçѹ²âÊÔÏûÏ¢ÇëÇó
238 MSG_CMD_AMT_BATTERY_VOLTAGE_TEST_RSP, //µç³Øµçѹ²âÊÔÏûÏ¢»ØÓ¦
239 MSG_CMD_AMT_LCD_BACKLIGHT_TEST_START_REQ, //¿ªÊ¼LCD±³¹â²âÊÔÏûÏ¢ÇëÇó
240 MSG_CMD_AMT_LCD_BACKLIGHT_TEST_START_RSP, //¿ªÊ¼LCD±³¹â²âÊÔÏûÏ¢»ØÓ¦
241 MSG_CMD_AMT_LCD_BACKLIGHT_TEST_STOP_REQ, //Í£Ö¹LCD±³¹â²âÊÔÏûÏ¢ÇëÇó
242 MSG_CMD_AMT_LCD_BACKLIGHT_TEST_STOP_RSP, //Í£Ö¹LCD±³¹â²âÊÔÏûÏ¢»ØÓ¦
243 MSG_CMD_AMT_VIBRATOR_TEST_START_REQ, //¿ªÊ¼Âí´ï²âÊÔÏûÏ¢ÇëÇó
244 MSG_CMD_AMT_VIBRATOR_TEST_START_RSP, //¿ªÊ¼Âí´ï²âÊÔÏûÏ¢»ØÓ¦
245 MSG_CMD_AMT_VIBRATOR_TEST_STOP_REQ, //Í£Ö¹Âí´ï²âÊÔÏûÏ¢ÇëÇó
246 MSG_CMD_AMT_VIBRATOR_TEST_STOP_RSP, //Í£Ö¹Âí´ï²âÊÔÏûÏ¢»ØÓ¦
247 MSG_CMD_AMT_CAMERA_TEST_START_REQ, //¿ªÊ¼ÉãÏñÍ·²âÊÔÏûÏ¢ÇëÇó
248 MSG_CMD_AMT_CAMERA_TEST_START_RSP, //¿ªÊ¼ÉãÏñÍ·²âÊÔÏûÏ¢»ØÓ¦
249 MSG_CMD_AMT_CAMERA_TEST_STOP_REQ, //Í£Ö¹ÉãÏñÍ·²âÊÔÏûÏ¢ÇëÇó
250 MSG_CMD_AMT_CAMERA_TEST_STOP_RSP, //Í£Ö¹ÉãÏñÍ·²âÊÔÏûÏ¢»ØÓ¦
251 MSG_CMD_AMT_SPEAKER_TEST_REQ, //Âó¿Ë-À®°È»ØÂ·²âÊÔÏûÏ¢ÇëÇó
252 MSG_CMD_AMT_SPEAKER_TEST_RSP, //Âó¿Ë-À®°È»ØÂ·²âÊÔÏûÏ¢»ØÓ¦
253 MSG_CMD_AMT_SPEAKER_TEST_STOP_REQ, //Âó¿Ë-À®°È»ØÂ·²âÊÔÍ£Ö¹ÏûÏ¢ÇëÇó
254 MSG_CMD_AMT_SPEAKER_TEST_STOP_RSP, //Âó¿Ë-À®°È»ØÂ·²âÊÔÍ£Ö¹ÏûÏ¢»ØÓ¦
255 MSG_CMD_AMT_RECEIVER_TEST_REQ, //ÑïÉùÆ÷²âÊÔÏûÏ¢ÇëÇó
256 MSG_CMD_AMT_RECEIVER_TEST_RSP, //ÑïÉùÆ÷²âÊÔÏûÏ¢»ØÓ¦
257 MSG_CMD_AMT_RECEIVER_TEST_STOP_REQ, //ÑïÉùÆ÷²âÊÔÍ£Ö¹ÏûÏ¢ÇëÇó
258 MSG_CMD_AMT_RECEIVER_TEST_STOP_RSP, //ÑïÉùÆ÷²âÊÔÍ£Ö¹ÏûÏ¢»ØÓ¦
259 MSG_CMD_AMT_TP_TEST_START_REQ, //¿ªÊ¼´¥ÃþÆÁ²âÊÔÏûÏ¢ÇëÇó
260 MSG_CMD_AMT_TP_TEST_START_RSP, //¿ªÊ¼´¥ÃþÆÁ²âÊÔÏûÏ¢»ØÓ¦
261 MSG_CMD_AMT_TP_TEST_STOP_REQ, //Í£Ö¹´¥ÃþÆÁ²âÊÔÏûÏ¢ÇëÇó
262 MSG_CMD_AMT_TP_TEST_STOP_RSP, //Í£Ö¹´¥ÃþÆÁ²âÊÔÏûÏ¢»ØÓ¦
263 MSG_CMD_AMT_GSENSOR_TEST_START_REQ, //¿ªÊ¼G-Sensor²âÊÔÏûÏ¢ÇëÇó
264 MSG_CMD_AMT_GSENSOR_TEST_START_RSP, //¿ªÊ¼G-Sensor²âÊÔÏûÏ¢»ØÓ¦
265 MSG_CMD_AMT_GSENSOR_TEST_STOP_REQ, //Í£Ö¹G-Sensor²âÊÔÏûÏ¢ÇëÇó
266 MSG_CMD_AMT_GSENSOR_TEST_STOP_RSP, //Í£Ö¹G-Sensor²âÊÔÏûÏ¢»ØÓ¦
267 MSG_CMD_AMT_WIFI_TEST_START_REQ, //¿ªÊ¼wifi²âÊÔÏûÏ¢ÇëÇó
268 MSG_CMD_AMT_WIFI_TEST_START_RSP, //¿ªÊ¼wifi²âÊÔÏûÏ¢»ØÓ¦
269 MSG_CMD_AMT_FLASHLIGHT_START_REQ, //¿ªÊ¼ÊÖµçͲ²âÊÔÏûÏ¢ÇëÇó
270 MSG_CMD_AMT_FLASHLIGHT_START_RSP, //¿ªÊ¼ÊÖµçͲ²âÊÔÏûÏ¢»ØÓ¦
271};
272
273/*********************************************************************
274 ¼Ò³¤¿ØÖÆÄ£¿éÏûÏ¢Ìå
275**********************************************************************/
276typedef struct {
277 char strAtCmd[128];
278 int deviceID;
279} PCS_MSG;
280
281typedef struct{
282 int cid;
283 int iptype; //enum ipv4v6_flag
284}TScriptMSG;
285#endif