text: Python-TSIP is a Python package for parsing and creating TSIP packets. The Trimble Standard Interface Protocol (TSIP) is the binary protocol spoken by the GPS receivers sold by Trimble Navigation Ltd. ().
  Python-TSIP is available under the “BSD 2-Clause Simplified License”.
  Almost the full set of TSIP command and report packets understood by the Copernicus II receiver has been implemented but so far only some of them have been tested against the actual GPS. Implementing a complete set of tests against an actual Copernicus II receiver is currently work in progress. Presumably Trimble Thunderbolt and Thunderbolt-E are also supported as they appear to implement a subset of the commands/reports of the (newer) Copernicus II receiver. I don’t have access to any other Trimble products.
  Documentation is way behind and largely reflects an obsolete implementation of this project.
  Python-TSIP is automatically tested against the following Python versions.
  The tests currently fail on the following Python versions.
  The master branch equals the latest release. The develop branch represents the latest development but may not always pass all tests. I use the gitflow plugin to follow this Git branching model.
  The following code shows how to receive the current GPS time from the receiver.
  import tsip import serial # Open serial connection to Copernicus II receiver serial_conn = serial.Serial('/dev/ttyS0', 38400) gps_conn = tsip.GPS(serial_conn) # Prepare and send command packet 0x21 command = tsip.Packet(0x21) gps_conn.write(command) while True: # should implement timeout here!!! report = gps.read() if report[0] == 0x41: print 'GPS time of week .......: %f' % (report[1]) print 'Extended GPS week number: %d' % (report[2]) print 'GPS UTC offset .........: %f' % (report[3]).