Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1704 - 1
// all constant strings are within the flash to save space in the sram
2
#include <avr/pgmspace.h>
3
//________________________________________________________________________________________________________________________________________
4
//
5
// Definition of gpx-header and footer elements for documents
6
//
7
//________________________________________________________________________________________________________________________________________
8
 
9
 
10
const prog_char GPX_DOCUMENT_HEADER[] =
11
{
12
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\" ?>\r\n"
13
"<gpx creator=\"FollowMe\" 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
//________________________________________________________________________________________________________________________________________
28
const prog_char GPX_DOCUMENT_FOOTER[] =
29
{
30
"</gpx>\r\n"
31
};
32
 
33
//________________________________________________________________________________________________________________________________________
34
//
35
// Header of a track
36
//
37
//________________________________________________________________________________________________________________________________________
38
const prog_char GPX_TRACK_HEADER[] =
39
{
40
"<trk>\r\n"
41
"<name>FollowMe</name>\r\n"
42
};
43
 
44
//________________________________________________________________________________________________________________________________________
45
//
46
// Footer of a track
47
//
48
//________________________________________________________________________________________________________________________________________
49
const prog_char GPX_TRACK_FOOTER[] =
50
{
51
"</trk>\r\n"
52
};
53
 
54
//________________________________________________________________________________________________________________________________________
55
//
56
// Header of a track segment
57
//
58
//________________________________________________________________________________________________________________________________________
59
const prog_char GPX_TRACKSEGMENT_HEADER[] =
60
{
61
"<trkseg>\r\n"
62
};
63
 
64
//________________________________________________________________________________________________________________________________________
65
//
66
// Footer of a track segment
67
//
68
//________________________________________________________________________________________________________________________________________
69
const prog_char GPX_TRACKSEGMENT_FOOTER[] =
70
{
71
"</trkseg>\r\n"
72
};
73