I've developed a project with the GPS.DLL.
My project is working without problems on WM 5 and WM6.
But I can not get a response from the GPS on WM6.1.
Serial port is opened but not received a response from GPS device
Is it by any chance an HTC device? You are better off using GPSDriver.dll on WM5.0 or later as this overcomes problems that some devices, especially HTC ones, have with using the Serial2 library to access the GPS.
When you compile your program the message box should show version 1.11 for the GPSDriver.
So you are getting data from the GPS but the reception is weak?
Yes, I get the message 1.11 from gpsdriver.dll version.
No , the reception is not weak...!
LOOP :
GPSdriver is Before connecting the normal and data streaming...
but after a few seconds, FixType is unknown and then a few seconds links are broken from satellites
After a few minute, satellite connections are coming back and data streaming starting...
If a GPS application using Serial2.dll works fine then try using http://www.b4x.com/forum/additional-libraries/3327-gpsserial-library.html#post18685 instead of GPSDriver. It is a drop-in replacement that emulates GPSDriver but using a serial port. The only code changes needed are to add a COM port and baud rate parameters to New1 which will be the same as you use for Serial2.
Thank you for your reply Agraham.It's very nice DLL and code.
my project is good running on my device (HP 614c) with GPS.DLL & Serial2.DLL.
But not responding from internal GPS on the HTC devices..!!!
I thought you said in post #5 and post #8 that the problem was with an HP 614c and that GPS.dll and Serial2.dll worked OK but GPSDriver.dll did not.
What HTC device does have the problem? It is likely that GPSSerial will not work on that device because of serial port incompatibility with .NET. Have you tried the GPSDriverDemo in the Samples folder? I can think of no reason why GPSDriver would not work on any device that has "External GPS" in Start -> Settings -> System so I have no suggestions to make that might help.
I thought you said in post #5 and post #8 that the problem was with an HP 614c and that GPS.dll and Serial2.dll worked OK but GPSDriver.dll did not.
QUOTE]
!!! GPSdriver.dll worked OK but it's not continuously, please see my post #7
I've seen your post #7. There is a communication problem as to what is happening and which devices it is happening on.
1) I assume we can ignore the HP 614c, or does it have the problem?
2) If the problem is only on an HTC device what is the device?
3) What do you mean by "GPSdriver is Before connecting the normal and data streaming..."
However, as I said before if GPSDriver doesn't work properly on a device with the "GPS External" available then I cannot think of anything that can be done to improve it.
1- I have a GPS project with GPS.DLL and Serial2.DLL.
2- It works very well on HP614c but the project does not work on HTC devices
3- I have to use GPSdriver.dll, to solve this problem (Erel has proposed)
4- The second project includes the GPSdriver.dll
5- Second project does not work properly on the HP614c (pls see post #7)
Result : I want to develop a GPS project to work properly on all PDA devices... :sign0085:
I formatted my PDA (614c).previous problems over...Thank you for your support.But I have new problem...
I'm using GPSserial.Sealevelaltitude does not work with internal GPS, but It was working before format.
However it's normaly working with external (Bluetooth) GPS.
:sign0137::sign0085:
Sigh!, yet again everyone. Saying that something "does not work" is no help at all in identifying what might be wrong. Please describe in what way it does "not work" or we can't help.
In this case I guess you are either seeing 0 or -9999 but you don't say which. If you are seeing a value of 0 and it is working on a Bluetooth GPS then I can only assume that your internal GPS is not returning that data despite you thinking that it did before.
If you are seeing -9999 then there would appear to be a formatting error in the GPGGA sentence returned from the GPS.
In either case you can read the GPGGA sentence from the GPGGA property and check its contents.