Fix mbtk_gnssd setting.
Change-Id: I3fc4664ff357f869466ee5aaf1648658493c64c8
diff --git a/mbtk/mbtk_gnssd/gnss_info.h b/mbtk/mbtk_gnssd/gnss_info.h
index 78662a9..51b4421 100755
--- a/mbtk/mbtk_gnssd/gnss_info.h
+++ b/mbtk/mbtk_gnssd/gnss_info.h
@@ -19,6 +19,34 @@
#define GNSS_PRINT_PORT_USB_AT (1<<2) // 4
#define GNSS_PRINT_PORT_TTY_AT (1<<3) // 8
+#define GNSS_SET_SYSCFG_GPS (1)
+#define GNSS_SET_SYSCFG_BDS (1<<1)
+#define GNSS_SET_SYSCFG_GLO (1<<2)
+#define GNSS_SET_SYSCFG_GAL (1<<3)
+
+#define GNSS_SET_MSGCFG_RMC (1)
+#define GNSS_SET_MSGCFG_VTG (1<<1)
+#define GNSS_SET_MSGCFG_GGA (1<<2)
+#define GNSS_SET_MSGCFG_GSA (1<<3)
+#define GNSS_SET_MSGCFG_GSV (1<<4)
+#define GNSS_SET_MSGCFG_GLL (1<<5)
+#define GNSS_SET_MSGCFG_ZDA (1<<6)
+#define GNSS_SET_MSGCFG_GST (1<<7)
+#define GNSS_SET_MSGCFG_GRS (1<<8)
+#define GNSS_SET_MSGCFG_TXT (1<<9)
+#define GNSS_SET_MSGCFG_DHV (1<<10)
+#define GNSS_SET_MSGCFG_DTM (1<<11)
+#define GNSS_SET_MSGCFG_NAVPOS (1<<12)
+#define GNSS_SET_MSGCFG_NAVVEL (1<<13)
+#define GNSS_SET_MSGCFG_NAVTIME (1<<14)
+#define GNSS_SET_MSGCFG_NAVACC (1<<15)
+#define GNSS_SET_MSGCFG_LSF (1<<16)
+#define GNSS_SET_MSGCFG_ANTSTAT (1<<17)
+#define GNSS_SET_MSGCFG_ANTSTAT1 (1<<18)
+#define GNSS_SET_MSGCFG_NOTICE (1<<19)
+#define GNSS_SET_MSGCFG_ABNORMAL (1<<20)
+#define GNSS_SET_MSGCFG_EPHABNORMAL (1<<21)
+
typedef enum {
GNSS_ERR_OK,
GNSS_ERR_UNSUPPORT,
@@ -30,6 +58,18 @@
GNSS_ERR_UNKNOWN
} gnss_err_enum;
+typedef enum {
+ GNSS_RESET_TYPE_HOT = 1,
+ GNSS_RESET_TYPE_WARM,
+ GNSS_RESET_TYPE_COLD
+} gnss_reset_type_enum;
+
+typedef enum {
+ GNSS_MEMAVER_TYPE_3_0 = 0,
+ GNSS_MEMAVER_TYPE_4_0,
+ GNSS_MEMAVER_TYPE_4_1
+} gnss_memaver_type_enum;
+
typedef int (*gnss_dev_open_func)();
typedef int (*gnss_dev_close_func)();
typedef int (*gnss_open_func)(const char *dev);