Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
sdk:gps2serial [2015/05/15 13:13] – created jurascheksdk: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 "R" and will be then written to the serial interface.  This Script connects to the GPS server via tcp. The NMEA Frames will be startet by the request "R" and will be then written to the serial interface. 
  
-The default serial parameter are 115200 8N1 (8 databit, no parity, 1 stop bit, no flow controll). This parameter can be configured at the begining of the script. +The default serial parameters for GPS are 4800 8N1 (8 databit, no parity, 1 stop bit, no flow controll). This parameter can be configured at the begining of the script.  
 +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.  Please use the "raw-mode" with this SDK script.  To use this script you need to enable the GNSS Interface on the Router to your needs.  Please use the "raw-mode" with this SDK script. 
  
 +{{ :sdk:screenshot_-_150515_-_15_28_39.png?nolink&600 |}}
  
 Also assign the serial interface to the SDK Also assign the serial interface to the SDK
 +
 +{{ :sdk:screenshot_-_150515_-_15_28_56.png?nolink&600 |}}
  
  
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;