How to create a virtual Com port - Windows Mobile Development and Hacking General

Hello.
I am trying to develop an application that allows multiple applications to access GPS co-ordinates from TOMTOM. I have the tomtom control that allows other applications to get the gps location. I was hopnig to create virtual com ports on the PPC and send the gps location to the virtual com port.
Does anyone know how tyo create a virtual com port on the ppc using EVB, or does anyone have a control to create one that I could use.?

Hiya,
Although I don't know how to create what you asked, there is a product called GpsGate that already does what you've just said:
http://franson.com/gpsgate/index.asp?
You may find it easier/quicker to just purchase theirs than write your own (Pricing = USD $15 to $30 depending on version) but obviously that's your choice.
I use it to share my GPS between TomTom and WiFiFoFum and works perfectly!

Cool - I've just had a lok it looks fine, I'll try it out for a few days - Thanks

Related

How to use the WM5 GPS App?

Hi All
I have performed the reg edit that enables the WM5 GPS App - I also know from threads that it is intended to allow multiple pocket pc applications to use the same GPS. Can someone explain how to use the various settings?
In particular, what is the effect of the different GPS settings on the tab labelled "programs" and that labelled "hardware"? And in what circumstances should one uncheck the "manage GPS automatically box" on the "access" tab?
Many thanks
Chris
WM5 GPS Application
Hi Chris!
I have an O2 XDA Mini S and i am missing the GPS Menue in WM5 and i think it would be helpfull in connecting with my GPS Bluetooth receiver.
It sounds that you know how it is activated so that i can try some changes. Would be nice to hear from you.
Thanks in advance
Carsten
http://forum.xda-developers.com/viewtopic.php?t=36540&highlight=gps
ßeta said:
http://forum.xda-developers.com/viewtopic.php?t=36540&highlight=gps
Click to expand...
Click to collapse
Hello,
I tried your soluce but it doesn't work on my Qtek9100 (Orange SPV M3000). The registry key is changed as shown, but after a soft reset, the "redirect" key reappears and my modifcations are not applied.
Does anyone have an idea ? :roll:
you must make sure that the changes are saved after the registry changes
otherwise as you say nothing happens
Jean,
I had the same thing, couldn't get it to work.
But using PHM regedit and saving the changes it finally did work.
The DWORD “hide” wasn’t in my Qtek.
Cheers
Is anybody able to help with my original question?
Hi All
I have performed the reg edit that enables the WM5 GPS App - I also know from threads that it is intended to allow multiple pocket pc applications to use the same GPS. Can someone explain how to use the various settings?
In particular, what is the effect of the different GPS settings on the tab labelled "programs" and that labelled "hardware"? And in what circumstances should one uncheck the "manage GPS automatically box" on the "access" tab?
Many thanks
Chris
Click to expand...
Click to collapse
lskb: I don't use GPS and don't have one, but I enabled the GPS settings page anyway.
It seems fairly descriptive to me, but I would guess, the Programs page basically deals with programs that have difficulty connecting to certain com ports (ie it's used for com port redirection).
So eg, if TomTom MUST be configured to a GPS receiver on COM2, set your settings in the Programs tab to COM2.
Hardware is the actual "physical" com port the gps receiver is linked to. Again, depends on your bluetooth setup/hardware pairing. But eg if your GPS receiver is connected to COM4, set this to COM4. Baud will typically be dictated by your software/hardware setup.
Access is for apps that don't like sharing the bluetooth/GPS receiver. Leave it as it is, ensure the first two tabs are correct, and if you're having troubles but you're certain they're Tab 1 and 2 are correct, or you know for a fact other people have found it helpful, untick the Access checkbox.
V
Vijay
Thanks for that, but I have a question. When you say hardware, you mean something phyiscally connected to the Wizard or by a bluetooth connection? If you mean the latter, then I am not sure that that is correct as the range of selectable baud rates looks wrong.
Thus, my bluetooth gps is installed on an outgoing com port 6 in the bluetooth settings area. The baud rate specified for my gps is 38400. Am I supposed to set the hardware com port to 6 (despite the fact that it is already set in the bluetooth area)? And if yes, how do I set the baud rate, as 38400 is not capable of selection....
Chris
Jean,
I had the same thing, couldn't get it to work.
But using PHM regedit and saving the changes it finally did work.
The DWORD “hide” wasn’t in my Qtek.
Cheers
Jean,
I had the same thing, couldn't get it to work.
But using PHM regedit and saving the changes it finally did work.
The DWORD “hide” wasn’t in my Qtek.
Cheers
well, i have exactly sam eproblems like Iskb. I set the hardware port to com 6. (Vario and Navilock BT unit). Then, when i am trying to connect to my BT module, there is no chance to establish the connection at this given port. I am forced to choose another one (ie COM7). I thought that the GPS manager would work in some way like GPSgate do, but it seems not to be true
make sure in the original com port area the bt modem is not listed on any port,
after you have enabled the com port in the new gps icon and then selected it in the navigator software, change the new gps icon port back to none, and then you can create a "New Outgoing Port" using the original com ports link.
hope this makes sense to somebody :?:

Using multiple GPS apps simultaneously - A small investigation

Searched all forums for ( GSP , Comports, Multple, split comport, duplex )
I have no troubles using any GPS app on my Universal (MDA Pro)
However, using...... GPS gate (buyware)
....or the free GPS splitter that comes with
Microsoft Virtual Earth Mobile (freeware, GPS icon suddenly appears under settings-connections after install of Microsoft Virtual Earth Mobile,
....or app found at http://www.gpsmeter.com/ (browse to portsplitter)
i am still unable to successfully run two GPS apps at the same time.
Don't get me wrong, I DO succeed in getting two GPS apps READ the data.
Both apps will show connection , for instance TomTom together with my own app PocketReperion, but tried with Visualgpsce http://www.visualgps.net/VisualGPSce/ and a lot of other apps too.
Symptoms : Even though successfull in setting up various comsplitters to send data to 1 virtual port, and have multiple GPS application accessing them, I am unable to get that situation stable.
So the concept on a lot if ISO layers has been proven, why the hell doesn't it work for longer that say a minute, 4 minutes, not at all, 10 seconds...
It seems that most comsplit apps are rather "reset" intensive (tested on clean device) and even when it does work for a while something will lockup and a reset is again necessary.
Does anybody use the blue GPS icon (free after install virtual earth mobile) to split ports and if so what is your setup ?
Does anybody use GPSGATE to split ports and if so what is your setup ?
Does anybody use the PortSplitter linked to above..to split ports and if so what is your setup ?
Please share your thought and expierences with me as I really really want to solve this issue. Be it for my "own" app, but also for all the other ones out there.
GPS port splitting multiple GPS apps on 1 receiver
Small BUMP : Doesn't anyone use portsplitting in whatever form, or am I really the UeBerGEEK here ?
It Works !!
IT WORKS !!!! BUT YOU HAVE TO CREATE TWO VIRTUAL PORTS - USE PORTSPLITTER !!!
All I had to do is download http://www.gpsmeter.com/ portsplitter as discussed in the other threads, HOWEVER......
Instead of what manuals seem to say, even from other softwarez like GPSGate, create TWO or more VIRTUAL ports in PORTSPLITTER!! Connect each GPS app to a DIFFERENT VIRTUAL PORT.
Also, when pairing and configuring your GPS, try taking a high Comport like 9. Go down one if no success.
Then when configuring PORTSPLITTER, don't be alarmed that your COMPORT isn't in the drop down list, MANUALLY enter "COMx" without the usual ":" where x stands for a number..the high real COM portnumber you configured when pairing/setting up.
You must use your keyboard or the stylus to manually enter the Comport if it is not in your dropdown list in PORTSPLITTER..
for speedreaders :
install PORTSPLITTER http://www.gpsmeter.com
use highest physical COMport available to pair your GPS
Define TWO virtual ports (instead of what seems to be written everywhere or am I really lame?)
Connect each Application to different virtual ports
My setup on a T-Mobile MDA Vario II (with Cingular ROM)
Physical Port 9
Virtual Ports in PORTSPLITTER 4,8
Hardware COMport in PORTSPLITTER (COM9 had to manually enter it, it was unavailable from drop down.... .... ...)
TomTom Navigator mapped to virtual COM8 (Didn't show up in TOMTOM until PORTSPLITTER running and connected to GPS.. ..)
Reperion *sweet favorite GPS app" mapped to Virtual COMPort 4 (Reperion eats all ports, no problems there....)
Please o please report...

Finding available ports in HTC P3600 / Trinity

Hi,
My first post here!
I use the following in VB.NET 2005 to obtain a list of available ports in my HTC P3600:
Code:
Dim s As String
For Each s In SerialPort.GetPortNames()
Console.WriteLine(" {0}", s)
Next s
When I run this piece of code, it only finds COM3. I have a ROM in my P3600 that has the GPS activated. GPS is available on COM9, but I don't see this port in the list of portnames. When I connect directly to COM9, I get GPS data, so I know it works.
Any idea why COM9 doesn't show up with the code above? Is this port maybe hidden for developers?
CD
Nobody able to help with this?

Navigon MN7 + GNS TMC

Hi guys,
got my TP2 3 weeks ago and it works great!
Among some tweaks I found here I use MN7.3.4 with the "GNS FM9 BT-N" Bluetooth TMC receiver. I configured it as shown here:
- paired at COM 2
within Navigon:
- GPS with external TMC
- GPS-Port 4
- GPS Baud rate 115200
- TMC Port 2
- TMC Baud rate 57600
This works out perfectly. And already saved me some time
But one thing is really annoying me. Every time I start MN7 outside my car the windows mobile bluetooth service is asking every 5 sec to start my bluetooth. After doing this, it repeatingly asks me to which device I want to connect to. But there can't be any device outside my car. Any chance to change this behaviour?
I used google, the xda-developer wiki and forum search; am I the only one with this problem?
regards
This Problem http://forum.xda-developers.com/showthread.php?t=535835 ?
I have no solution found.
Yes, thats the same message. But I can click it away. Nevertheless it reappears after exactly 5 sec.
Workaround for annoying bluetooth dialog
Hi!
I had the same problem with my gns and navigon and I did a quick and dirty solution:
1. Copy the whole navigonfolder without the folder "MAP"on the storage-card and rename the copy with NavigonNoTMC or something like that. You loose about 40MB of storage on the card which is not too much.
2. Edit the file /[Storagecard in your language]/NavigonNoTMC/ApplicationSettingsPathes.xml
3. Replace all paths wich point to ./map with /[Storagecard in your language]/Navigon/map
4. Start MobileNavigator.exe from the folder /[Storagecard in your language]/NavigonNoTMC
5. Configure this copy of Navigon without TMC-Modul and save
6. Create a new shortcut in the startmenu to the MobileNavigator.exe from the folder /[Storagecard in your language]/NavigonNoTMC and rename it with NavigonNoTMC or sth. like that
-> Now you can start the fitting version of Navigon in the car with TMC and outside the other without TMC
I hope this helps for your problem - it did for me
Greetings from Bavaria
esociarius

Asus VivoTab Smart GPS port

The built-in GPS works fine with the map/GPS programs from Win8 Microsoft Store. I have several desktop map programs (e.g., MapPoint, Microsoft Streets 2013, OziExplorer, etc.) which look for a serial or USB port in order to talk to the GPS unit. Does anyone know how to get these programs talk to the internal GPS unit (e.g., COM port #, baud rate, etc.)? THANKS.
That information may be available in Device Manager. An alternative, somewhat silly but actually viable option: hunt up a copy of Hyperterm (or similar) and, assuming it runs on Win8 (I haven't tried), check your COM ports for GPS traffic and tweak the baud rate until it looks like NMEA (I assume that's what your software expects).
With that said, it's possible that the internal GPS doesn't use the standard ports at all, and instead just uses the new Windows Location APIs. That would probably mean you would need to write a cross-over program that uses the new APIs to retrieve the location, translates them into NMEA, and pushes them to a virtual COM port. Probably possible to write, but not trivial. I hope/assume that the Location framework can be used in desktop apps, but I haven't actually checked; Metro apps may not be able to access COM ports in which case you would need to write to some inter-process-accessible resource that can be reached from the AppContainer - a loopback network connection or possibly a file may be workable, I don't know if named pipes are reachable - and then a desktop application to connect the metro app to the virtual COM port. HUGE kludge, I know.
GoodDayToDie said:
That information may be available in Device Manager. An alternative, somewhat silly but actually viable option: hunt up a copy of Hyperterm (or similar) and, assuming it runs on Win8 (I haven't tried), check your COM ports for GPS traffic and tweak the baud rate until it looks like NMEA (I assume that's what your software expects).
With that said, it's possible that the internal GPS doesn't use the standard ports at all, and instead just uses the new Windows Location APIs. That would probably mean you would need to write a cross-over program that uses the new APIs to retrieve the location, translates them into NMEA, and pushes them to a virtual COM port. Probably possible to write, but not trivial. I hope/assume that the Location framework can be used in desktop apps, but I haven't actually checked; Metro apps may not be able to access COM ports in which case you would need to write to some inter-process-accessible resource that can be reached from the AppContainer - a loopback network connection or possibly a file may be workable, I don't know if named pipes are reachable - and then a desktop application to connect the metro app to the virtual COM port. HUGE kludge, I know.
Click to expand...
Click to collapse
so there is no app that will work with the built in gps even for desktop mode? I tried Maps(that comes with windows 8) and only locates my ip not gps position

Categories

Resources