gnss: add gnss async api

Change-Id: I439e1e4c41cfdb17133ecdffae04201efa0eeef9
diff --git a/mbtk/include/lynq/lynq_gnss.h b/mbtk/include/lynq/lynq_gnss.h
index 6704b1e..95afb67 100755
--- a/mbtk/include/lynq/lynq_gnss.h
+++ b/mbtk/include/lynq/lynq_gnss.h
@@ -19,6 +19,11 @@
     E_MT_LOC_MSG_ID_NMEA_INFO = 3, /**< pv_data = & mopen_gnss_nmea_info_t */
 } e_msg_id_t;
 
+typedef enum {
+	QSER_GNSS_ERROR_SUCCESS = 0,
+    QSER_GNSS_ERROR_FAIL,
+} qser_gnss_error_e;
+
 typedef void (*gnss_handler_func_t)
 (
     Uint_t *h_loc,
@@ -27,6 +32,8 @@
     void *context_ptr //用于区分哪个返回的消息
 )/* lynq_AddRxIndMsgHandler_t*/;
 
+typedef void (*gnss_async_func_t)(qser_gnss_error_e state);
+
 typedef struct
 {
     int64_t     timestamp;                              /**<   System Timestamp, marked for when got the nmea data */
@@ -78,8 +85,12 @@
 
 int qser_Set_Indications (uint32_t h_gnss,e_msg_id_t type);
 
+int qser_Gnss_Set_Async_Callback(gnss_async_func_t cb);
+
 int qser_Gnss_Start (uint32_t h_gnss);
 
+int qser_Gnss_Start_Async(uint32_t h_gnss);
+
 int qser_Gnss_Stop (uint32_t h_gnss);
 
 int qser_Gnss_Set_Frequency(uint32_t h_gnss, int frequency);