Subversion Repositories Projects

Rev

Rev 434 | 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"
436 killagreg 13
"<gpx creator=\"FollowMe\" version=\"1.0\" >\r\n"
426 killagreg 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
//________________________________________________________________________________________________________________________________________
434 killagreg 38
const prog_char GPX_TRACK_HEADER[] =
426 killagreg 39
{
40
"<trk>\r\n"
436 killagreg 41
"<name>FollowMe</name>\r\n"
426 killagreg 42
};
43
 
44
//________________________________________________________________________________________________________________________________________
45
//
46
// Footer of a track
47
//
48
//________________________________________________________________________________________________________________________________________
434 killagreg 49
const prog_char GPX_TRACK_FOOTER[] =
426 killagreg 50
{
51
"</trk>\r\n"
52
};
53
 
54
//________________________________________________________________________________________________________________________________________
55
//
56
// Header of a track segment
57
//
58
//________________________________________________________________________________________________________________________________________
434 killagreg 59
const prog_char GPX_TRACKSEGMENT_HEADER[] =
426 killagreg 60
{
61
"<trkseg>\r\n"
62
};
63
 
64
//________________________________________________________________________________________________________________________________________
65
//
66
// Footer of a track segment
67
//
68
//________________________________________________________________________________________________________________________________________
434 killagreg 69
const prog_char GPX_TRACKSEGMENT_FOOTER[] =
426 killagreg 70
{
71
"</trkseg>\r\n"
72
};
73