[Feature] add GA346 baseline version
Change-Id: Ic62933698569507dcf98240cdf5d9931ae34348f
diff --git a/src/lynq/lib/liblynq-tele-ril/include/libtel/lib_tele.h b/src/lynq/lib/liblynq-tele-ril/include/libtel/lib_tele.h
new file mode 100644
index 0000000..acf28ac
--- /dev/null
+++ b/src/lynq/lib/liblynq-tele-ril/include/libtel/lib_tele.h
@@ -0,0 +1,51 @@
+#ifndef _LIB_TEL_H_
+#define _LIB_TEL_H_
+#include <sys/types.h>
+#include <vendor-ril/telephony/ril.h>
+//#include <msgqril/lib_thread.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+typedef struct{
+ int32_t token;
+ int32_t request;
+ RIL_Errno e;
+}lynqBase;
+typedef enum {
+ SUCCESS = 0,
+ ERROR = 1,
+}RIL_Errcode;
+
+typedef struct
+{
+ void (*recive_new_sms_cb)(RIL_SOCKET_ID soc_id,char *num, char *smsc, char *msg, int charset);
+ void (*incoming_call_cb)(RIL_SOCKET_ID soc_id,int index, char *addr, RIL_CallState state, int toa);
+}user_cb;
+
+extern user_cb *s_Env;
+
+
+/*
+struct RIL_Cb {
+ void (*requestResponse)(int32_t token,RIL_Errcode e,char*response,int responselen);
+ void (*unsolicitedResponse)(char *response,int responselen);
+}*/
+
+//typedef void (*requestResponse)(int32_t token,RIL_Errcode e,char*response,int responselen);
+typedef void (*requestResponse)(int32_t token,RIL_Errcode e,char *response);
+typedef void (*unsolicitedResponse)(int unsolResponse,char *response,int responselen);
+//void lynqRegisterRequestResponse(requestResponse cb);
+void lynqRegisterUnsolicitedResponse(user_cb * cb);
+void registerOnUnsolicitedResponse(user_cb* cb);
+
+int getRequestData(char **data, int lenth);
+int lynq_waitToRcvCmd(char **data, int lenth);
+void lynq_ril_init();
+void lynq_ril_deinit(void);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif