Re: Problem getting NMEA from Emtac GPS sleeve by Dan
Dan
Mon Feb 09 09:54:39 CST 2004
I will look into that; presently I use XON/XOFF software flow control only,
hardware control disabled. This was because the software was originally
designed for connecting to a receiver that only had transmit/receive pins.
dcbCommPort.BaudRate = CBR_4800;
dcbCommPort.fOutxCtsFlow = FALSE;
dcbCommPort.fRtsControl = RTS_CONTROL_DISABLE;
dcbCommPort.fDtrControl = DTR_CONTROL_DISABLE;
dcbCommPort.fOutxDsrFlow = FALSE;
dcbCommPort.fOutX = TRUE;
dcbCommPort.fInX = TRUE;
dcbCommPort.ByteSize = 8;
dcbCommPort.Parity = NOPARITY;
dcbCommPort.StopBits = ONESTOPBIT;
Can I have software and hardware flow control enabled?
Regards,
"Perpetual Projects" <wk7414@hotmail.com> wrote in message
news:ff471c6b.0402081348.4bb7b1e2@posting.google.com...
> This is just a guess, but make sure you are raising the hardware flow
> control lines. Specifically DTR/DSR and CTS/RTS. On some of these
> GPSs they won't transmit without out it, but others like the TeleType
> and the Pharos will transmit as long as they have power and don't dive
> a hoot about the flow control.
>
> WKM
>
>
> <Dan Joerissen> wrote in message
news:<u4ifNiP7DHA.2064@TK2MSFTNGP11.phx.gbl>...
> > I am running an iPAQ 3650 (PPC2002) with the Transplant Computing
(Emtac)
> > GPS sleeve. Holux GPS Viewer software works, OZIExplorer works, but in
my
> > application no NMEA data is received. My code works fine with any type
of
> > Garmin unit on COM1, and fine with a Holux CF GPS on COM4. The sleev is
> > also on COM4.
> > I use ReadFile( hCommPort, &char_c, 1, &dwBytesRead, NULL ) to read one
> > character at a time, but 0 bytes are returned. COM4 opens OK.
> > Is it possible that there is something unique about this receiver, such
as
> > having to be "told" to output NMEA strings?
> > I guess I can look for a terminal type utility to run on the iPAQ,
something
> > like TTY from Teletype...
> > Thanks in advance.
> > Dan