-
Notifications
You must be signed in to change notification settings - Fork 1
/
UbxNMEA.h
66 lines (53 loc) · 1.58 KB
/
UbxNMEA.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#ifndef __AUBXLIB_NMEA_H_
#define __AUBXLIB_NMEA_H_
#include "Arduino.h"
/* ****************************************************************************
NMEA message definitions. (WORK IN PROGRESS)
****************************************************************************/
/* ************************************************************************* */
struct coord {
byte deg = 0;
float fract = 0.0;
};
/* ************************************************************************* */
struct UbxNMEA_GPRMC {
double utime = 0.0;
byte status = 0;
coord lat;
byte ns_ind = 0;
coord lon;
byte ew_ind = 0;
float spd = 0.0;
float cog = 0.0;
byte date[3] = { 0 };
byte mode = 0;
byte checksum[2] = { 0 };
};
/* ************************************************************************* */
struct UbxNMEA_GPGGA {
};
/* ************************************************************************* */
struct UbxNMEA_GPGLL {
};
/* ************************************************************************* */
struct UbxNMEA_GPGSA {
};
/* ************************************************************************* */
struct UbxNMEA_GPGSV {
};
/* ************************************************************************* */
struct UbxNMEA_GPVTG {
};
/* ************************************************************************* */
struct UbxNMEA_GPDTM {
float lat = 0.0;
byte ns_ind = 0;
float lon = 0.0;
byte ew_ind = 0;
float alt = 0.0;
byte checksum[2] = { 0 };
};
/* ************************************************************************* */
struct UbxNMEA_GPZDA {
};
#endif