Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Serial.cpp for 64bit
Re: Serial.cpp for 64bit [message #37137 is a reply to message #37115] Tue, 28 August 2012 21:51 Go to previous messageGo to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
As previously mentioned:
http://www.nlneilson.com/apps/GPS4.zip

COMcheck1.exe dated 2008
This works on WinXP and Win7 32bit and 64bit.
It checks the ports that can be opened and then the baud rate.
It then parses the GPGGA NMEA sentence and prints it out.
Checking COM: 1 2 3 4 5 6 7 8 9 10 11    COM 11: opened
 12    COM 12: opened
 13 14 15 16 17 18 19 20

COM 11: check baud rate
  9600 ▬Imk▬x  19200 ♀↔???  38400 ???▲?♂  57600 $GPGGA->OK

COM 12: check baud rate
  4800 ?=▬???  9600 ▬I? ??  19200 ♀↔???  38400 ???▲?♂  57600 $GPGGA->OK

COM 11 at 57600
$GPGGA,223705.631,3412.7486,N,11911.6111,W,1,06,1.0,-24.5,M,-33.8,M,0.0,0000*5E
Lat 34.21248  Lon -119.19352  Alt 30ft      GPS fix,  # of Sat. 6

COM 12 at 57600
$GPGGA,223706.395,3412.7444,N,11911.6102,W,1,06,2.6,-14.3,M,-33.8,M,0.0,0000*5A
Lat 34.21241  Lon -119.19350  Alt 63ft      GPS fix,  # of Sat. 6

11.408 sec
N.L. Neilson (c)


It will check as many GPS receivers that are plugged in.

This may have been made with M$VC as the code in the GPS4 folder is from 2010 and doesn't seem to relate to the COMcheck1.exe

From the Serial.cpp from Jerson and nixnixnix this fails in Win7 but works OK with WinXP
	if( !SetCommState( m_hIDComDev, &dcb ) ||
		!SetupComm( m_hIDComDev, 10000, 10000 ) ||


If someone works on a project for bazaar I would be glad to help with parsing or whatever.

edit: fixed link for GPS4.zip

[Updated on: Wed, 29 August 2012 19:36]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DropList events
Next Topic: uppsrc/web directory
Goto Forum:
  


Current Time: Mon May 06 09:18:02 CEST 2024

Total time taken to generate the page: 0.01857 seconds