I want to control the bluetooth on my device, to enable / disable from my program.
the best option I found is Widcomm Bluetooth stacks but I didn't successes to use it with .net CF, any ideas if and how it can be done?
BthSetMode allows to turn Bluetooth on and off, but I don't know if you can use it from .NET .
kosherpig said:
BthSetMode allows to turn Bluetooth on and off, but I don't know if you can use it from .NET .
Click to expand...
Click to collapse
Its work great in .Net , but work only with Microsoft BT stack
Related
Hi
How does one activate BT using the PPCPROFILE ( MODACO ). I am just not getting the BT option.
Is there a better program to manage Phone Profiles.
regards
DHruv
Hi dhruvkataria
Your device probably doesnt use the Microsoft BT stack so PPCProfiles disables the bluetooth options.
At the moment only MS bluetooth is supported so if you really require bluetooth with your phone profiles you should try phonealarm or PZP.
Cheers
Bretto
did anybody try to replace the original MS Bluetooth stack with the Widcomm Bluetooth stack?
i'm trying to do that with the broadcom bluetooth stack 1.7.0 from aximsite.
and how to completely remove the original MS stack?
was there any progress with this?
it is also described in the Axim thread
Sorry I cannot remember but the description on how to remove the MS stack is also in that same thread.... Yeah, it is a bloody long thread...
parallel666killer said:
did anybody try to replace the original MS Bluetooth stack with the Widcomm Bluetooth stack?
i'm trying to do that with the broadcom bluetooth stack 1.7.0 from aximsite.
and how to completely remove the original MS stack?
Click to expand...
Click to collapse
do let us know if you succeed
See http://forum.xda-developers.com/showthread.php?t=285419 and http://forum.xda-developers.com/showthread.php?t=285696
Menneisyys said:
See http://forum.xda-developers.com/showthread.php?t=285419 and http://forum.xda-developers.com/showthread.php?t=285696
Click to expand...
Click to collapse
Those threads are showing development, so I guess we'll have to wait and see if there is a final product that shows up
Thanks for the link. There also was a posting in there that it did NOT work on the Universal. Thoughts?
hmm... I hv a newer Broadcomm Stack 1.7.6.500 and 1.7.1.9000 workin with Universal, but currently Pausin the progress due the problem with my memory...lol.. I've forgot the setting/configuration to enable Handsfree Profile with Universal, previously I've successfully make handsfree (transmit all audio to standar BT headset), and about A2DP its globaly known that Broadcomm is so much better with A2DP then M$ one. Hopes I'll hv time to play with it again.
Last progress:
- Blue led didn't turn on, but It will if u suspend the device, and it will blink even after u turn off broadcomm stack..
- Forgoten the Handsfree setting/configuration
- Others function seems to be workin ok.
Can u share the version you have and the way to install it please.
Hello,
I think you don't need to remove M$ stack, just turn it off by doin the following:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Transports\BuiltIn\2]
"driver"="_bthuart.dll"
Add a "_" and the m$ is off.
NikMel said:
Hello,
I think you don't need to remove M$ stack, just turn it off by doin the following:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Transports\BuiltIn\2]
"driver"="_bthuart.dll"
Add a "_" and the m$ is off.
Click to expand...
Click to collapse
Anyone read this? http://www.pdagold.com/articles/detail.asp?a=197
If I am not mistaken they say that there is a security vulnerability in the Widcomm Bluetooth 1.4.2 and no patch was released. Is 1.7 going to fix this security issue? Also does M$ have this same problem?
What is the benefit of switching over to Widcomm?
onlineemails said:
Can u share the version you have and the way to install it please.
Click to expand...
Click to collapse
I'll share it latter, currently I dont hv the device with me to test it again, the installation should be simply with a cab to disable MS bt and enable broadcom stack..
I have installed it. but its doesnt work i have readen that i should change the port in registry keys do you know what is universal bluetooth number?
Is there any way to do so? I did overlook the manual and did use the search feature and unfortunately i'm very much so a noob when it comes to avanced smartphone users. Any tips would be appreciated. Thanks.
imwillzillla said:
Is there any way to do so? I did overlook the manual and did use the search feature and unfortunately i'm very much so a noob when it comes to avanced smartphone users. Any tips would be appreciated. Thanks.
Click to expand...
Click to collapse
If you are running windows mobile 6.0 or earlier - then search on these forums (or google) for "BTAudio". this is a utility that when run, will redirect music to your bluetooth headset. Installing it may be just a tad difficult for a newbie - but it is very simple really.
If you are running 6.1 then redirecting to your bluetooth is an option when turning your bluetooth device on. On mine, when I choose (turn on) my bluetooth device via the connections settings, there is an option for "Set as wireless stereo"
Hope this helps or at least points you in the right direction
cornell2 said:
If you are running windows mobile 6.0 or earlier - then search on these forums (or google) for "BTAudio". this is a utility that when run, will redirect music to your bluetooth headset. Installing it may be just a tad difficult for a newbie - but it is very simple really.
If you are running 6.1 then redirecting to your bluetooth is an option when turning your bluetooth device on. On mine, when I choose (turn on) my bluetooth device via the connections settings, there is an option for "Set as wireless stereo"
Hope this helps or at least points you in the right direction
Click to expand...
Click to collapse
Im just guessing that the headset requires it to be...AD2P i think its called correct? because i have a plantronics explorer 220 and im not able to get that setting.
Use the BTAudio
iamanalog said:
Im just guessing that the headset requires it to be...AD2P i think its called correct? because i have a plantronics explorer 220 and im not able to get that setting.
Click to expand...
Click to collapse
Use the BTAudio. it works with my Explorer 220
BTY it isnt stereo (unless you have two of them)
This will do the trick!
This will allow you to listen to all audio coming from the handset through bluetooth regardless if the bluetooth device is mono or stereo! I love this tool!
I wrote this application because when I get into my car it only connects the bluetooth handsfree and doesn't connect the a2dp automaticly. There is an application that connects the a2dp by pressing a button, it's called a2dp toggle. You can find it here:
http://forum.xda-developers.com/showthread.php?t=437726
My application runs the a2dp toggle command line options to connect the audio to a car radio when the mobile gets connected to the radio for handsfree.
Before you install my application make sure you have installed a2dp toggle. Just install the cab file. After the installation you can start the service with the "Auto A2DP Manager" found in programs, you can also stop the service here. It also starts the service at startup of the device after the installation.
The CPU usage is 0.1% on average and memory usage around 300k.
Let me know if you have some extra idea's.
I like to thank te people that made A2DP Toggle and Pavel Bánský for his windows mobile managed service, his blog can be found here.
[UPDATE 4/14/2009]
I just found out that I have put the location of a2dp toggle hardcoded, so this version only worked when you have installed a2dp toggle on a dutch windows mobile on the device.
This is fixed in the new version v1.0.1.
[UPDATE 4/14/2009]
There was another bug in the application, it seems that there was a little problem with the application link. This is fixed now. New version v1.0.2.
[UPDATE 4/27/2009]
The application has some problems in windows mobile 6.5. It seems that the service runs correctly, but the manager doesn't work.
So in windows mobile 6.5 install the application and soft reset the device. It should then work. Don't use the manager in windows mobile 6.5, it creates new instances of the services and cannot stop them. After a reset they are stopped.
sweet! thanks man - i'll give it a try later 2nite. Wonder if it will work with MSVC, hmmmm
Hello
Cool idea, but it will not work for me.
I want to use this App with my XPERIA and my Car Handsfree "Funkwerk EGO Look". I start the Car Handsfree and then I switch on BT on my XPERIA after a longe Time ago (because the XPERIA BT is very Bugy the Bluetooth connects but the A2DP connection does not appear. If I start it with the A2DP Toggle tool manualy then it works.
Does this app only work on Blackstone Phone?
Bye
bug
no it should work on windows mobile 6 but I looked in to it and found the problem I will fix it and upload the new version v1.0.2, I will do it now.
[UPDATE]
You can download v1.0.2. now
Hello wian007
Now it works, thank you very much.
This Workaround is what i'm looking for a long time, now I can simply switch on BT and play Music in my car and a other affirmative effect is that Bluetooth connects much quicker.
And over again, thanks for you great Work.
Bye
Hello wian
I am again
I am searching a solution to execute a command to pause my MP3 player if A2DP is lost for 2-5sec. I want to do this with a Mortscript, do you know how is it possible to read the state of A2DP (established or not)?
Is there a Registry entry?
Bye
checking the a2dp state
to check the state me the a2dp I used the window mobile state class that comes with the framework. so I think you could find it in the registry but I'm not sure.
I was just wondering about this...
Great work so far.
- Anthony
Quick Question:-
Are you looping to check the connected devices, or are you using RequestBluetoothNotifications from coredll.dll?
-Anthony
no I'm not looping. it is based on events that get fired when a status in the status class of windows mobile sdk changes. I used managed code to write this application.
But maybe I should rewrite it in unmanaged code and intergrate the functionality to connect the a2dp, instead of using the external application a2dp toggle.
quick question-must my car radio have Blutooth?
Is your app able to transmit music/navigations commands to my bluetooth car kit? In stock my ROM is not able to do so.
My old symbian devices where all able to to that. But with windows mobile all is different.
I'm with HD with v3.0 duttys rom and cannot get this thing to work.
Any solution??
ctoicho said:
quick question-must my car radio have Blutooth?
Click to expand...
Click to collapse
Yes, to make this application work, you have to be able to mannualy connect your mobile with your car radio to have your sound on your car speakers.
Also your car radio must connect as an handsfree control device. This triggers the making of a connection.
If you cannot make a connection with your carradio by running the a2dp toggle executable my application will also not work because my application runs also the executable.
Cupra TDI said:
Is your app able to transmit music/navigations commands to my bluetooth car kit? In stock my ROM is not able to do so.
My old symbian devices where all able to to that. But with windows mobile all is different.
Click to expand...
Click to collapse
My application doesn't provide that functionality. My application runs a2dp toggle when a handsfree connection is made.
onesolo said:
I'm with HD with v3.0 duttys rom and cannot get this thing to work.
Any solution??
Click to expand...
Click to collapse
Can you post the last lines of the log file "a2dp.log" that has been created in the root of your device?
And does your mobile connect when you run ad2p toggle?
Hope this isn't off topic.
Has anyone seen text messaging work through a Windows CE device to a head unit?
I had a Sony Erricson W810 and the HFP/A2DP worked as did the messaging push to the car stereo. (I have a Kenwood DNX7120 with BT). Could read and respond through the Head Unit...I know a bit dangerous..but the technology worked well.
My symbian (N95) devices worked fine with HFP and A2DP, but not message push either.
My current device (Sony Experia) works great with the HFP and with A2DP profile but again not with messaging.
Just currious...cwh
wian007 said:
Can you post the last lines of the log file "a2dp.log" that has been created in the root of your device?
And does your mobile connect when you run ad2p toggle?
Click to expand...
Click to collapse
You mean a2dplog.txt?
a2dp:False hf:True
location: \Program Files\Teksoft\A2DPToggle\A2DP.exe
Click to expand...
Click to collapse
It has a more lines, but they are all the same as these two lines
If my mobile connect when I run ad2p toggle?? My device when I plug the key into my car, automatically connects to the car kit bluetooth. No need for any intervention.
Yes ok, your handsfree is connected but does your mobile connect with bluetooth stereo if you run a2dp toggle. It seems that this doesn't work.
So the only solution that I can think of is that you need to set your radio as stereo output in the bleutooth connections. Then test if a2dp toggle connects your phone to the radio. If so restart the device and it should work.
Handsfree
I use Plantronix handsfree when I'm away from the car and a Parrot handsfree in the car. I want the Parrot handsfree to take over automatic when use the car.
Do anyone have the solution ????
Hey everybody...
i been trying to get this to work
i want to passthrough internet to my vogue
bt all the guides i find are using activesync
and i have windows mobile device center
soo there guides don't apply to me..
could someone please help me???
jdm4life said:
Hey everybody...
i been trying to get this to work
i want to passthrough internet to my vogue
bt all the guides i find are using activesync
and i have windows mobile device center
soo there guides don't apply to me..
could someone please help me???
Click to expand...
Click to collapse
What exactly are you trying to accomplish?
1. Setting up a BT PAN
2. Tether your Vogue to your laptop meaning share it's data connection.
jadesse said:
What exactly are you trying to accomplish?
1. Setting up a BT PAN
2. Tether your Vogue to your laptop meaning share it's data connection.
Click to expand...
Click to collapse
im trying to set up a bluetooth pan.. to send internet from my pc to my fone
I don't think that htere is currently anyway to set up a BT Pan. MS BT Stack does not support it. I believe it is an option with some of the Widcomm BT stacks that I have seen.
jadesse said:
I don't think that htere is currently anyway to set up a BT Pan. MS BT Stack does not support it. I believe it is an option with some of the Widcomm BT stacks that I have seen.
Click to expand...
Click to collapse
just use the widcomm stack (which you should be doing already anyways, microsoft stack blows) pair your phone with the computer, go into the internet sharing and set it to bluetooth then connect to your phone using the access point option from the computer and there ya go, internet.