Trimble Outdoors SK8 User Manual

Page 145

Advertising
background image

Lassen-SK8 Embedded GPS Module

B-5

TSIP User's Guide

TSIPPRNT

TSIPPRNT translates TSIP report packet byte streams into readable reports.
It uses the same report interface routines as

TSIPCHAT

, but uses 'printf'

rather than 'cprintf' so that output can be redirected to a file.

The command line for console output is:

TSIPPRNT

tsip_filename

where tsip_filename is the name of a stream of TSIP report packets
collected directly from the receiver output port or from

TSIPCHAT

. The

command line for re-directing output to a file is:

TSIPPRNT

tsip_filename > ascii_filename

Full source code is provided.

TSIPPRNT

is created by compiling under any

C compiler with the macro

FILE_INPUT

defined (

BORLAND

and

PORT_INPUT

not defined) and with the include file

TSIPINCL.H

. The

following routines must be compiled:

TSIPPRNT.C

(main)

TSIP_RPT.C

TSIP_IFC.C

TSIPPRNT

code can be easily modified by the user to supply any ASCII

output file format that is required by adjusting the report interpreter routines
in

TSIP_RPT.C

, provided the necessary information is contained in the

binary input file. Software flow follows that of

TSIPCHAT

, except with no

user-interactive and command features.

RTCM_MON

RTCM_MON

translates RTCM SC-104 Version 2.0 (Differential GPS

correction) byte streams off a serial port. It is designed to be configured to
the same port parameters as the TSIP receiver. RTCM streams can best be
tested by using the TSIP receiver itself as a decoder, using

TSIPCHAT

and

the '/' command (Packet 0x65) which returns Packet 0x85 listing all
differential RTCM messages decoded.

RTCM_MON

is provided in case the

user prefers to use a direct connection to a computer serial port to decode an
RTCM stream.

The

RTCM_MON

command line has no arguments. When listening to the

serial port, characters will be printed on the screen. RTCM 6-of-8 bytes
are identified by the first two bits (binary 01??????) and all other bytes are
reported as non-RTCM bytes. Once the program locks onto the RTCM
preamble and framing, it begins to report differential correction messages
for each of the satellites.

To exit the program, press [ESCAPE].

Bit-Slipping

Even though the RTCM bytes are 6 bits of data and fit neatly into a 8-bit
byte once the lead bits '01' are attached, some reference receivers do not
align the RTCM data onto 8-bit boundaries for the serial link (“bit-
slipping”).

RTCM_MON

automatically searches for bit-slipping.

Advertising