[Feature] add GA346 baseline version
Change-Id: Ic62933698569507dcf98240cdf5d9931ae34348f
diff --git a/packages/apps/lynq-function-test/src/function_common.h b/packages/apps/lynq-function-test/src/function_common.h
new file mode 100644
index 0000000..42a0c7d
--- /dev/null
+++ b/packages/apps/lynq-function-test/src/function_common.h
@@ -0,0 +1,44 @@
+/*=============================================================================
+** FileName: function_common.h
+** Desc: about function test
+** Author: Warren
+** Version: V1.0
+** LastChange: 2021-02-26
+** History:
+=============================================================================*/
+
+
+#ifndef FUNCTION_COMMON_H
+#define FUNCTION_COMMON_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+ #include "liblog/liblog.h"
+ #include "liblog/lynq_deflog.h"
+#ifdef __cplusplus
+}
+#endif
+typedef enum{
+ MENU_INPUT_ERROR=0,
+ MODULE_INPUT_ERROR,
+ API_INPUT_ERROR,
+ INVALID_CMD,
+}COMMAND_ERROR;
+typedef struct {
+ char *name; /* User printable name of the function. */
+ int (*func)(char **param); /* Function to call to do the job. */
+ char *doc;
+} RIL_COMMAND;
+RIL_COMMAND*find_command (char *name,RIL_COMMAND *Class);
+
+void set_timer(int it_interval_sec, int it_interval_usec,int it_value_sec,int it_value_usec);
+int sleep_with_restart(int second);
+int millli_sleep_with_restart(int millisecond);
+
+char* getMenu(char * str,char *argv[]);
+int parseParameters(char *str,char *argv[]);
+//int getParam(char * str,char *argv[]);
+//int removeTage(const int length,char* argv[]);
+
+#endif
\ No newline at end of file