View Full Version : Project VCABT - Voice Command Activation over Bluetooth
rmg
20th June 2005, 03:57 PM
UPDATED 11/12/05
Just to clarify. This patch enables you to launch Voice Command (or any other app) by pressing your bluetooth headset button. It DOES NOT transfer sytem audio to the headset OR allow you to issues Voice commands via the headset. Its still a top peice of work tho ;-)
Some people also have an issue where the BT headset audio receiver will stay on indefinitely using up its battery unless you place a call or turn it off.
I dont get this issue. YMMV!
--
rmg.
UPDATED 24/11/05
There is now a working patch to enable BT Audio streaming to STEREO BT headsets only.
http://forum.xda-developers.com/viewtopic.php?t=33532
This works fine with VCABT patch
--
rmg.
UPDATED 20/08/05
You need to be logged in to download the zip file!
--
rmg.
UPDATED 14/08/08
Dear all.
There is now a working hack to allow voice dial activation from a bluetooth headset.
NOTES
1. This hack DOES NOT transfer system audio to the headset via bluetooth. That is still being worked on.
2. This hack only works on the HTC Magician.
To date it has worked on all Magician types including:
iMate Jam
Qtek S100 S110
MDA Compact
Orange M500
VPA Compact
XDA MINI
Instructions:
Download the zip and install the cab file to enable the hack. Thats it! :-)
Note:
The cab file will place a copy of voicecmd.exe in /windows and rename it to Voice Signal Launcher.exe
If you use another voice activation program you will have to copy the .exe, put it in /windows and rename it to Voice Signal Launcher.exe
If you have any questions not covered here please ask them in the thread and somewill help :-)
Credits:
Hack created by Psneddon
Cab created by adamz
Scroll down to the bottom of the post to grab the file!
--
rmg.
Original post below:
Hi,
I am making a new thread for all discussion related to getting voice command working over bluetooth, i.e you push the button on your headset and the Voice Command activates.
This functionality has been achieved on the Eten M500, which uses the M$ bluetooth stack
See
http://translate.google.com/translate?u=http%3A%2F%2Fwww.pocketpcitalia.com%2F recensioni%2Fhardware%2Feten_m500_general4.asp&langpair=it%7Cen&hl=en&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools
Stack the Bluetooth implemented in the Eten M500 has been realized from the same Eten on the base of stack the Microsoft.
The society has enriched it, and this is now in a position to offering the following profiles: Service Discovery, Headset and Hands-free, Dial-up, Object Exchange, Generic Access, Serial Port and Gateway-audio.
This last one is of great importance, since beyond guaranteeing I listen of the sounds of system or the reproduced MP3 in cap (optional), allows the operation of the application Voice Commander (about which we will speak in the next page), concurring to directly command the device from a Bluetooth earpiece.
E' instead absent profile PAN (Person Network Area), that it would have allowed the device to approach Internet in presneza of points of Bluetooth access.
We need a dump of the Eten M500 rom, and then we need someone with more braincells than me ;-) to extract the Bluetooth stack....
Is this possible / doable?
fishbone
20th June 2005, 05:12 PM
Yess please!!! That's what we've been waiting for the whole time!!!
ID64
20th June 2005, 05:28 PM
Let's make it work, ppl!
Did you notice if your JAM is in sleep mode pusing button on the headset actually wakes it up? At least, that what happenes with my Bluespoon AX, also it supports last number dialing by pressing volume buttom fro more that 2 sec. It prooves that JAM understands keypresses on the headset! Even on pre-production MPX unit it worked with MS stack!
rmg
20th June 2005, 07:02 PM
Did the MPX have the M$ stack?
It may be easier to get a rom dump of that rather than the ETEN,
IIRC it was only the pre production MPX's that enabled VC over BT?
Does anyone here own a Pre ProMPX or an Eten 500?
vbguru613
20th June 2005, 07:03 PM
There are many people on HowardForums that have both phones.
The hard part is to get them to do it.
funglenn
20th June 2005, 07:09 PM
i can hang up a call with my scala500 bluetooth headset, it just will not answer.....
ID64
20th June 2005, 07:37 PM
From what I can see on this translated page, ETEN has a bit more advanced bt stack than JAM. I am not sure, if that is MS newer stack or ETEN's customized stack. Either way, I want it.
duke911
20th June 2005, 08:06 PM
as far as I know.. the BT stack used by E-Ten 500 is made by the same company that made the device....
I hope we can get this to work.... :wink: it's very nice to have something more advanced the stupid M$ BT stack...
User22
20th June 2005, 08:29 PM
Hello guys.I have an .exe file that is a firmware upgrade for Eten P700 that probably have the same bt stak that M500,because it is using voice command 1.5 from Cyberon.
If any one want to try to play with that .exe i can upload it to somewhere.
ID64
20th June 2005, 08:39 PM
Can you upload it please to XDA-DEV ftp site?
BeyondtheTech
20th June 2005, 08:46 PM
Cyberon's Voice Commander is different from Microsoft Voice Command. Can anyone confirm that it's Voice Command from Microsoft that even supports this feature at all?
macsoft
20th June 2005, 09:01 PM
I have a QTEK9090 but i think this happens in all models, so it could work on all models:
with the bluetooth headset ON, if you press ANSWER on the headset, if wakes the phone and you hear kind of a phoneline noise. I know the QTEK can't send/receive sound to/from bluetooth if its is not in a call (BT3900). What we have to try, is to build a program that accepts signal from the phoneline, like it would try to make a phone call so that bluetooth comunication is ON, and then listen to the micro to get the voice dialer message. Instead of trying to make the QTEK send/receive normal audio thruw BT, why not make a program that access the phone line to send/receive audio? the quality is not the same, but we could shurelly could voice dial at least.
I'm not a PPC programmer, but i've done some programs in other languages, so I have a programmer mind ;) Hope this helps someone who knows how to program for this device.
byMaC
User22
20th June 2005, 09:21 PM
Here we go lads.It is english languaje. P700_V44 .zip 17711KB
ftp://xdaupload:xda@ftp.xda-developers.com/P700_V44%20.ZIP
User22
20th June 2005, 10:16 PM
BTW if any one can extract the cabīs files of cyberon voice command and post it i will apreciate it,because i still looking for version 1.5 to install it on my Qtek S100.
jackleung
21st June 2005, 04:38 AM
BTW if any one can extract the cabīs files of cyberon voice command and post it i will apreciate it,because i still looking for version 1.5 to install it on my Qtek S100.
I only have the 1.2 version
User22
21st June 2005, 03:25 PM
BTW if any one can extract the cabīs files of cyberon voice command and post it i will apreciate it,because i still looking for version 1.5 to install it on my Qtek S100.
I only have the 1.2 version
Well,i mince stracting from the firmware that i allready uploaded.
User22
27th June 2005, 11:28 PM
Any news about extracting something from that file ???
rmg
30th June 2005, 04:35 PM
Please Please Please Please can any developer who is willing to help with this head over to HoFo and this thread:
http://www.howardforums.com/showthread.php?t=655524
Where there are several ETEN 500 owners ready to help.
To reiterate, the plan is to find a way to dump the ETEN ROM, and then have a look and try to work out how they enriched the M$ BT stack to allow Voice Command to work over Bluetooth.
Many thanks.
--
rmg.
docc
17th July 2005, 02:44 PM
I have n eten M500. Jus tell me what exactly i haveta do and i will do all that i can.
lyka
17th July 2005, 06:24 PM
Can you dump out a copy of the bluetooth stack?
I'm not an expert...mm...hope some one can give you the right advice!
I dunno if there is a way to put in a cab the installation..however do exist something like an upgrade? I mean on the Eten cd there is something like a bluetooth upgrade or something helpfull?
Hoping someone can direct this hack.
Come on, we've got a chance! There's a user who want to help us...
docc
17th July 2005, 08:34 PM
Well, i really dont know how u want me to dump the BT stack. Not only the BT stack but there are plenty of add-ons in the M500 that are a real treat. If u guys can point me in the right direction, then i will be more than happy to help out.
Docc.
rmg
26th July 2005, 11:54 AM
Download the M500 Registry from
http://www.rmg.me.uk/jam/Eten_M500_Reg_backup7-25-05.rbk
(Thanks to Mike from HoFo)
Anyone know what app can be use to view this on a PC ?
Also, is there a way to reshow the ext rom on a jam after the link has been deleted? Could this be used on the M500?
rmg
26th July 2005, 12:01 PM
QUOTE
VoiceDial works well, particularly once I stopped shouting at the phone - the earpiece volume goes loud enough to make you think you're on speakerphone, though it isn't - and held it up to my ear. I thought I'd try it with a Bluetooth headset, but while the M500 paired with my Motorola HS850 first time round, it didn't work as expected with VoiceDial. While the software picks up what you're saying, it doesn't relay information back to the headset, so unless you can hear the handset's speaker, you can't tell if it's recognised your voice correctly. I'm still not certain the M500's own microphone wasn't picking up my voice rather than the HS850, but I think I was far enough away to trust the headset in this case. Taking VoiceDial's recognition on trust too, I just said yes after a suitable interval - it asks you to confirm or reject what it thinks you've said - and was always put through to the right phone.
http://www.theregister.co.uk/2005/07/18/review_orange_spv_m500/page2.html
Please Please Please Please Please can anyone with an M500 confirm if you can initiate voice dial from BT headset and wether you can issues commands through headset.
rmg
26th July 2005, 12:09 PM
What about this app:
http://forum.xda-developers.com/viewtopic?t=8422#42271
does it work on the jam?
psneddon
26th July 2005, 12:17 PM
I'm pretty sure the Orange M500 supports voicedial over bluetooth, so all we need to do is get a hold of the rom and flash our Magicians.
It was the same case with the Orange C500 - its the same stack as other devices only they write a custom driver / dll that converts the AT Bluetooth commands to interface with the (non MS) Voice Commander software.
Paul
rmg
26th July 2005, 12:25 PM
Hi Paul that is great info. Would we need to flash the whole rom or could we just lift the dll?
There are a few M500 owners on Modaco so I have asked for clarification there.
http://www.modaco.com/Orange_SPV_M500_REVIEW_-t223296.html
psneddon
26th July 2005, 01:35 PM
The following is taken form a review of the M500 (The Register). While not perfect it does seem to indicate that BT voicedialing does work.
"I thought I'd try it with a Bluetooth headset, but while the M500 paired with my Motorola HS850 first time round, it didn't work as expected with VoiceDial. While the software picks up what you're saying, it doesn't relay information back to the headset, so unless you can hear the handset's speaker, you can't tell if it's recognised your voice correctly. I'm still not certain the M500's own microphone wasn't picking up my voice rather than the HS850, but I think I was far enough away to trust the headset in this case. Taking VoiceDial's recognition on trust too, I just said yes after a suitable interval - it asks you to confirm or reject what it thinks you've said - and was always put through to the right phone."
Paul
rmg
27th July 2005, 02:17 PM
FYI - Bad news
http://www.modaco.com/Orange_SPV_M500_REVIEW_-t223296.html
I am using an Orange SPV M500 with a Plantronics M3000 headset, and you CANNOT initiate voicedial from the headset button, contrary to the implication on the review.
Also, if you initiate voicedail using the button on the side of the M500, it DOES NOT use the headset - it uses the internal speaker and microphone - which just about works in a car if you have the internal speaker volume up at full.
So it looks like working out what ETEN have done is the only way forward.... Anyone looked at th reg dump yet?
rmg
29th July 2005, 10:03 AM
Grab the latest eten M500 rom as an exe from http://www.beyondthetech.com/downloads/phone/updates/
have a look and see what you can find!
qatramiz
1st August 2005, 09:53 PM
has anyone been able to extract the CAB files from the Extended ROM from Eten.
L33uk
1st August 2005, 11:17 PM
I'm pretty sure the Orange M500 supports voicedial over bluetooth, so all we need to do is get a hold of the rom and flash our Magicians.
It was the same case with the Orange C500 - its the same stack as other devices only they write a custom driver / dll that converts the AT Bluetooth commands to interface with the (non MS) Voice Commander software.
Paul
I have an Orange SPV M500, and voicedial is not working for me (over Jabra BT200 headset), but if I can be of help in any way just let me know..........
psneddon
3rd August 2005, 12:38 PM
I have extracted all the files from the Eten rom - although it does not contain the extended rom. Does anyone have a copy of the eten registry?
I know that the files will probably be XIP so we cant just move them over to the Jam but I'm going to have a wee go and see what I cna do anyway.
Paul
psneddon
3rd August 2005, 01:17 PM
Looking through the files I do see some interesting things..
There is a voice control service and daemon that looks like it would maybe run ok if moved over to the jam, and there is also the following..
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Keys\4 0C6]
"ResetFlag"=dword:00000009
"Icon"="\\windows\\BluetoothManager.exe, 0"
"Name"="Bluetooth Headset Button"
"Flags"=dword:00000009
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Se rvices\00001108-0000-1000-800
"BthHeadsetHelper"=dword:0
@="Headset"
I'm at work at the moment but I managed to send the bluetoothmanager.exe to my phone and run it - it seems to run and functon ok - it seems to be some sort of more advance control panel to the default on.
When I get home I'll investigate further :)
dr.
3rd August 2005, 02:19 PM
When I get home I'll investigate further :)
Good luck!!!
qatramiz
3rd August 2005, 05:01 PM
:idea: :?:
rmg
3rd August 2005, 05:39 PM
I have extracted all the files from the Eten rom - although it does not contain the extended rom. Does anyone have a copy of the eten registry?
http://www.rmg.me.uk/jam/Eten_M500_Reg_backup7-25-05.rbk
--
rmg.
rmg
3rd August 2005, 05:47 PM
Looking through the files I do see some interesting things..
There is a voice control service and daemon that looks like it would maybe run ok if moved over to the jam, and there is also the following..
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Keys\4 0C6]
"ResetFlag"=dword:00000009
"Icon"="\\windows\\BluetoothManager.exe, 0"
"Name"="Bluetooth Headset Button"
"Flags"=dword:00000009
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Se rvices\00001108-0000-1000-800
"BthHeadsetHelper"=dword:0
@="Headset"
I'm at work at the moment but I managed to send the bluetoothmanager.exe to my phone and run it - it seems to run and functon ok - it seems to be some sort of more advance control panel to the default on.
When I get home I'll investigate further :)
Fantastic, Thank you for all your efforts so far. I am happy to host whatever you need and to test anything you create. Hopefully some more nice E_M500 owners will join us from HoFo and offer to help with Ext Roms etc.
--
rmg.
psneddon
3rd August 2005, 06:50 PM
Thanks for the reg file, however its in some sort of compressed backup format - would it be ok for you to take an export of the registry rather than a backup.
Thanks in advance.
Paul
rmg
3rd August 2005, 07:55 PM
Hi,
I have a jam, not an Eten M500. A friend on HoFo did the backup, using phm regedit. I will contact him via pm and ask him to do an export (using the same app I assume).
Unless there is an Eten owner here who can do it quicker?
Will get back you you :-)
On another note, would it be possible to send me the bluetoothmanager.exe from the EM500 so I can have a look at it?
email is rmgwm yahoo co uk
cheers.
rmg
3rd August 2005, 09:10 PM
Thanks for the reg file, however its in some sort of compressed backup format - would it be ok for you to take an export of the registry rather than a backup.
Thanks in advance.
Paul
Hope this is what you need Paul.
http://www.rmg.me.uk/jam/eten_m500_mike_4_rmg.reg
Regards.
--
rmg.
psneddon
3rd August 2005, 09:32 PM
Thanks,
I've not been able to get the voice commander software to work. The software is made by eten using the cyberon VC DSK. This is also what HTC did to get BT voice dialling on the C500 and it seems tied to the device and wont run (code check?) unless I can maybe find something in the registry.
It seems that the BT stack is the same as the Jam. There is a Voice Command daemon that runs on startup and I think this is what picks up the BT headset button press.
I can send you the file or if you prefer here is how to extract the files yourself. I got the file from here.
http://dl2.rapidshare.de/files/3448565/1295701/EUU_M500_WWE_R05_100_0039.exe
When you run the install it will unpack files into your temp dir (under your local settings profile). Keep going through the installer until a large file is created in the temp dir called TEMP.DAT. Copy this file somewhere and use the dumprom.exe utility to extract the files.
Dumprom can be found here.
http://www.xs4all.nl/~itsme/projects/xda/dumprom.html
rmg
3rd August 2005, 10:07 PM
hmm, i cant get the exe from rapidshare. it says my IP has used too much bandwith. please could you email the file to me. thx.
psneddon
3rd August 2005, 10:26 PM
Try here...
http://www.beyondthetech.com/downloads/phone/updates/
rmg
3rd August 2005, 10:37 PM
ahh cool i diddnt realise that was the same one. do you think a vanilla version of cyberon vc would work? or is the way forward to try and ger it working with ms voice command?
rmg
3rd August 2005, 10:56 PM
sorry to be thick mate, I have dumprom.exe and temp.dat (42.4mb) in a folder, what do I do now?
I have tried typing dumprom temp.dat -d files >jam.txt in dos and have the txt output but im not sure how to output the files to a folder
ohh cancel that, just got it working :-)
but bluetoothmanager.exe will not run, it says cannot find btaudiogw.dll
ahh, hang on, its is working, but I need to find that dll !
I have hosted the exe at
http://www.rmg.me.uk/jam/BluetoothManager.exe
next step might be to get that dll?
rmg
3rd August 2005, 11:21 PM
Hmm, its interesting
had a couple of complaints about flight mode but its working now.
It wont let me select a headset but I assume that that might be down to the missing dll...
hlc1971
4th August 2005, 10:03 AM
Hmm, its interesting
had a couple of complaints about flight mode but its working now.
It wont let me select a headset but I assume that that might be down to the missing dll...
Been reading posts here often but never posted anything.
ANYWAYZ! I've found a cab file with the dll you're looking for rmg! Maybe this can help you (us) out ;)
http://home.wanadoo.nl/hlc/BTCAB/BT_Headset.CAB
enjoy!
rmg
4th August 2005, 04:52 PM
Thanks mate. I tied that but I still get an error on first load. I will wait and see what Paul the expert comes up with ;-)
Baldrick45
5th August 2005, 12:19 PM
I've been following this thread for a while now waiting for someone to say "Eureka". I don't want to muddy the waters or move the goalposts when we have had some recent progress but I note from HoFo that the M500 has had a further Rom Upgrade released (V039)
<EDIT: Oops - I'd missed the start date on the Hofo thread - I see we are already aware of the update - Apologies to all - but the declared improvements are still impressive aren't they? - Baldrick45>
http://www.howardforums.com/showthread.php?t=689787&page=3&pp=15
Among the declared improvements (Eten official info on the upgrade) are;
Improvements (ROM 0039)
1. Compatibility issue with iTech BT earset -- solved
2. Sleep -->re-activate leads to reversal of camera icon on screen -- solved
3. GSM signal strength indicator (bar numbers) now shows correctly and refresh time shortened
4. Handsfree mode-->BT, voice cannot come through -- solved5. SDIO program now works when re-activated from sleep mode
6. New, enhanced version of Voice Command program
7. Support external USB Host
And while none of the posts are mentioning any changes to VC as yet, at least one reports much greater reliability/compatability with bluetooth headsets and car-kits.
The Hofo thread has DL links to the new ROM. Can I suggest our experts here consider making this their working file set for exploring for DLLs/comparing registries etc. May as well work off the best the competition is offering!
By the way, anyone know if the base hardware between the Magician & M500 is close enough that we too might hope for USB host mode at some point? That strikes me as another fantastic facility to have a chance to use. (Magician to USB Memory stick anyone?)
Baldrick45
psneddon
7th August 2005, 10:49 PM
Right, I've got the BT Manager working without error. And I also have the voicecommander add working.I still need to figure out which file loads up the voice app when the button is pressed? Will post details when I have time later. The only thing I'm confused about is that there is nothing in the registry dump relating to the voice commander software?
rmg
8th August 2005, 10:56 AM
Paul,
Do you think it will be possible to make the headset button press map to any file, like the other hardware buttons? or will it only load the voice commander software?
Also, I wonder if yourt efforts so far have got audio gateway working, i.e. system sounds transmitted over bluetooth?
Looking forward to a full update! I might have to buy you a beer or ten for this ;-)
psneddon
8th August 2005, 11:13 AM
I've being reading the Microsoft PocketPC development files and here what I've found.
The Microsoft stack supports both the hands-free and the headset profiles out of the box. But MS only implement the supporting code for hands-free and this works as expected on our devices. When you press the headset button on our bluetooth headset the softwares does detect the keypress (as all is it is really at AT modem command - something like AT+VCT or something). However the stack does nothing after this. as there is no extensions loaded to handle the profile after this.
The Bluetooth API does let developers developed extension files that can hook into the bluetooth stack and take action on the AT commands.
What happens with the ETEN is the voice commander software has a background daemon (startup program) which hooks into the hands-free profile and makes it act like a headset profile - it seems they dont actually implemement a proper headset profile. The daemon detects the headset press and fires up the voice commander software etc.
I've never really programmed in C or for the pocket pc but it seems like it would be easy to write a small extension to detect and take action on the headset press, routing the autio etc would probably take a bit more code.
I'm still pretty sure that we could get the voice commander software to work though - but I think I'm missing some registry entries.
I've tried copying all the Voice commander files to the windows directory on the device and loading in the voice commander service - I can get the service to load but I cant get the voice commander to start. If I however copy the whole contents on the ETEN rom to a folder on my storage card it all works fine from there, so I need to find out what files its still requiring to be compied to the windows dir so it works from there. Hopefully once this is sorted and then we can get the software to work properly.
Does anyone know how to enable the debug logging in the bluetooth code? I know there is registry entires but changing them seems to do nothing. If would be goof if I ccould get the stack to log debug output so I can see whats going on etc as it would save alot of the trial and error I am doing.
Paul
psneddon
8th August 2005, 01:29 PM
I know this info is for Wm5 but the fuction calls should be simular.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecomm5/html/wce50lrfbthagatsetcallback.asp
I'm going to try come .net framework programming later but I have a funny feeling you cant do callbacks with the docnet framework?
Paul
IMate->WM2k5
8th August 2005, 01:46 PM
I know this info is for Wm5 but the fuction calls should be simular.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecomm5/html/wce50lrfbthagatsetcallback.asp
I'm going to try come .net framework programming later but I have a funny feeling you cant do callbacks with the docnet framework?
Paul
Derive from Microsoft.WindowsCEForms.Message class and get any callback linked you want
rmg
8th August 2005, 04:47 PM
I've never really programmed in C or for the pocket pc but it seems like it would be easy to write a small extension to detect and take action on the headset press, routing the autio etc would probably take a bit more code.
Understood mate, certainly initiating an action on button press would be a huge leap forward, it would just be a shame if we still hac to use the mic and speaker on the handest to initiate commande rather than doing that through the headset as well.
good work tho ;-)
--
rmg.
corben
8th August 2005, 05:44 PM
Hi, I'm new here, but I've been following your posting very closely. I have i-mate jam and able to put those in the registry. I have put audiogw.dll and btaudiogw.dll under windows folder and it only recognize audiogw.dll. It keep saying that could not load module btaudiogw.dll. Any idea where should I put that .dll??
Corben
rmg
9th August 2005, 10:16 AM
Sounds like you can get it working by dumping the rom contents in a folder on an SD card.
Which is wierd because I couldnt see btaudiogw.dll in the rom contents.
psneddon
9th August 2005, 11:57 AM
I'm still working on this - but its hard to see if I'm getting somewhere without some form fo debug output - but I did manage to change a registry key that make the JAM beep everytime I pressed the headset button :)
I found an interesting file here - http://www.pdaphonehome.com/forums/showthread.php?s=&threadid=52942
Information about how this is *supposed* to work is here (look at the hand free profile and the registry settings sections)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecomm5/html/wce50conatcommandextensionmodule.asp
Its quite interesting if you look at that dll file with a hex editor.
1) It calles BthAGATSetCallback
2) It looks like it handles (or executes) the AT command AT+BVRA which is toEnables or disables voice recognition in the AG."
If we can establish that this file is working (and it seems to do because it gets locked by CE when loaded) then we should be able to hexedit the AT command and try different things.
psneddon
9th August 2005, 03:08 PM
My head is getting sore now. I've been looking at how CE handles the loading and the calling of device drivers and services. It seems it loads a service or driver via DLL entry points with well defined names (e.g. XXX_INIT) The XXX part is the prefix that is stored in the registry. Part of the problem (I think) is that the headset code in the ETEN ROM loads via the bthserial.dll driver with a prefix of BTH - this is also the prefix that the base BT driver uses on the magician. So this is why when we run the BluetoothManager.exe we get that "please turn off flight mode error".
It also looks like the software makes calls to the audiogateway extensions using the same method (e.g. BTH : AG_INIT) which I think refers to the DRIVER : SERVICE name.
So I'm going to try going through all the interlinked ETEN dll's and editing the binary to use a different prefix (e.g. HTS) and changing all the references too.
To be honest I dont even know if this will work but I wont know untill I give it a try. The BTAGSVC.DLL has the same prefix in both roms but fails to load when you use the ETEN version, but this could be down to something else??
The other confusing thing - is that there is a dll in the eten rom called audiogateway.dll that does not seem (from the registry and function calls) to get loaded , however it looks like it contains lots of nice code??
If anyone has any further ideas, please share.
corben
9th August 2005, 04:16 PM
No rmg, you missunderstood that. I wasn't able to get that from romdump. :oops: I wasn't clear about it, sorry.
I took audiogw.dll and btaudiogw.dll from bt_headset and just drop it in windows folder. It recognize audiogw.dll but not btaudiogw.dll.
rmg
9th August 2005, 04:18 PM
Ahh, dunno then mate. prolly best to just wait and see what Paul comes up with :-)
psneddon
9th August 2005, 04:48 PM
The btaudiogw.dll that is in that cab file is for the widcomm stack - so it wont work on our devices.
Baldrick45
9th August 2005, 04:58 PM
Paul
I'm no coder so I can't even begin to help you move anything on but just to say that this will be a "killer function" if you can get it working and I, as well as the many others following this thread, really appreciate the effort you are continuing to plough into this.
Cheers mate - I for one will gladly Paypal you the price of a pint if you can do it!
corben
9th August 2005, 05:56 PM
yeah...rmg. Thats what I thought, I'll try again.
corben
10th August 2005, 04:06 PM
Guys,
I found this patch, but I dont know if it going to work on i-mate or not.
Bluetooth Headset Patch for h1940 & h2210
This program aktivate the bluetooth function in your bluetooth manager. You can connect your BT-Headset with your Pocket PC now.
Activate or deactivate the Bluetooth headset in BT-Manager
You can with a Bluetooth headset:
Hear music* or sounds wireless
Record in "Notes"
IP phone (with software, the future is now)
Speak via software over Internet
Hear voice from navigation system
You can deinstall this program after enabled the headset function
Tested on ipaq h2210, h1940
Works only with h2210 and h1940, NOT with other Pocket PCs !!!
Help:
For Pocket PC 2003 is required the WM 2003 Runtimemodul
Start the BT Headset Patch an press the button "Enable".
Exit this program.
Open the BT Manager and add a new connection.
You see a new picture with a headset (below).
After connect enter the password of the headset (see manual of the headset).
Perform a Softreset.
Connect with the headset and if you hear a rington in the headset, then
press the button on the headset.
Open the Media Player and play music, you hear it over the BT Headset now.
Pocket PC 2000, 2002, Windows Mobile 2003 & SE, 2005
Screen: 240x320 Pixel or higher
Processors: Samsung, XScale, StrongARM, MIPS, SH3
Which Pocket PC do I have? Help ?
http://www.pocketkai.net/asp/en/
Search by: Bluetooth Headset Patch
Check it out, thats probably has the answer we are looking for.
Corben
rmg
10th August 2005, 05:48 PM
An interesting find. I doubt very much that it would do anything on the magician, but a good spot never the less!
adit
10th August 2005, 07:14 PM
Hey guys, anyone tried http://bluetooth.i-networx.de/index_e.html yet? I hope i would work, i'll keep u guys updated.
::adit
adit
10th August 2005, 07:37 PM
hmm it doesnt do anything except add that on/off switch on the today screen. Is it just my pda or is the software not compat with mini? can anyone confirn?
::adit
rmg
10th August 2005, 07:47 PM
This will not add any value.
The magician already supports the headset profile.
--
rmg.
psneddon
10th August 2005, 11:07 PM
After many, many, hours of trial and error.................... I finally have a function implementation of voice dialling via pressing the call button on my Bluetooth headset :) Thank goodness - I was about to go mad.
Here is a quick guide for now - I will post a full guide later or tomorrow as I'm exhausted with this thing now. My specs for reference are - a MDA compact with the latest Imate Jam Rom, and a Bluespoon AX headset.
There is what I did - maybe not all steps are required but I wont miss any out (if I remember correctly). You will need the attached file along with a registry editor.
Remember this is only a quick post at I'm tired and its getting late - but I will post a full guide explaining things alot better - this is just for people who cant wait and are a bit technical :)
1) Copy the attached file to the \windows folder on the Jam. You must use this one and not the one I told you about a previous post as I have modified it.
2) Import the attached registry files into the registry. You will have to change the bluetooth device addresses to match your own (or it wont work)
3) Soft reset your device.
4) Remove and pair your headset - it answer yes to the questions about the headset and handsfree profile.
5) Look in the registry for this key (but use the device address for your device which you can obtain just by looking at the name values under the device section)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\De vice\000e6d8ef421\Services]
There should be 2 services listed, just delete the key that holds the values for the handsfree profile.
6) Look at the values under the following key, you may have to change the last number to match your device.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Au dioGateway\Devices\1]
Make sure that the service listed matches the headset service, which should be. I think the handfree one starts with 1E,11.
"Service"=hex:08,11,00,00,00,00,00,10,80,00,00,80,5F,9B,34, FB
7) Install Microsoft Voice Commander
8) Copy the Voicecmd.exe file from the voice command installation directory and put it in \windows - also rename it to VoiceSignal Launcher.exe (yes thats a space between te Signal and Launcher)
9) Soft reset and you should be good to go.
You can check that its working by obvioiulsy pressing the headset button and voice commander will start. But also when you tap on the headset icon at the top of the screen you should see 2 buttons in the bubble (stop handfree and hide)
Also note that it is still called "Hands free profile" even though its working more like a headset profile. Also note that it is still the speaker and mic in the jam that picks up and relays the voice commands. Maybe a different program will route it?
I've typed all this very quickly but I hope you understand I'm in a rush but I wanted you all to know the good news :)
Paul
psneddon
10th August 2005, 11:10 PM
After many, many, hours of trial and error.................... I finally have a function implementation of voice dialling via pressing the call button on my Bluetooth headset :) Thank goodness - I was about to go mad.
Here is a quick guide for now - I will post a full guide later or tomorrow as I'm exhausted with this thing now. My specs for reference are - a MDA compact with the latest Imate Jam Rom, and a Bluespoon AX headset.
There is what I did - maybe not all steps are required but I wont miss any out (if I remember correctly). You will need the attached file along with a registry editor.
Remember this is only a quick post at I'm tired and its getting late - but I will post a full guide explaining things alot better - this is just for people who cant wait and are a bit technical :)
1) Copy the attached file to the \windows folder on the Jam. You must use this one and not the one I told you about a previous post as I have modified it.
2) Import the attached registry files into the registry. You will have to change the bluetooth device addresses to match your own (or it wont work)
3) Soft reset your device.
4) Remove and pair your headset - it answer yes to the questions about the headset and handsfree profile.
5) Look in the registry for this key (but use the device address for your device which you can obtain just by looking at the name values under the device section)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\De vice\000e6d8ef421\Services]
There should be 2 services listed, just delete the key that holds the values for the handsfree profile.
6) Look at the values under the following key, you may have to change the last number to match your device.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Au dioGateway\Devices\1]
Make sure that the service listed matches the headset service, which should be. I think the handfree one starts with 1E,11.
"Service"=hex:08,11,00,00,00,00,00,10,80,00,00,80,5F,9B,34, FB
7) Install Microsoft Voice Commander
8) Copy the Voicecmd.exe file from the voice command installation directory and put it in \windows - also rename it to VoiceSignal Launcher.exe (yes thats a space between te Signal and Launcher)
9) Soft reset and you should be good to go.
You can check that its working by obvioiulsy pressing the headset button and voice commander will start. But also when you tap on the headset icon at the top of the screen you should see 2 buttons in the bubble (stop handfree and hide)
Also note that it is still called "Hands free profile" even though its working more like a headset profile. Also note that it is still the speaker and mic in the jam that picks up and relays the voice commands. Maybe a different program will route it?
I've typed all this very quickly but I hope you understand I'm in a rush but I wanted you all to know the good news :)
Paul
psneddon
10th August 2005, 11:31 PM
Also I forgot to add - I added the "capability" registry value as described here
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecomm5/html/wce50conaudiogatewayregistrysettings.asp
And I set its value to 25 (hex)
rmg
11th August 2005, 12:19 AM
you diamond.
Im too tired to try it tonight,but will do first thing.
Pat on the back for you :-)
efjay
11th August 2005, 01:09 AM
any chance this can be made to work on the blue angel?
chrisamydang
11th August 2005, 05:55 AM
psneddon
You ROCK!
I've been trying to find an answer to this since I bought the magician last December.
There are suggestions and opinions everywhere but nothing worked.
Not only that your instructions were clear, precise and understandable it worked first time!
I still can't believe it's working...
Again, dude you ROCK.
Long Live KING PSNEDDON!
Now, if only we can get the sound and mic to transfer to bt device on button press :lol:
vbexpert
11th August 2005, 07:49 AM
After many, many, hours of trial and error.................... I finally have a function implementation of voice dialling via pressing the call button on my Bluetooth headset :) Thank goodness - I was about to go mad.
Here is a quick guide for now - I will post a full guide later or tomorrow as I'm exhausted with this thing now. My specs for reference are - a MDA compact with the latest Imate Jam Rom, and a Bluespoon AX headset.
There is what I did - maybe not all steps are required but I wont miss any out (if I remember correctly). You will need the attached file along with a registry editor.
Remember this is only a quick post at I'm tired and its getting late - but I will post a full guide explaining things alot better - this is just for people who cant wait and are a bit technical :)
1) Copy the attached file to the \windows folder on the Jam. You must use this one and not the one I told you about a previous post as I have modified it.
2) Import the attached registry files into the registry. You will have to change the bluetooth device addresses to match your own (or it wont work)
3) Soft reset your device.
4) Remove and pair your headset - it answer yes to the questions about the headset and handsfree profile.
5) Look in the registry for this key (but use the device address for your device which you can obtain just by looking at the name values under the device section)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\De vice\000e6d8ef421\Services]
There should be 2 services listed, just delete the key that holds the values for the handsfree profile.
6) Look at the values under the following key, you may have to change the last number to match your device.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Au dioGateway\Devices\1]
Make sure that the service listed matches the headset service, which should be. I think the handfree one starts with 1E,11.
"Service"=hex:08,11,00,00,00,00,00,10,80,00,00,80,5F,9B,34, FB
7) Install Microsoft Voice Commander
8) Copy the Voicecmd.exe file from the voice command installation directory and put it in \windows - also rename it to VoiceSignal Launcher.exe (yes thats a space between te Signal and Launcher)
9) Soft reset and you should be good to go.
You can check that its working by obvioiulsy pressing the headset button and voice commander will start. But also when you tap on the headset icon at the top of the screen you should see 2 buttons in the bubble (stop handfree and hide)
Also note that it is still called "Hands free profile" even though its working more like a headset profile. Also note that it is still the speaker and mic in the jam that picks up and relays the voice commands. Maybe a different program will route it?
I've typed all this very quickly but I hope you understand I'm in a rush but I wanted you all to know the good news :)
Paul
Hi, I tried on my XDA II, I can start voice command by pree the button, but noe sound was transferred to my AX.
adit
11th August 2005, 08:33 AM
I tried everything instructed, but when i press the button on the headset, nothing happens :roll: i think HBH-662 doesn't work :cry:
rmg
11th August 2005, 09:40 AM
Hi, I tried on my XDA II, I can start voice command by pree the button, but noe sound was transferred to my AX.
This hack is for the Magician only.
That is why its in the magician forum ;-)
--
rmg.
rmg
11th August 2005, 09:41 AM
I tried everything instructed, but when i press the button on the headset, nothing happens :roll: i think HBH-662 doesn't work :cry:
Can you provide you phone model (Dopod/Qtek/Imate etc.), what rom version you are running so we can get an idea of what works and what doesnt.
thanks.
--
rmg.
psneddon
11th August 2005, 09:45 AM
I have the 1.12 ROM and its the MDA Compact but ath should not make a difference.
When you are editing the registry you need to make sure ou have your values right for your bluetooth device etc. I'll try see if I can get it to automatically use the service for headset instead of handfree. You also need to make sure that the file you want to run when you press the button is in the \windows dir and is called "VoiceSignal Launcher.exe"
Paul
psneddon
11th August 2005, 09:48 AM
I had a user PM saying he also got it working first time. He also gave me a edited version of my instructions which are a bit clearer :)
Paul
0) go to the following and write down the Address value (HEX)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Au dioGateway\Devices\1
edit "Ag mod.reg" and "Hset services2.reg" to reflect above
1) Copy the attached file to the \windows folder on the Jam. You must use this one and not the one I told you about a previous post as I have modified it.
2) Import the attached registry files into the registry. You will have to change the bluetooth device addresses to match your own (or it wont work)
3) Soft reset your device.
4) Remove and pair your headset - it answer yes to the questions about the headset and handsfree profile.
5) Look in the registry for this key (but use the device address for your device which you can obtain just by looking at the name values under the device section)
5a) Drill to [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\De vice\**YOUR BLUETOOTH DEVICE ADDRESS**\Services]
eg.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\De vice\000e6d8ef421\Services]
There should be 2 services listed. Delete the handsfree service.
6) Look at the values under the following key, you may have to change the last number to match your device.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Au dioGateway\Devices\1]
Make sure that the service listed matches the headset service, which should be. I think the handfree one starts with 1E,11.
"Service"=hex:08,11,00,00,00,00,00,10,80,00,00,80,5F,9B,34, FB
rmg
11th August 2005, 10:12 AM
Confirmed as working on the iMate Jam - Latest Rom - 1.12.00 WWE with a Jabra BT250
W00T!
Here is what I did:
BEGIN INSTRUCTIONS
Download the zip file ;-)
Copy BTAGExtModule.dll to /windows
Import the registry files **without modification**
Soft reset
Delete and re-pair headset. Answer yes both times to set as headset and handsfree if prompted.
Drill to [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\De vice\**YOUR BLUETOOTH DEVICE ADDRESS**\Services]
eg.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\De vice\000e6d8ef421\Services]
where there were 2 services listed.
Delete the handsfree service.
Go to
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Au dioGateway\Devices\1]
And make sure that the service listed matches the headset service, which starts with 1E,11.
Install Microsoft Voice Commander & Copy the Voicecmd.exe file to windows and rename as VoiceSignal Launcher.exe.
END INSTRUCTIONS
That worked for me, I did not have to make any changes to the reg files.
LuvlyJubly!
--
rmg.
rmg
11th August 2005, 10:26 AM
I can also confirm that normal headset functions continue to work, including answer, end and redial of last number called.
When I click on the headset icon my bubble says
Bluetooth
Bluetooth handsfree is on.
With 3 options
Turn hands free off
Close
Kiss Paul
Only joking on the third option ;-)
psneddon
11th August 2005, 11:55 AM
If we want to get the mic input taken from the headset instead of the device mic then I think we can do it - but I need someone who knows how to extract the files from the MPX300 rom :( I have a copy of the rom upgrade for the device but its in Bin format and I cant seem to extract the files (however it not encrypted :) ). This device has a full headset profile module that hopefully we can use.
So can anyone help with this?
rmg
11th August 2005, 12:00 PM
What files exactly do you need? Or do you want them all?
I was under the impression that it was only the pre production MPX300 that supported the audio gateway. I think it was taken out of the production roms?
Are you choosing the MPX300 because it has the full profile AND uses the BT stack?
I dont see what the difference would be between using this and the Eten? Unless the Eten has protection?
Glad to see your not giving up BTW, I have now drained the battery on my headset after playing with it so much ;-)
adit
11th August 2005, 12:02 PM
What program did u use to import those .reg files? is there any free ones i can use? because i had to do it manually i don't think phm regedit support these function. I use magician XDA 2 mini with 1.11.00WWE thanks
rmg
11th August 2005, 12:08 PM
What program did u use to import those .reg files? is there any free ones i can use? because i had to do it manually i don't think phm regedit support these function. I use magician XDA 2 mini with 1.11.00WWE thanks
Yes, its odd, phm regedit has an import option but it is greyed out.
I used Resco file explorer to do the import.
--
rmg.
adit
11th August 2005, 12:41 PM
yayy it worked!! XDA 2 Mini 1.11.00WWE paired with SE HBH-662 works perfectly. I had to do the reg manually and figured out that Capability,nohandsfree is hex, and the HKLM\Software\Microsoft\Bluetooth\AudioGateway\1 was binary. Now to wait till these geniuses find a way to speak thru the headset :twisted:
adit
11th August 2005, 01:16 PM
Oh almost forgot to mention thanks to Paul and rmg :wink:
psneddon
11th August 2005, 02:26 PM
The way the voice dialling/headset stuff works in the MPX is completely different from how it works in ETEN. In the end I didnt use anything from the ETEN rom or registry at all.
In the ETEN rom its bluetoothmanager.exe which detects the keypress and routes the audio as far as I can tell. I cant get his working properly on out devices as the stack is implememted in a different way.
I looks like the MPX is setup more like our roms. I'll try find out exactly what files I need from the rom. But if you know how to extract them that would be great.
However you cant simply copy it from the device - it needs to be extracted from the rom. I just need a tool that can extract files from the rom file.
MS didnt include all the stuff required to route the audio with in the OS (SCOWAV driver I think) so this must be done by either an extension to the bluetooth stack or just even a standalone application could trigger it.
The other option we have is to try using the voice dialling software from the ETEN as it includes a daemon and a service which must provide some sort of goodies :) I'll have a go at this later.
Paul
Baldrick45
11th August 2005, 02:40 PM
Adit speaks for lots of us when he passes on thanks for all of the effort getting to this point. Paul/RMG very much appreciated... :D :D
Now... at the risk of appearing a complete Numpty :? can I just confirm the following sequence.
Following Paul's instructions you can get your Magician to start voice command from your bluetooth headset.
You still then rely on the internal speaker and mic to initiate the call.
Once connected the Magician automatically hands off both voice and audio correctly to the BT headset??
You terminate the call from a button on the BT headset??
It's these last two points I'm not entirely sure of. Ideally I'd like to have my magician in a std holder/charger in my car and initiate or receive calls exclusively from the headset.
I understand we need the more advanced ability to take voice from the headset and deliver the VC responses to the headset to make my dream scenario work but does anyone have any practical experience of trying to use the magician at make calls a distance of 12"-18"
Can you turn up Mic gain enough to get it working OK or is in car use impractical until the next piece of the puzzle is cracked??
Thanks again guys
Baldrick45 :D :D
rmg
11th August 2005, 04:18 PM
Adit speaks for lots of us when he passes on thanks for all of the effort getting to this point. Paul/RMG very much appreciated... :D
Bah, paul did all the work ;-) I just bump the thread and help out where I can ;-)
Now... at the risk of appearing a complete Numpty :? can I just confirm the following sequence.
Following Paul's instructions you can get your Magician to start voice command from your bluetooth headset.
You still then rely on the internal speaker and mic to initiate the call.
Once connected the Magician automatically hands off both voice and audio correctly to the BT headset??
You terminate the call from a button on the BT headset??
It's these last two points I'm not entirely sure of. Ideally I'd like to have my magician in a std holder/charger in my car and initiate or receive calls exclusively from the headset.
I understand we need the more advanced ability to take voice from the headset and deliver the VC responses to the headset to make my dream scenario work but does anyone have any practical experience of trying to use the magician at make calls a distance of 12"-18"
Can you turn up Mic gain enough to get it working OK or is in car use impractical until the next piece of the puzzle is cracked??
It all works like you said mate and works really bloody well too.
I can make and receive calls, end calls, get the time, play music etc all without touching the Jam :-) and the mic is frikin amazing. It can hear me from a good 5 meters away.
--
rmg.
Baldrick45
11th August 2005, 04:33 PM
RMG
Thanks for the quick reply. I'm now off home to try it myself. If it all works as well as you say I think Paul should definitely consider taking a break for a week or two and then come back fresh to begin playing with all the MPX ROMs.
The system as you describe it does what I need/want. The full voice transfer would be nice but I can wait.....
By the way - In all seriousness I would be happy to donate a few quid either to Paul or to the XDA site for this one. Paul - What's your preference?? :wink:
Baldrick45
corben
11th August 2005, 04:44 PM
RMG or any body has the lastest ROM file or better than mine. I need to get that one for this bluetooth to work. I just realized that I have ROM version 1.03.00 WWE and I cant download it from clubimate.com because I bought it second hand and the tech support is unwillingly to give me the file. Please, help.
Great job Paul.
Corben
rmg
11th August 2005, 04:46 PM
The way the voice dialling/headset stuff works in the MPX is completely different from how it works in ETEN. In the end I didnt use anything from the ETEN rom or registry at all.
In the ETEN rom its bluetoothmanager.exe which detects the keypress and routes the audio as far as I can tell. I cant get his working properly on out devices as the stack is implememted in a different way.
I looks like the MPX is setup more like our roms. I'll try find out exactly what files I need from the rom. But if you know how to extract them that would be great.
However you cant simply copy it from the device - it needs to be extracted from the rom. I just need a tool that can extract files from the rom file.
MS didnt include all the stuff required to route the audio with in the OS (SCOWAV driver I think) so this must be done by either an extension to the bluetooth stack or just even a standalone application could trigger it.
The other option we have is to try using the voice dialling software from the ETEN as it includes a daemon and a service which must provide some sort of goodies :) I'll have a go at this later.
Paul
Hmm cant find anything on mpx bin extraction :-(
Will keep trying.
Found very little mention of SCOWAV as well. only
[HKEY_LOCAL_MACHINE\SOFTWARE\M*icrosoft\Bluetooth\S coWav]
"Direction"=dword:0
"AirCoding"=dword:0
"ConnectInTimeout"=dword:10000
"8BitSignedSamples"=dword:1
[HKEY_LOCAL_MACHINE\Software\M*icrosoft\Bluetooth\A udioGatewa*y]
"MapAudioToPcmMode"=dword:0
prolly no use at all :-(
--
rmg.
rmg
11th August 2005, 04:57 PM
Also:
Look at the following sample code to understand how the network component
interacts with the AG component. This sample code uses TAPI.
public\common\oak\drivers\blue*tooth\sample\ag\net work
The AG does not use the btscosnd driver by default. It expects that your
platform will have hardware audio routing enabled to the BT chip. The AG
sends the wave message WODM_BT_SCO_AUDIO_CONTROL to the default audio
driver and expects it to enable/disable SCO audio in hardware.
That said, if you set the following registry in the AG (with btscosnd as
your default audio driver) it should work. Btscosnd will receive the wave
message and handle audio in software. Keep in mind the btscosnd driver is
a sample and might need some work to get to production quality.
[HKEY_LOCAL_MACHINE\Software\M*icrosoft\Bluetooth\A udioGatewa*y]
"MapAudioToPcmMode"=dword:0
(setting this registry makes the AG defer SCO connect/disconnect to the
audio driver)
For more details on this AG registry setting (and other AG info) see MSDN.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcec...
ml/wce50oriAudioGatewayService*.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcec...
ml/wce50conaudiogatewayregistr*ysettings.asp
-----
For Windows CE 4.2, the only way to implement headset audio gateway is to
route the PCM audio data in hardware. In other words, audio will go
through the regular audio driver in your system but will be routed to the
Bluetooth chip instead of being played out the speakers.
---
Loads more in
http://groups.google.co.uk/group/microsoft.public.windowsce.platbuilder?hl=en
rmg
11th August 2005, 05:43 PM
RMG or any body has the lastest ROM file or better than mine. I need to get that one for this bluetooth to work. I just realized that I have ROM version 1.03.00 WWE and I cant download it from clubimate.com because I bought it second hand and the tech support is unwillingly to give me the file. Please, help.
Great job Paul.
Corben
The latest roms should be on the XDA_D ftp mate.
Or I can host the latest UK Jam rom when I get home (will be late tonight GMT)
--
rmg.
adamz
11th August 2005, 05:46 PM
I tried to make a CAB file to do most of the dirty work. You still have to delete the Handsfree service in [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\De vice\**YOUR BLUETOOTH DEVICE ADDRESS**\Services]
I havn't been able to test this yet as my Bluetooth headset is at home, but maybe some one else wants to try. Hope it works!
It will add the registry entries, and put BTAGExtModule.dll and VoiceSignal Launcher.exe in the Windows folder.
UPDATE: File should work now.
rmg
11th August 2005, 05:51 PM
Nice one adamz.
2 things:
We need to confirm that no changes are required to the reg entries. I did not have to make any changes and it worked but Paul seemed pretty sure that something needed to be changed?
Where is VoiceSignal Launcher.exe coming from? are you including the renamed voicecmd.exe in the cab?
good work fella :-)
corben
11th August 2005, 05:52 PM
rmg thanks. It seems that I'm having problem downloading from XDA_D ftp site. If you can host it of email (corben1@hotmail.com) them to me that would be great.
thanks again mate
rmg
11th August 2005, 06:00 PM
no worries mate, will sort it later.
BTW, were famous ;-)
http://msmobiles.com/news.php/4133.html
Well, would have been rude not to share the good news ;-)
Im gonna have to donate to XDA_D tho, should have done it ages ago!
Also gonna speak to the queen about getting Paul knighted ;-)
--
rmg.
adamz
11th August 2005, 06:16 PM
Nice one adamz.
2 things:
We need to confirm that no changes are required to the reg entries. I did not have to make any changes and it worked but Paul seemed pretty sure that something needed to be changed?
Where is VoiceSignal Launcher.exe coming from? are you including the renamed voicecmd.exe in the cab?
good work fella :-)
The reg entries Paul was saying to change seem to already exist in my device so the CAB file doesn't change those. Sounds like it should be fine leaving them as is, no? Yes, VoiceSignal Launcher.exe is a renamed voicecmd.exe in there. It's from Voice Command 1.5, which I should assume you would need to be installed in order for that to work. So maybe the CAB file won't work for everyone. Eh, just trying to help.
Can't wait to try it out with my headset.
FYI, Paul and others, this is the program you can use to make CAB files: http://www.ocpsoftware.com/download.php?nm=cecabmgr
adamz
12th August 2005, 12:22 AM
And I just confirmed that my CAB file does work! Woohoo! VERY NICE! Thanks Paul!
psneddon
12th August 2005, 01:09 AM
I just tried to move the speech engine/voice command software from the C500 smartphone to the jam with some success. It enables the voice tag feature (the one built into the os) and lets me record and play back the tags so it must be compatable..... Most smartphone apps work nicely on the ppc.
However nothing happens when I press the headset button. The file that we currently use simply loads voice command. The extentsion from the C500 looks like it links up the audiogateway to the wav driver. The voice software from the C500 is all contained in a single dll file and it must register itself as some sort of server.
When I press the headset button I hear the device connect but nothing else happens :(
Does anyone know how any applications like softice on the pc that work on the PDA - if I could view whats going on internally on the PPC then I might get somewhere.
I would love to get this to work as I really like the way voicedial works on the C500 - really simple and effective. Plus it relays back throught the headset.
Also for anyone who does PPC programming - writing an audiogateway extenstion (Like the one I hacked) looks to be quite simple - All is does is make a callback function which gets called when you press the headset button (or any other event for that mater). For example you could have a callback that triggers when you do xyz.
Also, I've noted that we dont need to edit the registry to get the hack working (apart from adding the headset.dll bit). That file has always been there - its just that for some reason HTC never enabled it??
Paul
rmg
12th August 2005, 08:50 AM
rmg thanks. It seems that I'm having problem downloading from XDA_D ftp site. If you can host it of email (corben1@hotmail.com) them to me that would be great.
thanks again mate
http://www.rmg.me.uk/jam/JAM_UK_11200_131_11210_ship.exe
--
rmg.
lutzh
12th August 2005, 10:59 AM
guys, you make me a happy man - guess why: this great piece of finding works on my parrot ck3100 bluetooth car kit!!!!!!!!!!!!!!!!! (sorry, had to do this)
after simply putting the cab file on my xda mini (german version), deleting the handsfree reg key under my paired ck3100 in the reg editor, softreset, deleting the pairing between ck3100/xda mini, re-pairing ck3100/xda mini i can now press the green button on the ck3100, speak the words ("call mum") and thats it!
this needs to be told! also: you should quickly call parrot and sell this to them. its the missing piece for their products! now the times are over that i would have to send every single contact from my magicians contact database to the parrot bt car kit, just to use voice dial.
again, big fat THANK YOU all. i know, why i come here daily!
cheers, lutz
jackleung
12th August 2005, 12:49 PM
It works for me too. But I use Cyberon Voice Commander 1.2 instead of MS Voice Command since it support voice tag (which is a must for English is not my primary language) and selective contact (a must for ppl having lots of contact)
gadgetman901
12th August 2005, 01:35 PM
I just wanted to know if all this work will lead to allowing the Imate Jam to have the audio headset profile to allow me to use a stereo BT headset to listen to music using windows media player and Betaplayer? Obviously, I only get the phone to work through my BT headset, but nothing else passes through. Please let me know if you guys are working on this fix?? Thanks!
Catechin
12th August 2005, 02:12 PM
I just checked adamz CAB with Vito Voice Dialer. It works when I changed the original of VoiceSignal Launcher with a copy of VoiceDialer. No changes in Registry neccessary. Just had to re-pair with BlueSpoon AX.
Guys, Big Thanx!
swedbass
12th August 2005, 02:12 PM
Adamz - great CAB file, made it sooo easy.
To all others working on this - Thank you, great job, i wish you luck with the next challenge - audio over BT. man, I wish I had some programming skillz.
corben
12th August 2005, 02:56 PM
Thanks for the link rmg. It working now.
adamz
12th August 2005, 04:11 PM
In addition to the audio gateway, we also need a little control panel that will let the user choose which application to launch when the Bluetooth headset button is pressed. That way people can use Voice Command, Voice Central, whatever. Very cool!
Yorch
12th August 2005, 04:26 PM
Ok, I just installed it and worked out perfect, with my Bluespoon AX and my JAM, I even have an older ROM version (1.11) and still works.
One question though, am I supposed to hear the Voice Command reply through the headset?. Because I can activate it with my headset's button, and the Voice Command reply, as all the rest of the sounds, come through the PPC speaker.
Any possibility to make the audio come trough the headset?, that would be sweet for podcasts!
rmg
12th August 2005, 05:30 PM
Ok, I just installed it and worked out perfect, with my Bluespoon AX and my JAM, I even have an older ROM version (1.11) and still works.
One question though, am I supposed to hear the Voice Command reply through the headset?. Because I can activate it with my headset's button, and the Voice Command reply, as all the rest of the sounds, come through the PPC speaker.
Any possibility to make the audio come trough the headset?, that would be sweet for podcasts!
AFAIK That is what Paul is looking at next.
--
rmg.
fdigianv
12th August 2005, 06:22 PM
Thanks to work of people that have have contributed to this topic, now I can answer calls and make calls from the headset and voice control integrated in my car.
My problem is that the audio does not go to the headset and I am not able to end a call when I use the buttons on my S100.
I've tried to insert the following entry in AudioGateway registry
ConnectScoInAlways=1
OutgoingCallOption = 1
without result.
I have in italian QTEK S100 with ROM 1.06. I wonder if my prolem is in the ROM level.
Thanks to anybody can give me help
rmg
12th August 2005, 07:08 PM
you should try a later rom mate.
1.06 is quite old.
fdigianv
12th August 2005, 07:43 PM
Thanks, according to dangaard 1.06 is what we deserve.
corben
12th August 2005, 08:48 PM
you can try upgraded like I did.....and it works.
fdigianv
12th August 2005, 09:44 PM
Any suggestion for the ROM to install ? Italian would be bettere to avoid problems with country ID.
corben
12th August 2005, 09:59 PM
I think the newest rom is 1.12. I did downloaded from rmg website. He post it the link, but his rom is UK version.
ratcom
12th August 2005, 10:40 PM
adamz CAB worked for me :) thanks mate for making it easy! And lets not forget the real star ..... Paul! well done! Now if only I could hear my commands though bluetooth ;)
gregjsco
12th August 2005, 10:51 PM
Hey folks,
It sounds like you have made progress in enabling this. I am the developer at Microsoft who works on the CE BT stack. I came across this thread via msmobiles. I posted a blog that might help you out. If I knew people were so interested in this I would have helped earlier. :)
http://blogs.msdn.com/cenet/archive/2005/08/12/451012.aspx
I didn't read the entire thread but it looks like you got this working by disabling the Hands Free Profile (and using headset profile). It would be better to get this working with HFP. I think you may have just needed to change the "capability" registry value to indicate support for voice dialing. Then you can handle the AT+BRSF in your extension dll. You might also find the IOCTLs for turning audio on/off useful.
If you have any troubles feel free to add comments to the MSDN blog.
Keep in mind this was intended to be an OEM feature so some devices might already have an extension DLL provided by the OEM (and you could lose some functionality).
Enjoy!
-Greg
gratefuled
12th August 2005, 11:34 PM
You guys are amazing.
adamz your CAB worked perfectly. I have been following hopeful BT Headset and other BT fixes for close to 2 years now. Ever since the days in 2003 using an MDA II, when a BT tool came out just to make the bt headset functional.
We have come a long way baby. This Fix is really great.
Thanks to all who have made this fix a reality. My JAM and Jabra are very happy.
ramram
13th August 2005, 12:31 AM
To Greg,
Thank you for the precious infos! This always confuses me, since this has been implemented before, why you never came and mention it earlier!?! I do feel like I'm watching movie in which always the police arrives after the incident is done lol :lol: no offense! :wink:
Anyway why the BlueAngel has no Microsoft BT stack, can we enable it, if yes,how?
Thank you in advance.
henvanvo
13th August 2005, 03:12 AM
hey adam, for some reason my home screen is messed up i dont know why
Jwege
13th August 2005, 03:44 AM
I am the developer at Microsoft who works on the CE BT stack... If I knew people were so interested in this I would have helped earlier. :)
I think you may have just needed to change the "capability" registry value to indicate support for voice dialing. Then you can handle the AT+BRSF in your extension dll. You might also find the IOCTLs for turning audio on/off useful.
Hi Greg,
that sounds very interestant. But to what value should the capability be set? I cannot find any listing of possible values.
Can you assist in making voice dialing work with VoiceCommand on Magician? It should be an interestant additional feature if MS VoiceCommand supports BT Headset.
Jwege
adamz
13th August 2005, 03:53 AM
It should be an interestant additional feature if MS VoiceCommand supports BT Headset.
I think this should've been an optional feature built into MS Voice Command v1.5.
hey adam, for some reason my home screen is messed up i dont know why
Not sure what's happening there. If a soft reset doesn't fix it, you can remove the edits/files using the Remove Programs control panel.
HBERBOUT123
13th August 2005, 01:37 PM
hi guys
im very excited about this hack :D :)
1-will this hack make my jam work with my 2005 x5 BMW bluetooth? currently only the treo 650 working and i hate palm :cry: :cry:
2-IF YES what do i need to buy? i have no clue about how to edit delete Registery etc..
is there a CAB file some where i can instaal this hack
thank you very much
adamz
13th August 2005, 01:47 PM
I just noticed a problem with our current version that people should watch out for. WIth my Bluespoon 5G, if I press the button to activate Voice Command, the speaker/microphone on the headset do turn on, but they do not turn off unless a phone call is ended! That means if I use Voice Command to perform some non-phone related function, the headset will stay fully connected and significantly reduce the battery life.
Also, it looks like you do not have to delete the Handsfree profile registry entry. Just install the CAB file, soft reset, and create a bond with your headset.
HBERBOUT123
13th August 2005, 02:38 PM
I just noticed a problem with our current version that people should watch out for. WIth my Bluespoon 5G, if I press the button to activate Voice Command, the speaker/microphone on the headset do turn on, but they do not turn off unless a phone call is ended! That means if I use Voice Command to perform some non-phone related function, the headset will stay fully connected and significantly reduce the battery life.
Also, it looks like you do not have to delete the Handsfree profile registry entry. Just install the CAB file, soft reset, and create a bond with your headset.
I FOUND adams CAB sorry its my first time here look like i have to log in first :oops: :oops: :oops:
i will try to install it in my JAM will see if it will work with my X5 :lol: :lol:
did any one tryed with car kit?
cyberetti
13th August 2005, 02:42 PM
Hello everybody!
First of all... good initiativ to start this thread!
And more I am impressed by the work done by many in here especially psneddon, thanks man!
As many has stated before me the cool thing now would be to be able to get the mic and speaker working through bluetooth aswell then it would be really useful.
I have successfully tried the hack with my Bluespoon AX and my Nokia carkit CK-7W.
I have used both MS Voice Commander, and Vito Voice Dialer, works no probs!
/Cez
HBERBOUT123
13th August 2005, 03:02 PM
Hello everybody!
First of all... good initiativ to start this thread!
And more I am impressed by the work done by many in here especially psneddon, thanks man!
As many has stated before me the cool thing now would be to be able to get the mic and speaker working through bluetooth aswell then it would be really useful.
I have successfully tried the hack with my Bluespoon AX and my Nokia carkit CK-7W.
I have used both MS Voice Commander, and Vito Voice Dialer, works no probs!
/Cez
Did you used adams CAB only? did you have to do any registry edit
i cant wait to try adams CAB
i realy hope JAM will work with my BMW X5
cyberetti
13th August 2005, 03:12 PM
Did you used adams CAB only? did you have to do any registry edit
i cant wait to try adams CAB
i realy hope JAM will work with my BMW X5
Only used Adams CAB, no registry editing.
/Cez
HBERBOUT123
13th August 2005, 05:14 PM
i installed the cap file
the jam connect to x5 with no problem :D and i can make calls from the car BUT NO sound transferred :cry: :cry: :x
i was almost there any ideas how the sound will transfer?
psneddon
13th August 2005, 08:06 PM
I'm just installing MS eMbedded C++ development enviroment. First of all I'm going to do some small apps to test creating the Audio channel. The Jam does have an audio gateway driver built in so I dont now if this will allow sound to be transferred as as SCO. The other option is that the sound is hardware routed as in the Typhoon.
petermensink
13th August 2005, 08:15 PM
I just noticed a problem with our current version that people should watch out for. WIth my Bluespoon 5G, if I press the button to activate Voice Command, the speaker/microphone on the headset do turn on, but they do not turn off unless a phone call is ended! That means if I use Voice Command to perform some non-phone related function, the headset will stay fully connected and significantly reduce the battery life.
Also, it looks like you do not have to delete the Handsfree profile registry entry. Just install the CAB file, soft reset, and create a bond with your headset.
Hello there adamz,
could u please tell me where I can find this "cab-file"? Great work by the way! Greetings
petermensink
13th August 2005, 08:59 PM
Hey guys
I found and installed the cab file. When I press the button on my Jabra BT 250 Microsoft voice command starts up. Unfortunately there's is no real audio connection between my headset and my orange m500. I can't give commands via my headset. Is there anything I can do to make that work?
Thanx
Jwege
13th August 2005, 10:05 PM
I think you may have just needed to change the "capability" registry value to indicate support for voice dialing. Then you can handle the AT+BRSF in your extension dll. You might also find the IOCTLs for turning audio on/off useful.
Hi Guys,
I've played around with a lot of registry settings for the Audio Gateway today. I switched on the audio routing to SCO but result was that I heard nothing - no audio on MDAc and no audio on headset.
It seems that the hardware is not able to route the audio.
Next thing I would like to test are the IOCTLs Greg mentioned but I do not have Visual Studio. Is somebody able to test the IOCTL_OPEN_AUDIO which is described at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecomm5/html/wce50lrfioctl_ag_open_audio.asp
or the code sample Greg put on the blog
http://blogs.msdn.com/cenet/archive/2005/08/12/451012.aspx
Jwege
nofear
13th August 2005, 10:35 PM
Hello all ! :)
I'm new here but I sat down and read the whole thread and I must say its a brilliant job you guys doing here ! :D
I cant wait till you crack the BT voice dial issue... :oops:
If its ok I have 2 small questions:
1. Does this fix works on I-MATE as well? ( MDA II, Himalaya, etc.)
2. Where can I find the "Adam's CAB file" ?
Keep up the good work, Thanx a lot :D
d.zee
13th August 2005, 11:01 PM
OK, I know I have a XDA II and not a Jam, but still I tried the CAB file.
I also installe d a button mapping program to connect the green button to the Voice Dailing program. So what's the result:
- when I push the green button the voice dailing program starts
- when I push the head phone button the phone program starts, but not the voice dailing program :?
So can anyone tell me why?
By the way if you push and hold the button from the head phone until you hear a sound it will turn off.
Please with me a moment and think what I did wrong (apart from not being a Jam)
HBERBOUT123
14th August 2005, 03:24 AM
i installed the cap file
the jam connect to x5 with no problem :D and i can make calls from the car BUT NO sound transferred :cry: :cry: :x
i was almost there any ideas how the sound will transfer?
Any help please?? :roll: :roll: the sound does not transfer to the CAR :roll: :x :shock:
adit
14th August 2005, 09:20 AM
i installed the cap file
the jam connect to x5 with no problem :D and i can make calls from the car BUT NO sound transferred :cry: :cry: :x
i was almost there any ideas how the sound will transfer?
Any help please?? :roll: :roll: the sound does not transfer to the CAR :roll: :x :shock:
dude, read the thread thoroughly!! :evil:
HBERBOUT123
14th August 2005, 11:07 AM
i installed the cap file
the jam connect to x5 with no problem :D and i can make calls from the car BUT NO sound transferred :cry: :cry: :x
i was almost there any ideas how the sound will transfer?
Any help please?? :roll: :roll: the sound does not transfer to the CAR :roll: :x :shock:
dude, read the thread thoroughly!! :evil:
i did read it three times now? is this only for voice command this patch will not enable the voice in my car or am i missing something :oops: :cry: :x
rmg
14th August 2005, 11:30 AM
Right, I have updated the first post in the thread to clarify some details and provide a new zip which includes adamz cab and a readme.
Just to clarify here as well ;-)
1. This hack DOES NOT transfer system audio to the headset via bluetooth. That is still being worked on.
2. This hack only works on the HTC Magician.
To date it has worked on all Magician types including:
iMate Jam
Qtek S100 S110
MDA Compact
Orange M500
VPA Compact
XDA MINI
Im now off to watch the telly :-)
--
rmg.
nofear
14th August 2005, 12:27 PM
Thank you RMG for the clarify, it closes quite a few burning open question...
As for me with I-MATE ( Himalaya ) I guess its bad news for now...
I searched thru the Himalaya forum and found no evidence of tweak developing for Himalaya model is on the go...
Is there any way any of the highly skilled programming wizards in here will provide a similar solution for the Himalaya model ? ( who knows, maybe in the Himalaya its easyer to do :wink: )
If required, I'm willing to buy this solution.
I recently bought the I-Mate and I'm very disapointed to find that a trivial feature as BT voice dialing which exist in an ancient 3 years old monochrome nokia phone is missing in this few hundreds worth of PDA.
Cheers
psneddon
14th August 2005, 12:42 PM
I've been doing a little coding..
If I set the AG registry setting to "MapAudioToPcmMode" = 0 then thats meant to route audio throught the builtin SCO driver. When I do this I get no sound throught the headset.
However if I wrote a little app that calls BthCreateSCOConnection while a call is in progress the sound starts commin through the headset. However system sounds dont.
I have never programming in C++ before - although I do know programming. The program I quickly put together does some dirty debugging using message boxes;
The value for BT_ADDR bt_address = 0x000e6d8ef421; needs to be changed to match your headset address.
So I can get a SCO connection handle - but I have no idea how to send sounds down it. I suspect what needs to be done is a WAV output driver needs to be written that looks like a WAV device but actually converts the data to SCO packets and sends them to the SCO connection. That is unless there is already some for of SCO sound driver code already in the JAM?
Also in the example - the connection only stays open until you close the message box that pops up.
Any ideas anyone?
// Bluetooth.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "bt_api.h"
int WINAPI WinMain( HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
HMODULE dll = LoadLibrary(_T("btdrt"));
if (dll == NULL)
{
LPVOID lpMsgBuf;
FormatMessage(
FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
GetLastError(),
0, // Default language
(LPTSTR) &lpMsgBuf,
0,
NULL
);
// Process any inserts in lpMsgBuf.
// ...
// Display the string.
MessageBox( NULL, (LPCTSTR)lpMsgBuf, L"Error", MB_OK | MB_ICONINFORMATION );
// Free the buffer.
LocalFree( lpMsgBuf );
}
unsigned short bt_handle;
typedef BOOL (CALLBACK* FUNC)( BT_ADDR* pbt, unsigned short* phandle);
FUNC Function;
Function = (FUNC)GetProcAddress(dll, _T("BthCreateSCOConnection"));
if (Function == NULL)
{
LPVOID lpMsgBuf;
FormatMessage(
FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
GetLastError(),
0, // Default language
(LPTSTR) &lpMsgBuf,
0,
NULL
);
// Process any inserts in lpMsgBuf.
// ...
// Display the string.
MessageBox( NULL, (LPCTSTR)lpMsgBuf, L"Error", MB_OK | MB_ICONINFORMATION );
// Free the buffer.
LocalFree( lpMsgBuf );
}
BT_ADDR bt_address = 0x000e6d8ef421;
INT outcome = Function(&bt_address, &bt_handle);
MessageBox( NULL, (LPCTSTR)outcome, L"Error", MB_OK | MB_ICONINFORMATION );
LPVOID lpMsgBuf;
FormatMessage(
FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
GetLastError(),
0, // Default language
(LPTSTR) &lpMsgBuf,
0,
NULL
);
// Process any inserts in lpMsgBuf.
// ...
// Display the string.
MessageBox( NULL, (LPCTSTR)lpMsgBuf, L"Error", MB_OK | MB_ICONINFORMATION );
// Free the buffer.
LocalFree( lpMsgBuf );
return 0;
}
HBERBOUT123
14th August 2005, 01:00 PM
Before i downolad the patch:
my jam cant see the BMW bluetooth and randomly pair but the car will reject the phone
After downloading the patch:
1-amazingly the jam pair and bound with my car and the car trying to pull the phonebook also :o :o
2-now the i can use my car screen to dial and jam will dial the number sucessfuly BUT NO SOUND
Ican see there is improvement with the patch
so is there away some one will make a patch for the voice transfer to car bluetooth
thanks
and please forgive my ignorance if i misunderstand the thread
nofear
14th August 2005, 01:48 PM
psneddon
Will it be any help for you if you can get a hold of a symbian Nokia phone files ? I used to play with symbian phones for the last 2 years, I know those phones not so complicated as the HTC's but they do have the BT voice dial functioning OK.
Comming to think about it the Nokia 6600 will be a good one to start with since I know it also had similar BT problems, when it was just released to the market, like on an incoming call only the BT headset was ringing and the phone didn't and a few more BT issues...
What I'm trying to say here is since we deal with reverse engineering might as well take a similar device that works as a reference...
Hope I didn't talk too much nonsense :oops:
rmg
14th August 2005, 03:42 PM
I've been doing a little coding..
If I set the AG registry setting to "MapAudioToPcmMode" = 0 then thats meant to route audio throught the builtin SCO driver. When I do this I get no sound throught the headset.
However if I wrote a little app that calls BthCreateSCOConnection while a call is in progress the sound starts commin through the headset. However system sounds dont.
I have never programming in C++ before - although I do know programming. The program I quickly put together does some dirty debugging using message boxes;
The value for BT_ADDR bt_address = 0x000e6d8ef421; needs to be changed to match your headset address.
So I can get a SCO connection handle - but I have no idea how to send sounds down it. I suspect what needs to be done is a WAV output driver needs to be written that looks like a WAV device but actually converts the data to SCO packets and sends them to the SCO connection. That is unless there is already some for of SCO sound driver code already in the JAM?
Also in the example - the connection only stays open until you close the message box that pops up.
Any ideas anyone?
// Bluetooth.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "bt_api.h"
int WINAPI WinMain( HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
HMODULE dll = LoadLibrary(_T("btdrt"));
if (dll == NULL)
{
LPVOID lpMsgBuf;
FormatMessage(
FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
GetLastError(),
0, // Default language
(LPTSTR) &lpMsgBuf,
0,
NULL
);
// Process any inserts in lpMsgBuf.
// ...
// Display the string.
MessageBox( NULL, (LPCTSTR)lpMsgBuf, L"Error", MB_OK | MB_ICONINFORMATION );
// Free the buffer.
LocalFree( lpMsgBuf );
}
unsigned short bt_handle;
typedef BOOL (CALLBACK* FUNC)( BT_ADDR* pbt, unsigned short* phandle);
FUNC Function;
Function = (FUNC)GetProcAddress(dll, _T("BthCreateSCOConnection"));
if (Function == NULL)
{
LPVOID lpMsgBuf;
FormatMessage(
FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
GetLastError(),
0, // Default language
(LPTSTR) &lpMsgBuf,
0,
NULL
);
// Process any inserts in lpMsgBuf.
// ...
// Display the string.
MessageBox( NULL, (LPCTSTR)lpMsgBuf, L"Error", MB_OK | MB_ICONINFORMATION );
// Free the buffer.
LocalFree( lpMsgBuf );
}
BT_ADDR bt_address = 0x000e6d8ef421;
INT outcome = Function(&bt_address, &bt_handle);
MessageBox( NULL, (LPCTSTR)outcome, L"Error", MB_OK | MB_ICONINFORMATION );
LPVOID lpMsgBuf;
FormatMessage(
FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
GetLastError(),
0, // Default language
(LPTSTR) &lpMsgBuf,
0,
NULL
);
// Process any inserts in lpMsgBuf.
// ...
// Display the string.
MessageBox( NULL, (LPCTSTR)lpMsgBuf, L"Error", MB_OK | MB_ICONINFORMATION );
// Free the buffer.
LocalFree( lpMsgBuf );
return 0;
}
Paul, did you see the post from the M$ CE developer?
It might be worth trying to either contact him via email or post a comment on his blog?
I dont know if he was planning on coming back here...
Copy of post:
gregjsco wrote:
Hey folks,
It sounds like you have made progress in enabling this. I am the developer at Microsoft who works on the CE BT stack. I came across this thread via msmobiles. I posted a blog that might help you out. If I knew people were so interested in this I would have helped earlier.
http://blogs.msdn.com/cenet/archive/2005/08/12/451012.aspx
I didn't read the entire thread but it looks like you got this working by disabling the Hands Free Profile (and using headset profile). It would be better to get this working with HFP. I think you may have just needed to change the "capability" registry value to indicate support for voice dialing. Then you can handle the AT+BRSF in your extension dll. You might also find the IOCTLs for turning audio on/off useful.
If you have any troubles feel free to add comments to the MSDN blog.
Keep in mind this was intended to be an OEM feature so some devices might already have an extension DLL provided by the OEM (and you could lose some functionality).
Enjoy!
-Greg
psneddon
14th August 2005, 07:34 PM
rmg,
Yeah, I saw his post but I cant try the code until I get the headers files since I cant find them in any SDK's. But I will try it.
I'm still hoping to transplant the voice system from teh C500 since it does seem to work. The problem is that its some sort of OLE object and the extension on the C500 calls it just by an identifer and I cant find any information on how to call a OLE2 in the way the C500 code seems to do? I cant use the extenstion from the C500 directly since its XIP. BUt as I say I can get it to record the voice tags correctly, just need to get it to request them.
Paul
liusam
15th August 2005, 07:45 AM
NO NO NO!!! I've done the patches accordingly on my Xda II Mini, all it does is only adding a voice command dialing option on my Mini's Mic when pressing the Calender Key on my Mini. There is no response when pressing my Bluetooth's call button, which is on BT 1.2 standard. :cry:
rmg
15th August 2005, 09:46 AM
Try a newer rom mate.
A link to the newest jam rom is earlier on in the thread.
psneddon
15th August 2005, 10:57 AM
Does anyone have the copy of this header file btagpub.h or know the values I need to follow the example that the MSDN guy gave on the blog.
I need to know the value of at least IOCTL_AG_OPEN_AUDIO?.
Also does anyone know anything about COM programming? The Voice Command component from the C500 is COM dooda. When you press the headset button it seems to simply make a call to the OS (dont know which on) with the parameter "VOICECOMMANDRELEASE" - this parameter also appears in the actual DLL. Can a COM object on the Pocketpc be created system wide and be called using an identifer like that?
Paul
JFDAR
15th August 2005, 11:31 AM
Dear RMG, where can I find the Zip file ??
Download the zip and install the cab file to enable the hack. Thats it! :-)
rmg
15th August 2005, 11:58 AM
Dear RMG, where can I find the Zip file ??
Download the zip and install the cab file to enable the hack. Thats it! :-)
at the bottom of the first post mate. you need to log in to see it.
--
rmg.
billabong
15th August 2005, 02:42 PM
Does anyone have the copy of this header file btagpub.h or know the values I need to follow the example that the MSDN guy gave on the blog.
I need to know the value of at least IOCTL_AG_OPEN_AUDIO?.
Also does anyone know anything about COM programming? The Voice Command component from the C500 is COM dooda. When you press the headset button it seems to simply make a call to the OS (dont know which on) with the parameter "VOICECOMMANDRELEASE" - this parameter also appears in the actual DLL. Can a COM object on the Pocketpc be created system wide and be called using an identifer like that?
Paul
I have done some COM programming on the PC, not the PocketPC though, I guess the mechanism should be the same. In general, COM objects have some entries in the registry that basically say which dll contains which object. So, I'd say yes, a COM object can be created system wide as long as the identity of the process has access to read the registry entries. Also Paul, if you are programming in C++, you need to call CoInitialize function to tell COM infrastructure that you are going to create COM objects in your thread, and call CoUninitialize when you're finished with the COM object.
psneddon
15th August 2005, 04:36 PM
But what if say the com object was created by OS on bootup, is it possible for that object to be called or something. I understand how com works, but in the DLL which starts the voice recogntion there is no calls to anything other then core.dll and I can see the string "VOICECOMMANDRELEASE" - this string is also in the VSR_SD-COM.dll file which is the speech engine.
In ther registry windows knows how to call the DLL thought a CLSID entry which is stored in the reg under HKLM/Software/Microsoft/Speech called engine.
So i'm just tring to figure out how the voice activation is acually called? The process I know is
1) OS loads the BT Stack and starts the audiogateway service.
2) audiogateway service loads any extenstion DLL's
3) when the audiogateway detects a AT command from a bluetooth device it calls BTAGATHandler in the audiogateway dll to see if the extension handles the command.
4) If it does it returns true and runs code.
Its step 5 I'm trying to figure out - How does the extension audiogateway DLL start the voice command system which is located in the VSR_SD-COM.dll when the only parameter it is passing is "VOICECOMMANDRELEASE" (the name of the software) and the only functions it is calling are in coredll.dll?
Paul
gregjsco
16th August 2005, 10:17 AM
Hi all,
The AG IOCTLs are in btagpub.h. This header is in the OEM Adaptation Kit (OAK) which is not part of the Windows Mobile SDK. This header can be found by downloading an evaluation version of Windows CE Platform Builder (5.0) in public\common\oak\inc\btagpub.h. Paul, I would just send you the IOCTL values but I'm currenty at home and can't look it up right now. Hope this helps.
Someone also asked how to find documentation on the "capability" bitmask. This is defined in the BT Hands Free specification. You can download it at www.bluetooth.org. I believe 0x21 is the CE default and 0x25 adds the voice dialing capability.
-Greg
psneddon
16th August 2005, 01:24 PM
Thanks Greg,
I have downloaded the evaluation version of the platform builder. It seems that the JAM hardware can only route GSM audio, not anything else :(
So is our only option now to write a SCO driver? How complete is the sample in the platform builder?
Would I be able to complete the source for the SCO driver in evc++ and use it in our devices as a test?
Paul
thereaperman
17th August 2005, 10:34 AM
nice work people, It works on my mda compact 1.12 tmobile rom, just need the audio now :P
psneddon
17th August 2005, 02:46 PM
Hi,
I managed to compile to SCO audio driver for the JAM and it seems to initialise OK as it appears in the registry under "Active Drivers" however it doesnt seem to work properly apart from that.
I dont know if I need to recompile other parts of the bluetooth stack but to be honest. The was a some sort of platofrm builder fix for BT audio bugs but I dont know if this is in our Jam roms.
I guess I'll just need to write some code to get the SCO Audio driver to write to a debug log (as I cant get the debug version to compile) Maybe it will be just as simple as tweaking some parameters here and there.
Paul
DarkNorth
18th August 2005, 11:03 AM
Hi!
Button on bluetooth Motorola hs801 worked.
But i press on button and hear in headset sound - "beeeeeeeeeeeeeee" this sound dont off, and i say in headset voicetag - no worked, say in jam - all worked.
This sound beeeeeeeeee in headset dont off, only off after off device.
Help!
On Nokia 6670, all worked!
Sorry i don't good speak english.
rmg
18th August 2005, 09:42 PM
what rom version have you got mate ?
DarkNorth
18th August 2005, 10:36 PM
Rom 1.12.00 WEE
Radio 1.12.00 and 1.13 (variable)
Prot. 1337.42
rmg
19th August 2005, 09:45 AM
Have you repaired your headset after applying the cab?
Do you pair in headset or handsfree mode?
Do you use MS Voice command or another app?
DarkNorth
19th August 2005, 12:00 PM
I repaired headset.
I paired in handsfree mode
I using ms voice and vito voice.
zefiros
20th August 2005, 02:19 PM
I repaired headset.
I paired in handsfree mode
I using ms voice and vito voice.
Some problem here with vito voice!
How can I remove this thing! :?
chetccox
20th August 2005, 03:26 PM
Your post says to scroll down to the end of the post to find the .zip file. Where exactly is it? I do not see it.
cyberetti
20th August 2005, 05:28 PM
The zip file is at the bottom of the first post in this thread!
You have to be logged in to se it and consequently download it!
Cez
RanZor
21st August 2005, 12:24 PM
Why Does it not work? =(
I have a Qtek s100(Jam) and a Jabra 250.
This is what i have done, i downloaded the cab.
Then on the phone i have not paired the phone and headset, and i put the cab on the phone and run it. after that i do a softreset and then i pair the phone and headset. Is it anything more i sould do? befor it all i have Voice Commander for PPC Phone Edition 1.2 installd, and i made a copy of the .exe to the \windows and named it Voice Signal Launcher.exe.
Whats wrong?
jackleung
22nd August 2005, 04:16 AM
Why Does it not work? =(
befor it all i have Voice Commander for PPC Phone Edition 1.2 installd, and i made a copy of the .exe to the \windows and named it Voice Signal Launcher.exe.
Whats wrong?
Are U talking about Cyberon VoiceCommander? If so, U have to copy the "Daemon.exe" (not Voicecommander.exe). In addition, read the thread carefully and it should be renamed as "VoiceSignal Launcher.exe", not "Voice Signal Launcher.exe"
bouod
22nd August 2005, 02:39 PM
thanks guys :)
works with my jabra800 and 1.11 rom and MVC1.5
regards
nofear
22nd August 2005, 07:47 PM
Any chance for developing a solution for Himalaya ? :cry:
apujols
23rd August 2005, 06:10 AM
For the newbies:
1. Copy the adamz cab file to your Imate as you would copy any other text or music file (any place will do)
2. Tap the cab file on the Imate to execute it :shock:
3. Soft-reset the Imate
4. If Today screen becomes crazy after reboot. Go to Start-Settings-Today and change your "theme" back and forth. 8)
5. Delete your bluetooth pairing by tapping on the Bluetooth icon on the bottom of the today screen. Then tap on the devices tab. Tap and hold to delete your device.
6. Pair back your Bluetooth device by tapping "new" under the "devices" tab and after this you are done.
Remember this version has a bug. If you activate "VoiceDialer" and do not make a phone call, the BT device will stay "on" and won't accept new "voice" commands until you press and hold the device button for two seconds. Despite this... hack works fine.
It worked with my Bluetrek G2!!
Tks guys.
AP
rmg
23rd August 2005, 10:16 AM
Remember this version has a bug. If you activate "VoiceDialer" and do not make a phone call, the BT device will stay "on" and won't accept new "voice" commands until you press and hold the device button for two seconds. Despite this... hack works fine.
I dont have that issue? Maybe because I deleted the handsfree profile like paul suggested?
futurity
23rd August 2005, 02:58 PM
I take it that this hack only works with a bluetooth headset and not the wired headset that comes with the Orange M500? It doesn't seem to work with the wired headset anyway.
Out of interest, when i install the CAB file, i don't see the voicecmd.exe in the /windows directory, but if i go to add and remove programs it does say its been installed. I've just copied my VoiceDial program to the Voice Signal Launcher.exe instead. Has anyon else managed to get VoiceDial working?
apujols
23rd August 2005, 04:38 PM
rmg,
Try pushing your BT device button and ask for the "time" (or a show command or a similar command that do not originate calls). Then push the button again to try to generate a call. If this works with no problem, then tell me how to delete the profile to get rid of this bug! :wink:
Cheers!
AP
rmg
23rd August 2005, 04:48 PM
rmg,
Try pushing your BT device button and ask for the "time" (or a show command or a similar command that do not originate calls). Then push the button again to try to generate a call. If this works with no problem, then tell me how to delete the profile to get rid of this bug! :wink:
Cheers!
AP
headsets in the car mate, will report back soon!
gazzrenn
24th August 2005, 09:21 PM
All works for me.
T-Mo
MDAc
ROM 1.12.00
Radio 1.12.10
Ext 1.12.131
Random Cheap as chips BT Headset.
My task now is to see if i can activate Voice Command without having the phonecall audio coming through the BT Headset.
I use a 2.5mm to 3.5mm adapter into my car stereo. Using the Mic of the phone and the speakers of the Car to make my phonecalls. This works great as a VoiceActivated Car Stereo system.
I'd like to just use the BT Headset as a remote control now to activate VC to change albums.
Will report back in the unlikely event that anyone is using their phone in the same way i do.
Great work on this hack by the way guys, i've been watching this thread in anticipation.
Good job :)
scanman
25th August 2005, 01:16 AM
i have ordered the orange spv m500 and i understand that it uses Fonix VoiceDial , will this hack allow me to use my bluetooth headset with the supplied voice program or do i need to get a new program?
rmg
25th August 2005, 02:01 PM
All works for me.
T-Mo
MDAc
ROM 1.12.00
Radio 1.12.10
Ext 1.12.131
Random Cheap as chips BT Headset.
My task now is to see if i can activate Voice Command without having the phonecall audio coming through the BT Headset.
I use a 2.5mm to 3.5mm adapter into my car stereo. Using the Mic of the phone and the speakers of the Car to make my phonecalls. This works great as a VoiceActivated Car Stereo system.
I'd like to just use the BT Headset as a remote control now to activate VC to change albums.
Will report back in the unlikely event that anyone is using their phone in the same way i do.
Great work on this hack by the way guys, i've been watching this thread in anticipation.
Good job :)
Can you not transfer the call back to the handset by pressing the connect button on the headset once in call?
gazzrenn
25th August 2005, 05:40 PM
Can you not transfer the call back to the handset by pressing the connect button on the headset once in call?
Interesting !
I shall try that now and report back !
As a side note, i did get the car thing sort or working....
roguel
25th August 2005, 11:49 PM
News on http://www.fonix.com/page.cfm?name=news&id=1554 shows they added support for bluetooth in the 2.1 version of VoiceDial for SP. I asked if they had plans on adding bluetooth support for PPC as wel but no response yet.
liusam
27th August 2005, 09:04 AM
I've got half the function working now....when I press the Answer key on my BT headset, it did activates the Voice Command program to accept the Voice input, however, I found the voice command could only accept via the Mini's handset instead of the BT headset. Is the hack will accept only handset voice calling, or did I do anything wrong still to make the voice calling from the BT headset? :oops:
roguel
29th August 2005, 09:04 AM
Reply from: Voice Dial Support [VoiceDialSupport@fonix.com]
We will have full bluetooth support for the upcoming HTC devices based on Windows Mobile 5.0.
On these devices you will be able to assign VoiceDial to the Bluetooth headset button. All you have to do is push the button on the headset, no need to push any buttons on the device.
This is something we have been working towards for a very long time...
Fonix Support
:(
roguel
29th August 2005, 09:08 AM
The strange thing is that when installing the 2.1 SP version on my SPV M500 the bluetooth button works fine, also disconnecting the bluetooth headset if you do not get in a call.
Still no audio though...
Apparently Mobile 5 will have new features in the BT stack as well.
swedbass
29th August 2005, 04:49 PM
I got the following reply from Microsoft to my request for the Voice command activation via bluetooth - at least they were responsive:
"Thank you for contacting Microsoft Online Customer Service.
I personally think, what you would like to implement is very reasonable and understand how frustrating it is when you find that the product does not meet your needs. I will forward your suggestion to our development team so that they may improve this by an update patch to be released in the future or in the next version of the product.
Also, I suggest that you provide your feedback in the following page:
https://support.microsoft.com/common/survey.aspx?scid=sw;en;1208
David, this site is for ideas on new or improved features and services that you would like to see added and ways to make Microsoft products easier. Your suggestions are always welcome there. "
Perhaps if we all let them know we want this function a patch will be developed sooner.
psneddon
29th August 2005, 05:01 PM
There is no real reason why the code from Wm5 (the btscosnd driver) cant be implemented in wm2003. All it does is act live a sound (wav) driver.
However I have not been able to get the driver working properly - simply due to my lack of knowledge. I can compile the code (from the wm5 platform kit) and the driver initialises fine most of the time.
I'm sure someone with the technical knowhow (i.e. how to develop drivers) could modify the driver slightly and make it work on the JAM.
The only problem I can see with the Jam devices as it seems that the GSM output might be somehow hardwired straight to the device speaker. I noticed that if I totally removed the standard wav driver then sound STILL came out the speaker - although the mic did not work.
Guess its just the way HTC designed the device.
Paul
rmg
31st August 2005, 12:27 AM
FYI - They have found the ETEN m500 bootloader mode
http://www.howardforums.com/showthread.php?t=714874
rom soon?
Artosoft
1st September 2005, 03:39 AM
RMG,
I try the hack (the latest) on my O2 mini with Sony HBH-660 bluetooth.
I delete the HBH-660 Bluetooth handsfree on O2 mini first. When I pair the HBH-660, it say that my HBH-660 is comply to "headset" profile, and ask whether I want to use "headset" profile. Which should I apply to HBH-660? turn on the "headset" profile or not? Before the hack, I don't think I see the request to turn on "headset" profile.
Either turn on "headset" profile or not give me the same result as below:
- When I press the bluetooth button, the HBH-660 display shown the Voice Dial icon. Great! This never happend before the hack.
- Microsoft voice command icon appear on O2 mini. This hack successfully do it purpose to use the bluetooth button to activate the Voice command. Great too!
- I hear the "hiss...." sound on HBH-660. This never stop until I turn off the HBH-660. I am afraid the battery of HBH-660 is affected.
- I can speak to voice command. But I am not sure whether the mic on HBH-660 transfer my voice, or the mic on O2 mini capture my loud voice. The speaker on O2 mini sound the respons of Voice command. Any comment on this (whether it is from Bluetooth's mic or not)?
- No sound come out from HBH-660's speaker. No announcement of caller of incoming call.
That's my finding.
Thanks for your effort, hopefully this can help a bit.
Arto
Trident
1st September 2005, 06:42 AM
After reading this entire thread I have but one question. Since it appears that both devices are using WM2K3, what are the odds that this patch might work on my PPC6600 (which is referred to in this forum as Blue Angel, I believe).
At the worst, could it do any damage that wouldn't be easily repairable?
Not asking for guarantees, but just partial functioning of my BT headset(s) would be great.
Thanks,
Trident
liusam
1st September 2005, 07:06 AM
RMG,
I try the hack (the latest) on my O2 mini with Sony HBH-660 bluetooth.
I delete the HBH-660 Bluetooth handsfree on O2 mini first. When I pair the HBH-660, it say that my HBH-660 is comply to "headset" profile, and ask whether I want to use "headset" profile. Which should I apply to HBH-660? turn on the "headset" profile or not? Before the hack, I don't think I see the request to turn on "headset" profile.
Either turn on "headset" profile or not give me the same result as below:
- When I press the bluetooth button, the HBH-660 display shown the Voice Dial icon. Great! This never happend before the hack.
- Microsoft voice command icon appear on O2 mini. This hack successfully do it purpose to use the bluetooth button to activate the Voice command. Great too!
- I hear the "hiss...." sound on HBH-660. This never stop until I turn off the HBH-660. I am afraid the battery of HBH-660 is affected.
- I can speak to voice command. But I am not sure whether the mic on HBH-660 transfer my voice, or the mic on O2 mini capture my loud voice. The speaker on O2 mini sound the respons of Voice command. Any comment on this (whether it is from Bluetooth's mic or not)?
- No sound come out from HBH-660's speaker. No announcement of caller of incoming call.
That's my finding.
Thanks for your effort, hopefully this can help a bit.
Arto
You're having the same problem as mind....your voice command is captured via the PPC's mic instead of the BT headset. That's no real use yet until the BT can pick up the voice command and hear the audio response from the PPC. :roll:
paulf707
1st September 2005, 08:52 AM
All works for me.
T-Mo
MDAc
ROM 1.12.00
Radio 1.12.10
Ext 1.12.131
Random Cheap as chips BT Headset.
My task now is to see if i can activate Voice Command without having the phonecall audio coming through the BT Headset.
I use a 2.5mm to 3.5mm adapter into my car stereo. Using the Mic of the phone and the speakers of the Car to make my phonecalls. This works great as a VoiceActivated Car Stereo system.
I'd like to just use the BT Headset as a remote control now to activate VC to change albums.
Will report back in the unlikely event that anyone is using their phone in the same way i do.
Great work on this hack by the way guys, i've been watching this thread in anticipation.
Good job :)
Hi
Can you confirm that using a 'normal' 2.5mm to 3.5mm adaptor to extract the audio from the phone (to feed into a car stereo or similar) still leaves the internal mic active (I though it would be disabled)??
I've made up an adaptor that includes a mic input as well (for an external mic in the car) - I guess I'm doing similar stuff to you.
If anyone's interested in what I've been doing with car stuff, look at:
http://www.modaco.com/index.php?showtopic=224626&hl=car%20cradel&st=15
Very interested in this BT stuff though - will be trying this out when I get my headset.
Are there any issues over which type of BT Headset to get for the M500? - Do any work, or are there specific things I need to be looking for?
Thanks
PaulF
TheBrit
1st September 2005, 07:00 PM
The strange thing is that when installing the 2.1 SP version on my SPV M500 the bluetooth button works fine, also disconnecting the bluetooth headset if you do not get in a call.
Still no audio though...
Apparently Mobile 5 will have new features in the BT stack as well.Questions:
If I install Fonix 2.1 to my SPV M500 then BT will work as per the hack?
Is this a seprate fix to the hack or to be used alongside it?
I've checked the fonix web site and it only mentions smartphones, not PDAs.
neckarb
1st September 2005, 10:17 PM
how do you turn off the internal mic for voice command? and just leave input for bt headset?
also is there a way of making the audio for all applications i.e WMedia player?
thanks in advance
neckarb
1st September 2005, 10:23 PM
how do you turn off the internal mic for voice command? and just leave input for bt headset?
also is there a way of making the audio for all applications i.e WMedia player?
thanks in advance
neckarb
1st September 2005, 10:46 PM
how do you turn off the internal mic for voice command? and just leave input for bt headset?
also is there a way of making the audio for all applications i.e WMedia player?
thanks in advance
jackleung
2nd September 2005, 06:55 AM
how do you turn off the internal mic for voice command? and just leave input for bt headset?Don't you feel annoying for not reading the posts before posting a new question? And it's further annoying for posting 5 messages(including this http://forum.xda-developers.com/viewtopic.php?t=27399) continously for the same question.
neckarb
2nd September 2005, 02:33 PM
i have read this thread, i accidentally posted it three times, i have not found anywhere to about turning the mic off i have asked in four forums the same question now and no one has given me a straight answer they all just reply with a question so please, can you turn the mic off and if so how?
psneddon
2nd September 2005, 03:44 PM
There is no way of routing system audio to the BT mic or headset. This must either be done in hardware or someone has to get the btscosnd driver from the WM5 development kit working (i tried and failed).
The audio in the Jam is hardware routed to the speaker.
Paul
TheBrit
2nd September 2005, 04:52 PM
... so please, can you turn the mic off and if so how?I think the answer is no.
neckarb
2nd September 2005, 06:30 PM
thank you i wish shomeone would have just told me that you cant turn the mic off to begin with.
gazzrenn
4th September 2005, 06:47 PM
Hi
Can you confirm that using a 'normal' 2.5mm to 3.5mm adaptor to extract the audio from the phone (to feed into a car stereo or similar) still leaves the internal mic active (I though it would be disabled)??
Howdy, yes i plug in the standard (two ringed) 2.5 > 3.5mm adapter and the internal mic works just fine on the phone.
Unexpected bonus i say :)
Hurdoc
5th September 2005, 06:54 PM
Sorry for my newbieness but I just tried this hack for my i-mate Jam with a Jabra 250v. All it does is allow me to turn on Voice Command via the button on my headset. I still have to speak into the Jam, and listen from it as well. Is this correct? If so, that's not much to write home about. I don't see the fascination.
I apologize if I come out sounding ungrateful, I think the author is doing a fantastic job. Maybe the problem is me, did I install it incorrectly or do something wrong?
adit
5th September 2005, 07:34 PM
Sorry for my newbieness but I just tried this hack for my i-mate Jam with a Jabra 250v. All it does is allow me to turn on Voice Command via the button on my headset. I still have to speak into the Jam, and listen from it as well. Is this correct? If so, that's not much to write home about. I don't see the fascination.
I apologize if I come out sounding ungrateful, I think the author is doing a fantastic job. Maybe the problem is me, did I install it incorrectly or do something wrong?
No, there isn't anything wrong with ur installation, thats the way it is and it doesnt turn off ur bluetooth *mic* too so it will drain ur battery. There is no fix to this yet, so just wait or get a WM5 device. and PLEASE don't ask any of this question anymore until we get a fix.
::adit
RickPrice
12th September 2005, 10:23 PM
Sorry, VoiceDial 2.0 for Windows Mobile 2003 devices does not support Bluetooth at this time and will be considered legacy devices. This is a limitation of the Windows Mobile operating system and the devices that are currently available. Currently Bluetooth audio only reaches the telephony circuitry and not the main cpu where we need it to do speech recognition. We are currently working with Microsoft and several device manufacturers to correct this problem in future devices.
A possible workaround is to use a device such as the Jabra A210. This device will connect your Bluetooth headset directly to the audio jack of your Windows Mobile Device.
If you have a SmartPhone device like the Audiovox SMT5600 or iMate sp3, then VoiceDial 2.1 will work great with your Bluetooth headset. The hardware won't support starting VoiceDial from your headset button, but you should be able to launch it from the phone and then do everything else through the Bluetooth headset.
The iMate JasJar that was just released does support launching VoiceDial via your Bluetooth headset!
RickPrice
12th September 2005, 10:35 PM
At the moment VoiceDial 2.0 is the latest version for the XDA. No upgrade is necessary. VoiceDial 2.1 is only available for SmartPhones.
rmg
15th September 2005, 12:55 PM
rmg,
Try pushing your BT device button and ask for the "time" (or a show command or a similar command that do not originate calls). Then push the button again to try to generate a call. If this works with no problem, then tell me how to delete the profile to get rid of this bug! :wink:
Cheers!
AP
This is working for me?
apujols / adit I dont understand what bug you are talking about???
rmg
15th September 2005, 01:05 PM
Sorry, VoiceDial 2.0 for Windows Mobile 2003 devices does not support Bluetooth at this time and will be considered legacy devices. This is a limitation of the Windows Mobile operating system and the devices that are currently available. Currently Bluetooth audio only reaches the telephony circuitry and not the main cpu where we need it to do speech recognition. We are currently working with Microsoft and several device manufacturers to correct this problem in future devices.
But I thought that the Eten M500 does do this? and that is PPC2003SE with M$ Bluetoothn stack.
RickPrice
15th September 2005, 11:11 PM
There-in lies the difference. The majority of all PPC2003SE devices use the
Widcomm Bluetooth stack and do not support the BT Audio gateway. If you
have a device like the Eten M500 that uses the Microsoft BT stack and it
supports the BT Audio gateway then it is very possible that VoiceDial and/or
VoiceCentral will work with that device through a BT headset.
rmg
19th September 2005, 05:26 PM
There-in lies the difference. The majority of all PPC2003SE devices use the
Widcomm Bluetooth stack and do not support the BT Audio gateway. If you
have a device like the Eten M500 that uses the Microsoft BT stack and it
supports the BT Audio gateway then it is very possible that VoiceDial and/or
VoiceCentral will work with that device through a BT headset.
Sorry, but the XDA2i had the widcomm stack and does support the audio gateway. As does the Loox 720 pocket PC. Devices with the widcomm stack are more likley to support the audio gateway, not less likely. The point of this thread was to get it (and voicedial initiation) working on the Magician, as it works on the Eten and they both use the (inferior) M$ stack...
rmg
19th September 2005, 05:29 PM
duplicate post
a.ortuno@ya.com
21st September 2005, 12:13 AM
Hi,
can anyone let me know if the source code for the dll is available.
I need to change the path for the VoiceSignal Launcher.exe file.
Thanks in advance,
Regards,
psneddon
22nd September 2005, 05:21 PM
The source code is part of the Windows Mobile Platform Builder 5 which you can download a trial version. You can take the code and put it in a c++ compiler (evc++4). I dont have the source code to hand.
Paul
gx04
6th October 2005, 01:55 PM
create a shortcut with the same name!
This should fix the problem!
it worked just fine with my imate jam!
--gx
Hi,
can anyone let me know if the source code for the dll is available.
I need to change the path for the VoiceSignal Launcher.exe file.
Thanks in advance,
Regards,
a_dupond
8th October 2005, 12:50 PM
Hi,
I'm using the S100 version of magician from SFR (french brand of the Vodafone group), Bluetrek G2 headset, and Microsoft's Voice Command.
I've installed the .cab file on my device but nothing happens when I press my headset's button. Actually, I can't find the voicecmd.exe or Voice Signal Launcher.exe file in the \Windows directory.
Could you tell me if I made something wrong or if the zip file doesn't work with my devices ?
Thank you very much.
rmg
18th October 2005, 12:43 PM
I dont know why the cab file wouldnt work. If you go through the post there are step by step instructions which will work if followed correctly.
Axl_Warlock
18th October 2005, 06:53 PM
The same problem. :evil:
I use Vito Voice Dialer. It works fine if I start it manually, but, copied to Windows directory and properly renamed ".exe" file doesn't start automatically (also working fine while starting renamed file manually) !
:idea: It MUST be a some kind of mistake in CAB file or in manual, maybe, in filename :?: :?: :?:
RickPrice
18th October 2005, 11:56 PM
On Fonix VoiceDial 2.1 WM5 PPC:
Try running the install but don't enter a serial number. You should still
be able to install VoiceDial this way. After VoiceDial is install you can
enter the license/serial number by starting VoiceDial and after the initial
prompt, tap on the Menu->About menu item. When the "About" dialog comes up
you should be able to enter the License/serial number.
I did a little testing this morning. VoiceDial 2.0 for WM 5.0 does not have
a menu item "Enable Bluetooth". That is in VoiceDial 2.1 for SP2003;
however, it WILL still work with BT headsets. I verified that this morning.
As long as the device is an HTC WM 5.0 device it should work just fine.
had
19th October 2005, 11:08 AM
I'm sorry but could you please make it clear:
Does this hack enable voice dialling via BT
or it just
launches voice dial program and you still have to speak to JAM?
It looks like last one for me. Voice commander launches by the button on the BT handsfree but commands are accepted ONLY through the JAM's mic.
irek4u
20th October 2005, 09:26 AM
I have t-mobile xda mini and vito voice dial i try to instal thas program for my bluetooth No way Jose it does not work !!!
Grate software.
Irek
irek4u
20th October 2005, 10:59 AM
You realy need a very smart pc person to make it work i did not sacced.
Irek
INFINITYRESTATE
20th October 2005, 09:55 PM
Hi, I think the work you guys have done with allowing the BT headsets answer phone calls using ms voice command is really amazing... great job guys... but l have no idea what anyone is saying when it comes to installling codes to make this happen... where do l start? l cant even operate my digital cable remote.. lm scared of even attemting to do this... is there a program l can just run that will enable me to use voice command via BT headset? l have a siemens sx66, the blue angle l suppose some people know it as, and l moto HS820 headset... what do l do? please help. :(
a_dupond
22nd October 2005, 10:04 AM
HELP !!!!!!!!!!!!!!!!!
I'm now using HTC Wizard (named Qtek 9100 in France) running WM5.
My device came with a built-in version of Voice-Speed Dial in Rom.
This soft works well but you can't enjoy it when you know the powerfull combination Micorsoft's Voice Command + Project_VCABT.
So, I have TWO problems :
- Is it possible to delete Voice-Speed Dial (not just replace the link for the button) ?
- How could Project-VCABT work on that new device knowing that it seems it doesn't recognize "headset" profiles (so, if you delete the "hands-free" reg profile, you simply have no profile at all for your device) ? :shock:
Please, please, please, help me because I feel stupid to have got that new device without asking before if it would work as well as my old HTC Magician (Qtek S100 in France).
Thank you for your help.
rmg
22nd October 2005, 02:54 PM
Try asking in the wizard forum.
Flipside
25th October 2005, 12:47 PM
How do I uninstall this again, it is making my phone (Qtek S110) acting really weird, so I would like to go back to normal, but when I try uninstalling there's a dll running preventing me from doing so... : \BTAGExtModule.dll
Please help someone, I would like to go back to "normal" without having to do a hard-reset...
psneddon
25th October 2005, 01:05 PM
Rename that file, soft reset, then delete. Or you can search the registry for the file name and remove it from there.
But I can tell you that it wont be that file thats cauing your problems, the file basically does nothing other then run a program when the BT headset button is pressed, the code is part of the WM Plaform kit (samples).
Paul
Flipside
25th October 2005, 04:39 PM
Rename that file, soft reset, then delete. Or you can search the registry for the file name and remove it from there.
But I can tell you that it wont be that file thats cauing your problems, the file basically does nothing other then run a program when the BT headset button is pressed, the code is part of the WM Plaform kit (samples).
Paul
Thanks :) but it must be this that makes my device acting weird, it's the only thing I have changed recently.....Guess I'm in for a hard-reset after all... :roll:
paketecuento
1st November 2005, 07:28 PM
now tested in himalaya with wm2005 and M$ bt stack and WORKING 100%.
thanks to everybody
rumpelstielz
7th November 2005, 06:10 PM
is there any posibility to use this with a cable headset?
RickPrice
10th November 2005, 09:11 PM
As you may know HTC has a frimware problem with the Bluetooth headset on the Sprint 6700 device. The workaround for one touch activation on the Bluetooth headset after the product is launched is as follows: Instead of using VoiceDial 2.0 WM5 PPC that was designed for the product, use VoiceDial 2.1 SP2003 that is for the smartphone platform. This can be downloaded at www.PocketGear.com and you can email VoiceDialSupport@fonix.com for any further details.
RickPrice
10th November 2005, 09:15 PM
You can also find me @: http://fonixcorp.proboards2.com/index.cgi?board=general
joney0210
11th November 2005, 09:07 AM
I'm use the device ETEN M600 and handset MOTO HS850
the system is WM5,
I try to use the cab file, when i soft reset my device, the bluetooth cant start service ,
an anyone can tell me other way to do this job ? i'm look all of the post, but i cant find out how to do this on my device M600 :(
xerxes
14th November 2005, 10:03 PM
...to Paul and Adamz and anyone else who worked on this.
This is the last piece that I needed to get my Magician to be a workable in car phone.
Now if only I could find a piece of software that could magically extend the battery life I'd be happy (for a little while at least!)
X
Armes
15th November 2005, 12:02 AM
Paul et al,
I've spent some time this evening reading right through this thread and am amazed by some of the work done here, especially by Paul. I've tried to follow the arguements about what the Widdcom and MS BT stack will and won't do with varying levels of success, so I thought I'd outline my position, and finish with a simple question.
I own a Nissan with a factory BT handsfree built in through the radio. It pairs with my XDAII but won't make or receive calls (hence me browing this thread). It will however work perfectly well with my old Sony Ericcson 68i bluetooth phone, so at the moment I forward my calls from the XDA to the Sony (cheap pay as you go SIM) when in the car. If the BT hands free works so well with the Sony, why does it not work with the XDA? In my simple mind, they are both phones, they both have BT so why do they not both work?
Regards,
John W
rmg
17th November 2005, 05:31 PM
I own a Nissan with a factory BT handsfree built in through the radio. It pairs with my XDAII but won't make or receive calls (hence me browing this thread). It will however work perfectly well with my old Sony Ericcson 68i bluetooth phone, so at the moment I forward my calls from the XDA to the Sony (cheap pay as you go SIM) when in the car. If the BT hands free works so well with the Sony, why does it not work with the XDA? In my simple mind, they are both phones, they both have BT so why do they not both work?
Regards,
John W
Because Sony know how to make a decent BT stack and M$ dont.
Basically.
wyatt1887
17th November 2005, 10:10 PM
When I run the cab file on my MDAc (German, most recent software) I get an error message ...file BTAGextModule.dll is in use or located in ROM. If not in ROM close application using this file...
Closing all applications via the explorer doesn't help - same message.
I have Fonix Voice Dial installed...
Other question is: Once VCABT works, how does it work? Do I need to activate Fonix and keep it runnung idle, waiting for a call to come in? Or is it activated automatically when I press the talk button?
Thanks for your help in advance, folks
rmg
24th November 2005, 05:56 PM
1st post updated because of the fantastic news regarding a working A2DP BT patch (That does everything else bar making the toast as well)
d00d
26th November 2005, 02:22 AM
guyz, plz update the first post because right now it is really misleading.
The situation, as it appears to me, is:
right now the only thing you activate is the BT hands free BUTTON.
you still have to speak to the HANDset microphone
you will not hear anything through the HEADset
your HEADset audio receiver will stay on indefinitely using up its battery (unless you place a call or turn it off)
am I right?
marto_martin
29th November 2005, 05:39 AM
guyz, plz update the first post because right now it is really misleading.
The situation, as it appears to me, is:
right now the only thing you activate is the BT hands free BUTTON.
you still have to speak to the HANDset microphone
you will not hear anything through the HEADset
your HEADset audio receiver will stay on indefinitely using up its battery (unless you place a call or turn it off)
am I right?
Any feedback?
shayani
10th December 2005, 02:12 PM
First, thanks for all replyes here that I used to try to make it work... But I still cannot have my BT HS850 dial to anywhere.
I use MS Voice command 1.5 and when I press the BT button, it starts and waits for my voice. But it doesn't listen my voice from the BT HS850. I tried several times different CABs, reg infos, etc...
Does it really works? Does anybody made it works for I-mate Jam? Can anyone send me a step-by-step?
Sorry asking this, but I read the thread 10 times and still cannot make it work.
psneddon
11th December 2005, 01:24 AM
On the Jam, the GSM radio is HARDWIRED to the speaker and mic. I know this by speaking to some MS guys and also by disabling the WAV driver. This is why HTC never implemented the bluetooth dialling themselves, it just was not possible.
So the hack we created only ACTIVATES the voice dialling, it still needs to be performed via the speaker and mic.
It is possible to use the SCO driver (audio packets via bluetooth) from the platform kit but I have tried and cant get it to work. I dont know if its a driver or hardware issue.
Paul
rmg
12th December 2005, 12:09 AM
guyz, plz update the first post because right now it is really misleading.
The situation, as it appears to me, is:
right now the only thing you activate is the BT hands free BUTTON.
you still have to speak to the HANDset microphone
you will not hear anything through the HEADset
your HEADset audio receiver will stay on indefinitely using up its battery (unless you place a call or turn it off)
am I right?
1st post updated.
--
rmg.
Li Xiaoyuan
22nd December 2005, 04:24 PM
UPDATED 11/12/05
Just to clarify. This patch enables you to launch Voice Command (or any other app) by pressing your bluetooth headset button. It DOES NOT transfer sytem audio to the headset OR allow you to issues Voice commands via the headset. Its still a top peice of work tho ;-)
Some people also have an issue where the BT headset audio receiver will stay on indefinitely using up its battery unless you place a call or turn it off.
I dont get this issue. YMMV!
--
rmg.
UPDATED 24/11/05
There is now a working patch to enable BT Audio streaming to STEREO BT headsets only.
http://forum.xda-developers.com/viewtopic.php?t=33532
This works fine with VCABT patch
--
rmg.
UPDATED 20/08/05
You need to be logged in to download the zip file!
--
rmg.
UPDATED 14/08/08
Dear all.
There is now a working hack to allow voice dial activation from a bluetooth headset.
NOTES
1. This hack DOES NOT transfer system audio to the headset via bluetooth. That is still being worked on.
2. This hack only works on the HTC Magician.
To date it has worked on all Magician types including:
iMate Jam
Qtek S100 S110
MDA Compact
Orange M500
VPA Compact
XDA MINI
Instructions:
Download the zip and install the cab file to enable the hack. Thats it! :-)
Note:
The cab file will place a copy of voicecmd.exe in /windows and rename it to Voice Signal Launcher.exe
If you use another voice activation program you will have to copy the .exe, put it in /windows and rename it to Voice Signal Launcher.exe
If you have any questions not covered here please ask them in the thread and somewill help :-)
Credits:
Hack created by Psneddon
Cab created by adamz
Scroll down to the bottom of the post to grab the file!
--
rmg.
Original post below:
Hi,
I am making a new thread for all discussion related to getting voice command working over bluetooth, i.e you push the button on your headset and the Voice Command activates.
This functionality has been achieved on the Eten M500, which uses the M$ bluetooth stack
See
http://translate.google.com/translate?u=http%3A%2F%2Fwww.pocketpcitalia.com%2F recensioni%2Fhardware%2Feten_m500_general4.asp&langpair=it%7Cen&hl=en&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools
Stack the Bluetooth implemented in the Eten M500 has been realized from the same Eten on the base of stack the Microsoft.
The society has enriched it, and this is now in a position to offering the following profiles: Service Discovery, Headset and Hands-free, Dial-up, Object Exchange, Generic Access, Serial Port and Gateway-audio.
This last one is of great importance, since beyond guaranteeing I listen of the sounds of system or the reproduced MP3 in cap (optional), allows the operation of the application Voice Commander (about which we will speak in the next page), concurring to directly command the device from a Bluetooth earpiece.
E' instead absent profile PAN (Person Network Area), that it would have allowed the device to approach Internet in presneza of points of Bluetooth access.
We need a dump of the Eten M500 rom, and then we need someone with more braincells than me ;-) to extract the Bluetooth stack....
Is this possible / doable?
Hi Rmg,
Thank you for your useful patch. But it can not work in Dopod818 with cyberon voice command , When the bluetooth headset in voice control status and I speak to headset, it seems the voice command did not receive any voice through headset. Would you pls help me find out what is wrong.
I really need the voice dial via bluetooth headset.
Thanks in advance!
Lxy
medicor
22nd December 2005, 08:25 PM
hello, I start to view this forum a few days and think this is a wonderfull site and i found a lot of answer of my question with help of you.
And the question that still on is: I installed the cab file on my i-mate and the cab file work very well, but the audio does not go to the BT. Any body aready know the answer about this issue? And about hear music using the BT.
Thanks, folks.
rmg
23rd December 2005, 12:02 PM
There is currently NO WAY to transfer system audio to a BT headset on the Magician.
vnevoa
26th December 2005, 12:39 AM
Does anyone know what the hell this guy is talking about????
He states that he can "Listen to Stereo audio over Bluetooth with HTC Magician NOW !"
Check it out at: http://www.mobiletopsoft.com/board/view.php?newsid=370
However, he doesn't really say what must be done!... smells like BS to me...
OR: could it be that the simple fact of pairing a STEREO bluetooth handsfree/headset unlocks the "streaming" feature?? I really don't believe this, but... If that is true, then all we had to do is change the registry capabilities of a normal "mono" headset and trick the magician into thinking the headset is stereo...
Anyone have any insight on this?
medicor
26th December 2005, 12:51 AM
Yes, good idea, does anyone know how to do that?
jackleung
26th December 2005, 01:30 AM
Does anyone know what the hell this guy is talking about????
However, he doesn't really say what must be done!... smells like BS to me...
Why don't U people look around first before posting any question??
1. It has been said MANY MANY times on this thread. Currently, there is NO WAY to make "voice prompt over bluetooth headset" to work on magician. All we have right now is "activating a program of your choice (eg: MS voice command, Cyberon Voice Commander) using yr bluetooth headset button". And it's STILL yr magician (not yr BT headset!!!!) picking up the voice prompt.
2. Stereo Audio over "stereo bluetooth headset" (A2DP) is possible w/ a MS Stack Add-on (but lots of limitations). Read this thread which always stay in the first page on this forum: http://forum.xda-developers.com/viewtopic.php?t=33532
vnevoa
26th December 2005, 01:38 AM
Take it easy, Jack!!!
Why don't U people look around first before posting any question??
I did. I read this thread very carefully.
1. It has been said MANY MANY times on this thread. Currently, there is NO WAY to make "voice prompt over bluetooth headset" to work on Magician. All we have right now is "activating a program of your choice (eg: MS voice command, Cyberon Voice Commander) using yr bluetooth headset button". And it's STILL yr Magician (not yr BT headset!!!!) picking up the voice prompt.
I know that. I read this thread very carefully. But the key word here is "currently"!
2. Stereo Audio over "stereo bluetooth headset" (A2DP) is possible w/ a MS Stack Add-on (but lots of limitations). Read this thread which always stay in the first page on this forum: http://forum.xda-developers.com/viewtopic.php?t=33532
Now this I didn't know!! Sorry for not being aware of that thread...
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.