EC600U_esp32_iap_uart/gnss/inc/gnss_demo.h

50 lines
1.5 KiB
C
Raw Permalink Normal View History

2024-02-05 17:39:56 +08:00
/*=================================================================
EDIT HISTORY FOR MODULE
This section contains comments describing changes made to the module.
Notice that changes are listed in reverse chronological order.
WHEN WHO WHAT, WHERE, WHY
------------ ------- -------------------------------------------------------------------------------
=================================================================*/
#ifndef _GNSSDEMO_H
#define _GNSSDEMO_H
#include "ql_gnss.h"
#ifdef __cplusplus
extern "C" {
#endif
/*===========================================================================
* Macro Definition
===========================================================================*/
/*===========================================================================
* Struct
===========================================================================*/
/*===========================================================================
* Functions declaration
===========================================================================*/
void ql_gnss_app_init(void);
nmea_type nmea_get_type(const char *sentence);
struct nmea_s* nmea_parse(char *sentence, int length, int check_checksum);
int nmea_value_update(struct nmea_s *nmea, ql_gnss_data_t *gps_data);
char *strptime(const char *buf, const char *fmt, struct tm *tm);
int ql_gnss_device_info_request(void);
int ql_gnss_assist_data_delete(unsigned int reset_type);
#ifdef __cplusplus
} /*"C" */
#endif
#endif /* _GNSSDEMO_H */