22 lines
412 B
C
22 lines
412 B
C
#ifndef EC800M_H
|
|
#define EC800M_H
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include "pico/stdlib.h"
|
|
#include "hardware/uart.h"
|
|
|
|
#define GPS_UART uart1
|
|
#define GPS_UART_BAUD_RATE 115200
|
|
#define GPSDATA_LENGTH 8192
|
|
|
|
extern char GPSDATA[GPSDATA_LENGTH];
|
|
extern int GPSDATA_LEN;
|
|
|
|
extern int EC800M_INIT();
|
|
extern char *EC800M();
|
|
extern char *EC800M_GPS_DATA_PARSING(char *GPS_DATA);
|
|
extern void reset_data();
|
|
|
|
#endif
|