[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/app/include/at_msg.h b/ap/app/include/at_msg.h
new file mode 100755
index 0000000..434faea
--- /dev/null
+++ b/ap/app/include/at_msg.h
@@ -0,0 +1,304 @@
+/**
+ * @file at_msg.h
+ * @brief ÌṩÁËÆ½Ì¨¶ÔÍâÏûÏ¢½Ó¿ÚºÍÏûÏ¢½á¹¹¶¨Òå
+ *
+ * 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 __AT_MSG_H__
+#define __AT_MSG_H__
+
+
+/*******************************************************************************
+ * Include header files *
+ ******************************************************************************/
+#include "message.h"
+
+
+/*******************************************************************************
+ * Macro definitions *
+ ******************************************************************************/
+/* ÏÂÃæÈý¸öÏûÏ¢ÊÇÂú×ã¿Í»§ÐèÇó£¬ÊµÏÖ¿Í»§appͨ¹ýÏûÏ¢Ö±½Ó·¢ËÍATÃüÁî¡£
+ ÔÀ´¶¨ÒåµÄÈý¸öÏûÏ¢Ãû²»ºÃÀí½â£¬µ«ÒѾÍâ·¢¸ø¿Í»§£¬²»ÔÙÐ޸ģ¬ÄÚ²¿Öض¨Òå³ÉºÃÀí½âµÄÏûÏ¢Ãû */
+#define MSG_CMD_SET_MSG_IS_FD MSG_CMD_AT_PORT_EXT
+#define MSG_CMD_SEND_ATREQ_BY_MSG MSG_CMD_AT_REQ
+#define MSG_CMD_SEND_ATRSP_BY_MSG MSG_CMD_AT_RSP
+
+
+/*******************************************************************************
+ * Type definitions *
+ ******************************************************************************/
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+/**
+ * @brief ƽ̨Íⲿ½Ó¿ÚÏûÏ¢½Ó¿Ú¶¨Òå
+ */
+enum at_msg_type {
+ AT_OUTER_MSG_BEG = MSG_CMD_ATCTL_BASE,
+
+ /*ͨ¹ý¸ÃÏûϢ֪ͨatctlÖ÷¿ØÍ¨¹ýÀ©Õ¹Ö÷¶¯Éϱ¨ATÃüÁîʵÏֺ˼äÄ£¿éÏûÏ¢´«µÝ*/
+ MSG_CMD_SOC_MSG_REQ,
+ MSG_CMD_AT_PORT_OPEN,//mux2USB²Ù×÷ MODULE_ID_DRVCOMMNGÄ£¿é·¢ËÍ
+ MSG_CMD_AT_PORT_CLOSE,//mux2USB²Ù×÷
+
+ MSG_CMD_CMUX_SET_REQ,
+ MSG_CMD_CMUX_SET_RSP,
+
+ MSG_CMD_ZSET_REQ,//TSP°æ±¾ÅäÖÃÉèÖÃ
+ MSG_CMD_ZSET_RSP,
+
+ /****************at_ctlÓëVOLTEÖ®¼äÏûÏ¢¶¨Òå*************************/
+ MSG_CMD_FD1_ATCTL_TO_VOLTE, //at_ctl·¢ËÍÇëÇóµ½VOLTE
+ MSG_CMD_FD1_VOLTE_TO_ATCTL, //VOLTE·µ»ØÇëÇóµÄÏìÓ¦»òÕß½«ÇëÇóÔ··µ»Ø
+ MSG_CMD_FD2_ATCTL_TO_VOLTE, //at_ctl·µ»ØÏìÓ¦µ½VOLTE
+ MSG_CMD_FD2_VOLTE_TO_ATCTL, //VOLTEÖ÷¶¯·¢ËÍÇëÇóµ½at_ctl
+ /**********************ÒÔÏÂΪPSÏà¹ØµÄÒµÎñÀàÇëÇó*********************************/
+ MSG_CMD_PPP_QUICK_DISCONNECT, //ÍøÂçÖ÷¶¯È¥¼¤»îʱ£¬ÓÉpppÄ£¿éÔÚlcpÐÉÌÍê³Éºó£¬Á¢¼´Í¨Öªat_ctl¶Ï¿ª²¦ºÅ//zhangfen ²»ÐèÒªat_ctl´¦Àí
+ MSG_CMD_QUERY_CSQ_REQ, //²éѯÐźÅÇ¿¶ÈÇëÇó
+ MSG_CMD_QUERY_SYSINFO_REQ, //sysinfo²éѯÇëÇó
+ MSG_CMD_QUERY_CEREG_REQ, //cereg²éѯÇëÇó
+ MSG_CMD_CSIM_AUTH_REQ, //csimÑéÖ¤ÇëÇó
+ MSG_CMD_CSIM_AUTH_RSP, //csimÑéÖ¤ÏìÓ¦
+ MSG_CMD_CARD_MODE_REQ, //¿¨Ä£Ê½Ê¶±ðÇëÇó
+ MSG_CMD_CARD_MODE_RSP, //¿¨Ä£Ê½Ê¶±ðÏìÓ¦
+ MSG_CMD_PIN_STATUS_REQ, //pinÂë״̬ÇëÇó
+ MSG_CMD_PIN_STATUS_RSP, //pinÂë״̬ÏìÓ¦
+ MSG_CMD_PIN_VERIFY_REQ, //pinÂëÑéÖ¤ÇëÇó
+ MSG_CMD_PIN_VERIFY_RSP, //pinÂëÑéÖ¤ÏìÓ¦
+ MSG_CMD_PIN_NUM_REQ, //pinÂëÊ£Óà´ÎÊý²éѯÇëÇó
+ MSG_CMD_PIN_NUM_RSP, //pinÂëÊ£Óà´ÎÊý²éѯÏìÓ¦
+ MSG_CMD_VERIFY_PIN_REQ, //webuiÇëÇópinÂëÑéÖ¤£¬¶ÔÓ¦½á¹¹ÌåT_zAt_CpinPukSet
+ MSG_CMD_VERIFY_PUK_REQ, //webuiÇëÇópukÂëÑéÖ¤,¶ÔÓ¦½á¹¹ÌåT_zAt_CpinPukSet
+ MSG_CMD_PIN_MANAGE_REQ, //webui pinÂë¹ÜÀí(´ò¿ª¡¢¹Ø±Õ¡¢ÐÞ¸Ä),¶ÔÓ¦½á¹¹ÌåT_zAt_PinManage
+ MSG_CMD_CRSM_REQ, //crsmÇëÇó
+ MSG_CMD_CRSM_RSP, //crsmÏìÓ¦
+ MSG_CMD_CIMI_REQ, //imsi²éѯÇëÇó
+ MSG_CMD_CIMI_RSP, //imsi²éѯÏìÓ¦
+ MSG_CMD_AIRMODE_SET_REQ, //½ø³ö·ÉÐÐģʽÉèÖÃ(1½ø,0³ö)
+ MSG_CMD_NET_SELECT_REQ, //webuiÑ¡ÔñÍøÂç(×Ô¶¯ËÑÍø¡¢ÊÖ¶¯ËÑÍø)
+ MSG_CMD_NETWORK_SET_REQ, //ÊÖ¶¯ËÑÍøºó£¬Ñ¡ÔñÍøÂç×¢²á
+ MSG_CMD_USSD_SET_REQ, //USSDÉèÖÃÇëÇó
+ MSG_CMD_USSD_CANCEL_REQ, //USSDÈ¡ÏûÇëÇó
+ MSG_CMD_CELL_LOCK_REQ, //LTEÏÂËø»ò½âËøÆµÇëÇó,WEBUIÔÝʱûÓÐÕâ¸ö¹¦ÄÜ
+ MSG_CMD_IMEI_REQ, //imeiºÅ²éѯÇëÇó
+ MSG_CMD_GET_MAC_REQ, //macµØÖ·»ñÈ¡
+
+ MSG_CMD_AT_PORT_EXT, //´ò¿ªÎ±atͨµÀ£¬atͨµÀ¾ä±úµÈÓÚÄ£¿éID
+ MSG_CMD_AT_REQ, //ÒÔÏûÏ¢·½Ê½·¢ËÍATÃüÁîÇëÇó
+ MSG_CMD_AT_RSP, //ÒÔÏûÏ¢·½Ê½·¢ËÍATÃüÁîÏìÓ¦
+ MSG_CMD_SEND_AT_TO_PS, //ÓÃÓÚ·¢ËÍÇëÇóAT×Ö·û´®¸øPS
+ MSG_CMD_SEND_REQAT_TO_FARPS, //Ó¦Ó÷¢ËÍÇëÇóAT×Ö·û´®¸øÍⲿMCU
+ MSG_CMD_SEND_AT_MSG_RSP, //¾ßÌåÓ¦ÓÃÄ£¿é·¢Ë͵ÄATÇëÇóÏûÏ¢¶ÔÓ¦µÄÓ¦´ðÏûÏ¢£¬°üÀ¨²éѯÖмä½á¹ûµÄÉϱ¨
+
+ MSG_CMD_SEND_REQ_TO_APP, //at_ctl½«Íⲿ·¢Ë͵ÄATÇëÇóÖ±½Ó͸´«¸øÓ¦ÓÃ
+ MSG_CMD_SEND_RSP_TO_OUTSIDE, //¹©Ó¦Ó÷¢ËÍ͸´«×Ö·û´®¸øÎïÀíͨµÀ£¬Ò»°ãÓÃÓÚ·¢ËÍÓ¦´ðAT×Ö·û´®¸øÍⲿMCU //sunquan1130
+
+
+
+ MSG_CMD_ZVERSION_REQ, //version²éѯÇëÇó zhangfen ´ýɾ³ý£¬ÏÖÔÚÓпª»ú´ÓCPͬ²½°æ±¾ºÅµ½AP£¬²»ÐèÒª²éѯÁË
+
+ MSG_CMD_PPP_AUTH_REQ, //ppp²¦ºÅ(δʵÏÖ) //zhangfen ´ýɾ³ý
+ MSG_CMD_PPP_DEAUTH_REQ, //pppÈ¥²¦ºÅ(δʵÏÖ) //zhangfen ´ýɾ³ý
+
+ MSG_CMD_APN_SET_REQ, //apnÉèÖÃÇëÇó//zhangfen at_ctlûÓÐ×¢²áÕâ¸öÏûÏ¢£¬È·¶¨ÐèÒª?
+
+
+ MSG_CMD_ZSODCP_REQ, //zhangfen ²»ÖªµÀÓÃ;£¬Ã»ÓÐʹÓà ´ýɾ³ý
+ MSG_CMD_EXT_ZSODCP_REQ, //zhangfen ²»ÖªµÀÓÃ;£¬Ã»ÓÐʹÓà ´ýɾ³ý
+
+ MSG_CMD_MDMVERSION_REQ,//MBBÀ©Õ¹at:²éѯmodem°æ±¾ºÅ
+ MSG_CMD_MDMVERSION_RSP,
+ MSG_CMD_LTE_TECH_REQ, //zeact LTE×ÓÖÆÊ½Ñ¡Ôñ
+ MSG_CMD_LTE_TECH_RSP,
+ MSG_CMD_NITZ_REQ, //ʱ¼äͬ²½
+ MSG_CMD_NITZ_RSP,
+ MSG_CMD_AMRWB_REQ, //VOLTE¸ßÇåÓïÒô
+ MSG_CMD_AMRWB_RSP,
+ /**********************ÒÔÏÂΪ·ÇPSÏà¹ØµÄÒµÎñÀàÇëÇó*******************************/
+ MSG_CMD_SYCTIME_SET_REQ, //cp²àʱ¼äÉèÖÃÇëÇó
+
+ MSG_CMD_FORCE_RAMDUMP_REQ, //Ç¿ÖÆËÀ»úÇëÇó zhangfen ûÓÐʹÓ㬴ýɾ³ý
+ MSG_CMD_UNLOCK_REQ, //½âËøÍøÇëÇó zhangfen WEBUIÓз¢ËÍ,at_ctlûÓд¦Àí£¬´ýɾ³ý
+
+ MSG_CMD_SSID_SET_REQ, //zhangfen SSIDºÅ±£´æÔÚCP²àNV£¬¶ÔÓ¦À©Õ¹ATÃüÁîAT+SSID=XXдCPµÄNV£¬ÈôNVÒÆµ½AP£¬¸ÃÏûÏ¢¿Éɾ³ý
+ MSG_CMD_SSID_SET_RSP, //zhangfen ´ýɾ³ý
+ MSG_CMD_WIFIKEY_SET_REQ, //zhangfen WIFIKEY±£´æÔÚCP²àNV£¬ÈôNVÒÆµ½AP£¬´ËÏûÏ¢¿ÉÒÔɾ³ý
+ MSG_CMD_WIFIKEY_SET_RSP, //zhangfen ͬÉÏ
+
+ /**********************ÒÔÏÂΪPSÏà¹ØµÄÖ÷¶¯Éϱ¨ÏûÏ¢ºê***********************************/
+ MSG_CMD_SIM_ABNORMAL_IND, //¿ª»ú²éѯÎÞ¿¨£¬¿¨Ë𻵣¬ÐèÒªPIN¡¢PUKʱÉϱ¨
+ MSG_CMD_PDP_STATUS_IND, //PDPÁ´Â·×´Ì¬Ö¸Ê¾ "1"PDP¼¤»î "0"PDPÈ¥¼¤»î
+ MSG_CMD_ZPBIC_IND, //¿¨³õʼ»¯Íê³ÉÉϱ¨ ¶ÔÓ¦½á¹¹ÌåT_zAt_ZpbicRes
+ MSG_CMD_ZUSLOT_IND, //¿¨²å°ÎÐÅÏ¢Éϱ¨ ¶ÔÓ¦½á¹¹ÌåT_zAt_ZuslotRes
+ MSG_CMD_CREG_IND, //ÍøÂç×¢²á³É¹¦ÏûÏ¢Éϱ¨£¬creg_stat=1 or 5
+
+
+ /**********************ÒÔÏÂΪpsÏà¹ØµÄ·þÎñ¶ËÇëÇóÏûÏ¢ºê***********************************/
+ SERVER_BASE,
+
+ SERVER_END,
+
+ /**********************ÒÔÏÂΪ·ÇPSÏà¹ØµÄ·þÎñ¶ËÇëÇóÏûÏ¢ºê*************************/
+ EXTAT_SERVER_BASE,
+
+ EXTAT_SERVER_END,
+
+ /**********************ÒÔÏÂΪ²»È·¶¨²¿·Ö,δʹÓ㬴ýɾ³ý*************************/
+ MSG_CMD_WEB_REQ_RESET_MODEM, //Ôݲ»È·¶¨
+ MSG_CMD_WEB_REQ_SERAILPORT_ON, //Ôݲ»È·¶¨
+ MSG_CMD_WEB_LOG_DIRECTION, //Ôݲ»È·¶¨
+ MSG_CMD_SIM_INIT_READY, //Ôݲ»È·¶¨,ÇëÒÆÖÁwifi
+ MSG_CMD_WEB_REQ_TCARDSET, //t¿¨ÉèÖã¬Ôݲ»È·¶¨
+ MSG_CMD_GET_LOG_DIR, //Ôݲ»È·¶¨
+ MSG_CMD_GET_LOG_DIR_OK, //Ôݲ»È·¶¨
+
+
+ /***************¶ÌÐÅÏà¹Ø begin******************************/
+ MSG_CMD_SENDSMS_REQ, //·¢ËͶÌÐÅÇëÇó ¶ÔÓ¦½á¹¹ÌåT_zSms_SendSmsReq
+ MSG_CMD_SENDSMS_RSP,
+ MSG_CMD_DELSMS_REQ, //ɾ³ý¶ÌÐÅÇëÇó ¶ÔÓ¦½á¹¹ÌåT_zSms_DelSmsReq
+ MSG_CMD_DELSMS_RSP,
+ MSG_CMD_STORAGE_CAP_REQ, //ÉÏ²ã´æ´¢ÄÜÁ¦ÇëÇó ¶ÔÓ¦½á¹¹ÌåT_zSms_StroageReq
+ MSG_CMD_STORAGE_CAP_RSP,
+ MSG_CMD_MODIFY_TAG_REQ, //Ð޸ĶÌÐÅ״̬ΪÒѶÁ ¶ÔÓ¦½á¹¹ÌåT_zSms_ModifyTagReq
+ MSG_CMD_MODIFY_TAG_RSP,
+ MSG_CMD_READSMS_REQ, //¶Á¶ÌÐÅÇëÇó ¶ÔÓ¦½á¹¹ÌåT_zSms_ReadSmsReq
+ MSG_CMD_READSMS_RSP, //¶Á¶ÌÐÅÏìÓ¦
+ MSG_CMD_SCA_SET_REQ, //SCAÉèÖÃÇëÇó ¶ÔÓ¦½á¹¹ÌåT_zSms_SetScaReq
+ MSG_CMD_SCA_SET_RSP,
+ MSG_CMD_NOTIFY_SET_REQ, //¶ÌÐÅ֪ͨģʽÉèÖà ¶ÔÓ¦½á¹¹ÌåT_zSms_NotifySetReq
+ MSG_CMD_NOTIFY_SET_RSP,
+ MSG_CMD_SMSACK_REQ, //È·È϶ÌÐÅ ¶ÔÓ¦½á¹¹ÌåT_zSms_SmsAckReq
+ MSG_CMD_SMSACK_RSP,
+ MSG_CMD_SMSINIT_REQ, //¶ÌÐÅÄ£¿é³õʼ»¯
+ MSG_CMD_SMSINIT_RSP,
+
+ MSG_CMD_NEWSMS_IND, //жÌÐÅÉϱ¨ ¶ÔÓ¦½á¹¹ÌåT_zSms_SmsInd
+ MSG_CMD_NEWSMS_STATUS_IND, //жÌÐÅ״̬Éϱ¨ ¶ÔÓ¦½á¹¹ÌåT_zSms_SmsInd
+ MSG_CMD_NEWSMS_INDEX_IND, //жÌÐÅindexÉϱ¨ ¶ÔÓ¦½á¹¹ÌåT_zSms_SmsIndexInd
+ MSG_CMD_NEWSMS_STATUS_INDEX_IND,//жÌÐÅ״̬±¨¸æµ½´ïָʾ ¶ÔÓ¦½á¹¹ÌåT_zSms_SmsIndexInd
+ MSG_CMD_ZMGR_IND, //¶Á¶ÌÐÅÖмäÄÚÈÝÖ÷¶¯Éϱ¨ ¶ÔÓ¦½á¹¹ÌåT_zSms_SmsInd
+ MSG_CMD_CSCA_IND, //¶ÌÐÅÖÐÐĽá¹ûÉϱ¨ ¶ÔÓ¦½á¹¹ÌåT_zSms_CscaInd
+ MSG_CMD_ZMGL_IND, //¶ÌÐÅÁбíÐÅÏ¢Éϱ¨ ¶ÔÓ¦½á¹¹ÌåT_zSms_SmsInd
+ MSG_CMD_CPMS_IND, //¶ÌÐÅ´æ´¢ÇøÒÑÓúÍ×ÜÈÝÁ¿Éϱ¨ ¶ÔÓ¦½á¹¹ÌåT_zSms_CpmsInd
+ /**************¶ÌÐÅÏà¹Ø end**************************/
+
+ /***ÃûƬ¼ÐÏà¹Ø begin****/
+ MSG_CMD_READ_PB_REQ,//¶ÁÈ¡µ¥ÌõÃûƬ¼ÐÇëÇó
+ MSG_CMD_READ_PB_RSP,//¶ÁÈ¡µ¥ÌõÃûƬ¼Ð»Ø¸´
+ MSG_CMD_ADD_MODIFY_PB_REQ,//Ð޸ĵ¥ÌõÃûƬ¼ÐÇëÇó
+ MSG_CMD_ADD_MODIFY_PB_RSP,//Ð޸ĵ¥ÌõÃûƬ¼Ð»Ø¸´
+ MSG_CMD_DELETE_PB_REQ,//ɾ³ýÃûƬ¼ÐÇëÇó
+ MSG_CMD_DELETE_PB_RSP,//ɾ³ýÃûƬ¼Ð»Ø¸´
+ MSG_CMD_PBINIT_REQ,//³õʼ»¯ÃûƬ¼ÐÇëÇó
+ MSG_CMD_PBINIT_RSP,//³õʼ»¯ÃûƬ¼Ð»Ø¸´
+ MSG_CMD_CPBS_IND,//²éѯpbÐÅÏ¢µÄ×Ü´æ´¢Æ÷¸öÊý¡¢ÒÑÓô洢Æ÷¸öÊýÐÅÏ¢
+ MSG_CMD_SCPBR_IND,//²éѯpbµÄÈÝÁ¿¼°´æ´¢ÀàÐÍ
+ MSG_CMD_SCPBR_READ_IND,//²éѯµ¥ÌõpbÐÅÏ¢Öмä¹ý³ÌÉϱ¨
+ /***ÃûƬ¼ÐÏà¹Ø end****/
+
+ //Ìṩ¸øccappʹÓÃ
+ MSG_CMD_ATD_DIAL_REQ,
+ MSG_CMD_ATD_DIAL_RSP,
+ MSG_CMD_ATA_REQ,
+ MSG_CMD_ATA_RSP,
+ MSG_CMD_CHUP_REQ,
+ MSG_CMD_CHUP_RSP,
+ MSG_CMD_VTS_REQ,
+ MSG_CMD_VTS_RSP,
+ MSG_CMD_ZIMSPLUS_REQ,
+ MSG_CMD_ZIMSPLUS_RSP,
+ MSG_CMD_CCFC_REQ,
+ MSG_CMD_CCFC_RSP,
+ MSG_CMD_CHLD_REQ,
+ MSG_CMD_CHLD_RSP,
+ MSG_CMD_CLCK_REQ,
+ MSG_CMD_CLCK_RSP,
+ MSG_CMD_SET_VPLOOP_REQ,
+ /****************/
+ //Ìṩ¸øccappʹÓÃ
+ MSG_CMD_DSCI_IND,
+ MSG_CMD_ZIMSPLUS_IND,
+ MSG_CMD_ZCPI,
+ MSG_CMD_ZVOICECHNL,
+
+ MSG_CMD_MODEMREG_INFO_REQ, //ÊÕµ½ZPBICºó´¥·¢ÐÒéÕ»¹Ì¶¨ÐÅÏ¢»ñȡʼþÁ´ZICCID CIMI CNUM
+ MSG_CMD_MODEMREG_INFO_RSP,
+ MSG_CMD_ROAM_STATUS_IND, //ÂþÓÎ״̬·¢Éú±ä»¯Ö¸Ê¾
+
+ /******************Ö÷¶¯Éϱ¨¼°Öмä½á¹ûÉϱ¨********************/
+ MSG_CMD_AUTO_RSP,
+
+ /***************************NV******************************/
+ MSG_CMD_SYNC_NV_REQ, //AP²à·¢ÆðNVͬ²½ÇëÇ󣬽«nvͬ²½µ½CP
+
+
+ /***************************AT_CTL******************************/
+ MSG_CMD_DATASWITCH_ON_REQ, //CPÊý¾Ý¿ª¹Ø(²¦ºÅÉÏÍø)֪ͨAP
+ MSG_CMD_DATASWITCH_OFF_REQ, //CPÊý¾Ý¿ª¹Ø(È¥²¦ºÅ)֪ͨAP
+
+ MSG_CMD_AT_FILTER_REQ, //AP֪ͨCPÐèÒª¹ýÂËÖ÷¶¯Éϱ¨µÄATÃüÁî
+ MSG_CMD_SYNC_ATCMD_STREAM, //AP²à·¢ÆðNVͬ²½£¬ÒòATÃüÁîÁ÷½Ï³¤ÇÒÃüÁ˫ÒýºÅ£¬µ¥¶Àͬ²½
+
+/**------------------------ÒÔÏÂÊÇOPENCPUµÄÏûÏ¢ID-----------------------------**/
+ MSG_CMD_PDP_ACT_REQ, //pdp¼¤»îÒµÎñÇëÇ󣬶ÔÓ¦½á¹¹ÌåAT_PDP_ACT_INFO
+ MSG_CMD_PDP_ACT_RSP, //pdp¼¤»îÒµÎñÏìÓ¦£¬¶ÔÓ¦½á¹¹ÌåAT_PDP_ACT_RSP
+ MSG_CMD_PDP_DEACT_REQ, //pdpÈ¥¼¤»îÒµÎñÇëÇ󣬶ÔÓ¦½á¹¹ÌåAT_PDP_DEACT_INFO
+ MSG_CMD_PDP_DEACT_RSP, //pdpÈ¥¼¤»îÒµÎñÏìÓ¦£¬¶ÔÓ¦½á¹¹ÌåAT_PDP_DEACT_RSP
+ MSG_CMD_PDP_DEACT_IND, //pdpÍøÂç²àÈ¥¼¤»îָʾ£¬ÏûϢЯ´øÈ¥¼¤»îµÄcidºÅ
+/**--------------------------------------------------------------------------**/
+ MSG_CMD_QUERY_CGDCONT_REQ, //оƬÈÏÖ¤°æ±¾²éѯcgdcontÏûÏ¢
+ MSG_CMD_ZUTR_REQ, //´¦ÀízupciµÄÏìÓ¦
+ MSG_CMD_QUERY_CGCONTRDP_REQ, //CGCONTRDP²éѯÇëÇó
+ MSG_CMD_ROAM_SET_REQ, //webuiÑ¡Ôñroam
+ MSG_CMD_ZCARDSWITCHIND_IND, //ZCARDSWITCHIND
+ MSG_CMD_VSIMDEBUG_IND, //VSIMDEBUG
+};
+#endif
+
+typedef struct {
+ int result; //´¦Àí½á¹û
+ int errcode; //´íÎóÂë
+ unsigned short msg_cmd;//ÏûÏ¢ÀàÐÍ
+ int extcid; //channel
+ int act_type; // 0 È¥¼¤»î 1 ¼¤»î
+ char ip[128];//ip
+ int urc_switch; //0 ¹Ø±ÕÖ÷¶¯Éϱ¨ 1 ´ò¿ªÖ÷¶¯Éϱ¨
+} AT_COMM_RSPMSG;
+
+//¶ÔÓ¦ÏûÏ¢MSG_CMD_SEND_AT_MSG_REQ
+struct app_send_req_at{
+ char atstr[MSG_DATA_MAX_LEN-12];
+ int str_len;//¸Ã±äÁ¿ÎªÁ˽â¾ö¶þ½øÖÆÂëÁ÷µÄÖ±½Ó·¢ËÍ£¬ÎÞ·¨Ö±½ÓʹÓÃstrlen
+ int timeout;
+};
+
+
+/*ÉϲãÓ¦ÓÃÐèÒªÒÔÏûÏ¢ÐÎʽ·¢ËÍÖ÷¶¯Éϱ¨ÃüÁîµ½Íⲿmcu*/
+typedef struct {
+ char autorsp_cmd[MSG_DATA_MAX_LEN-8]; //Êý×鳤¶ÈÊÇÏûÏ¢ÄÚÈÝ×î´ó³¤¶È¼õ2*intÀàÐ͵ij¤¶È
+ int len;
+} AT_AUTORSP_INFO;
+
+/*ÉϲãÓ¦Óô¦ÀíÍê͸´«Êý¾ÝºóµÄÏìÓ¦ÏûÏ¢*/
+typedef struct {
+ char rsp_cmd[MSG_DATA_MAX_LEN - 8];
+ int len;
+} AT_PASSTHROUGH_RSP;
+
+/* ¶ÔÓ¦VOLTEÓëAT_CTLÖ®¼ä½»»¥µÄÏûÏ¢MSG_CMD_FD2_VOLTE_TO_ATCTL/MSG_CMD_FD2_ATCTL_TO_VOLTE */
+typedef struct
+{
+ char msg_data[MSG_DATA_MAX_LEN-12];
+ int msg_len;
+ int at_fd;
+}VOLTE_MSG_DATA;
+
+
+#endif
+