|
|
Comments and Discussions
|
|
 |

|
Can I attach the multiple GPS devices with a single Pocket PC Device? If yes then please explain me the COM Port settings for it.
Thanks.
|
|
|
|
|

|
Hi, im trying to run this in Windows Mobile 6 with a Asus P526 (gps integrated), but crashes with this exception:
---> m_readed = m_serialPort1.ReadLine();
in System.IO.Ports.SerialPort.ThrowIfClosed()
in System.IO.Ports.SerialPort.ReadTo()
in System.IO.Ports.SerialPort.ReadLine()
in GpsTracer.reader.methodTh()
System.IO.IOException was unhandled
Message="IOException"
StackTrace:
in System.IO.Ports.SerialStream.WinIOError()
in System.IO.Ports.SerialStream..ctor()
in System.IO.Ports.SerialPort.Open()
in GpsTracer.reader.methodTh()
Should i configure the integrated gps with some specific data?
Thanks in advance...
|
|
|
|

|
Hi,
Try to use the Windows Mobile 6 application GPSSettings.exe
[^]
Good luck with the GPS intermediate driver!
Leonardo Salvatore
Msn:leonardosalvatore@hotmail.com
Email:Leonardosalvatore@giuneco.it
WebSite:www.giuneco.it
|
|
|
|

|
Windows Mobile 6, in this case, already has "GPSSettings.exe" integrated (this PDA has GPS integrated). I solve the COM Port problem, and now it turns on the GPS antenna, but dont return any location neither draw it. Is something missing?
|
|
|
|

|
try to that, and tell to me on wich problem.
http://www.codeproject.com/KB/mobile/WMEnumComPorts.aspx[^]
To solve that i have to test on a win mo 6 (i don't have yet..) or an emulated device.
Leonardo Salvatore
Msn:leonardosalvatore@hotmail.com
Email:Leonardosalvatore@giuneco.it
WebSite:www.giuneco.it
|
|
|
|

|
I have used Intermediate driver for GPS Parsing but my application migrated from Windows mobile 5.0 to Windows CE 5.0. so i am getting error PInvoke DLL ‘gpsapi.dll’ error.
is there intermediate driver present for Windows CE 5.0? or any diffrent dll or library
|
|
|
|

|
Hi, wich device are you using?
Leonardo Salvatore
Msn:leonardosalvatore@hotmail.com
Email:Leonardosalvatore@giuneco.it
WebSite:www.giuneco.it
|
|
|
|

|
Roper Mobile having Windows CE 5.0
|
|
|
|
|

|
Does this work for VB? Awesome job!
|
|
|
|

|
Yes, why not?
Thank you
Leonardo Salvatore
Msn:leonardosalvatore@hotmail.com
Email:Leonardosalvatore@giuneco.it
WebSite:www.giuneco.it
|
|
|
|

|
hi
can i run this project on windows mobile6 ?
|
|
|
|

|
i don't know exactly.
I'm sure that win mo 6 include the GPS support, so you don't have to code nothing to communicate win the gps device.
Leonardo Salvatore
Msn:leonardosalvatore@hotmail.com
Email:Leonardosalvatore@giuneco.it
WebSite:www.giuneco.it
|
|
|
|

|
Hello,
Any idea on using RMS on windows mobile phones?
Thank you.
|
|
|
|

|
Send to me more details about that.
Leonardo Salvatore
Msn:leonardosalvatore@hotmail.com
Email:Leonardosalvatore@giuneco.it
WebSite:www.giuneco.it
|
|
|
|

|
Hello,
I would like to know how you would implement the code using a bluetooth enabled GPS receiver and a windows mobile ce pda
thanks
|
|
|
|

|
Hi,
to do that it's need to use the Bluetooth serial service exposed from your bluetooth GPS receiver.
I also suggest to refactor some peace of code, it's a 06 project and i don't have time to upgrade to 08 tecnhologies.
Leonardo Salvatore
Msn:leonardosalvatore@hotmail.com
Email:Leonardosalvatore@giuneco.it
WebSite:www.giuneco.it
|
|
|
|
|

|
Can this also been done using the intermediate driver? I just want to record NMEA data into a text file, so i can use it in FAKEGPS (windows mobile 6 SDK), but I prefer using the intermediate driver if possible.
|
|
|
|

|
Yes i think that it can be done it as easy.
Leonardo Salvatore
Msn:leonardosalvatore@hotmail.com
Email:Leonardosalvatore@giuneco.it
WebSite:www.giuneco.it
|
|
|
|

|
Thank you for posting this excellent example.
I wanted to ask you if there are any restrictions on
using this code. I would like to use it in a project
that I am building at work.
Ed Spencer
|
|
|
|

|
No software licensing is needed.
It's free, in any case for if you need assistance please visit www.giuneco.it
Leonardo Salvatore
Msn:leonardosalvatore@hotmail.com
Email:Leonardosalvatore@giuneco.it
WebSite:www.giuneco.it
|
|
|
|

|
THANKS!!!!
gpsTracer->PDA->quick.pe.kr->map
|
|
|
|

|
To you
Leonardo Salvatore
Msn:leonardosalvatore@hotmail.com
Email:Leonardosalvatore@giuneco.it
WebSite:www.giuneco.it
|
|
|
|

|
thx ...
but return value string is $GPGGA , not $GPGGC in my gps
|
|
|
|

|
Wow
it's a $GPGGA - Global Positioning System Fix Data
This mean that you are using a new GPS, i coded that application 2 years ago or more
bye!
Leonardo Salvatore
Msn:leonardosalvatore@hotmail.com
Email:Leonardosalvatore@giuneco.it
WebSite:www.giuneco.it
|
|
|
|

|
hi there, 1st i would like to thank you for you effort.
What i did here is:
i connected Majellan sporTrak Gps to com5.
i can read data from gps normally using hyperterminal.
now the problem is,after i deploy your application to the Pocket Pc 2003 SE Emulator, and exactly when i click RUN/STOP from the menu i get this error:
"An unexpected error has occured in DeviceApplication2.exe. Select Quit and then restart this program.or Select Details for more information"
here are the details of the error:
IOException
at System.IO.Ports.SerialStream.WinIOError()
at System.IO.Ports.SerialStream.CheckResult()
at System.IO.Ports.SerialStream.get_BytesToRead()
at System.IO.Ports.SerialPort.ReadTo()
at System.IO.Ports.SerialPort.ReadLine()
at GpsTracer.reader.methodTh()
Any help is apreciated, thanks in advance for your time
|
|
|
|

|
Can you verify the protocol of your GPS device?
Leonardo Salvatore
Msn:leonardosalvatore@hotmail.com
Email:Leonardosalvatore@giuneco.it
WebSite:www.giuneco.it
|
|
|
|

|
hi there,
i beleive the protocol used by my gps is NMEA,
is that is not the answer you're looking for, can you please tell me
how can i exactly find out the protocol ?
here is a log of my gps received messages via serial port com5:
$GPGSV,3,1,12,15,48,2
$GPGSV,
$GPGSV,3,2,12,12,37,284,,29,35,197,,04,25,123,,28,17,066,*7F
$GPGSV,3,3,12,02,15,157,,05,10,273,,08,01,124,,18,-2,277,*67
$PMGNST,01.10,3,F,822,11.2,-02424,20*5F
$GPGSV,3,1,12,09,47,321,36,15,45,219,,17,44,047,,26,41,201,*7F
$GPGSV,3,2,12,12,37,284,,29,35,197,,04,25,123,,28,17,066,*7F
$GPGSV,3,3,12,02,15,157,,05,10,273,,08,01,124,,18,-2,277,*67
$PMGNST,01.10,3,F,838,11.4,-02424,20*52
$GPGSV,3,1,12,09,47,321,36,15,45,219,,17,44,047,,26,41,201,*7F
$GPGSV,3,2,12,12,37,284,,29,35,197,,04,25,123,,28,17,066,*7
$GPGSV,3,3,12,02,15,157,,05,10,273,,08,01,124,,18,-2,277,*67
$PMGNST,01.10,3,F,838,11.4,-02424,20*52
If you need further info, please let me know.
Thanks again
|
|
|
|

|
hi again, its NMEA V2.1 GSA
|
|
|
|

|
So you need to upgrade sources to this new protocol.
If you want post here a text file with data that you are receiving from your GPS device.
Leonardo Salvatore
Msn:leonardosalvatore@hotmail.com
Email:Leonardosalvatore@giuneco.it
WebSite:www.giuneco.it
|
|
|
|

|
can u tell me how to insert a picture of map into the code as a background of the screen??
|
|
|
|

|
I think that you have to study a solution before start to customize that project.
If you need a map as "backgroud" you will encounter a lot of alignments problems.
Leonardo Salvatore
Msn:leonardosalvatore@hotmail.com
Email:Leonardosalvatore@giuneco.it
WebSite:www.giuneco.it
|
|
|
|

|
Could someone please try and convert this to vb.net as i am not a C# Dev and im bound down by projects.
Domino.VBcoder
|
|
|
|

|
I do not have a GPS, I am simulating the data entry with an ASCII terminal. I can connect to my pocket PC with GpsTracer and the BlueTooth link work. It seems that the data never arrived. What is the data rate to set in my terminal?
|
|
|
|

|
I think that 9600 baud rate will be quite sufficient.
Leonardo Salvatore
Msn:leonardosalvatore@hotmail.com
Email:Leonardosalvatore@giuneco.it
WebSite:www.giuneco.it
|
|
|
|

|
Hello Salvatore,
Thanks for the reply. I found out that the setup IS 9600 bauds.
Still cannot transfert data. Port opens fine and connect. I arrive to:
m_readed = m_serialPort1.ReadLine();
but from here I never get any data when I send them from HyperTerminal. I test the connection and the data transfers using another terminal on my mobile.
Works with terminals but does not work with your example. Any clue?
|
|
|
|

|
Do you start the GPS?
Leonardo Salvatore
Msn:leonardosalvatore@hotmail.com
Email:Leonardosalvatore@giuneco.it
WebSite:www.giuneco.it
|
|
|
|

|
No.
I am not using a GPS. I am trying to transfer ASCII data from my PC using Hyperterminal. The connection works because I can test it from Hyperterminal and Zterm which is running on the PDA.
Now I try the same transfer of data using your GPS tracer and I can connect but cannot transfer any ASCII data.
|
|
|
|

|
Salvatore,
I found out that:
I was not sending a "Newline" on line end with hyper terminal but "Carriage Return". All fine thank you.
I can say that this example can be used with any Serial Port Profile in BT and not just GPS. By the way making it running on Mobile 2003.
Great example and thanks for your help.
|
|
|
|

|
Good, ty!
Leonardo Salvatore
Msn:leonardosalvatore@hotmail.com
Email:Leonardosalvatore@giuneco.it
WebSite:www.giuneco.it
|
|
|
|

|
is this project need GPS receiver?
|
|
|
|

|
Sure, how to do it without?
Wifi/GsmCell identification has a poor precision.
Leonardo Salvatore
Msn:leonardosalvatore@hotmail.com
Email:Leonardosalvatore@giuneco.it
WebSite:www.giuneco.it
|
|
|
|

|
This project need GPS receiver
|
|
|
|

|
plz do help me with this. i want to use ur gps tracer program for reading from a Magnetic card reader built in Extech Mobile Printer; i tried out all ports while card swipe but no data is read; plz tell me whats prob?
u can respond to my email:
zeesoft2005@yahoo.com
zeeshan hanif
|
|
|
|

|
Hi
I've been trying out your application on an MDA.
Demo mode works perfectly, but in normal mode it works correctly for about 30 to 40 seconds before coming up with this error:
OutOfMemoryException
at
System.IO.Ports.SerialPort.MaybeResizeBuffer()
at System.IO.Ports.SerialPort.ReadTo()
at
System.IO.Ports.SerialPort.ReadLine()
at GpsTracer.reader.methodTh()
I am an experienced programmer, but new to c#, but looking at your code (which is really easy to follow) this is obviously happening when getting the data from the COM port.
really no idea what to do here. Would be grateful for some advice.
Am going to try changing the size of the buffer as in
byte[] buffer=new byte[100] to different values, but I'm really in the dark here.
If this helps, here is some basic data about the mobile:
model:ARTE110
platform:PocketPC
hardware:
CPU:OMAP850
speed 201 Mhz
RAM: 64 MB
Flash size: 128 MB
data bus:16 bit
storage size: 51 MB
Any help gratefully received
|
|
|
|

|
our of curiousity, how much of your ram is free before you begin to run the program?
|
|
|
|

|
hello
this project is very usefull for my last project in uni.
i have some problem.i want to move this traces and paths every time new point readed to the center of screen,i mean always last point must be in the center of screen
please help me
|
|
|
|

|
Could you give a full explanation?
hello~
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
|
A simple GPS tracer developed for Windows Mobile 2005 on Compact Framework 2.0 SDK
| Type | Article |
| Licence | CPOL |
| First Posted | 9 Aug 2006 |
| Views | 195,452 |
| Downloads | 2,013 |
| Bookmarked | 196 times |
|
|