13.11.2013 Views

GARMIN GPS Interface Specification

GARMIN GPS Interface Specification

GARMIN GPS Interface Specification

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

typedef struct<br />

{<br />

byte nmbr; /* route number */<br />

char cmnt[20]; /* comment */<br />

} D201_Rte_Hdr_Type;<br />

The “nmbr” member must be unique for each route. Some <strong>GPS</strong> units require a unique “cmnt” for each route, and<br />

other <strong>GPS</strong> units do not. There is no mechanism available for the Host to determine whether a <strong>GPS</strong> requires a unique<br />

“cmnt”, and the Host must be prepared to receive unique or non-unique “cmnt” from the <strong>GPS</strong>.<br />

7.5.19. D202_Rte_Hdr_Type<br />

Example products: StreetPilot.<br />

typedef struct<br />

{<br />

/* char rte_ident[]; null-terminated string */<br />

} D202_Rte_Hdr_Type;<br />

7.5.20. D210_Rte_Link_Type<br />

Example products: <strong>GPS</strong>MAP 162/168, eMap, <strong>GPS</strong>MAP 295.<br />

typedef struct<br />

{<br />

word class; /* link class; see below */<br />

byte subclass[18]; /* subclass */<br />

/* char ident[]; variable length string */<br />

};<br />

The “class” member can be one of the following values:<br />

enum<br />

{<br />

line = 0,<br />

link = 1,<br />

net = 2,<br />

direct = 3,<br />

snap<br />

= 0xFF<br />

};<br />

The “ident” member has a maximum length of 51 characters, including the terminating NULL.<br />

If “class” is set to “direct” or “snap”, subclass should be set to its default value of 0x0000 0x00000000 0xFFFFFFFF<br />

0xFFFFFFFF 0xFFFFFFFF.<br />

7.5.21. D300_Trk_Point_Type<br />

Example products: all products unless otherwise noted.<br />

Page 50 001-00063-00 Rev. A

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!