Subversion Repositories Projects

Rev

Rev 426 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
434 killagreg 1
// all constant strings are within the flash to save space in the sram
2
#include <avr/pgmspace.h>
426 killagreg 3
//________________________________________________________________________________________________________________________________________
4
//
5
// Definition of gpx-header and footer elements for documents
6
//
7
//________________________________________________________________________________________________________________________________________
8
 
9
 
434 killagreg 10
const prog_char GPX_DOCUMENT_HEADER[] =
426 killagreg 11
{
12
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\" ?>\r\n"
13
"<gpx creator=\"NC\" version=\"1.0\" >\r\n"
14
"\r\n"
15
"<metadata>\r\n"
16
"<link href=\"http://www.mikrokopter.de\">\r\n"
17
"<text>MikroKopter</text>\r\n"
18
"</link>\r\n"
19
"</metadata>\r\n"
20
"\r\n"
21
};
22
 
23
//________________________________________________________________________________________________________________________________________
24
//
25
// footer of an gpx-file.
26
//
27
//________________________________________________________________________________________________________________________________________
434 killagreg 28
const prog_char GPX_DOCUMENT_FOOTER[] =
426 killagreg 29
{
30
"</gpx>\r\n"
31
};
32
 
33
//________________________________________________________________________________________________________________________________________
34
//
35
// Header of a track
36
//
37
//________________________________________________________________________________________________________________________________________
38
 
434 killagreg 39
const prog_char GPX_TRACK_HEADER[] =
426 killagreg 40
{
41
"<trk>\r\n"
42
"<name>Flight</name>\r\n"
43
};
44
 
45
//________________________________________________________________________________________________________________________________________
46
//
47
// Footer of a track
48
//
49
//________________________________________________________________________________________________________________________________________
434 killagreg 50
const prog_char GPX_TRACK_FOOTER[] =
426 killagreg 51
{
52
"</trk>\r\n"
53
};
54
 
55
//________________________________________________________________________________________________________________________________________
56
//
57
// Header of a track segment
58
//
59
//________________________________________________________________________________________________________________________________________
434 killagreg 60
const prog_char GPX_TRACKSEGMENT_HEADER[] =
426 killagreg 61
{
62
"<trkseg>\r\n"
63
};
64
 
65
//________________________________________________________________________________________________________________________________________
66
//
67
// Footer of a track segment
68
//
69
//________________________________________________________________________________________________________________________________________
434 killagreg 70
const prog_char GPX_TRACKSEGMENT_FOOTER[] =
426 killagreg 71
{
72
"</trkseg>\r\n"
73
};
74