retreiving GPS data from htc p3300 - Windows Mobile Development and Hacking General

Hello
I'm trying to get GPS data from the com port with c#.
I'm using a serialPort component setted to the com4
port (which is shown as the gps port in the params form).
I implement the DataReceived event to get the data but
this event is never fired.
I did not find anywhere any piece of information about the
way to initialize the gps (if it should initialized) ; also
nothing about the com port settings.
Joined are my current settings.
Any idea ? documentation ?
Thanks
Julien

Same problem
Resolved the problem?
I'm having the same problem. When the road program in Windows XP works, most in HTC not.

Well... No !

Related

Anybody interested in an XDA as infrared datamodem?

Is anybody interested in this?
If there are some votes I could build an application which provides a infrared to datamodem proxy.
UnKnOwN
This feature is already part of the new 3.16 ROMs currently under test.
Thx for the info.
UnKnOwN
If you are looking for a project, would you consider this?
I have a tracking unit in my car. I can send it an SMS message from my XDA and it will return a full GPS NMEA string with a header. Can anyone tell me the feasability of writing an application that could post this incoming data directly to the TomTom maps program and display the vehicles exact position at street level.
The GPS application supplied with TomTom maps can obviously do this with streaming NMEA strings through the serial port.
If this application is possible I think there is a lot of potential. I am in the telematics business and I know that the majority of tracking devices work the same way.
John Bateman
[email protected]globalnet.co.uk
I think it's possible to write this application. All you have to do is to build a virtual serial port driver in Platform Builder and to check incoming SMS messages in a user level application.
If you are interested in a real bussiness project just let me know.
John
hi @all
a REALY GOOD project would be to use the WM as GSM Gateway. that would be the HIT
best regards
noway

Garmin GPS10 an JasJar

I was able to use my Garmin GPS 10 with my PocketPC with windows 2003 with no problem.
On my JasJar the Garmin Que (v2.70) does not detect the GPS. The JasJar is able to pair with the GPS 10 with no problem. I've got it on Outgoing COM8. Then in the GPS Control Panel I have program on COM7 and hardware on COM8.
In the Que s/w under Setup -> Interfaces I have only the following options:
- <Auto Detect>
- Serial on Cable COM1:
- Infrared Port
- Ir on COM3:
- RIL on COM6:
- COM7:
- QCT Data Interface
No matter what I select it does not detect the GPS.
I've logged the problem with Garmin, but I've not had any response yet.
Any assistance would be appreciated.
garmin gps10 & que working
hi,
you should find an earier entry from me on this, i manually put an entry into my registry listing com4, and on bluetooth setup the connection on com4, i could then see com4 in que. interesting since then the registry entry disapeared after a reboot but que and gps10 has worked ever since
Re: garmin gps10 & que working
sgordon said:
hi,
you should find an earier entry from me on this, i manually put an entry into my registry listing com4, and on bluetooth setup the connection on com4, i could then see com4 in que. interesting since then the registry entry disapeared after a reboot but que and gps10 has worked ever since
Click to expand...
Click to collapse
Thanks for the reply, but can you assist me by telling me which Registry entries you modified?
I recall on my pda2k there was a text file in the garmin que application folder that include the setup and port configuration, and if my memory serve me will just edit the file on your desktop for your port and reload it into your pocket pc overwritting the old one.
that is if my memory serves me will, sorry if it didn't.
obex2 said:
I recall on my pda2k there was a text file in the garmin que application folder that include the setup and port configuration, and if my memory serve me will just edit the file on your desktop for your port and reload it into your pocket pc overwritting the old one.
that is if my memory serves me will, sorry if it didn't.
Click to expand...
Click to collapse
I had a look in Garmin folder and it contains the GarminQue file, an error log, plus some other binary files. Unfortunately no configuration text file. :-(
Registry Key
Ok I found the registry key to mofify. Thanks sgordon for the pointer.
Go to HKEY_LOCAL_MACHINE/Drivers/Active/73
Make sure that the GPS is on Outgoing port COM4
Add a String Value:
Value name: Name
Value data: COM4:
Start Garmin Que and go to System Setup -> Iterfaces. There will be a blank entry in the dropdown list, choose that. The s/w should now see the Garmin.
For some strange reason the key disappears after a reboot, but the Garmin Que s/w is still able to link to the GPS.
Mapsource and Que on WM5
Ok now that I'm able to link my JasJar and the GPS10, then next problem that I have is that neither Mapsource nor nRoute detects the unit so I'm unable to transfer maps or waypoints to my JasJar.
I've tried to install the the Que on the device and on the SD Card, but no luck.
Any ideas?
Another Way
I was forced to reset my JasJar and after the reset the key described above was not available, but I found another solution.
Search in HKEY_LOCAL_MACHINE/Drivers/Active for one of the keys which has a value with Drivers\BuiltIn\GPSID
In this key the name is GPD0:
Change it to COM4: (if your GPS is on COM4
Then start Que and COM4: wil now be availble under Interfaces.
I also resolved my issue with the MapSource maps by telling MapSource to write the map directly to the SDCard (My notbook has a built in SDCard Reader). Thanks for the assist.
i did the same but i cant transfer the tracks and waypoints from wm5 to mapsource. Any clue?

Problems with GPS utilities over BT (GPSDash, GPSTuner, etc)

Hi all !
I use my Universal with Navigon 5.2 and Holux GPSlim236 BT GPS unit for quite some time already without any problems.
Just recently tried to install a GPS utility to see some GPS protocol details and the problem is that i do not know which COM port to use and how to connect BT GPS module to my Universal before starting this GPSDash or GPSTuner utility which wants to know COM port number.
Please, help !
Baudy.
hi
You should go to bluetooth settings and see which COM port is assigned to Outbound serial port connections
By default it's COM6
good luck
you need to create a fake com post in the registry so this programs can see com port 3. Problem is they don4t see the microsoft bluetooth port because they don4t know how to.
One you created this fake port, you can select it in any program.
Somebody still has to come with a simple app to do this though, because the only way I now is manipulating the active and the builtin driver section.
sometimes you can also edit the ini files of these utilities to directly indicate the COM port that you have chosen. Helps for example with Navigon.
@robal: this is not the case for the Universal. It uses a completely different BT stack. Free ports are COM0 and COM8
robal said:
hi
You should go to bluetooth settings and see which COM port is assigned to Outbound serial port connections
By default it's COM6
good luck
Click to expand...
Click to collapse
In the BT settings there is no Inbound or Outbound COM port assigned.
thaihugo said:
you need to create a fake com post in the registry so this programs can see com port 3. Problem is they don4t see the microsoft bluetooth port because they don4t know how to.
One you created this fake port, you can select it in any program.
Somebody still has to come with a simple app to do this though, because the only way I now is manipulating the active and the builtin driver section.
Click to expand...
Click to collapse
Do you have any idea of how to do this precisely, step by step ?
baudy2 said:
robal said:
hi
You should go to bluetooth settings and see which COM port is assigned to Outbound serial port connections
By default it's COM6
good luck
Click to expand...
Click to collapse
In the BT settings there is no Inbound or Outbound COM port assigned.
Click to expand...
Click to collapse
That's because you need to do that yourself. Create a new outbound port on COM8, link it to your receiver and then specify COM8 in your programs.
lbendlin said:
That's because you need to do that yourself. Create a new outbound port on COM8, link it to your receiver and then specify COM8 in your programs.
Click to expand...
Click to collapse
Works perfectly ! Thanx !

C# SerialPort - can't send data via (virtual) com-port

Hi!
I want to write a little remote software for my pda (HTC Prophet), with which i can control some things of my laptop.
My problem is, that i can't send data via the com-port from my pda to the laptop (it's a virtual com-port because they are connected via bluetooth).
I'm using Visual Studio 2005, OS is Windows Vista, PDA is a Windows Mobile 5!
Is there anybody that can help me with solving that problem? Which settings do I have to chose so that I can establish the connection via com-port? If necessary I can also post some code!
Greetings and thanks,
Nico
n2daico said:
i can't send data via the com-port from my pda to the laptop
Click to expand...
Click to collapse
What programming language (version of the NETCF) are you using?
Can't send as in?
- Can't create port?
- Exceptions thrown?
- Data sent but not received?
- Haven't written the code yet?
Not sure I'll be able to help, but a bit more info on the problem will help people to help you.
Gingercat.
-C# with .Net 2.0
-No exceptions
-Laptop receives no data (checked that with a com-port listener)
-I already have the code
concerning the bluetooth settings in vista:
-com-port 6 (incoming)
-can't set an outgoing port for the laptop on the pda (only for other paired mobile phones)
Do you need further information?
Greetings and thanks,
Nico
No ideas and hints?
Does the bluetooth stack on your laptop support the Serial Port service?
I think so! It's the Widcomm BT stack!
??
No other ideas or hints?
I need more information...so please help me

ActiveSync over GPRS - Programming Request

Guys,
i know im not that great of a programmer. But i was wondering if anyone can program the following setup? it would help A LOT of us newbies .
- Serial Port emulator for PocketPC.
a. Input has to be transfert from a serial port (for use with activesync) to the internet service (TCP) with a specific IP-adress and back.
- Serial Port emulator for PC.
a. The emulator needs to listen to a specific port for TCP connection requests. And forward everything to the emulated com-port and back.
I know there excist many serial emulators for the pc, but none with an TCP/IP server integraded.
For a visual display, take a look at the picture that is included.
This is a very interesting thing. It would just provide ActiveSync over ANY TCP/IP connection (so also WiFi and such).
The serial ports part can certainly be done (not that I looked into how difficult it is, but I know it is possible)
I am however still unclear in how doing this would enable ActiveSync to work. Sure I can connect the PC side to a COM port, but how would this work on the PPC side? If I look in ActiveSync there, I don't see an option to connect to a COM port. Maybe I am overlooking something.
There are several USB-over-IP solutions out there, would they help in achieving your goal?? although its not clear to me what your goal is...
Hope this is helpful,
Cheers!
nid

Categories

Resources