[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/app/include/other_msg.h b/ap/app/include/other_msg.h
new file mode 100755
index 0000000..5c29d84
--- /dev/null
+++ b/ap/app/include/other_msg.h
@@ -0,0 +1,285 @@
+/**
+ * @file other_msg.h
+ * @brief ÌṩÁËÆ½Ì¨ÄÚ²¿Ð¡Ä£¿éµÄÏûÏ¢ID£¬ÈçDM¡¢FOTA¡¢SNTPµÈ£¬at_ctl¡¢mainctlÕâÁ½¸ö×î»ù±¾µÄ¹¦ÄܵÄÏûÏ¢IDÑϽûÔڴ˶¨Òå
+ *
+ * Copyright (C) 2017 Sanechips Technology Co., Ltd.
+ * @author
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ */
+#ifndef __OTHER_MSG_H__
+#define __OTHER_MSG_H__
+
+/*******************************************************************************
+ *                           Include header files                              *
+ ******************************************************************************/
+#include"message.h"
+
+/*******************************************************************************
+ *                             Macro definitions                               *
+ ******************************************************************************/
+
+
+/*******************************************************************************
+ *                             Type definitions                                *
+ ******************************************************************************/
+
+/**
+ * @brief
+ */
+enum other_msg_cmd {
+
+	MSG_CMD_EMBMS_CTRL_CLOSE_SOCKET = MSG_CMD_OTHER_BASE,
+	MSG_CMD_LINKUP_END,    //zte_mainctrlÖ´ÐÐlinkup½Å±¾ºó£¬·¢ËÍÏûÏ¢¸øat_ctl
+	MSG_CMD_LINKDOWN_END,  //zte_mainctrlÖ´ÐÐlinkdown½Å±¾ºó£¬·¢ËÍÏûÏ¢¸øat_ctl
+	//MSG_CMD_V6ADDR_IND,//¶ÔÓ¦½á¹¹ÌåV6ADDR_INFORM£¬IPv6 PDP¼¤»îʱ£¬slaac»ñÈ¡µ½ipv6µØÖ·³É¹¦»òʧ°Üºó£¬·¢ËÍÏûÏ¢¸øat_ctl
+	MSG_CMD_DATA_START,  //Á÷Á¿Í³¼Æ
+	MSG_CMD_DATA_END,     //Á÷Á¿Í³¼Æ
+	MSG_CMD_PARENT_CONTROL_SET, //ÉèÖüҳ¤¿ØÖÆ
+	MSG_CMD_PARENT_CONTROL_CLOSE,                // ¹Ø±Õ¼Ò³¤¿ØÖÆ
+	MSG_CMD_SOFTTIMER_CREATE,
+	MSG_CMD_SOFTTIMER_DELETE,
+	MSG_CMD_SOFTTIMER_TIMEOUT,
+	MSG_CMD_LOCALUPDATE_START,
+	MSG_CMD_LOCALUPDATE_GET_RESULT,
+	MSG_CMD_SNTP_SET_MODE,                  //ÉèÖÃSNTPģʽ: ÊÖ¶¯¡¢×Ô¶¯
+	MSG_CMD_SNTP_SET_TIME,                  //ÉèÖÃSNTPʱ¼ä
+	MSG_CMD_SNTP_START,
+	MSG_CMD_SNTP_REGISTER, //ÐèҪ׼ȷʱ¼äµÄÓ¦ÓÃÏòsntp×¢²á
+	MSG_CMD_SNTP_UNREGISTER,
+	MSG_CMD_SNTP_SUCCESS,
+
+	/*¿ìËÙ¿ª»ú/¹Ø»ú֪ͨÏûÏ¢£¬Ã¶¾Ù¶ÔÓ¦¶Ë¿Ú*/
+	MSG_CMD_FASTPOWER_IND,
+	/*Ä£ÄâUSB²åÈë/°Î³ö*/
+	MSG_CMD_USBMOD_SETREQ,
+
+	//ÒÔÏÂΪоƬÈÏÖ¤ÏûÏ¢
+	MSG_CMD_SEND_ATCMD_STREAM_REQ,
+	MSG_CMD_SEND_ATCMD_STREAM_RSP,
+
+	/****************************ISMS*******************************/
+	MSG_CMD_ISMSSTART_REQ,	              //Æô¶¯ÖÇÄܶÌÐŽø³Ì
+	MSG_CMD_ISMSREADY_RSP,              	//ÖÇÄܶÌÐÅÆô¶¯Íê³É֪ͨ
+	MSG_CMD_ISMSINFO_REQ,                   //ÖÇÄܶÌÐŲéѯÇëÇó
+	MSG_CMD_ISMSDEL_REQ,                    //ɾ³ýÖ¸¶¨ÖÇÄܶÌÐÅÇëÇó
+	MSG_CMD_ISMSCLEAN_REQ,                  //Çå³ýÈ«²¿ÖÇÄܶÌÐÅÇëÇó
+	MSG_CMD_ISMSINFO_RSP,                  //ÖØÖÃÖÇÄܶÌÐÅÇëÇó(ÓëÇå³ý²Ù×÷Ò»Ñù)
+	MSG_CMD_ISMSUD_REQ,                     // ÉÏ´«ÖÕ¶ËÐÅÏ¢µÄÇëÇó
+
+	/***************************DM*********************************/
+	MSG_CMD_DM_CONFIG_REQ,                  //ÉèÖÃdm²¿·Ö¿ØÖÆÐÅÏ¢
+
+	/*************************ÊØ»¤±¦SAFECARE*************************/
+	MSG_CMD_SAFECARE_ONOFF_REQ,             //¿ªÆô»ò¹Ø±ÕÊØ»¤±¦¹¦ÄÜÇëÇó
+	MSG_CMD_SAFECARE_ONOFF_RSP,             //¿ªÆô»ò¹Ø±ÕÊØ»¤±¦¹¦ÄÜÏìÓ¦
+	MSG_CMD_SAFECARE_ACCOUNT_REQ,           //¿ª»§ÇëÇó
+	MSG_CMD_SAFECARE_ACCOUNT_RSP,           //¿ª»§ÏìÓ¦
+	MSG_CMD_SAFECARE_MOBSITE_REQ,           //·þÎñЭÒ鵨ַÇëÇó
+	MSG_CMD_SAFECARE_MOBSITE_RSP,           //·þÎñЭÒ鵨ַÏìÓ¦
+	MSG_CMD_SAFECARE_PLATLOCATION_REQ,      //ƽ̨¶¨Î»ÇëÇó
+	MSG_CMD_SAFECARE_PLATLOCATION_RSP,      //ƽ̨¶¨Î»ÏìÓ¦
+	MSG_CMD_SAFECARE_PERIOD_LOCATION_REQ,   //ÖÜÆÚ¶¨Î»ÇëÇó
+	MSG_CMD_SAFECARE_PERIOD_LOCATION_RSP,   //ÖÜÆÚ¶¨Î»ÏìÓ¦
+	MSG_CMD_SAFECARE_SMSNUM_REQ,            //ÉÏÐжÌÐźÅÂë»ñÈ¡ÇëÇó
+	MSG_CMD_SAFECARE_SMSNUM_RSP,            //ÉÏÐжÌÐźÅÂë»ñÈ¡ÏìÓ¦
+	MSG_CMD_SAFECARE_LOCATION_REQ,          //¶¨Î»ÇëÇó
+	MSG_CMD_SAFECARE_LOCATION_RSP,          //¶¨Î»ÏìÓ¦
+
+	MSG_CMD_SAFECARE_DATAUPDATE_REQ,        //¸üÐÂÈ«¾ÖÊý¾ÝÇëÇó
+	MSG_CMD_SAFECARE_DATAUPDATE_RSP,        //¸üÐÂÈ«¾ÖÊý¾ÝÏìÓ¦
+
+	MSG_CMD_SAFECARE_SOS_LOCATION_REQ,      //SOS¶¨Î»ÇëÇó
+	MSG_CMD_SAFECARE_SOS_LOCATION_RSP,      //SOS¶¨Î»ÏìÓ¦
+
+	MSG_CMD_SAFECARE_SENDKHSMS_REQ,         //ÇëÇó·¢ËÍ¿ª»§¶ÌÐÅ
+
+	MSG_CMD_SAFECARE_POWER_ONOFF_REQ,       //¿ªÆô»ò¹Ø±ÕÖÕ¶ËÇëÇó
+	MSG_CMD_SAFECARE_POWER_ONOFF_RSP,       //¿ªÆô»ò¹Ø±ÕÖÕ¶ËÏìÓ¦
+
+	/*K318 T¿¨Çл»Ê¹ÓõÄÏûÏ¢begin*/
+	MSG_CMD_UDISKSTAT_SET_REQ,             //ÉèÖÃÇëÇóÃüÁÇл»³ÉUÅÌģʽ/½ö³äµçģʽ
+	MSG_CMD_UDISKSTAT_SET_RSP,             //ÉèÖÃÃüÁîµÄ»Ø¸´£¬Çл»³ÉUÅÌģʽ/½ö³äµçģʽ
+	MSG_CMD_USBFLAG_STAT_REQ,              //²åÈë/°Î³öUSBÏßµÄ֪ͨÏûÏ¢
+	/*K318 T¿¨Çл»Ê¹ÓõÄÏûÏ¢end*/
+
+	/******************fotaÏà¹Ø*************************/
+	MSG_CMD_FOTAMANUAL_REQ,
+	MSG_CMD_FOTADL_REQ,
+	MSG_CMD_FOTADY_REQ,
+	MSG_CMD_FOTAVERSION_IND,
+	MSG_CMD_FOTAPKG_IND,
+	MSG_CMD_FOTARLT_IND,
+	MSG_CMD_FOTADLRESUME_IND,
+	MSG_CMD_FOTAUPRESUME_IND,
+
+	/******************fotaÏà¹Ø*************************/
+
+	MSG_GET_HOST_BY_NAME_SUCCESS, //»ñÈ¡hostÐÅÏ¢³É¹¦
+	MSG_GET_HOST_BY_NAME_TIMEOUT, //gehostbynameÐÅÏ¢³¬Ê±
+	
+	/*************************¹Ì¶¨Ì¨WiFi*************************/
+	MSG_CMD_WIFI_GET_STATE_REQ,				//»ñÈ¡WiFi״̬(¿ª¹Ø)ÇëÇó
+	MSG_CMD_WIFI_GET_STATE_RSP,				//»ñÈ¡WiFi״̬(¿ª¹Ø)»ØÓ¦
+	MSG_CMD_WIFI_GET_INFO_REQ,				//»ñÈ¡WiFiÐÅÏ¢(SSID¡¢ÃÜÂë¡¢°²È«Ä£Ê½)ÇëÇó
+	MSG_CMD_WIFI_GET_INFO_RSP,				//»ñÈ¡WiFiÐÅÏ¢(SSID¡¢ÃÜÂë¡¢°²È«Ä£Ê½)»ØÓ¦
+	MSG_CMD_WIFI_GET_USER_LIST_REQ,			//»ñÈ¡WiFiÓû§ÁбíÇëÇó
+	MSG_CMD_WIFI_GET_USER_LIST_RSP,			//»ñÈ¡WiFiÓû§ÁÐ±í»ØÓ¦
+	
+	MSG_CMD_WIFI_SET_ON_REQ,				//´ò¿ªWiFiÇåÇó
+	MSG_CMD_WIFI_SET_ON_RSP,				//´ò¿ªWiFi»ØÓ¦
+	MSG_CMD_WIFI_SET_OFF_REQ,				//¹Ø±ÕWiFiÇåÇó
+	MSG_CMD_WIFI_SET_OFF_RSP,				//¹Ø±ÕWiFi»ØÓ¦
+	MSG_CMD_WIFI_SET_SECURITY_REQ,			//ÉèÖÃWiFi°²È«Ä£Ê½¡¢SSID¡¢ÃÜÂëÇëÇó
+	MSG_CMD_WIFI_SET_SECURITY_RSP,			//ÉèÖÃWiFi°²È«Ä£Ê½¡¢SSID¡¢ÃÜÂë»ØÓ¦
+	MSG_CMD_WIFI_NOTIFY_CHARGER_STATUS,
+	MSG_CMD_WIFI_IS_READY,
+
+	/*************************¹Ì¶¨Ì¨Á÷Á¿¹ÜÀí*************************/
+	MSG_CMD_DATAMANAGER_SET_SWITCH_REQ,		 //ÉèÖÃÁ÷Á¿¹ÜÀí¿ª¹Ø´ò¿ªÇëÇó
+	MSG_CMD_DATAMANAGER_SET_SWITCH_RSP,     //ÉèÖÃÁ÷Á¿¹ÜÀí¿ª¹Ø´ò¿ª»ØÓ¦
+	MSG_CMD_DATAMANAGER_GET_INFO_REQ,		//»ñÈ¡ÒÑʹÓÃÁ÷Á¿¡¢×ÜÁ÷Á¿¡¢¸æ¾¯ÖµÇëÇó
+	MSG_CMD_DATAMANAGER_GET_INFO_RSP,		//»ñÈ¡ÒÑʹÓÃÁ÷Á¿¡¢×ÜÁ÷Á¿¡¢¸æ¾¯Öµ»ØÓ¦
+	MSG_CMD_DATAMANAGER_SET_TOTAL_REQ,		//ÉèÖÃ×ÜÁ÷Á¿ÇëÇó
+	MSG_CMD_DATAMANAGER_SET_TOTAL_RSP,		//ÉèÖÃ×ÜÁ÷Á¿»ØÓ¦
+	MSG_CMD_DATAMANAGER_SET_WARNVALUE_REQ,	//ÉèÖÃÁ÷Á¿¸æ¾¯ÖµÇëÇó
+	MSG_CMD_DATAMANAGER_SET_WARNVALUE_RSP,	//ÉèÖÃÁ÷Á¿¸æ¾¯Öµ»ØÓ¦
+	MSG_CMD_DATAMANAGER_REACH_WARNVALUE,	//Á÷Á¿Ê¹Óôﵽ×ÜÁ¿
+	MSG_CMD_DATAMANAGER_REACH_LIMIT,		//Á÷Á¿Ê¹Óôﵽ×ÜÁ¿
+	MSG_CMD_DATAMANAGER_FLUXSTAT_READY,		//Á÷Á¿Ä£¿éÆô¶¯Íê³É
+	MSG_CMD_PDPSTATUS_SET_SWITCH_REQ,       //ÉèÖÃÍøÂçÁ¬½Ó¿ª¹ØÍ¨Öª
+	MSG_CMD_PDPSTATUS_SET_SWITCH_RSP,       //ÉèÖÃÍøÂçÁ¬½Ó¿ª¹ØÏìÓ¦
+    /*BIPÏà¹Ø,BIPÄÚ²¿×Ô¼ºÊÕ·¢µÄÏûÏ¢*/
+    MSG_CMD_ID_BIP_AT_RCV, 
+    /*ËøÍøÏà¹ØµÄÏûÏ¢*/
+	MSG_CMD_LOCKLISTAUTH_REQ,
+	MSG_CMD_LOCKNETLIST_SET_REQ,
+	MSG_CMD_LOCKNETKEY_REQ,
+	MSG_CMD_LOCKNETAMTSTATUS_GET_REQ,
+	MSG_CMD_LOCKNETDIGEST_GET_REQ,
+	MSG_CMD_LOCKNETSIGN_SET_REQ,
+	MSG_CMD_LOCKNETLEVEL_GET_REQ,
+	MSG_CMD_LOCKNETLIST_GET_REQ,
+	MSG_CMD_LOCKNETAUTH_REQ,
+	MSG_CMD_LOCKNETUNLOCKTIMES_GET_REQ,
+	MSG_CMD_LOCKNETSTATUS_GET_REQ,
+	MSG_CMD_LOCKNETUNLOCK_REQ,
+	MSG_CMD_ZURDY_LOCKAUTH_REQ,
+};
+
+/**
+ * @brief DMÄ£¿é½ÓÊÕÏûÏ¢µÄÀàÐÍ
+ */
+enum dm_msg_cmd {
+	MSG_CMD_DMREG_INFO = MSG_CMD_DM_BASE,
+	MSG_CMD_DMREG_FLAG,
+	MSG_CMD_SEND_REGMSG
+};
+
+/**
+ * @brief FOTAÄ£¿é½ÓÊÕÏûÏ¢µÄÀàÐÍ
+ */
+typedef enum {
+
+	MSG_CMD_FOTA_DM_EVENT_START = MSG_CMD_FOTA_BASE,
+	MSG_CMD_FOTA_DM_CI_POLLING,
+	MSG_CMD_FOTA_DM_CI_REPORTING,        //Éý¼¶ºóÉϱ¨
+	MSG_CMD_FOTA_DM_UI_INIT_FOTA,
+	MSG_CMD_FOTA_DM_UI_CHANGE_PARA,  //WEBUI֪ͨDMÉèÖòÎÊý(Òþ²Ø²Ëµ¥)
+	MSG_CMD_FOTA_DM_NI_NIA,
+	MSG_CMD_FOTA_DM_NI_BOOTSTRAP,
+	MSG_CMD_FOTA_DM_MC_CHANGE_APN_SUCCEED,       //Ö÷¿ØÍ¨ÖªDMÇл»APN³É¹¦ÏûÏ¢
+	MSG_CMD_FOTA_DM_MC_CHANGE_APN_FAIL,  //Ö÷¿ØÍ¨ÖªDMÇл»APNʧ°ÜÏûÏ¢
+	MSG_CMD_FOTA_DM_MC_DATA_STATUS,      //Ö÷¿ØÍ¨ÖªDMÓÐÊý¾ÝÒµÎñ
+	MSG_CMD_FOTA_DM_MC_NODATA_STATUS,    //Ö÷¿ØÍ¨ÖªDMÎÞÊý¾ÝÒµÎñ
+	MSG_CMD_FOTA_DM_BSP_PROC_OK,         //bsp֪ͨDM´¦ÀíÍê³É
+	MSG_CMD_FOTA_DM_BSP_PROC_FAILED,     //bsp֪ͨDM´¦Àíʧ°Ü
+	MSG_CMD_FOTA_DM_WAKE_UP_OK,//»½ÐÑÉ豸³É¹¦
+	MSG_CMD_FOTA_DM_FALL_ASLEEP_OK,//É豸ÐÝÃß
+	MSG_CMD_FOTA_DM_POWER_ON,//±íʾdmÄ£¿éµÄÆô¶¯
+	MSG_CMD_FOTA_DM_DEVICE_IS_POWER_ON,//É豸´Ó¹Ø»ú»ò³äµçģʽ½øÈëÕý³£¿ª»ú
+	MSG_CMD_FOTA_DM_DEVICE_IS_POWER_OFF,//É豸ÕýÔÚ½øÐгäµçµÈ·ÇÕý³£×´Ì¬
+	MSG_CMD_FOTA_DM_QUERY_SLEEP_FROM_SLEEP_MODULE,//˯ÃßÄ£¿éÓøÃÏûÏ¢²éѯfotaÄܹ»Ë¯Ãß
+	MSG_CMD_FOTA_DM_IF_GET_VERSION_STATUS,
+	MSG_CMD_FOTA_DM_IF_GET_CUR_OPS,
+	MSG_CMD_FOTA_DM_IF_GET_UPDATE_CMD,
+	MSG_CMD_FOTA_DM_IF_SET_UPDATE_CMD,
+	MSG_CMD_FOTA_DM_IF_GET_DL_PROGRESS,
+	MSG_CMD_FOTA_DM_IF_GET_FOTA_PKG_INFO,
+	MSG_CMD_FOTA_DM_IF_GET_UPDATE_RESULT,
+	MSG_CMD_FOTA_DM_IF_GET_UPDATE_SETTINGS,
+	MSG_CMD_FOTA_DM_IF_SET_UPDATE_SETTINGS,
+
+	MSG_CMD_FOTA_WEBUI_START_FOTA,
+	MSG_CMD_FOTA_WEBUI_START_DOWNLOAD,
+	MSG_CMD_FOTA_WEBUI_CHANGE_PARAMETER,
+	MSG_CMD_FOTA_DM_START_UPDATE,
+
+	MSG_CMD_FOTA_DM_VERIFY,
+	MSG_CMD_FOTA_DM_DO_UPDATE,
+
+	MSG_CMD_FOTA_DM_ENEVT_END
+
+} E_DM_Event_Type;
+
+enum amt_device_test_msg_cmd  {
+	MSG_CMD_AMT_KEY_TEST_START_REQ   = MSG_CMD_AMT_DEVICE_TEST_BASE,			//¿ªÊ¼°´¼ü²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_KEY_TEST_START_RSP,				//¿ªÊ¼°´¼ü²âÊÔÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_KEY_TEST_STOP_REQ,				//Í£Ö¹°´¼ü²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_KEY_TEST_STOP_RSP,				//Í£Ö¹°´¼ü²âÊÔÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_LCD_TEST_START_REQ,				//¿ªÊ¼LCDÆÁÄ»²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_LCD_TEST_START_RSP,				//¿ªÊ¼LCDÆÁÄ»²âÊÔÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_LCD_TEST_STOP_REQ,				//Í£Ö¹LCDÆÁÄ»²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_LCD_TEST_STOP_RSP,				//Í£Ö¹LCDÆÁÄ»²âÊÔÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_BATTERY_VOLTAGE_TEST_REQ,		//µç³Øµçѹ²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_BATTERY_VOLTAGE_TEST_RSP,		//µç³Øµçѹ²âÊÔÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_LCD_BACKLIGHT_TEST_START_REQ,		//¿ªÊ¼LCD±³¹â²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_LCD_BACKLIGHT_TEST_START_RSP,		//¿ªÊ¼LCD±³¹â²âÊÔÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_LCD_BACKLIGHT_TEST_STOP_REQ,		//Í£Ö¹LCD±³¹â²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_LCD_BACKLIGHT_TEST_STOP_RSP,		//Í£Ö¹LCD±³¹â²âÊÔÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_VIBRATOR_TEST_START_REQ,		//¿ªÊ¼Âí´ï²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_VIBRATOR_TEST_START_RSP,		//¿ªÊ¼Âí´ï²âÊÔÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_VIBRATOR_TEST_STOP_REQ,		//Í£Ö¹Âí´ï²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_VIBRATOR_TEST_STOP_RSP,		//Í£Ö¹Âí´ï²âÊÔÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_CAMERA_TEST_START_REQ,		//¿ªÊ¼ÉãÏñÍ·²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_CAMERA_TEST_START_RSP,		//¿ªÊ¼ÉãÏñÍ·²âÊÔÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_CAMERA_TEST_STOP_REQ,		//Í£Ö¹ÉãÏñÍ·²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_CAMERA_TEST_STOP_RSP,		//Í£Ö¹ÉãÏñÍ·²âÊÔÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_SPEAKER_TEST_REQ,		//Âó¿Ë-À®°È»ØÂ·²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_SPEAKER_TEST_RSP,		//Âó¿Ë-À®°È»ØÂ·²âÊÔÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_SPEAKER_TEST_STOP_REQ,		//Âó¿Ë-À®°È»ØÂ·²âÊÔÍ£Ö¹ÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_SPEAKER_TEST_STOP_RSP,		//Âó¿Ë-À®°È»ØÂ·²âÊÔÍ£Ö¹ÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_RECEIVER_TEST_REQ,		//ÑïÉùÆ÷²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_RECEIVER_TEST_RSP,		//ÑïÉùÆ÷²âÊÔÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_RECEIVER_TEST_STOP_REQ,		//ÑïÉùÆ÷²âÊÔÍ£Ö¹ÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_RECEIVER_TEST_STOP_RSP,		//ÑïÉùÆ÷²âÊÔÍ£Ö¹ÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_TP_TEST_START_REQ,		//¿ªÊ¼´¥ÃþÆÁ²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_TP_TEST_START_RSP,		//¿ªÊ¼´¥ÃþÆÁ²âÊÔÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_TP_TEST_STOP_REQ,		//Í£Ö¹´¥ÃþÆÁ²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_TP_TEST_STOP_RSP,		//Í£Ö¹´¥ÃþÆÁ²âÊÔÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_GSENSOR_TEST_START_REQ,		//¿ªÊ¼G-Sensor²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_GSENSOR_TEST_START_RSP,		//¿ªÊ¼G-Sensor²âÊÔÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_GSENSOR_TEST_STOP_REQ,		//Í£Ö¹G-Sensor²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_GSENSOR_TEST_STOP_RSP,		//Í£Ö¹G-Sensor²âÊÔÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_WIFI_TEST_START_REQ,		//¿ªÊ¼wifi²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_WIFI_TEST_START_RSP,		//¿ªÊ¼wifi²âÊÔÏûÏ¢»ØÓ¦
+	MSG_CMD_AMT_FLASHLIGHT_START_REQ,       //¿ªÊ¼ÊÖµçͲ²âÊÔÏûÏ¢ÇëÇó
+	MSG_CMD_AMT_FLASHLIGHT_START_RSP,       //¿ªÊ¼ÊÖµçͲ²âÊÔÏûÏ¢»ØÓ¦
+};
+
+/*********************************************************************
+			¼Ò³¤¿ØÖÆÄ£¿éÏûÏ¢Ìå
+**********************************************************************/
+typedef struct {
+	char strAtCmd[128];
+	int deviceID;
+} PCS_MSG;
+
+typedef struct{
+	int cid;
+	int iptype;  //enum ipv4v6_flag
+}TScriptMSG;
+#endif