I am successfully using the Tornado A2DP hack on my Prophet in conjunction with my bluetooth enabled car stereo. I have written a mort script to make the two connect automatically when bluetooth is switched on but there are odd occassions when they disconnect, like if I switch to listen to the radio.
I can't find the registry setting that controls the state of the "set as wireless stereo" function to either 1 for on or 0 for off. Can anybody help?
My intention is for the script to re-connect the wireless stereo if it detects that the registry setting has changed to 0.
I have been busy trying to track down the issues I have been having on my apache with a2dp, try searchnig the registry for "stereo", you should get a few hits.
Otherwise try
HKLM\Software\Microsoft\Bluetooth\Device\[your devices mac address]\services\
There should be a few long strings (folders), most likely corresponding to one for "wireless stereo" and one for "handsfree", in one of those you may see the wireless stereo...
anyway thats what I got with a 3.5aku and moto headset.
shiggs,
I've already tried that path and it does have a "services" folder with Wireless Stereo and Hands Free folder but the Dword value is enabled (set to 1) in both permanently, evenwhen bluetooth is switched off.
If we can figure this out it would be beneficial for everyone with a wireless stereo device for automatic connection.
Surely someone must know what registry changes take effect once "set as wireless stereo" has been tapped?
neomagik said:
Surely someone must know what registry changes take effect once "set as wireless stereo" has been tapped?
Click to expand...
Click to collapse
use a little utility called ssnap to take a snapshot of registry before enabling that option and another snapshot after checking it. Then compare the two file with an hexeditor (for example) and see which key/value was changed/added
cheers
Related
Hi folks,
I upgraded my Hermes with Schap's Windows Mobile 6 ROM. Works fine so far. But when I try to use my Bluetooth GPS it acts strange.
I paired the Bluetooth device and set up a COM-port for the applications. The first time it works. The next time, when I switch on Bluetooth and start for example TomTom, the Hermes tells me there is a new Bluetooth device that wants to connect. I checked and found out the GPS is still in the list of known Bluetooth devices and the COM-port is set. But the assistant is still bugging until I add the "new" device. After that of course my "old" device is gone.
How can I avoid this? Anyone experiencing the same problem?
I have the same issue, really annoying so would love to know the answer
Tafkas.Net said:
Hi folks,
I upgraded my Hermes with Schap's Windows Mobile 6 ROM. Works fine so far. But when I try to use my Bluetooth GPS it acts strange.
I paired the Bluetooth device and set up a COM-port for the applications. The first time it works. The next time, when I switch on Bluetooth and start for example TomTom, the Hermes tells me there is a new Bluetooth device that wants to connect. I checked and found out the GPS is still in the list of known Bluetooth devices and the COM-port is set. But the assistant is still bugging until I add the "new" device. After that of course my "old" device is gone.
How can I avoid this? Anyone experiencing the same problem?
Click to expand...
Click to collapse
On your Hermes:
Have you tried to checked off: "Make this device visible to other devices"?
Under: Start\Settings\Connections\Bluetooth\Mode (2nd tab on the bottom)
Option #1 (Hermes)
~If, "Make this device visible to other devices is not enabled, delete the pairing for your GPS.
~Check off "Make this device visible to other devices"
~Pair your GPS again (ensure that "Make this device visible to other devices" is still enabled)
Option #2 (GPS)
Don't know what kind of settings for bluetooth you may have on your GPS. I found for my car stereo, that I needed to leave it, in the "waiting/open for connection mode.
Now when I turn the car on it automatically connects the phone and stereo off my Hermes.
What I'm basically saying here is there may be a setting to leave your GPS automatically open for bluetooth connections?
I think option #1 may do the trick....
Hope this helps! Good Luck!
jac said:
On your Hermes:
Have you tried to checked off: "Make this device visible to other devices"?
Under: Start\Settings\Connections\Bluetooth\Mode (2nd tab on the bottom)
Option #1 (Hermes)
~If, "Make this device visible to other devices is not enabled, delete the pairing for your GPS.
~Check off "Make this device visible to other devices"
~Pair your GPS again (ensure that "Make this device visible to other devices" is still enabled)
Option #2 (GPS)
Don't know what kind of settings for bluetooth you may have on your GPS. I found for my car stereo, that I needed to leave it, in the "waiting/open for connection mode.
Now when I turn the car on it automatically connects the phone and stereo off my Hermes.
What I'm basically saying here is there may be a setting to leave your GPS automatically open for bluetooth connections?
I think option #1 may do the trick....
Hope this helps! Good Luck!
Click to expand...
Click to collapse
Mine is set to NOT be visable to others & my bluetooth GPS device just ha a on/off button.
paul8811 said:
Mine is set to NOT be visible to others & my bluetooth GPS device just ha a on/off button.
Click to expand...
Click to collapse
If your concerned about Security you can always change the Pairing codes.
and or turn off bluetooth when not needed.
I'm unaware of any cases where one can connect unless there paired, so in most cases access needs to be allowed on both ends, usually needing pairing codes. Even if it is one way, an approval code will still be needed.
What I found is this, if you want automatic connecting with one way pairing codes i.e. (Car Stereo to PDA or GPS to PDA) You'll need to allow "make device visible" checked off. The usual cause is a memory storing issue with the GPS or Car Stereo. I know that on high end Stereo's and GPS's they have on board memory which will save connection settings, where you'd put pairing codes on both ends and it will save the settings, thus negating the need to leave visible.
Don't know if I answered your question?
Hope I was able to shed some light on the subject....
Good Luck!
I'm a Desktop .Net developer with NO bluetooth experience and only a bit of low-level networking experience so I'm speaking from limited knowledge, but not complete ignorance.
I use my phone as an A2DP source and AVRCP client for quite a few devices (Jabra JX20 Pura, Jabra BT3030, Windows Vista, various BT speaker systems) and Alpine BT300) around my house, garage, car, and on the go. They all work wonderfully (some have better range than others, some better sound), but using any of them presents a couple common issues.
Some devices (like my car), constantly seek out the last paired device until they connect, while most of the other require a connection to be initiated from the phone. The phone doesn't care which is around or has the best signal, just which one successfully connects first.
I'd like an app that could have profiles setup which would let me control certain variables OR at a more basic function (see below):
Bluetooth Profile
Device Priority
Minimum Strength (to be used when more than one device has the same priority)
That would be my ultimate goal, but in the meantime I'd be happy with something as simple as a command line app that could be bound to a key or shortcut which would try to connect to a predefined list of BT MACs for a given profile and stop when the first one connects successfully. Variations on this might allow a connection attempt to a specific device instead of a list. This way I could have StartMenu or Today shortcuts.
The point here is largely to have to avoid nagivigating all the menus needed to initiate an A2DP connection, but I'm sure there are MANY other uses people would find.
If someone could point me in the right direction (I'm researching already of course) to the namespace(s) and or class(es) in .Net 2 or newer which would allow me to enumerate and/or initiate connections, this may be something I could bring to the community (assuming it doesn't already exist, and I have asked MANY times).
I've created a poll also to see what kind of interest is out there for this software and how much support I might receive.
I've been knocking an app up to suit my own personal A2DP needs... and a lot of yours by the look of things ;-) Things it does:
Kinetic scrolling finger friendly list of A2DP devices known to your phone (tap to select then tap again to attempt connection).
Toolbar buttons indicating active A2DP connection status (tap to disconnect active connection).
Bluetooth devices applet shortcut.
Switch bluetooth on (a good few of my devices need the phone to be discoverable so the app forces the phone to be discoverable at all times *blush*).
Switch bluetooth off.
Shortcut to program launcher list (automatically displays this list when you initiate a connection to a selected device... and there's items to display in the list of course).
Command line access (via secondary exe) allowing you to attempt connection (to a named , the last connected or first found device) and disconnect an active A2DP connection. I've only really tested the named device connection but the other 2 modes *should* work
QVGA / VGA and orientation aware.
I've been wanting to work towards getting it up on XDA... but time constraints (and a baby on the way ) have gotten in the way and it's unlikely I'll have the time to do it for a good while. I'd be happy to pass on the code to someone willing to take it further if that's any use. It's written (very quickly!) in VB.net BTW.
It uses a few bits and bobs from other people though:
A2DPToggle's "a2dp.exe" to handle initiating a connection.
Icons from lord only knows where I found them.
The kinetic list code found on here (http://forum.xda-developers.com/showthread.php?t=333124&highlight=klist). IIRC, I used the gingercat updated version and tweaked it to my own needs. There's many a kludge I've put in to the code to get things working quick-smart (D-Pad navigation mainly).
InTheHand 32feet.NET libraries (http://inthehand.com/content/32feet.aspx). These work with MS Bluetooth stack only.
So permission from the respective folks above would be needed before releasing it into the wild I guess.
Here's a screeny
Hey great tool! When I click a device will it auto connect or only open the BT Explorer and will it work with Broadcom BT Stack? Thanks
Oops, meant to say it's been developed for the MS bluetooth stack only. Sorry about that.
When you attempt to connect to a device it first checks the device is reachable and only then attempts to initiate an A2DP connection.
Northernmost said:
I've been knocking an app up to suit my own personal A2DP needs... and a lot of yours by the look of things ;-) Things it does:
Click to expand...
Click to collapse
Absolutely. I can get around in VB.Net and C# just fine. If you don't want to publish the code publicly, PM me your email address and I'll invite you to my Sharepoint site (easiest way I know to share files and manage communique), otherwise attach here.
It sounds like you've already covered 99% of what I was looking for, but I'd be more than happy to do what I can to more the idea forward, even taking suggestions from others in this thread.
About the BT stack, I'm running a Vogue with a ROM cooked in PPCKitchen, how do I determine which stack I'm running and can that be changed?
rainabba said:
About the BT stack, I'm running a Vogue with a ROM cooked in PPCKitchen, how do I determine which stack I'm running and can that be changed?
Click to expand...
Click to collapse
I've no idea what stack Vogues come with but the MS stack device list looks like the attachment below. If yours looks the same it's the MS one. I guess the Vogue forum should have any info on swapping stacks if it's possible.
Sounds like I found the correct people to answer my question about BT. Is there a way / how can I: enable my Mogul 6800 phone to transmit the sound that would normally go through the speaker to my BT headset in order to listen to streaming audio from the net using Kinoma Play which goes out and picks up all sorts of "radio programs" , i.e. not using a direct URL. I am also not able to listen to audio files from the Audio Recorder through anything except the speaker, even not through a head phone. Do I need to download a program or set up my phone differently. I currently have Titan WM6.1 Build 20755 GPS kitchen from PPC Geeks. Thanks so much for your help.
jminor4326 said:
Sounds like I found the correct people to answer my question about BT. Is there a way / how can I: enable my Mogul 6800 phone to transmit the sound that would normally go through the speaker to my BT headset in order to listen to streaming audio from the net using Kinoma Play which goes out and picks up all sorts of "radio programs" , i.e. not using a direct URL. I am also not able to listen to audio files from the Audio Recorder through anything except the speaker, even not through a head phone. Do I need to download a program or set up my phone differently. I currently have Titan WM6.1 Build 20755 GPS kitchen from PPC Geeks. Thanks so much for your help.
Click to expand...
Click to collapse
You need an A2DP capable device (high quality), connected, THEN start your audio program OR use a program called Audio Gateway with a basic Bluetooth headset (low quality audio).
thank you very much.
Northernmost, how about that source code? If you want to pass it along less privately than a post here, PM me and I'll provide a solution (source control, WSS, etc.)
Sent you a PM the other day. Let's go the private way for now.
For those frustrated by the lack of phone support for rSAP car phone kits from anyone other than Nokia. I have managed to get my SE Xperia X1 working with my VW Toureg, suspect it should work with Merc Benz, but you'll need to try it.
I downloaded Helmi's BTSAPSettings Cab from http://forum.xda-developers.com/showthread.php?t=273857&page=17 posting #166 and installed it. Works great connects to car, doesn't drop, quality great.
Only problem I have is that the car kit only sees the sim contacts to copy across and not my outlook contacts. I believe this is because it sees the phone as a Pocket PC and not a Phone/SmartPhone. Anyone have any ideas on how to fix? Any regedits needed?
Thanks
X1, SAP and Nokia 616
Hi!
i also installed Helmi's BTSAPSettings Cab and the X1 now shows SAP in bluetooth profiles.
But my Nokia 616 connects only as handsfree and not in sim acess mode.
Any ideas?
Thanks!
Greetings, Luggi
no working on my touareg
hi
I installed the file on my x1, and teh sap is visible in the list of bluetooth profile. But when i am in my car, it says that the phone is not comptatible.
Do you have any suggestion?
Thanks
This works
with the x1 and the Nokia 616:
http://forum.xda-developers.com/showthread.php?t=372529
Greetings, Luggi
I have tried installing both files.
SAP works, the car finds the phone, asks for the code, they pair.
But then, the car keeps saying "connecting..." the PDA (X1) loses the operator but the car doesn't access the SIM and even says cannot connect.
Any idea??? (The xperia has got the new R2 firmware)
My X1 works out of the box with my Kenwood 8041BT car radio. It shows all my Outlook contacts, i have no items on the sim-card. I have no software separately installed for this, the rom is the one in my signature.
Bluetooth devices identify themselves as a certain thing. Headsets as headsets, phones as phones...interestingly, XDA's identify themselves as PDA's not phones. This can be changed....
Taken from http://forum.xda-developers.com/showthread.php?t=282544&highlight=rsap
You need a registry editor. If you're not comfortable with editing the registry, don't do it. It can and will mess up your phone if done wrong!
First, you need to change the bluetooth identity to be a phone, or the accessory will not recognise it (funnily enough, bluetooth car kits don't look for pocket PCs). Here's how:
Download PHM RegEdit. Its a free, and simple registry editing program.
Next, edit the following value:
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\SY S]
"COD"=dword:52020C (hex)
Bear in mind the new dword is a Hex value, so be sure to select "Hexadecimal" from the Base menu.
For reference (in case something messes up), heres the original value (the Pocket PC identifier):
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\SY S]
"COD"=dword:1048852 (decimal)
Now, soft reset the phone. If the device is already paired, delete the pairing, and start from scratch. This time it should work as the accessory is seeing the device as a phone, not a PDA. If it doesn't work, you haven't lost anything. The first thing I did with my XDA Stellar was change this and it still happily runs A2DP, file transfer, Activesync etc.
Hope that helps, but play at your own risk.....
Bluetooth devices identify themselves as a certain thing. Headsets as headsets, phones as phones...interestingly, XDA's identify themselves as PDA's not phones. This can be changed....
Taken from http://forum.xda-developers.com/showthread.php?t=282544&highlight=rsap
You need a registry editor. If you're not comfortable with editing the registry, don't do it. It can and will mess up your phone if done wrong!
First, you need to change the bluetooth identity to be a phone, or the accessory will not recognise it (funnily enough, bluetooth car kits don't look for pocket PCs). Here's how:
Download PHM RegEdit. Its a free, and simple registry editing program.
Next, edit the following value:
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\SY S]
"COD"=dword:52020C (hex)
Bear in mind the new dword is a Hex value, so be sure to select "Hexadecimal" from the Base menu.
For reference (in case something messes up), heres the original value (the Pocket PC identifier):
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\SY S]
"COD"=dword:1048852 (decimal)
Now, soft reset the phone. If the device is already paired, delete the pairing, and start from scratch. This time it should work as the accessory is seeing the device as a phone, not a PDA. If it doesn't work, you haven't lost anything. The first thing I did with my XDA Stellar was change this and it still happily runs A2DP, file transfer, Activesync etc.
Hope that helps, but play at your own risk.....
I'm having a problem where my phone's (XPERIA X1i) A2DP connection doesn't properly reconnect to my car's receiver most of the time. I've found that if I go into the Bluetooth settings, uncheck "Wireless Stereo" on the appropriate device, save, then recheck it, and save again, everything works well. Obviously, this is a lot of trouble, so I'd like to automate it.
I've found where the enable bits are in the registry, but I can't tell how to do the equivalent of the "save" button in the settings. I'm happy to write my own program to do this if someone can point me to the right API call. Thanks!
- Scott
PS: Although I've found A2DPToggle to be a help elsewhere, it doesn't solve my problem of reconnecting the device.
There are other car connection threads but I thought I would post this thread to provide a search hit for anyone with a Ford Bluetooth Radio. It combines bits from a couple of threads and should enable you to successfully connect to your Ford car. Thanks to all of the other posts whose work I have cobbled together here. This is confirmed as working with the HTC 1.66 WWE ROM.
Out of the box the HD2 does not initiate auto connection with the Ford, refuses to pair with the Sony radio and hangs the radio at the end of a call so...
Using Resco or similar registry editor..
1. Modify the HandsFree plug-in: HKLM\Software\WIDCOMM\Plugin\HandsFree
i. Change DWORD SupportedFeatures to 45 (was 1379)
ii. Create binary value HFBDA , set to same value as LastConnectedBda
iii. Create DWORD HFDeviceType (Dec) 2
2. Modify the WIDCOMM bluetooth general settings: HKLM\Software\WIDCOMM\BtConfig\General
i. Change binary Value bdaddr to (no value) delete the existing key value, was 00 23 76 74 2c d5
ii. Change DWORD DisableReopenAudio to 0 (default is 1) I didn't have this registry key so I created it with DWORD value (dec)0
3. Reboot device (soft reset or long press off until power off option).
These above mods make the handshaking between car and HD2 much less prone to lockups!
Go to car, check that radio has bluetooth enabled.
HD2 wil find car (Ford Audio), send a random keycode - pairing fails but this will wake up radio which displays another keycode. Re-enter this correct keycode and pair device.
If a Ford built in radio then accept incoming connections and phonebook download when prompted.
If the Sony radio (Galaxy, S-Max etc) then you must also accept the stereo music connection else it will not work.
On HD2 go to settings, menu, all settings, bluetooth and 'add knickname' to your Ford Audio connection, check that 'accept all connections' box is ticked on this page.
Only bug so far is that by accepting the stereo audio connection the music player starts playing whenever you connect to the Sony radio. The music cannot be heard as the Sony does not accept incoming streams - however if you do not enable it at the connecting stage then the phone connection subsequently fails and refuses to work again. If anyone can get around this annoying problem then please post below.
Huge thanks for pulling this together
I'd about given up hope of getting the HD2 working with my S-Max. Still not perfect, but at least now usable.
Great stuff.
Interstingly the current S-Max seems to be generally less compatible than the one from a couple of years ago.