Bluetooth programming portability issue - Windows Mobile Development and Hacking General

Hi all,
I am programming an OBEX bluetooth program for pocketPC platform, I see that there are different bluetooth stacks (Widcomm, Microsoft,...) on different pocket pcs, also I see that there are many ways to write OBEX bluetooth apps, either Winsock or using IObex COM objects and may be others.
My question is:
1. Do I have to write two implementtions to work with Widcomm BT stack and MS BT stack?
2. I am currently implementing BT functions using IObex COM interfaces, will this work on Widcomm BT stack??
3. any suggestions?
I hope to find some help here as usual
Thanks for your time...
Mohammad

mohgdeisat said:
Hi all,
I am programming an OBEX bluetooth program for pocketPC platform, I see that there are different bluetooth stacks (Widcomm, Microsoft,...) on different pocket pcs, also I see that there are many ways to write OBEX bluetooth apps, either Winsock or using IObex COM objects and may be others.
My question is:
1. Do I have to write two implementtions to work with Widcomm BT stack and MS BT stack?
2. I am currently implementing BT functions using IObex COM interfaces, will this work on Widcomm BT stack??
3. any suggestions?
I hope to find some help here as usual
Thanks for your time...
Mohammad
Click to expand...
Click to collapse
I think your best options is to make two components, because Widcomm BT implementation is completely different of M$ BT stack.
Fortunately both SDK are available.
Cheers,
.Fred

Thanks, dotfred, but if I have to do two implementations then where can find Widcomm BT stack SDK?? is it free to download? and what approximate percentage of PPC users use Widcomm BT Stack?
Any other suggestions guys?
Mohammad

mohgdeisat said:
Thanks, dotfred, but if I have to do two implementations then where can find Widcomm BT stack SDK?? is it free to download? and what approximate percentage of PPC users use Widcomm BT Stack?
Any other suggestions guys?
Mohammad
Click to expand...
Click to collapse
I have a Widcomm that works on my XDAII (I can give it), but for the rest, I really don't know. Don't forget that both stacks can't be active at the same time on the device, so you have to play with the registry and soft reset to activate one or another.
The biggest problem with Widcomm is that the bt headset doesn't work.
And the biggest problem of M$ stack is the lack of PAN and the BT manager is useless.
I think you should try to do it first for M$, when you succeeded then do it/try it with Widcomm, but you need a device that has it.
Cheers,
.Fred
ps.: for the sdk, here is an interesting article and a download link:
http://www.pocketpcdn.com/articles/...=78&atb.set(a_id)=7800&atb.perform(details)=&

Related

BT Stack Question

Hello:
I was wondering if someone could explain the difference between the BT Stack that comes in the XDA/MDAII and the Widcomm BT Stack. I have read in other forums that this is the reason the XDA/MDAII BT does not work well with many devices.
Can someone clarify? Sorry if this question is too "dumb".
Fernando
The Bluetooth "stack" is the software portion of the Bluetooth. It provides various profiles, like a serial profile to connect to a COM/Serial Port, a network profile, a headset profile, etc. Each device provides different profiles.
MS Bluetooth stack some troubles with COM ports.
People are extracting the WidComm Stack, which comes on Ipaq, and using it on XDA II, till a patch is provided.
@palmop
Please how to do?
step by step
Hi Palmop, here we go again!!!
I am trying to create a bond between my MDAII and a BT device. It is asking me to insert a PIN, which I do not have. The device manufacturer (igo.com) claims that a PIN is not necessary, since their device works well with the iPaqs and the Loox. So I am stuck in the middle of BT stack compatibility.
I have also tried to setup a BT bond between my MDAII and my desktop PC (with a BT USB dongle), and in this case the MDAII does not even recognize the desktop.
Is this all the result of a crappy BT stack in the MDAII? Do you think it can be fixed with a patch, or perhaps the Widcomm stack?
Thanks again for your advice.
Fernando
palmop said:
The Bluetooth "stack" is the software portion of the Bluetooth. It provides various profiles, like a serial profile to connect to a COM/Serial Port, a network profile, a headset profile, etc. Each device provides different profiles.
MS Bluetooth stack some troubles with COM ports.
People are extracting the WidComm Stack, which comes on Ipaq, and using it on XDA II, till a patch is provided.
Click to expand...
Click to collapse
Could you please provide link for such resource? Thanks.
I believe you should be able to Active Sync via Bluetooth using current stack, at least, but haven't tried myself.
It is the Bluetooth GPS thread here on XDA-Developers.com, search for widcomm, you'll find it
Thanks. one question has not been answered there - after this mod BT headset is still functional?
Apparently no. However, they have used some files dated May, not the latest. So I don't know if those files would fix it.
I have a XDA II and a TDK BT dongle for my PC and can confirm that it does hook up successfully.
You just need to set the serial port to the COMM port of the BT dongle in Activesync, then hit use bluetooth in the activesync menu.
Dom

Changing Bluetooth stack to Broadcom

Anybody know of a way to change the bluetooth stack in the i-mate Jam to the broadcom stack, as used in the Orange m2000 (Blue Angel)? I've used both and find the LAN browsing abilities in the M2000 most useful
Thanks
At a guess mate, the broadcom stuff is wi-fi and NOT Bluetooth?
Kev
Anonymous said:
At a guess mate, the broadcom stuff is wi-fi and NOT Bluetooth?
Kev
Click to expand...
Click to collapse
Yes, but Broadcom aquired Widdcom, so now they also have bluetooth.
I resume this thread to ask if anybody thought to test BCM1000-WCE
Bluetooth® Communications Software for Windows® Mobile 2003 for Pocket PC and Pocket PC Phone Edition.
It looks great and full of functionality. But where is it possible to dowload it? Is this the same of the one on ftp site, BroadcomCorp_BT1.0.0.3900.cab ? Did anyone try BroadcomCorp_BT1.0.0.3900.cab on S100? Does it support the Audio High Quality (A2DP) profile?
WEBSITE
http://www.broadcom.com/products/Bluetooth/Bluetooth+RF+Silicon+and+Software+Solutions/BCM1000-WCE
PDF INFO
http://www.broadcom.com/collateral/pb/1000-WCE-PB03-R.pdf
http://www.idedata.no/support/support.asp?ID=428
I foud it here, but haven't tryed this jet
i will try it and let ya know.........
tried it and it didn't work... same error as with any widdcom drivers! and it doesn't create a bluetooth icon shortcut in the today screen!
doesn't works
tried but when i try to activate BT i get always errors on BT devices not found
Thx PapaDocta for your testing...it's really a shame that we have to work around this way to find a decent BT Stack to replace that poor one by MS!
:x :x :x
Re: doesn't works
crino said:
tried but when i try to activate BT i get always errors on BT devices not found
Click to expand...
Click to collapse
Grazie pure a te!!!
Bluesoleil BT stack
I used Bluesoleil BT stack fot Win CE work for me
see : http://forum.xda-developers.com/viewtopic.php?t=18537
but looking for full version
Re: doesn't works
crino said:
tried but when i try to activate BT i get always errors on BT devices not found
Click to expand...
Click to collapse
i tried this stack - it's don't work.
I think it because broadcom limits to use they stack only for certain devices which has license to use they stack.
in broadcom registry hive i found "license" key. if somebody find proper license key for i-mate bt chip - i think that broadcom stack will work on magician.
Re: Bluesoleil BT stack
Knot said:
I used Bluesoleil BT stack fot Win CE work for me
see : http://forum.xda-developers.com/viewtopic.php?t=18537
but looking for full version
Click to expand...
Click to collapse
ya bluesoleil works
do u tried it with a bluetooth headset?
Re: Bluesoleil BT stack
crino said:
Knot said:
I used Bluesoleil BT stack fot Win CE work for me
see : http://forum.xda-developers.com/viewtopic.php?t=18537
but looking for full version
Click to expand...
Click to collapse
ya bluesoleil works
do u tried it with a bluetooth headset?
Click to expand...
Click to collapse
We Crino!
...the problem is right that: Bluesoleil stack doesn't have handsfree profile...is it right?

Help needed: How to pair bluetooth without SDP signal?

Hey all,
I'm trying to pair a PPC with SonyEricsson's bluetooth watch MBW-150 to use moneytoo's brilliant SmartWatchM. This worked fine with my old PPC running the Microsoft bluetooth stack. My new PPC (LG KS20) uses the Widcomm/Broadcom stack, believed to be cleverer than the MS stack.
Here's the problem:
The PPC will not pair. The watch does not send out information according to the BT Service Discovery Protocol (SDP), because it was never meant to be paired with anything else than SE phones. The Microsoft stack didn't care and paired nonetheless. The Widcomm/Broadcom stack, however, will pair with BT devices only if it finds a supported profile. The watch uses the Serial Port Profile (SPP), but it doesn't say so, not sending any SDP information to the PPC. The PPC would support SPP of course, but doesn't pair as it has no way of knowing that the watch supports this profile.
In the end, when I try to pair, the PPC will see the watch but doesn't know what to do with it, and will not pair.
Is there any way of pairing (using a Widcomm/Broadcom stack) without SDP information? Can I enforce pairing with the watch? (I can easily insert serial port settings in the reg manually.)
Or can I somehow change my BT stack? I've read that the only way to do that would mean changing the ROM ... :-(
Any ideas? Any help would be greatly appreciated!
Many thanks,
N.
I'm using 32feet.NET library that supports only MS BT Stack. Fortunately I have just found this lib http://franson.com/bluetools/ that seems to support Widcomm Stack. I will try it soon.
EDIT:
What BT stack is on it? Is it Broadcom? Widcomm on Motorola Q9 is ok and lets you to pair device without any service but Broadcom on a one HP iPAQ I have tested doesnt.
EDIT2:
Not a good news. Franson Bluetools doesnt work on smartphones. I dont know much about this stuff but from what I have read it seems like pairing/bonding request is possible only in MS BT stack (via some non official function) and it's disabled in other BT stacks because of security issues.
Thanks for chiming in, moneytoo!
moneytoo said:
What BT stack is on it? Is it Broadcom? Widcomm on Motorola Q9 is ok and lets you to pair device without any service but Broadcom on a one HP iPAQ I have tested doesnt.
Click to expand...
Click to collapse
This may be a noob question but: How do I tell whether it's Broadcom or Widcomm? Is there still a difference since Broadcom bought Widcomm?
Anyway, BT manager will not pair ("no supported protocol found").
moneytoo said:
it seems like pairing/bonding request is possible only in MS BT stack (via some non official function) and it's disabled in other BT stacks because of security issues.
Click to expand...
Click to collapse
I'm afraid that's true. I haven't found anything so far that would point me to a workaround, backdoor or anything - and as my KS20 is a company phone I can hardly change the ROM
Let's hope someone comes up with an idea!

Widcomm Bluetooth Stack

Hello,
Does somebody know if there is any HTC device that use the Widcomm BT stack instead of standard Microsoft stack?
Thanks,
Emil.
emilbergg said:
Hello,
Does somebody know if there is any HTC device that use the Widcomm BT stack instead of standard Microsoft stack?
Thanks,
Emil.
Click to expand...
Click to collapse
Unfortunately the Touch Pro 2/Tilt 2 does. Why in the world would you want it? Nothing seems to work with it.. Several of my programs that use bluetooth don't detect anything.
I'm writing a BT application and I want to be sure that it works also on devices with the Widcomm stack.
Maybe there is a wrapper for the Widcomm stack that let all BT applications be compatible with it?
Why the OEMs use this stack instead of Microsoft's?
Chip
emilbergg said:
I'm writing a BT application and I want to be sure that it works also on devices with the Widcomm stack.
Maybe there is a wrapper for the Widcomm stack that let all BT applications be compatible with it?
Why the OEMs use this stack instead of Microsoft's?
Click to expand...
Click to collapse
Hi emilbergg
It's to do with the chip that they use for the device. The Broadcomm chip requires the Widcomm software. Essentially, it's a driver issue. Different chip, different driver. I'm guessing the choice of chip is made on a mixture of functionality and cost.
Cheers
andrew-in-woking

Anyone tried to install MS Bluetooth Stack?

Anyone tried to install MS Bluetooth Stack?
I dont think you can just "install" a BT stack.... although I wish you could...
it is possible tbough with a lot of driver modifications.
For sure it will be required to cook the MS bluetooth stack into the ROM instead of just install, but many other parts of the rom are using the widcomm stack so it will be a big job.
Its a shame, because i found the sound via A2DP was better via the MS stack, and other users have found the widcomm stack unreliable with car kits or hands free headsets.
I think a better approach would be for a updated widcomm stack
whether they update the widcomm stack, or change it for MS, I don't care, I just wish HTC would hurry up and do it... so many people have problems with it.
I've tried and failed... The Leo and the Rhodium use different BT/Wifi chipsets that arent compatible with the MS BT Stack
Oh dear, that doesn't sound good.
Thank you very much for trying to do it anyway NRG.
NRGZ28 said:
I've tried and failed... The Leo and the Rhodium use different BT/Wifi chipsets that arent compatible with the MS BT Stack
Click to expand...
Click to collapse
Not compatible....
​

Categories

Resources