This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
sdk:gps2serial [2015/05/15 13:13] – created juraschek | sdk:gps2serial [2020/03/25 08:40] – fachet | ||
---|---|---|---|
Line 7: | Line 7: | ||
This Script connects to the GPS server via tcp. The NMEA Frames will be startet by the request " | This Script connects to the GPS server via tcp. The NMEA Frames will be startet by the request " | ||
- | The default serial | + | The default serial |
+ | Please use if possible a higher data rate e.g. 115200. | ||
===== Pre Requierments ===== | ===== Pre Requierments ===== | ||
Line 13: | Line 14: | ||
To use this script you need to enable the GNSS Interface on the Router to your needs. | To use this script you need to enable the GNSS Interface on the Router to your needs. | ||
+ | {{ : | ||
Also assign the serial interface to the SDK | Also assign the serial interface to the SDK | ||
+ | |||
+ | {{ : | ||
Line 28: | Line 31: | ||
<code c> | <code c> | ||
- | /* Serial Baud Rate 9600, 19200, 38400, 57600, 115200 */ | + | /* Serial Baud Rate 4800, 9600, 19200, 38400, 57600, 115200 */ |
- | SER_SPEED=115200; | + | SER_SPEED=4800; |
/* number of data bits (5, 6, 7, 8) */ | /* number of data bits (5, 6, 7, 8) */ | ||
SER_DATABIT=8; | SER_DATABIT=8; | ||
Line 73: | Line 76: | ||
/* Options to configure by user*/ | /* Options to configure by user*/ | ||
- | /* Serial Baud Rate 9600, 19200, 38400, 57600, 115200 */ | + | /* Serial Baud Rate 4800, 9600, 19200, 38400, 57600, 115200 */ |
- | SER_SPEED=115200; | + | SER_SPEED=4800; |
/* number of data bits (5, 6, 7, 8) */ | /* number of data bits (5, 6, 7, 8) */ | ||
SER_DATABIT=8; | SER_DATABIT=8; |