Skip to content

Commit 18bc57f

Browse files
committed
Added NMEA Decode source code from Aglanutsa project.
Source code stems from previous project that required NMEA decoding for GPS data. Will be used as a starting point for this project.
0 parents  commit 18bc57f

File tree

3 files changed

+1274
-0
lines changed

3 files changed

+1274
-0
lines changed

nmea-module/ascii_16.h

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/*
2+
* 16-bit ASCII Codes
3+
* Stuart Cording 27th Aug 2005
4+
*/
5+
6+
#define A_NUL 0x0000
7+
#define A_SOH 0x0001
8+
#define A_STX 0x0002
9+
#define A_ETX 0x0003
10+
#define A_EOT 0x0004
11+
#define A_ENQ 0x0005
12+
#define A_ACK 0x0006
13+
#define A_BEL 0x0007
14+
#define A_BS 0x0008
15+
#define A_TAB 0x0009
16+
#define A_LF 0x000A
17+
#define A_VT 0x000B
18+
#define A_FF 0x000C
19+
#define A_CR 0x000D
20+
#define A_SO 0x000E
21+
#define A_SI 0x000F
22+
23+
#define A_DOLLAR 0x0024
24+
#define A_PERCENT 0x0025
25+
#define A_ANPERSAND 0x0026
26+
#define A_APOSTROPHE 0x0027
27+
#define A_STAR 0x002A
28+
#define A_PLUS 0x002B
29+
#define A_COMMA 0x002C
30+
#define A_MINUS 0x002D
31+
#define A_FULLSTOP 0x002E
32+
#define A_DIVIDE 0x002F
33+
34+
#define A_AT 0x0040
35+
#define A_A 0x0041
36+
37+
#define A_S 0x0053
38+
#define A_V 0x0056
39+
#define A_W 0x0057
40+
41+
#define A_a 0x0061
42+
43+
#define A_s 0x0073
44+
#define A_v 0x0076
45+
#define A_w 0x0077
46+

0 commit comments

Comments
 (0)