Overview | Index by: file name | procedure name | procedure call | annotation

nmea_com.tcl Annotations

Created from nmea_com.tcl
Leica serial communication procs

Ulyxes - an open source project to drive total stations and publish observation results

GPL v2.0 license

Copyright (C) 2010-2012 Zoltan Siki

Version:
1.1
Author:
Zoltan Siki
Daniel Moka (TclDoc comments)

Procedure Summary
::CloseCom { }

Close communicaton port

::GetLine { }

Send message to the instrument and wait for answer

::NMEAChecksum { msg }

Check NMEA checksum

::OpenCom { {par leica.com} }

Open com port, port number and other parameters are read from a file.

::ReadCom { }

Read input from com port Input chars are added to global input buffer (buf)

Procedure Detail

::CloseCom

proc  ::CloseCom {  }
Close communicaton port
Defined in:
nmea_com.tcl, line 44

::GetLine

proc  ::GetLine {  }
Send message to the instrument and wait for answer
Parameters:
msg - message to send
Returns:
return 0 on sucess or nonzero error status
Defined in:
nmea_com.tcl, line 86

::NMEAChecksum

proc  ::NMEAChecksum { msg }
Check NMEA checksum
Parameters:
msg - message to check
Returns:
0 on success, 1 on error
Defined in:
nmea_com.tcl, line 104

::OpenCom

proc  ::OpenCom { {par leica.com} }
Open com port, port number and other parameters are read from a file.

Set global variable com

Parameters:
par - name of parameter file, optional (default leica.com)
Returns:
0 on success nonzero in case of error
Defined in:
nmea_com.tcl, line 58

::ReadCom

proc  ::ReadCom {  }
Read input from com port

Input chars are added to global input buffer (buf)

Defined in:
nmea_com.tcl, line 19

file name | procedure name | procedure call | annotation
File generated 2014-04-15 at 20:21.