TomTom Bluetooth GPS Serial Port Programming - .Net CF 2.0 - Windows Mobile Development and Hacking General

Hi all,
I'm writing an app for the PocketPC platform which needs to communicate with a TomTom bluetooth GPS receiver over the serial (com) port.
Support for serial port comms is good in .Net 2.0 and I can find examples of how to parse the NMEA data. Where I am really in the dark, though, is in how to make the initial connection to the GPS device. Some obvious initial questions are:-
1. How do I discover (at runtime, since I imagine this could change) which com port the TomTom GPS device is using?
2. What comm settings, baud rate, parity, handshaking etc. will I need to use?
3. Once the communication is open, will I need to write anything to the port to initiate a conversation or will I start to get streamed data straight away?
4. Am I right in assuming that the data will be in a standard format (NMEA?) by default?
Any help and advice you could give me would be very much appreciated.
Best regards,
Simon Hudson

Related

XDAII / Tomtom 3.07 / Aktronix -- Please Help

I recently upgraded my Bluetooth GPS Receiver from a rikaline 6030 to an Aktronix with 16 satellites but i can't make it work with my XDAII and Tomtom 3.07.
I can pair it. But when i start the Tomtom GPS Tracker, it can't seem to connect to the Aktronix GPS Receiver.
Any Help will be greatly appreciated
Which port are you using for the gps? Did you accept serial profile when gps was being bonded. Try choosing tomtom wireless gps and bt gps in the bottom box.
I tried to use com 1 port, but xda issued an error saying that com 1 doesn't exist. I then tried 4, 5, 7, 9 to no avail. I tried selecting tomtom wireless gps and bt gps but it still failed to work although that's the setting i used for the rikaline 6030.
The aktronix uses nmea chipset and the manual tells me to use it as an spp slave but xda doesn't have that option. I also tried installing pocket Bluetooth tools but when i tried to pair the aktronix GPS, there's no port number in the serial option. It just has a blank field...
Hopefully you guys can help me sort this out
Try the following under the GPS section (2nd page where the world map is).
Top dropdown = NMEA 0183 v2 Bluetooth
Bottom dropdown = Blue tooth Serial Port COM6
Make sure the box is "ticked"
Also, switch on Bluetooth, go into bluetooth setting,select service, highlight serial port and make sure there is a tick in the Enable service box.
HTH
Kevin
I've selected NMEA 0183 v2 Bluetooth and Com 6. But when i went to bluetooth settings, i can't see service on it. All i can see are:
================================
Bluetooth Beam Authentication
Authentication Required
Bluetooth ActiveSync Setup
Press start button...
Bluetooth Serial Port Setup:
Inbound COM port: COM4
Outbound COM port: COM5
================================
Is this the service that you're talking about? If not, where can i find this service thing that i need to highlight.
ROM Version 1.72.00WWE
Radio Version 1.17.00
ExtRom version 1.72.187
Looking at those setting you should be choosing com 5 for your gps. It should also work by choosing tomtom wireless in the top box and bt gps in the lower box in tomtom gps settings. Try removing the gps from your bonded items, reset the xda then rebond, it should offer to act as serial port profile, answer yes to this.
I also tried installing pocket Bluetooth tools but when i tried to pair the aktronix GPS, there's no port number in the serial option. It just has a blank field...
Click to expand...
Click to collapse
This is the same problem for me, but with a Royaltek RBT-1000, XDA II and Pocket Bluetooth Tools installed...
Any solution?
Well, I have a similar condition.
O2 XDA II, AA Navigator and Fortuna Clip-On Bluetooth GPS.
It has worked before with TomTom, it STILL works with Microsoft Pocket Streets - you start it and it shows the GPS data.
AA Navigator automatically detects the device, setting the data to COM5 (which seems right to me - Outbound port which means the XDAII initiates the link) and speed to 4800. This is the same setting which is used by (working) Microsoft Pocket Streets, so I'm pretty much confident that the port would be COM5.
Yet when I confirm this, it still says <unplugged/setup wrong>... and the blue LED on Clip-on does not pulsate just like it does when there is the reception with other working software...
Wrote e-mail to AA support (I'm no fool to ring £1 / minute support line...) and waiting the answer... not going to resort back to TomTom...

GPS and TomTom5 Problems

I recently purchased a bluetooth GPS receiver (branded as Fusion with X70 as the name on the back - purchsed from Polstar) and TomTom5 software but cannot get the two to work together.
I have bonded the receiver and set it as COM7 and I can choose that in TomTom5 as the COM port to use but it always says "No GPS Device!"
I have also downloaded and installed the BlueTooth Tools software but this hasn't helped either.
I have an o2 XDA2 and any help with this would be much appreciated.
I think mine is set to BT on com6. You must make sure the GPS receiver has a satellite signal before you try to configure tomtom (flashing light or whatever). Keep trying different settings, that's what I did
I think I have tried all the settings I can, I am beginning to wonder if i've got the correct version of TomTom5 installed! My device information says my platform is PocketPC and that is the version of TomTom5 I installed.
I have tried various settings and soft-rebooted my phone in the meantime after each change and tried without re-setting too!
This is getting rather annoying now
sorry, I'm using com5. Have you made sure you've got a satellite connection first.
Mine is version 5.000
When I turn on my GPS receiver I get two lights flashing, one to indicate that the bluetooth is sending a signal and the other to say that the device is receiving a GPS signal.
Try this...
Hi Dave,
Did you buy this via eBay? Couple of friends have bought from the same guy and neither worked, even though it seemed that they were (flashing lights, bonded etc). Both Polstar/Fuzion.
Anyway, if it won't connect via 'other bluetooth', try selecting 'other cabled device' and then select 4800 baud and your bluetooth com port.
Don't know why, but have had to do this with 3 different PDA's so far (2 XDA, 1 ipaq). It seems to work fine, although the data rate's a bit slow.
Any bluetooth gps I have has installed as com 5 when bonding, it asks if you wish to install serial profile and allocates com 5. I have noticed however that tomtom is very weird with its gps module, it keeps saying gps not found or signal lost etc and then I have to reselect other bluetooth and com 5 and even then sometimes I have to reinitialize the receiver before it is found. I always advocate the use of a wired gps if it is only required for vehicle use, it is less problematic, easy to configure and works 99.999999% of the time without problems.
If you run BT Manager and then check settings, it generally sets up as inbound com5 outbound com 6.
I have a Navman that behaved perfectly on Com 5 on TT3, on TT5 still behaves perfectly, but now uses Com 8 instead.
No idea why, don't really care that much -- it works.
I did buy the items from eBay and I am going to get back to the supplier (Polstar I believe) to see what I can fathom out.
Many thanks for all your advice, I have tried all options but still cannot get it to work so I will post a reply with the solution that works for me and hopefully it will work for others too.
No signal
Hi
the TomTom 5 has a new implementation, from the the TT3. It can manage the bluetooth connection. When you creat the connection with your pocket pc, by serial port, you must creat one connection of paired devices, as you created to your headset, bluethoot, of course. By the way, usually tt5 uses com 6 to connect with gps receivers.
The first time you configure your connection you must stay in position to receive signal from satelites, because its important to record all information from your gps receiver.
Regards
With regards to that marcusmodestus I think tonight, I will try and remove TomTom5 and delete my connection to the receiver and try installing again, from fresh.
Should I bond my reciever before or after I install? And should I run TomTom5 only with the bond in place?
bt gps
I bought one of these
set up as other cable on com5 but set baud rate at 38400 works fine 4 me
Success!
First, thank you all for helping me with this!
I have managed to successfully set it up now and here is the process...
Install TomTom5
Bond the device (I only had the option of Serial COM 7)
In TomTom5, change the preferences to use "Other Cable" and set the baud rate to 4800.
Magically I then get 5-6 satellites, a signal and an annoying American (which I will change to a nice english lady)
Thank you all again!
after hours of trial and error with tomtom5 and buzzmobile5.0 together with a xaiox wonde-xl bluetooth gps mouse (nemerix chipset) i learned the following:
it is recommended that you disable the gps manager of buzzmobile5.0 (not doing this has caused my device hang and auto soft reset some times). after that the following procedure worked for me:
1. pair your bluetooth gps device with your xda
2. assign a free outgoing com-port to that device (what com-port is best? please read text below.)
3. go to tomtom gps settings screen choose other bluetooth gps device
4. the assigned com-port number should appear in the next tomtom screen.
usually you should be done now and the connection should work, but i always had to delete the gps device in buzzmobiles bluetooth connection manager and had to re-pair it again, re-assign the com-port and re-start tomtom in order to get it work.
for any reason i then choosed to assign com8 as com-port for my gps mouse. and from this moment on tomtom5 was able to re-establish connections after switching of and on the gps or after switching xda on and off. i don't know what the exact reason is but choosing com8 was my solution to get tomtom5 working together with my gps on a comfortable way.
hope this helps others
regards
peter
I had this problem with Tomtom 5. No matter what I did it wouldn't work with my receiver.
I found that when I downloaded the 5.1 patch and installed it it worked fine with the GPS receiver set to COM6. Usually takes about 30 secs for the receiver to be found though. I think the update sorted out the Tomtom bluetooth support to a later version.
hi ...
how can i disable the gps manager of buzzmobile5.0?
thx mtc
settings --> system --> GPS
On the access tab uncheck the box
btw : I just saw that GPS hardware port shows com5 now. I'm sure I set both hard and software port to none cause somebody adviced this.
Anyway last week I didn't have to re-pair my gps in order for tomtom to find it ( which before I had to do every time I closed tt5). I've been messing in the registry to create extra com5 ports, maybe that's what caused it.
Anyways I now only have to switch on the gps and fire up tomtom and it immediately shows my position. Hope it will last..........

T mobile MDA compact & GPS

hi all
i have had a right time trying in vain to get my t mobile MDA compact to work with the holox BT-321 GPS receiver. the reason i am having so much trouble is when i pair the devices, a small window flashes up and says "This bluetooth device supports serial port profile, would you like to create a bluetooth serial port for it?" the window box is labelled "bluetooth serial port COM5" of course i click yes, it asks me for the name, and i leave it what its called "BTGPS74R" and click finish, this leaves me on the main menu. in the com ports tab there is "new outgoing port" and "new incoming port" i click outgoing and next and low and behold there is nothing in the box whatsoever to select. i have checked all the boxes in my bluetooth settings for the 2 com ports.
the phone refuses to show any ports at all, i have flashed the imate jam rom 1.12 as i read that solved it, but it never, i have tried a bluetooth program called pocket bluetooth tools and this brings with it more com ports but they do not actually work by putting the ports in the drop down list, its still empty !!! also when i select say port 6/7/8 the small window flashes up saying "this device supports......" and then the pocket tools dissappears and its all back to nothing again.
i am at my wits end with it and i dont have a clue how to get this bluetooth port to actually show up so i can bond with my bluetooth GPS and make tom tom 5 work
thank you anyone who can help me
Dan
Hi,
i just resolved exactly the same problem on my mda compact.
I had to do a complete reset of the device...
Hi
I am having a similar problem. I have an orange SPV M1000 and the same bluetooth GPS device. It is paired in bluetooth devices. When I got to connect on Tom Tom 5 it can't pich up the receiver. I have tried all the different wired/bluetooth etc device settings in TT as it says to try wired if bluetooth doesnt work. But to no avail. I'm tempted to try different sat nav software. Any ideas? Let me know if your issue gets resolved!
cheers
AJ
Hi guys,
The options for new outgoing/incoming port creation are to connect to a device with which you haven't paired. My gps creates a com5 too, like all of yours & TT5 finds it pretty fast when I have it to use 'another bt gps' @ com5.
When you think a hard-reset will solve your problem, get yourself a good backup first. Cause sometimes you can restore that backup & the problem is still solved.
BTW does your gps support nmea protocol? TT can only handle nmea & that could be the cause when your gps is setup for external communication with another protocol.
Good luck M
Thanks for the reply
Hi there
I've attached the info from my receiver, looks like it should be ok.
Tom Tom only has connections on infrared, BT on COM6, Serial Cable on COM1, COM9:, COM2:, and Serial on USB
When I go to Start>Settings>Bluetooth settings there are options for bluetooth serial settings. These are non changable and if you check the boxes it will set Inbound Com port to COM4 and Outbound COM port to COM5.
These com ports dont seem to be options in Tom Tom 5 which confuses me.
So i download a program called BeeLineGPS which does a scan of all the ports and baud rates which I thought would be easier than the manual setup of TT5.
Try the com port options mentioned earlier with the BeeLine software and it still cant pick up the GPS device. Tried fiddling around for ages and still not working.
Do I need some kind of software for forwarding the ports so TT5 can see the device.
The advert for the device i bought promised me and easy set-up but this is being a pain
http://cgi.ebay.co.uk/32-Channel-Bl...03433467QQihZ018QQcategoryZ4668QQcmdZViewItem
All Fixed now. I upgraded the Rom to a newer version. After this the tom tom picked up that it was actually on port 5 which it wasnt doing before. Bobs your uncle

GPS in settings, tomtom problem

I am trying to set up tomtom 5.21 with my BTGPS74 receiver but cant get the two to communicate. I know there is some settings you can change in settings/system/gps but the problem I have is I dont have the gps option in settings anywhere. Am I missing something? Does any on know what I should do. Tomtom wants me to use port 3 or 7 but when I try to set them in bluetooth settings it says its not possible check your settings. Any suggestions would b welcome. Thanks.
P.S I know the receiver works as it still works well with my N70.
...you should've gotten a GPS icon if software GPS recognized.
In rgister you can force simulation.
hklm\controlpanel\gps]
delete redirect and add 'group' with dword=2
Then GPS icon will appear.
I gave it programport 7,hardware 6, baudrate=57600
gps auto checked
I'm not sure about the settings...
I had to create incomming and outgoing com ports on my 3100 (not sure if you need both)??
TomTom used com port 9 and works like a dream
as soon as you start the programme it connects automatically as long as my receiver is on.
It even connects when the BT on the 3100 is turned off - it starts the BT automaticlally when tomtom runs!
Yeah i agree all you need to do is set up the com ports, then fire up tomtom and select the com port you just set up and away it goes
Chris
Thanks for the replies guys. I know I have to set the com ports but the problem I have is there is nowhere for me to do this. For some reason the gps settings is missing from the system/settings. I am going to try to reinstall tomtom to see if it helps. Tomtom has ports 3 and 7 showing but they seem to be taken by something else so I cant configure my receiver on either of them.
I have a slightly different problem... my TyTn can connect to the BT GPS reciever, but as soon as TomTom tries to calculate a route, or I click the GPS signal icon it crashes back to the Today screen...
I've got TomTom installed with 5.21 update, anyone had any problems like this?
you just need to pair your bluetooth device go to settings connections and bluetooth and add new device, let your tytn search and it will find a new device when you have paired it select new comm port outgoing
I have no gps setting in control panel either
Cheers
Chris
Hi,
i have a strange problem with my BT. I cant create a incoming or outgoing BT port. I dont know why but it wont let me create any ports.
Anyone with the same odd problem?
I had a similar problem, Tytn would only let me choose COM0 (Zero) as outgoing port, and TT works fine with it. However, I would like to add Mapking for Asia, and this navi soft will not accept a GPS on COM0. Anybody understands why Tytn is only offering COM0 as outgoing ports for GPS?
I have set the com4 as outgoing port and now tomtom seems to work fine.
thanks for that info.
I don't know why only port 0 and all other ports are blocked but TT works for me now. I only need to wait for a better ROM and i can leave my Wizard home
I have written to a good contact at HTC since I need COM ports other than 0 for Asian Mapking navi soft (in add. to TT) . Will keep you posted.
Answer from HTC:
"As my testing, the Outgoing port is not limited with COM0. PaPaGo can accept with COM0, COM2, COM4, COM8, and COM9. I think the limitation of COM0 is the software limitation of TOMTOM, So if the user wants to use Mapking that only support COM1~7, he need delete the outgoing port COM0, and reassign another COM port for the BT GPS."
I imagine the problem lies between the Tytn and TomTom only, and other navi soft would find other COM ports. But I am kind of hesitant to interfere with a working TomTom, and go through the outgoing COM port game again...
I'm using Navigon and set up an outgoing Connection on com2 and it works fine for me.
sounds like TT is the problem ...
greetz
sphings
Guys, let me try to help you a little bit, as I work in navigation software development (Destinator).
1. The COM ports has nothing to do with the actual software you are running. This is pre-defined in the ROM you are using. That is also the reason why we see variations here - we use different ROMs.
2. In order of enabling a COM port, you do NOT need to discover the GPS icon on the settings. It is quite useless unless you wish to work simultaniusly with more than one software.
3. To enable a COM port, after you pair the GPS, look down for the tab COM Ports in the BT settings Manager. You only need to create Outgoing COM.
4. Strange but usually you will only be able to choose between 2 COM ports. The rest are hidden by the OS. MAKE SURE that you disabled the "Secure Connections". Default key for all the GPS receivers is "0000" and for Globalsat 308 is "2003". The last is AKA HP GPS.
5. If you cannot enable any other COM port than COM0, this is a ROM problem and you should contact your ROM provider like the mobile carrier. You can also try to enable other COM ports with the attached CAB file. Simply run it, it will expose all COM ports for you and now you should start trying. I reccomend to test COMs 4-8 first, normally, it will solve your problems. (Note: I got this file previously here and did not create it myself).
There have been may posts about TomTom not recognising B GPS's.
One solution that doesnlt seem to be mentioned here id to ensure that the name of the GPs in BT connections actually ends in "GPS"..
If it doesn;t renove the pairing and re-pari , but change the name this time to something that ends in "GPS"...
good luck
Charlie Grillo
Thanks guys, found another solution that works for me now:
1) Set your Bluetooth GPS to another COM port than 0 (TomTom´s standard port 6 was not available, so I choose 2)
2) open Programs/Navigator/navigator.cfg with a text editor, change COM0 to COM2
3) start TomTom - working on COM 2!
Started Mapking, found COM 2 - working now.
hello fellas,
as you can see im new here. im thinking of buying the TYTN, a sector which i have never explored before (pda sector).
it sounds great with the applications and due to my work, a need for a pda is becoming bigger.
i posted in this message due to the GPS topic.
i got a very stupid question which you may recieve occasionally if i buy the tytn.. :twisted:
why do a person need BT enabled GPS? i read you can connect it to your PDA but for what reason?
thanks in advance and apologies for any inconvience..
@D_G - welcome to this board
In order to run navigation software on your Tytn you need a external GPS connected to it. Easiest solution is a external GPS connected via Bluetooth.
Another solution would be to buy a PDA phone with a GPS receiver on board, for example the ETen G500.
Of course we would all be interested in a UMTS PDA with integrated GPS, with acceptable battery life, but that will take some time...
thanks lucas for the answer. but why would you need a navigation software if you have a GPS device? in either case you will need to have both devices in a particula blue tooth range. right?
this means you will need your handheld device + the GPS to activate the navigation software, or dd I miss something?!

M700 GPS

Hi All, sorry for subjecting you yet again to a question about this but...
Orange have finally dmitted that the M700 has GPS, and has told me I can only use some rubbish called "Webraska" as my GPs program. I wish to use Memory Map, which I have installed. It wants me to set up the GPS, but I have no idea how to do it, and the useful people at Orange don't either.
Any chance any of you guys knows the settings?
Thanks
Orange are being deliberately obstructive, because Webraska will earn them a small fortune in data charges because each screen/page is downloaded via GPRS rather than being stored on the device.
But, have no fear! You can run any GPS aware navigation program as long as it has a configuration setting (another poster was having problesm with Route66 as apparently you can't configure the GPS port )
Memory Map ought to be able to pick up the GPS automatically, but if not, point it to COM9 with a baud rate of 57600 and all should be OK. Same for TomTom, Co-pilot etc.
Spot on - I had to point the system to Com9 as you mentioned and it found itself staight away. I tried Webraska, and by the time it knew where I was I had become bored and wandered off to make myself a cup of tea. Memory Map, while being extremely hungry for memory to store its maps, found me in seconds.
I don't know why Orange are being so obtuse - half of them don't even know the phone has GPS. The woman I spoke to thought I was asking about the GPRS until I told her the difference.
Thanks buddy!
NeilM said:
.
But, have no fear! You can run any GPS aware navigation program as long as it has a configuration setting (another poster was having problesm with Route66 as apparently you can't configure the GPS port )
Click to expand...
Click to collapse
route66 is working fine with GpsGate
i had the same trouble getting this going with TOM TOM.
use com port 9 and it works first time. takes a little while to pick up satalites though.
Not sure what the Com Port 9 issue is about.... when I look at the ports etc, there is a Com 9 BUT there is also a GPS port, I assume internally it "may" be com 9. However TT6.03 recognises the internal GPS "out of the box" and the baud rate seems to be a bit of a red herring, I've adjusted it up and down and tbh cannt see the differnce.
It all comes down to the way Windows Mobile handles GPS signals, and the version of WM on a device.
Windows Mobile V5 onwards uses a software distribution system called GPSID (GPS Intermediary Driver) which grabs the hardware port (in the Trinity this is COM9, and the Artemis COM4) and sends the signal back out via a selectable soft COM port (by default GPD1). Some apps could identify the software port automatically and connect, but TTN/Co-Pilot/Route66 were unable to initiate a connection, though were able to use an already opened port, as long as this was set for COM8
So, the GPS Settings applet could be set for COM9 Hardware, and COM8 Software ports. You could then set TomTom to COM9 and it would take an exclusive grab of the hardware, or allow another app to start on COM8, and TTN could be set to share COM8 successfully (complex or what )
Anyway, with the advent of WM5 AKU3 onwards and WM6, the way the GPSID works seems to have become a bit more logical. The GPS software driver still has to pick up COM9 (of course) but any GPS Application can now still be set to connect to COM9, and the GPSID will intercept the call and send the signal back out over COM9
So, TTN can now remain at 'GPS on COM9' and it will still allow other apps to share the signal.
The baud rate is not important in TTN, but some apps need the rates to match. The hardware side is set at 57600 but the GPSID is 115200; the actual data stream transferred is WAY below this (about 500Bd) so there is nothing to be gained by upping the settings.

Categories

Resources