PDA

View Full Version : The Definative Guide to BT Services


nir36
5th June 2008, 09:30 AM
After a lot of strugle with using Wireless Headsets, Serial Ports, Activesync over BT and Sideshow... i managed to have them all work.. on VISTA and XP.
So i decided to write a fully detailed tutorial for whoever needs it.

1. Know your Stack.
if your stack is the toshiba one, when you right click on the bt trayicon you should see OPTIONS..
if your stack is the microsoft one, ... well.. you will not see OPTIONS :)

2. before starting to deal with services i suggest you download one of the stacks below, according to your demand, and install them. also install Windows Mobile Device Center (from now on WMDC).

This is WMDC6.1 x86...

http://rapidshare.com/files/120340376/MobileDeviceCenter6.1-x86.exe.html

These are both the LATEST versions of both stacks: (up until the day of posting this message of course )

TOSHIBA STACK:
http://rapidshare.com/files/120186967/TOSHIBA_BTSTACK.zip

MS STACK:
http://rapidshare.com/files/120187911/MS_BTSTACK.exe

i strongly suggest you keep both files on your comp as a cover for any services one might provide while the other doesn't.
to save you the trouble. (after a correction from Jadel):
MS Stack works with both Activesync AND sideshow.
TOSHIBA Stack is problematic although more userfriendly AND provides some different options which might come handy. i had to go thru a shitload of trouble to sync it with Vista... and syncing it with XP isn't a teaparty either.

3. after finding out which one you have we can begin.


AS - ActiveSync.
this will probably be the most problematic service to have working since a lot of times it DOESNT APPEAR AS A SERVICE. when you try to sync with the comp it tells you you have to pair it.. even tho the device is already paired with the comp.
XP might be more flexible with this but the solution is for both XP and VISTA.

To Async using TOSHIBA Stack do the following:
a. open Control Panel and open the BT Ports editor..
b. add a port and choose it as a Server.. (usually it rounds up to ports 6 or 7 but you may have to try others..)
c. go to WMDC/Connection Settings and mark "Allow connections to one of the following.." and choose the port you created.
d. on your device go to Bluetooth Settings and add a new device... put the desired passkey... and you should see a list of the services the computer provides the PDA.
e. now this is a bit tricky to deal with. sometimes ActiveSync might not appear there. if it doesn't, go to COM Ports (in bluetooth settings on your device) and add the COM port you added on your comp..
go back to Devices and choose your comp and click Refresh. if ActiveSync appears there, mark it. if it doesn't, you should delete your comp from your device and this time add the port BEFORE finding your comp. it that doesn't work, you should follow the links i will provide soon.
f. on your device, open ActiveSync and under Menu choose Connect Via Bluetooth.

To Async using MICROSOFT Stack do the following:
a. open Control Panel and open Bluetooth Devices
b. click Add and add your device. go to Options and mark "Allow Bluetooth devices to find this computer" and "Allow Bluetooth Devices to connec to this computer". you can also mark other options as desired.
c. go to COM ports and add an INCOMING port. it will choose a port for you automatically.
d. go to WMDC/Connection Settings and mark "Allow connections to one of the following.." and choose the port you created.
e. go back to Devices and choose your PDA. choose Properties and go to Services. there you should see all services your PDA provides. one of them should be Active Sync Bluetooth Service. mark it and click OK. your comp and PDA should connect and disconnect a few secs later.
f. on your device, open ActiveSync and under Menu choose Connect Via Bluetooth.

(if these methods don't work you should follow the reference links in the below post).


SP - Serial Port.
some services demand a serial port. for instance, if you're using the Desktop iGO8 and would like to connect a BT GPS receiver to your comp the serial port service must be enabled. i found TOSHIBA's stack to be much more flexible concerning port usage. in Control panel you have a BT Ports icon somewhere.. if you double click on it.. it will let you play with the ports and change them to help you adjust various devices as well as use the ports as Clients or as Servers. this is important for ActiveSync as well (depending on the device).

An example:
Ipaq's Desktop iGO8 supports a Bluetooth GPS receiver. to use it, you have to define a COM port (just as we did for activesync, depending on your stack)...
you will have to define a port for the receiver and make sure the Serial Port service is marked or the program will not identify the PDA. some programs might NOT need this service at all.
(of course, this is only for people who want to use their PDA's GPS receiver. people who have a seperate GPS receiver might get the port number automatically when pairing it with the computer or have to find the correct port themselves (in older receivers).

also, to use the Networking feature you have to use the Serial port service. (i will post links for this as well).


WH - I would prefer leaving this for later as i play with it a little further.


SS - Sideshow. (Vista Users)
i tried using sideshow on 3 different devices. Wizard, Polaris and Titan.
all 3 came out with nothing when i used the TOSHIBA stack. the devices didn't discover the SideShow service even tho it was installed on my comp and my device was paired with the comp.
now if you're using the MICROSOFT stack.. it's a whole different area.

Alright. so a little batch of detailed insturctions about using this:
(during the process make sure your device is DISCOVERABLE)

IMPORTANT! you should make sure the Sideshow software is active on your device while doing this. i tried syncing the service once with it on and once off and it sorta confused me. so we'll just agree on having it ON.

To use sideshow using TOSHIBA Stack do the following:
a. on your device, go to Bluetooth Settings
b. add your device.
c. look for the Sideshow service in the list. if it's there, Mark it, (on your comp) go to control panel, go to sideshow, and you should be able to mark V on the gadgets you'd like to use.
d. if it's not there, you should add a port on both your device and your computer. the ports should match.
e. go back to devices and refresh the Services list.
f. to my knowledge, if it doesn't work up to this point, give it up :)

To use sideshow using MICROSOFT Stack do the following:
a. open Control Panel and open Bluetooth Devices
b. click Add and add your device. go to Options and mark "Allow Bluetooth devices to find this computer" and "Allow Bluetooth Devices to connect to this computer". you can also mark other options as desired.
c. go to COM ports and add an INCOMING port. it will choose a port for you automatically.
d. go to Devices and choose your PDA. choose Properties and go to Services. there you should see all services your PDA provides. one of them should be Windows Sideshow. mark it and click OK. your comp and PDA should connect and disconnect a few secs later.
e. go to control panel, go to sideshow, and you should be able to mark V on the gadgets you'd like to use.

after syncing the service and choosing the gadgets you'd like to use from Control Panel/Windows Sideshow you can go back to your device and go back to the sideshow software and click Connect....... ................. ........


TP - Technical Port (this concerns only people who use ASUS's GXP Factory PDA so if you're not, just ignore this).
for the GXP to control Wireless devices such as ELTO's waterpipe controller and Applied Materials' connectors you HAVE to have a Technical port enabled as a service. other than Serial port this is the only service the GXP provides, so you won't have much trouble enabling it as it's part of the software.. it will always appear. MAKE SURE you DO NOT create another bluetooth port as it will use it instead of the default one and you will not be able to control ANY of the wireless devices around you.

i will update this post further on with detailed instructions for the use of every service and some howtos.

Hope it helps.

If you found this guide helpful please Donate.. (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=nir_c%40012%2enet%2eil&lc=GB&item_name=nir36&currency_code=ILS&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHos ted) (all donations go to TZABACH Wounded Animal Service)

nir36
5th June 2008, 09:31 AM
*reserved* for LINKS to other tutorials and downloads.

chuckbert
5th June 2008, 10:45 AM
hi!

please check your links, they don´t work!

regards

chuckbert

nir36
5th June 2008, 11:21 AM
sorry.. i will fix it when i get home.

nir36
5th June 2008, 09:58 PM
links are now working and there is a more detailed explenation of.. it all.
if anyone has any additions, good links to other types of instructions or other types of bluetooth stacks.. please post them so i can add them to the guide.

thanks

manaaa
5th June 2008, 11:54 PM
hi,

first, thanks for this guide. i hope its helping others, but me wasnt successfull : (

here whats up:

dualcore notebook with toshiba bt stack, running Win XP (sp2+ new sp3)
htc polaris, custom rom



what ive done:

a. open Control Panel and open the BT Ports editor..
b. add a port and choose it as a Server.. (usually it rounds up to ports 6 or 7 but you may have to try others..)
heres my configuration:

Port Description Owner
----------------------------------------------
COM1 Toshiba BT Port (COM1) LocalCOM-Server[SerialPort(Toshiba LocalCOM1)]
COM2 Toshiba BT Port (COM1) LocalCOM-Server[SerialPort(Toshiba LocalCOM2)]
COM3 Motorola SM Speakerphone System
COM4 System
COM5 System
COM6 System
COM7 System
COM8 System
COM9 System
COM10 Toshiba BT Port (COM10) LocalCOM-Server[SerialPort(Toshiba LocalCOM10)]

c. go to WMDC/Connection Settings and mark "Allow connections to one of the following.." and choose the port you created.
-in my case COM1 and COM2

d. on your device go to Bluetooth Settings and add a new device... put the desired passkey... and you should see a list of the services the computer provides the PDA.

-yes, Bluetooth headset and SerialPort

e. now this is a bit tricky to deal with. sometimes ActiveSync might not appear there. if it doesn't, go to COM Ports (in bluetooth settings on your device) and add the COM port you added on your comp..

- not appearing, added the COM1 in the device, same as on notebook

go back to Devices and choose your comp and click Refresh. if ActiveSync appears there, mark it. if it doesn't, you should delete your comp from your device and this time add the port BEFORE finding your comp. it that doesn't work, you should follow the links i will provide soon.

- still not appearing, deleted my Notebook on the devices list. I tried to add the port before it found my notebook, but thats impossible because i cannot change the view when its searching bluetooth devices.

f. on your device, open ActiveSync and under Menu choose Connect Via Bluetooth.

- a dream :)

im fking sad its not working, i tried other tutorials, but alsways same result, been reinstalling AS, the BT stack.. the only thing i made no hardreset yet on my polaris.


to analyse:

choosing COM4 and COM7 on my device, it runs an error: The COM Port couldnt be done. Check the Settings und retry.

On my notebook i cannot delete COM4 till COM9, because they are used by the system.

I can only choose from COM0 (Zero) to COM9 in my device.

I have no problem to send/receive files from my notebook to pda and reverse.



if you have any suggestions to go further, really appreciated.
would be nice if you hit me a pm or start a convo on msn : )

thanbks so far
manaaa

**edit**

i attached the ports configuration after a fresh toschiba BT stack install

Jadel
7th June 2008, 05:13 AM
(POST EDITED)

Hi Nir36, awesome post! I had planned on doing this myself at some stage, but your details are far more inclusive than mine would have been. Good work!!

Here are a few additions:

In relation to Activesync and Bluetooth, the only way I personally (using a HTC Himalaya, WM6.1) was able to connect was by partnering the two devices from the mobile device side, not the PC side. I could only do this using Windows Xp’s built in Bluetooth drivers, and my device’s built-in Bluetooth drivers. Other drivers did not work for me. I suspect that whatever drivers you use on your mobile device should be used by the PC as well.

The information provided below is from me, the Windows Forum and Treo Central Forum, cobbled together and edited to suit this site. So cheers to those folk over there. It is for users of Windows XP.

***
1. First of all, open up “Control Panel” and open “Bluetooth Devices”.
2. Under the “Options” tab, tick the boxes in “Allow Bluetooth devices to connect to this computer” and “Alert me when a new Bluetooth device want to” and “Show the Bluetooth icon in the notification area” and “Turn discovery on”.
3. Under the “COM Ports” tab, click add. Add an incoming COM port below 9 (it appears numbers higher than that are not recognized). Click the “OK” button.

Now for the next part:

1. Ensure Bluetooth is turned on, on both your PC and Mobile Device, and each is in Discover Mode.
2. In Bluetooth setup on your Mobile Device, DELETE any existing partnership with the PC.
3. In Activesync on the Mobile Device, choose Connect via Bluetooth. Activesync will say it cannot, but will ask if you want to set up a new partnership. Choose yes.
4. When the Mobile Device Bluetooth application comes up and presents the Devices tab, click “Add New Device”. Go through the normal pairing process when it finds your PC (entering passcode on Mobile Device, accepting connection on PC, entering passcode on PC, etc.). It will probably not show "Activesync" as a service on the PC yet (you may have to tap on the “Advanced” tab to see the list of services provided from your PC).
NOTE: Sometimes the Bluetooth icon on your PC will not let you know that a Mobile Device is trying to connect until you double-click on it.
5. In ActiveSync on the PC, go to Connection Settings. Verify that it allowing connections via com ports (combo box) is checked and you can see a list of available com ports.
6. Here's the trial and error part. Start by selecting the same COM port in the list as what you selected under Bluetooth Devices on the PC, clicking OK. If Activesysnc gives you an error, start Step 5 over again and choose the next COM port on the list (change the one under Bluetooth Devices in Control Panel first) until you get one that does not produce an ActiveSync error (cannot connect to COM port). NOTE: DO NOT select "Bluetooth" from the drop down list. Don't forget to click OK each time and to close the Connection Settings dialog box.
7. On the Mobile Device click refresh. If "Activesync" shows up as a service from the PC, check it and you should be OK to select "Connect via Bluetooth" on the Mobile Device and start synchronizing. If "Activesync" still does not show up as a service, go back to Step 5 and just keep moving on to the next COM port in the list. One of them should work eventually.

NOTE: Others suggest that you need to make a connection with the PC first using the cradle and Activesync. Using the above steps, this was not the case in my case. I connected straight away with Bluetooth without ever first having to connect my device using the cradle and USB.

***

Connecting external Bluetooth GPS receivers to your Mobile Device for use with navigation software ie TomTom, Garmin etc
(by Jadel)

1. Switch your Bluetooth GPS device on (this example is with an early model Navman external GPS device).
2. Pair your Bluetooth GPS device with your Mobile Device first using your device Bluetooth manager (Go to the devices tab and “Add new device”, click on the name corresponding to your external Bluetooth device, entering passcode on Mobile Device which should come with GPS device’s documentation).
3. After this, make sure to choose the “Advanced” option which will give you the choice of choosing a serial connection. Select it and click “save”.
4. Go to the tab down the bottom that says “COM Ports” a new “Outgoing Connection” and then which port you want to use. I always choose COM5 as this seems to work fastest, most stable etc (on a HTC Himalaya and HTC Hermes).
5. Then, leave your Mobile Devices bluetooth on and in discoverable mode.
6. After this, load up your software (TomTom/Garmin etc).
7. The correct COM port should then appear in the list of possible COM ports for you to choose from in your software’s External Bluetooth GPS device section (the correct COM port should be the same as the outgoing COM port ie COM5). After that, all should be well with the world.
Note: Sometimes your mobile device may reset when it is scanning the COM port in your navigation software if the incorrect COM port is chosen.

***

Go online with Activesync: Skype over Bluetooth Activesync
(by Jadel)

If you managed to get your device to sync over Bluetooth using the above guide, then most of this should work automatically. If you connect correctly, you should be able to use most internet related applications on your device such as MSN Messenger, Windows Live, Pocket Internet Explorer (PIE) and Opera. Email should also work.
But you can also use Skype! Even though it says you need WiFi or 3G, it can also work over Bluetooth ActiveSync.
This means that if someone else is using the computer (family members etc) you can still call people and send messages to them over Skype.

1. Install the SkypeforPocketPC.cab file on your phone.
2. After it installs, log in, and make sure it remembers your login details, by ticking the “remember me” box.
3. When it asks how you plan to connect, make sure to chose “Wifi and 3G”.
4. If you choose just Wifi, it won’t work.

That should be all you need! You may need to restart your device or re-establish the Activesync to get it to work. The first time I tried this, I was able to do the echo test and pass, but my messages did not send. The second time I connected, everything worked.
And having tested Skype over Bluetooth Activesync many times, I can tell you that the sound was perfect/crystal clear. I think the minimum you need for Skype is about 54Mbps, whereas Bluetooth 1.1 (older Bluetooth) transfers at about 750Mbps if I am not mistaken.

***
Cheers Nir36.
PS Good work!

nir36
7th June 2008, 10:08 AM
Jadel, this is great. i don't want to add it to my post.. but to leave it like this.. it's much better having a whole thread concucted by different people with different solutions than having one guide.

i would be happy if other people added more posts like this one.. so we can collect a whole thread for others to look at when they need to solve their bluetooth issues.
i will be developing it more.. adding links and such.. but it'll take time as i'm in the middle of my final exams.

:)

and in reference to manaa's problem.
from what i've read around in different websites, no one was able to have the ActiveSync service show when using ports other than 5-9 (only when using TOSHIBA's Stack. when using MS Stack you can use any port to my knowledge). if anyone made it thru other ports, please post the solution here. i suggest you try and check if you can switch some system ports to other ports and then move one of your BT server ports to 5,6,7,8 or 9... and then try again.

hope it works.

i hope that with time we will be able to build up a pack of solutions for anyone who wishes to use AS with TOSHIBA's stack.. so that we won't have to go thru all that trial and error shit everytime.

Jadel
8th June 2008, 05:20 AM
Sounds like a good idea Nir36. Have edited my post down slightly so as to leave it as is. Will try add to it when I get the chance as well.

PS did you have a look at this section of your post below?

Under your description for “Async using Microsoft bluetooth stack”, part D mentions Windows Mobile Device Centre. Are you sure this shouldn’t be Activesync? Just checking.

Cheers!

nir36
8th June 2008, 11:34 AM
well.. XP AND Vista can both work with WMDC. i'm assuming that people would upgade from ActiveSync to WMDC. the MICROSOFT Stack has nothing to do with either WMDC or ActiveSync... they are both PC clients, not drivers.
to be clear. WMDC and ActiveSync can both work with MICROSOFT Stack and TOSHIBA Stack. :)

desolateone
11th July 2008, 03:32 PM
WMDC6.1 x86... Got that in Vista64 flavour?

sonus
24th September 2008, 05:11 PM
What version Toshiba stack is this?

Also, why do you even need the MS stack? I have everything from activesync to A2DP, to PAN (basically, you name it and it works) functioning with just the toshiba stack.

I'm running XP.

nir36
8th October 2008, 01:21 AM
What version Toshiba stack is this?

Also, why do you even need the MS stack? I have everything from activesync to A2DP, to PAN (basically, you name it and it works) functioning with just the toshiba stack.

I'm running XP.

well, it depends on your device rather than on your stack (sometimes).
i have a Polaris and when i try to get an ActiveSync service using the toshiba stack i .. well.. can't. so i have to use MS stack which works wonderfully.
it's less GUI'd but it's working.

nir36
8th October 2008, 01:22 AM
WMDC6.1 x86... Got that in Vista64 flavour?

i'll add a link to x64 soon.

sonus
8th October 2008, 03:37 AM
well, it depends on your device rather than on your stack (sometimes).
i have a Polaris and when i try to get an ActiveSync service using the toshiba stack i .. well.. can't. so i have to use MS stack which works wonderfully.
it's less GUI'd but it's working.

That's odd, I also have a Polaris...ActiveSync works without any issues on my Toshiba stack. What version of the Toshiba stack did you post?