yashsingh1/xdaforums huggingface dataset:
[JAM, MDA Compact, S100 General] lutzh:
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
[JAM, MDA Compact, S100 General] jackleung:
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)
[JAM, MDA Compact, S100 General] gadgetman901:
Audio Headset Profile

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!
[JAM, MDA Compact, S100 General] Catechin:
Confirmation

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!
[JAM, MDA Compact, S100 General] swedbass:
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.
[JAM, MDA Compact, S100 General] corben:
Thanks for the link rmg. It working now.
[JAM, MDA Compact, S100 General] adamz:
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!
[JAM, MDA Compact, S100 General] Yorch:
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!
[JAM, MDA Compact, S100 General] rmg:
AFAIK That is what Paul is looking at next.

--

rmg.
[JAM, MDA Compact, S100 General] fdigianv:
No control of the headset from the handset

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
[JAM, MDA Compact, S100 General] rmg:
you should try a later rom mate.

1.06 is quite old.
[JAM, MDA Compact, S100 General] fdigianv:
Thanks, according to dangaard 1.06 is what we deserve.
[JAM, MDA Compact, S100 General] corben:
you can try upgraded like I did.....and it works.
[JAM, MDA Compact, S100 General] fdigianv:
Any suggestion for the ROM to install ? Italian would be bettere to avoid problems with country ID.
[JAM, MDA Compact, S100 General] corben:
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.
[JAM, MDA Compact, S100 General] ratcom:
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 ;)
[JAM, MDA Compact, S100 General] gregjsco:
Getting this to work without disabling HFP...

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
[JAM, MDA Compact, S100 General] gratefuled:
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.
[JAM, MDA Compact, S100 General] ramram:
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.
[JAM, MDA Compact, S100 General] henvanvo:
hey adam, for some reason my home screen is messed up i dont know why
[JAM, MDA Compact, S100 General] Jwege:
Re: Getting this to work without disabling HFP...

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
[JAM, MDA Compact, S100 General] adamz:
Re: Getting this to work without disabling HFP...

I think this should've been an optional feature built into MS Voice Command v1.5.

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.
[JAM, MDA Compact, S100 General] HBERBOUT123:
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
[JAM, MDA Compact, S100 General] adamz:
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.
[JAM, MDA Compact, S100 General] HBERBOUT123:
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?
[JAM, MDA Compact, S100 General] cyberetti:
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
[JAM, MDA Compact, S100 General] HBERBOUT123:
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
[JAM, MDA Compact, S100 General] cyberetti:
Only used Adams CAB, no registry editing.

/Cez
[JAM, MDA Compact, S100 General] HBERBOUT123:
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?
[JAM, MDA Compact, S100 General] psneddon:
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.
[JAM, MDA Compact, S100 General] petermensink:
Hello there adamz,

could u please tell me where I can find this "cab-file"? Great work by the way! Greetings
[JAM, MDA Compact, S100 General] petermensink:
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
[JAM, MDA Compact, S100 General] Jwege:
Re: Getting this to work without disabling HFP...

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/d...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
[JAM, MDA Compact, S100 General] nofear:
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
[JAM, MDA Compact, S100 General] d.zee:
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)
[JAM, MDA Compact, S100 General] HBERBOUT123:
Any help please?? :roll: :roll: the sound does not transfer to the CAR :roll: :x :shock:
[JAM, MDA Compact, S100 General] adit:
dude, read the thread thoroughly!! :evil:
[JAM, MDA Compact, S100 General] HBERBOUT123:
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
[JAM, MDA Compact, S100 General] rmg:
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.
[JAM, MDA Compact, S100 General] nofear:
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
[JAM, MDA Compact, S100 General] psneddon:
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;
}
[JAM, MDA Compact, S100 General] HBERBOUT123:
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
[JAM, MDA Compact, S100 General] nofear:
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:
[JAM, MDA Compact, S100 General] rmg:
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:
[JAM, MDA Compact, S100 General] psneddon:
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
[JAM, MDA Compact, S100 General] liusam:
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:
[JAM, MDA Compact, S100 General] rmg:
Try a newer rom mate.

A link to the newest jam rom is earlier on in the thread.
[JAM, MDA Compact, S100 General] psneddon:
Header File

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
[JAM, MDA Compact, S100 General] JFDAR:
Dear RMG, where can I find the Zip file ??

Download the zip and install the cab file to enable the hack. Thats it! :-)
[JAM, MDA Compact, S100 General] rmg:
at the bottom of the first post mate. you need to log in to see it.

--

rmg.
[JAM, MDA Compact, S100 General] billabong:
Re: Header File

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.
[JAM, MDA Compact, S100 General] psneddon:
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
[JAM, MDA Compact, S100 General] gregjsco:
more info

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
[JAM, MDA Compact, S100 General] psneddon:
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
[JAM, MDA Compact, S100 General] thereaperman:
nice work people, It works on my mda compact 1.12 tmobile rom, just need the audio now :P
[JAM, MDA Compact, S100 General] psneddon:
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