[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_reg.h b/ap/app/include/at_reg.h
new file mode 100755
index 0000000..107b571
--- /dev/null
+++ b/ap/app/include/at_reg.h
@@ -0,0 +1,48 @@
+/**
+ * @file at_reg.h
+ * @brief Ìṩat_ctlÄ£¿é¿Í»§¶ËºÍ·þÎñ¶Ë×¢²á½Ó¿Ú
+ *
+ * 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_REG_H__
+#define __AT_REG_H__
+
+/*******************************************************************************
+ * Type definitions *
+ ******************************************************************************/
+
+
+
+/**
+ * @brief ·¢ÍùPS,atÉÏÏÂÎĺÍatͨµÀµÄpositionΪNEAR_PS£¬Ô¶ÀëPS²àatÉÏÏÂÎĺÍatͨµÀµÄpositionΪFAR_PS
+ * ָʾCPUºËÄÚµÄATͨµÀµÄ·½Î»£¬ÒÔPSÐÒéÕ»µÄÔ¶½ü×÷Ϊ²ÎÕÕÎï¡£
+ * @param NEAR_PS ¿¿½üPSÐÒéÕ»²àµÄATͨµÀ£¬ÀýÈçAPºËÄÚ¹²ÏíDDRÐéÄâµÄATͨµÀ
+ * @param FAR_PS Ô¶ÀëPSÐÒéÕ»µÄATͨµÀ£¬ÀýÈçAPºËÄÚUSBö¾ÙµÄATͨµÀ,uartͨµÀ
+ * @param POSITION_VOLTE ÓëvolteÄ£¿éͨÐŵÄptyͨµÀλÖÃ
+ * @param POSITION_MAX ÉÏÏÞºê
+ */
+enum at_channel_site {
+ FAR_PS = 0, //Ô¶ÀëPSÐÒéÕ»µÄATͨµÀ£¬ÀýÈçAPºËÄÚUSBö¾ÙµÄATͨµÀ
+ NEAR_PS, //¿¿½üPSÐÒéÕ»²àµÄATͨµÀ£¬ÀýÈçAPºËÄÚ¹²ÏíDDRÐéÄâµÄATͨµÀ
+ POSITION_VOLTE, //ÓëvolteÄ£¿éͨÐŵÄptyͨµÀλÖÃ
+ POSITION_MAX, //ÉÏÏÞºê
+};
+
+/*******************************************************************************
+ * Global function declarations *
+ ******************************************************************************/
+/**
+ µçÐÅÖ÷¿Ø·¢ËÍÇëÇóµÄÓ¦´ð½á¹û¸øÍⲿ£¬µ±Ä¿±êÄ£¿éIDΪ¾ä±úʱ£¬×é×°Ó¦´ðATÃüÁîдATͨµÀ£»·ñÔò·¢ËÍÏûÏ¢¸øÄ¿±êÄ£¿é
+ */
+int send_rsp_msg(int dst_id, unsigned short req_cmd, unsigned short rsp_cmd, unsigned short datalen, unsigned char *pData);
+
+#endif
+
+