gnss: update lynq gnss code
Change-Id: Ie688c6add5499c6362e2a6b355e6e61a60a23bbb
diff --git a/mbtk/include/lynq/lynq_gnss.h b/mbtk/include/lynq/lynq_gnss.h
old mode 100644
new mode 100755
index 9af6f6d..893f6a8
--- a/mbtk/include/lynq/lynq_gnss.h
+++ b/mbtk/include/lynq/lynq_gnss.h
@@ -12,11 +12,11 @@
#include "mbtk_gnss.h"
#include "mbtk_log.h"
-
-
typedef unsigned int Uint_t;
#define MOPEN_GNSS_NMEA_MAX_LENGTH 255 /* NMEA string maximum length. */
+#define QSER_LEN_MAX 128
+
typedef enum
{
E_MT_LOC_MSG_ID_LOCATION_INFO = 1, /**< pv_data = & mopen_location_info_t */
@@ -37,8 +37,13 @@
)/* lynq_AddRxIndMsgHandler_t*/;
typedef void (*gnss_async_func_t)(qser_gnss_error_e state);
-typedef void (*mbtk_gnss_nmea_func_t)(void *nmea_data, int nmea_data_len);
+typedef struct
+{
+ char host[QSER_LEN_MAX];
+ char id[QSER_LEN_MAX];
+ char passwd[QSER_LEN_MAX];
+}qser_agps_info;
typedef struct
{
@@ -83,8 +88,6 @@
DELETE_ALL = 5 /*删除所有*/
} DELETE_AIDING_DATA_TYPE_T;
-gnss_err_enum gnss_add_nmea_out_func(mbtk_gnss_nmea_func_t cb);
-
int qser_Gnss_Init (uint32_t *h_gnss);
int qser_Gnss_Deinit (uint32_t h_gnss);