PDA

View Full Version : Serial Port Profile for GPS2Blue


lncdoc
2nd April 2009, 03:30 AM
Hi,

I'm trying to get GPS2Blue to work and managed to get a connection between my Kaiser and my desktop (with a dongle using the Toshiba Bluetooth stack) by creating an outgoing port on the Kaiser (start-settings-connections-bluetooth-com ports-new outgoing port-DESKTOP-next).

I am successfully paired with a Lenovo T61 using the internal bluetooth with a broadcom stack (Vista Bunsiness x64), but while the Desktop advertises 'Serial Port' and 'ActiveSync' as bluetooth services, the T61 stack only advertises 'ActiveSync' 'Wireless Stereo' and 'Headset'. As a result, I can't add an outgoing port to the laptop and GPS2Blue doesn't work.

Does anyone know how to tell the broadcom stack to tell the kaiser that it has SPP (Serial Port Profile) available for it? Using GPS2Blue over TCP/IP is not an option because the virtual com port driver currently doesn't support Vista x64.

This has been bugging me for a loooong time, I'd really appreciate any help with this. Thanks!

Lncdoc

kilrah
2nd April 2009, 10:01 AM
OK, 2 things.
Firstly, GPS2Blue doesn't need an Outgoing port on the Kaiser, but an Incoming one. Then, you discover services on the phone, from the PC, and you'll have a serial port you should connect to. Not the other way around like you were saying. Now, WM6/6.1 don't let the user set an incoming port from the BT configuration page anymore, so a manual registry edit is necessary. Attached is a .reg file that will set an incoming port on COM6.
Apply this, soft reset. Then run GPS2Blue, set it to use COM6, discover services from the PC, connect to the serial port, and connect to whatever serial port the stack maps it on the PC with your GPS program.

Secondly (but now unrelated!), if from the phone you'd like to see a serial port on the PC, there are 2 solutions. Firstly look for an "add new seral port" option in your BT stack on the PC, some support multiple ones.
If there's none, you should open activesync connection page, disable serial connection. On the Phone the Arcivesync entry will now revert to serial port. To have AS again, reenable the COM port connection in AS.

lncdoc
4th April 2009, 03:35 AM
Thanks a lot! That worked like a charm. After Vista with the Broadcom stack forced the use of COM9, I changed it manually to COM5 in the device manager (For reference of other people wanting to do this: Device Manager / Ports (COM & LPT) / Standard Serial over Bluetooth link (COMn) / Right Click / Properties / Port Settings / Advanced / COM Port Number), since some software (like MeHere) only supports up to COM8.

Now everything works like a charm on my laptop.

Note that this weirdly enough also works with an Outgoing port on the Kaiser if you have a stack (on your PC) which broadcasts the availability of an incoming serial port (in which case the Kaiser initiates the connection, not the PC, and the COM Port sends regardless of whether something is connected or not...). Not that I'm recommending this route to anyone, but I got this working on the Toshiba stack.

Anyway, thanks a lot again, it's finally working perfectly with OziExplorer, MeHere, Google Earth.... you name it.

Lncdoc

denasqu
24th July 2009, 01:47 PM
Arrrrgggg! I am so close. The incoming BT port bit helped me to get connected but, although GPS2Blue is gettting a lock, and I appear to be connected to EarthBridge/PC, the GPS data doesn't appear to be transmitted to Earthbridge/PC. Google Earth keeps putting me off the coast of Africa instead of south Florida.

I'm about ready to go pickup a copy of Streets & Trips with GPS.

elpetah1984
30th December 2009, 02:50 PM
I allready got .reg file on my computer.
The only thing i don't understand is how to get the incomming port on my laptop....

Greetz

Peter

mmiller7
28th March 2010, 06:30 PM
Loaded the appropriate reg values...nothing. Still doesn't work. I can't see the port on the PC or Handheld under "Bluetooth Services".

lion67
26th June 2010, 05:15 PM
Thanks kilrah
Your solutions works great for me and i have tested this with my i900 and two different notebooks running Windows 7 and Windows XP
Works in both notebooks
I was using Garmin Mobile PC Version 5
Thanks again for your great help

bikhoda
3rd October 2010, 02:12 AM
thx kilrah

'elpetah1984' you must import registry value to PDA windows not PC

http://forum.xda-developers.com/showthread.php?p=8429209#post8429209

iRiKi
12th February 2011, 04:21 AM
F I N A L L Y !!!!!!! :D:o:):mad::eek::cool::confused::p:rolleyes::(:D;) :):mad::eek::eek::confused:

I've finally managed to do it!!! Oh man.. what a fight! almost 4 am and trying since days.. eheheh it is really rewarding! Will be doing a tutorial to avoid hours and hours of frustation to anyone trying this!

mmiller7
12th February 2011, 01:49 PM
F I N A L L Y !!!!!!! :D:o:):mad::eek::cool::confused::p:rolleyes::(:D;) :):mad::eek::eek::confused:

I've finally managed to do it!!! Oh man.. what a fight! almost 4 am and trying since days.. eheheh it is really rewarding! Will be doing a tutorial to avoid hours and hours of frustation to anyone trying this!

That'd be great!

Did you get it to work with many apps? I remember one time I managed to get it set (don't know how, can't reproduce my semi-success) so I could share the ActiveSync port and in Windows I could open the COM port on PuTTY to see the NEMA output but only a couple apps recognized that there was a GPS there -- the main thing I wanted to work (inSSIDer) couldn't see any GPS.

I'd definately be interested if you came up with a reliable way to make it work.

iRiKi
12th February 2011, 11:13 PM
-- the main thing I wanted to work (inSSIDer) couldn't see any GPS.


I saw your post @ metageek forums, because I too am unable to make it work with either version of inSSIDer, although Netstumbler saw it nice and easy. Thing is: I have Vista, and Netstumbler doesn't like Vista like me :D

I'm gonna get a XP lappy tomorrow which battery only works for half an hour but hey, it's a start :o

mmiller7
13th February 2011, 12:59 AM
I saw your post @ metageek forums, because I too am unable to make it work with either version of inSSIDer, although Netstumbler saw it nice and easy. Thing is: I have Vista, and Netstumbler doesn't like Vista like me :D

I'm gonna get a XP lappy tomorrow which battery only works for half an hour but hey, it's a start :o

Good luck, XP is out of the question for me because HP doesn't provide Bluetooth drivers back to before Vista. Maybe I can find a way to forward the COM port and a USB WiFi adapter through VirtualBox and use XP that way...though I've been unsuccessful with either of those so far.

iRiKi
13th February 2011, 05:04 PM
Actually you can forward the USB device to Oracle's Virtualbox, I have my TP-Lnk USB WiFi forwarding into a linux virtual machine working perfectly in monitor mode with kismet and aircrack :D I don't think you can forward COM ports tho, but if you have an external USB bluetooth adapter you can also forward it into XP!! Will try that asap!

Thing is, I wanted to use the onboard wireless because it's way more sensitive than the external USB adapter, but it's not possible to forward it inside a virtualbox.

Ahhh computer issues.. always bugging me since 1993 XD

iRiKi
17th February 2011, 05:06 AM
Actually you can forward the USB device to Oracle's Virtualbox, I have my TP-Lnk USB WiFi forwarding into a linux virtual machine working perfectly in monitor mode with kismet and aircrack :D

I got bad news and good news.

Bad news:
The USB forwarding of my wireless card works under Linux but FAILS under a XP VM!!! %$#*@#!"# :mad::mad::mad::mad:

Good news:
Downloaded Franson GpsGate trial and now inSSIDer is working !!!!