Page 1 of 1

Got Error: [21] Error setting DTR

Posted: Thu Jan 26, 2006 7:20 pm
by Pepper
Hi all,
can someone tell me what the messeage "[21] Error setting DTR" means?
I get it if I try to connect on an virtual port on a Windows Mobile 5 device. I use the built-in portsplitter of WM 5. (no additional software)

Thanks for help
Karin

RE: Got Error: [21] Error setting DTR

Posted: Thu Jan 26, 2006 10:27 pm
by johan
Sounds like a bug in GpsTools. Or a bug in WM2005 depending on how you see it :-) I guess Redmond is right by definition, so will try to include a fix in the next service update of GpsTools.

Regards,
Johan

Franson Support

RE: Got Error: [21] Error setting DTR

Posted: Fri Jan 27, 2006 2:12 pm
by Pepper
When will the next service update release?
Regards,
Karin

RE: Got Error: [21] Error setting DTR

Posted: Fri Jan 27, 2006 4:52 pm
by Pepper
Hi Johan,
I got an information for you:
The error I described above does only occur if I connect to the virtual port from Windows Mobile 5 (new built in port splitter from Microsoft). If I connect directly to the hardware port then all works well.

By the way: What does the Messsage: "[10007] Could not set DCB"

Regards
Karin

RE: Got Error: [21] Error setting DTR

Posted: Fri Feb 10, 2006 12:14 am
by Mike Schaefer
I am fining the same problem and really need a fix or work around. I have another detail. If I use another program (several tested) to connect to the WM5 virtual port before connecting with the GPSTools I do not get an error and can connect just fine.

Mike

RE: Got Error: [21] Error setting DTR

Posted: Fri Feb 10, 2006 12:16 am
by Mike Schaefer
Also, when is the next service update scheduled to address this issue?

Mike

RE: Got Error: [21] Error setting DTR

Posted: Fri Feb 10, 2006 12:52 am
by Mike Schaefer
More info. If we set the com port and buad rate to 0 then let the parser find the GPS port on a WM5 device it finds the hardware port for the GPS not the WM5 virtual port. The code looks like this;

aParser.Baudrate = 0
aParser.Comport = 0
aParser.PortEnabled = True


Mike

RE: Got Error: [21] Error setting DTR

Posted: Fri Feb 10, 2006 11:41 am
by johan
We'll take a look at this next week.

Regards,
Johan

Franson Support

RE: Got Error: [21] Error setting DTR

Posted: Mon Feb 13, 2006 8:05 pm
by johan
This is fixed in the GpsTools 2.20p release.

Regards,
Johan

Franson Support

RE: Got Error: [21] Error setting DTR

Posted: Tue Feb 14, 2006 8:42 pm
by Mike Schaefer
Thank you very much.

Cheers, Mike

Mike

RE: Got Error: [21] Error setting DTR

Posted: Mon Feb 27, 2006 11:45 pm
by Mike Schaefer
Johan,

We have tried to use GPS Toos 2.20p release and we still have the same problem.

Cheers,

Mike

RE: Got Error: [21] Error setting DTR

Posted: Mon Feb 27, 2006 11:50 pm
by johan
Make sure you update GpsLibCE.dll

Regards,
Johan

Franson Support