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

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/app/zte_amt/amt_func_test.h b/ap/app/zte_amt/amt_func_test.h
new file mode 100755
index 0000000..f4eb2ff
--- /dev/null
+++ b/ap/app/zte_amt/amt_func_test.h
@@ -0,0 +1,78 @@
+/**

+ * 

+ * @file      amt_func_test.h

+ * @brief     

+ *            This file is part of FTM.

+ *            AMT´úÀíÓ¦Óòã

+ *            

+ * @details   

+ * @author    Tools Team.

+ * @email     

+ * @copyright Copyright (C) 2013 Sanechips Technology Co., Ltd.

+ * @warning   

+ * @date      2020/11/25

+ * @version   1.1

+ * @pre       

+ * @post      

+ *            

+ * @par       

+ * Change History :

+ * ---------------------------------------------------------------------------

+ * date        version  author         description

+ * ---------------------------------------------------------------------------

+ * 2020/11/25  1.0      liu.xin       Create file

+ * ---------------------------------------------------------------------------

+ * 

+ * 

+ */

+

+#ifndef _AMT_FUNC_TEST_H

+#define _AMT_FUNC_TEST_H

+

+//´®¿Ú²âÊÔ

+#define FID_OPEN_UART           (FID_FUN_TEST_START + 6)

+#define FID_CLOSE_UART          (FID_FUN_TEST_START + 7)

+#define UART0_DEV    "/dev/ttyS0"

+#define UART1_DEV    "/dev/ttyS1"

+#define UART2_DEV    "/dev/ttyS2"

+#define MAX_UART_DATA_LENGTH  (1024)

+

+

+

+

+

+

+

+/**

+ * @brief AMTÍâÉè²âÊÔ³õʼ»¯

+ * @return ³É¹¦·µ»Ø0, ʧ°Ü·µ»Ø-1

+ * @note

+ * @see 

+ */

+int Amt_FuncTest_Init(void);

+

+/**

+ * @brief AMTÍâÉèÏûÏ¢´¦Àíº¯Êý

+ * @param[in] msg_id FID

+ * @param[in] msg_buf ½ÓÊÕÊý¾Ýbuffer

+ * @param[in] msg_len ½ÓÊÕÊý¾Ýbuffer³¤¶È

+ * @return ³É¹¦·µ»Ø0, ʧ°Ü·µ»Ø-1

+ * @note

+ * @see 

+ */

+int Amt_FuncTest_ProcessMsg(unsigned int msg_id, unsigned char *msg_buf, unsigned int msg_len);

+

+/**

+ * @brief AMTÍâÉèÏûÏ¢·´À¡¸øPC

+ * @param[in] msg_id FID

+ * @param[in] result ״̬Âë

+ * @param[in] msg_buf ½ÓÊÕÊý¾Ýbuffer

+ * @param[in] msg_len ½ÓÊÕÊý¾Ýbuffer³¤¶È

+ * @return ³É¹¦·µ»Ø0, ʧ°Ü·µ»Ø-1

+ * @note

+ * @see 

+ */

+int Amt_FuncTest_SendMsg(unsigned int msg_id, int result, unsigned char *msg_buf, unsigned int msg_len);

+

+#endif

+