Friday, April 30, 2010

C++ python - need help

Arg... I really need a simple working example of C++ from a python module with a reasonable and simple Why does that seem too much to ask?

Updated 2010-May-01:
Asked and answered here: Frustration with C++ and Python. May have also stumbled onto a gcc 4.4.2 bug that added to my confusion.

Sunday, April 4, 2010

NMEA NTP status sentence ZNT

Comments? The original post is here: A proprietary NMEA sentence for NTP status

./ -h

--version show program's version number and exit
-h, --help show this help message and exit
Host IPv4 address [default:]
-v, --verbose


./ -v

ZNT - NMEA Proprietary NTP status report

talker: NT
timestamp: 1270398471.54
stratum: 3
last_update: 1270398342.13
offset: 7.1e-05
precision: -20.0
root_delay: 0.268707
root_dispersion: 0.033585

{'root_delay': 0.26870699999999997, 'timestamp': 1270398471.54, 'stratum': 3,
'precision': -20.0, 'nmea_type': 'ZNT', 'last_update': 1270398342.1300001,
'ref_clock': '', 'host': '', 'talker': 'NT', 'root_dispersion':
0.033584999999999997, 'offset': 7.1000000000000005e-05, 'checksum': '42'}