37 #include "kubos-core/k_thread.h" 43 #ifndef GPS_MSG_Q_SIZE 44 #define GPS_MSG_Q_SIZE 4 48 #define GPS_BUFSIZE 128 51 #ifndef GPS_DATALOG_SIZE 52 #define GPS_DATALOG_SIZE (1024 * 512) 70 uint8_t hour, minute, seconds,
year, month, day;
89 void gps_rx_cb (
void * arg, uint8_t *buf,
int len,
void *pxTaskWoken);
91 void simple_rx(uint8_t * buf,
int len,
void * px);
float longitude
Longitude in degrees (-180, 180)
Definition: gps.h:77
float climb
Vertical speed, meters/sec.
Definition: gps.h:83
struct uart_conf * uart_conf
Definition: gps.h:56
Usart configuration, to be used with the uart_init call.
Definition: k_uart.h:43
gps_fix_t * gps_last_fix(void)
uint16_t type
Definition: gps.h:58
float speed
Speed over ground, meters/sec.
Definition: gps.h:81
float altitude
Altitude in meters.
Definition: gps.h:79
uint16_t milliseconds
Millis: 0-999.
Definition: gps.h:73
uint8_t year
Definition: gps.h:70
void gps_connect(gps_cfg_t *config)
void gps_rx_cb(void *arg, uint8_t *buf, int len, void *pxTaskWoken)
float latitude
Latitude in degrees (-90, 90)
Definition: gps.h:75
csp_conn_t * conn
Definition: gps.h:57
void simple_rx(uint8_t *buf, int len, void *px)