yashsingh1/xdaforums huggingface dataset:
[8525, TyTN, MDA Vario II, JasJam General] superdave:
Attached is version 03. This version should route the audio correctly and mute the built in speaker. This version is no longer using the HTC_PCM_Routing dll and is now using a custom dll. By using a custom dll I have complete control over the processing and can pass the multiple IO control calls need to get the audio routed. You may notice a funny icon in the phone app while audio is routed, I think this is tty mode (not sure), but, it works to do what I needed. Also, I have not messed with Voice Command activation yet, but, I do think that should be possible. I have not hard-reset tested this cab so please let me know if there are any issues. I also moved serial5 to serial9, so you may have to manually delete the serial 5 driver keys. After installing the cab if it does not work correctly, make sure the widcomm/plugins/handsfree/audiosetupdll says SD_PCM_ROUTING.dll

I'll also attach that dll separately for those who just want to replace the key and dll.

One note, the audio routing is full time, once activated all audio all the time will be routed.

,Dave

Edit: State management has been corrected, updated to v.03.

,Dave
[8525, TyTN, MDA Vario II, JasJam General] research12:
serios problem: tried to install new cab. install manager asks me to deinstall old version, I click OK, device hangs up, old version is not deleted. How can I manually deinstall the old cab? ..system...remove programs is not working either.

edit: managed to deinstall manually. new cab is working
[8525, TyTN, MDA Vario II, JasJam General] research12:
tested the cab with trion:

activesync not working

handsfree with motorola h500 headset working but audio of device is transported permanently to headset, no more ringing or other sounds on device

handsfree with audi uhv not working
[8525, TyTN, MDA Vario II, JasJam General] leaskovski:
How did you manage to uninstall it? I keep trying but the device keeps asking me to soft reset so i say yes, but then when its booted up, its still there!
[8525, TyTN, MDA Vario II, JasJam General] research12:
used file manager total commander and deleted the file broadcom bluetooth in windows\AppMgr...after this I deleted the bluetooth link in windows\autostart... soft reset and then remove software..worked for me
[8525, TyTN, MDA Vario II, JasJam General] new2city:
got this working on Wizard, kind of...

A2DP works nicely on Wizard with these files but now... anyone know how to switch on my Wizard again as it no longer wakes up to the power button, my music just keeps going... Gonna try to switch off my S35...

nah didn't work... had to use the reset button...

still it is good news for me, now just how to we unmute the built in speakers when we don't use the headset???
[8525, TyTN, MDA Vario II, JasJam General] bobstarina:
version 2 unable to start

installed version 2 of this stack

It won't start at all.

Device promts me of unsufficient memory to load driver every time I try to start BT (even after soft reset with stylus).

So I cannot try this new version at all.
[8525, TyTN, MDA Vario II, JasJam General] new2city:
correction

A2DP works 100% fine on the Wizard with these files..

1) I can put the system on standby and the music continues to play.

2) When I turn off bluetooth the sounds are redirected back to speakers.

3)of course the sound quality is good..

Now, I wonder if file transfers still work or not... got to try to confirm this and pop back to Wizard forum...

Thanks SuperDave!
[8525, TyTN, MDA Vario II, JasJam General] adewidt:
Version .03 runs on my Trinity. Don't get the memory problem anymore.

The bluetooth icon is blue.

But the blue led is not working and I can't find any devices.

The logfile stated that the stack is loaded "ok".

Has somebody any idea why the Widcomm stack says bluetooth is "On", but it is not visible and can't discover anything?

I am sure port 7 is the right port.

Other ports gave memory issues.

Could the bautrate cause this problem?
[8525, TyTN, MDA Vario II, JasJam General] silent_killa:
No offence but i thought this was a Widcomm to Hermes development project......
[8525, TyTN, MDA Vario II, JasJam General] research12:
Trion is a Hermes

another problem: bluetooth stack seems to put the device on from time to time. wakes up from standby. this might cause a heavy battery drain.

connection to audi uhv build in hands free fails (profile can't be found)
[8525, TyTN, MDA Vario II, JasJam General] superdave:
Connecting to GPS and AS works fine for me. Check your HKLM\Drivers\Builtin\Serial9. Make sure everything there looks good.

If you have the memory issues, what works for me is killing cprog.exe (phone app). Then starting it, the phone app will restart itself.

Right now all audio is directed to the headset, including rings. I could have it direct it back during a incoming call. I kinda like having all audio transfer, guess I can make that an option. The main thing I want to test here is that, the audio transfers and mutes the internal speakers and when disconnected or BT is turned off, the audio transfers back.

,Dave
[8525, TyTN, MDA Vario II, JasJam General] eppyramot:
Great stuff! Just installed .03, paired both iClip r35 and bluespoon spider, and can get great quality A2DP - no skip from both. Can connect and disconnect each with no problem. It seems that the range has also increased.
[8525, TyTN, MDA Vario II, JasJam General] research12:
GPS works, AS works now with changed serial 9, memory issue solved by switching off phone and switching on again after BT has started.

main issue now for me is that handsfree device of Audi car can't be found by widcomm stack. no idea where the problem lies, MS stack finds Audi handsfree...
[8525, TyTN, MDA Vario II, JasJam General] research12:
the main issue with permanent audio transfer is that most people are likely to not wear the headset when no call is active. so they won't be able to hear ring tone when all sounds are directed to headset when paired but no call is active. if you could make this an option, this would help for sure.
[8525, TyTN, MDA Vario II, JasJam General] Menneisyys:
It seems it can be made work on a LOT of PPC PE devices - for example, the Wizard version already works
[8525, TyTN, MDA Vario II, JasJam General] silent_killa:
I know, but the Wizard and Trinity is not.....
[8525, TyTN, MDA Vario II, JasJam General] superdave:
Wifi streaming works great with this stack, i'm streaming a 128kbs stream using gsplayer over wifi. Works good, a skip everynow and then, but, no more then when listening to local mp3's. I have not messed with tweaking the a2dp yet stack yet either.

,Dave
[8525, TyTN, MDA Vario II, JasJam General] leaskovski:
I have now got this working on a Wizard. Note, i was having memory problems as well, so i killed cprog and also voicecmd. Voicecmd was taking loads of memory up!
[8525, TyTN, MDA Vario II, JasJam General] austinbrady:
Any chance this stack work on a Samsung i830?

Just thought I'd ask before trying.
[8525, TyTN, MDA Vario II, JasJam General] danieletroiano:
WOW!!!!!!!!!!!!!!!!!!!!!

Tested v03 on SPV M3100

AS work on COM7 (Blusoleil Stack on PC)

A2DP ang AVCRP Sound Perfect on my i.Tech R35

but..........Handsfree not working for me

I hope in next version!!!

Great Job BTW!
[8525, TyTN, MDA Vario II, JasJam General] darkjedi:
Is there a way to get rid of the Bluetooth icon on the bottom? It makes my today screen have the scroll bar :(
[8525, TyTN, MDA Vario II, JasJam General] Menneisyys:
Remove \Windows\Startup\BTTrayCE.lnk
[8525, TyTN, MDA Vario II, JasJam General] philly fan:
How is this working with MSVC 1.6

I haven't read anywhere where someone had the Widcomm working with MSVC 1.6. Am I wrong and missed something. Also are we still having to decide whether to load this and lose our device speakers or wait for the next iteration of the software. Thanks in advance been in a Wii sports marathon while trying to keep up with the two threads.
[8525, TyTN, MDA Vario II, JasJam General] Jaqb:
superdave, your new version didnt solve any of the issues I mentioned... just so you know... I still need to change Serial 8 manually to something else and same "insufficient memory" error when plug in usb while BT is off.... (when trying to get it ON again)
[8525, TyTN, MDA Vario II, JasJam General] research12:
and same issue that handsfree support is not fully implemented. somes headset profiles are working, others not...
[8525, TyTN, MDA Vario II, JasJam General] leaskovski:
That would explain why i get some very (and i mean ver) strange results with my parrott ck3000. It pairs ok and it says it is a bt headset, but after connecting the headset makes some funny beeps or it just sits there with an open stream with nothing coming over it.

Out of interest, i take that the headset profile should not be constant streaming from the phone to the headset? It should only open up the connection when there is audio to output, thus not just hearing a silent noise coming over the headset once the connection between the deivices has been made?
[8525, TyTN, MDA Vario II, JasJam General] new2city:
hey, I do hear silent noise coming over the headset once the connection is made, it's how I know it is connected..

BTW, the other reason could be because SuperDave made it permanent( in this version ) that all audio is redirect to bluetooth... I only manage to get it back to speakers after I reapply the registry settings of "wavedev" prior to the installation of the BT stack... But I don't think my headset will work after this...

Any chance of getting a version that can switch between speakers and BT headsets, SuperDave? Shouldn't unchecking audiogateway enabled service do this?
[8525, TyTN, MDA Vario II, JasJam General] superdave:
I thought the issue was with port5? So port 8 has a problem too.

On the audio, the audio is always routed once connected, it should disconnect when you toggle the button on the headset, or close bt. On my ht820/tytn that is what is does. Make your sure running the latest dll, as the v2 did not release correctly.

Also, try the attached app. It should manually reroute the audio.

Im still working on Voice Command, I need to find a way to trap the button presses. It appears other widcomm devices use an audiogw and a btphoneif with manual handling. Ive tried these dlls on the tytn with no luck yet. Id like to just write new ones, but, I have to figure out the hooks first.
[8525, TyTN, MDA Vario II, JasJam General] research12:
superdave, thanks for the great work upt to now. are you also working on the fact that bot alle headsets are working? it seems that the stack finds some profiles and others not. can I be of any help to discover where the problem lies?
[8525, TyTN, MDA Vario II, JasJam General] leaskovski:
Hmm, that sounds a bit of a shame to me. I would have thought that it would have been better if once audio is played this then gets directed to the headset, then once the audio is finish, the headset is shutoff. Otherwise, you are just streaming nothing between the headset and the phone and just wasting battery power.

A good example of this is MS Voise command running on the MS BT stack. The two devices are paired and connected, however there is currently no streaming. You then receive the text message and MS Voice command reads the message back to you. Just before the message is read, the connection between the devices is made live, and thus the message gets read over the BT headset.

If you know what i mean? :D
[8525, TyTN, MDA Vario II, JasJam General] darkjedi:
I wanted to uninstall it because I was getting static on my headset when talking, as well as the memory issues EACH time I soft reset. However, when trying to uninstall, it NEVER uninstalls!!! I had to hard reset to get rid of it :(
[8525, TyTN, MDA Vario II, JasJam General] superdave:
This is still a testing stack, not ready for full time use. Hopefully I can get the audio working correctly soon.

,Dave
[8525, TyTN, MDA Vario II, JasJam General] new2city:
Unroute.exe didn't work for me, Dave... Thanks though..

I suspect the reason is because I am using the Wizard not the Hermes..

However, interesting thing to note though, my audio got rerouted back to speakers after someone called me. And now, it will automatically reroute to and fro BT and speakers when I connect and disconnect(like what you said but didn't work for me, originally, I am using ver.03 with the minor change suggested by peetkin, to change the port to 1..

good work everyone..
[8525, TyTN, MDA Vario II, JasJam General] floats:
With the original version, I had to use the uninstaller in SKTools to remove it. Like you, it would just sit there when I tried a an uninstall the normal way. I haven't tried 0.3 yet because I use MS Voice Command. Hopefully a version in the near future will support it.
[8525, TyTN, MDA Vario II, JasJam General] leaskovski:
Sorry chap, i didn't mean to sound a bit rude. Anyway, you are doing a top notch job! :D
[8525, TyTN, MDA Vario II, JasJam General] new2city:
update on behaviour

Just an update on what's happening with this stack on a Wizard...

Like I mentioned before, the audio got redirected back to speakers after I received a phone call. And after that, A2DP work like it would normally,

1)bluetooth on, headset connected, all audio to headset.

2)Bluetooth off, headset disconnected, all audio to headset..

But, after a(12 hours of not using bluetooth) day has pass, audio only audible at phone speaker not built in speakers and then the bluetooth is unable to be turned on again, not enough memory error... a softreset doesn't solve it... looks like a restoration from a backup(which I paranoia-ally made) is the only way to get back Widcomm working...

Any ideas?
[8525, TyTN, MDA Vario II, JasJam General] leaskovski:
Sounds to me that something has got a memory leak. Download a task manager so you can see what is eating the memory. Ive noticed the same happens to me after i have been using the phone as normal and using wifi.
[8525, TyTN, MDA Vario II, JasJam General] lvsw:
Please, for noobs as I.... create step by step user manual!

Sorry, my English very bad :(
[8525, TyTN, MDA Vario II, JasJam General] Sleuth255:
@lvsw: have patience plz. This stack is still very much development work in progress. When its officially released, appropriate installation instructions will be provided and you will have no problems figuring out how to install it.
[8525, TyTN, MDA Vario II, JasJam General] mikelspikel:
@Superdave, I don't know if you're using the setup.dll we built for the axim in your cabs or if you built a new one or are not using one at all. Are you interested in the source code of ours or want me to adapt it following your guidelines? The version we have disables MS stack when installing and restores everything when uninstalling, allowing the user to completely uninstall the Widcomm stack. Maybe it's interesting to have a uninstallable package to be released once all the issues are solved.
[8525, TyTN, MDA Vario II, JasJam General] leaskovski:
I think that would be a superb idea! :D
[8525, TyTN, MDA Vario II, JasJam General] research12:
very good proposition indeed.
[8525, TyTN, MDA Vario II, JasJam General] superdave:
I just did a quick mod of the existing setup cab, so it would be the original dll. It's not removing the MS stack for me though.

I'm still working on the Voice Command, but, if you want the audio to only connect when there is something playing. Change the key widcomm/plugins/handsfree/audiohandling from 8 to 21.

,Dave
[8525, TyTN, MDA Vario II, JasJam General] new2city:
memory leak..

I think I found out which process is taking up memory, upon start up,services.exe is just taking up 307kb but it grew to almost 3Mb at the end of the day...

But the funny things is, after a soft reset, I still cannot start up the bluetooth.. memory error... fishy...
[8525, TyTN, MDA Vario II, JasJam General] bobstarina:
Can someone solve memory issues?

Hello, guys!

I cannot start this Widcomm stack at all.

Soft reset, switching off phone module and other tricks cannot help.

I always get a message "Not anough driver memory".

Can you look in this way in futher development?
[8525, TyTN, MDA Vario II, JasJam General] new2city:
why not get a task manager and start "terminating" processes... That's what I am doing with my Wizard...
[8525, TyTN, MDA Vario II, JasJam General] leaskovski:
Oooooow! I shall have a play with reg hack. This might be interesting indead. On the plus side, i have got an image of my device now without the stack installed so i can always revert back now :D
[8525, TyTN, MDA Vario II, JasJam General] new2city:
Glad that Dave solved your problem, Leaskovski...

As for me, I'm still trying to find the real culprit behind my memory leak...
[8525, TyTN, MDA Vario II, JasJam General] leaskovski:
I get the memory issues as well. I havent tried this yet so i don't know if it works.
[8525, TyTN, MDA Vario II, JasJam General] Videonut:
UTStarcom ppc6700

Sorry, not trying to hijack but I would love to get involved in this project. I'm having a difficult time finding the out what type of BT Chip is in this phone. I take it that the scripts are written specifically for the Texas Instruments BRF6150. Anyone know what BT chipset I have?
[8525, TyTN, MDA Vario II, JasJam General] research12:
still not all audio profiles are supported, even when changin the dll. one of the great downturns of the MS stack is, that it automatically shuts down with some head sets and/or connection is lost. widcomm should solve this but I can only test it once the audio profiles are fully integrated.
[8525, TyTN, MDA Vario II, JasJam General] leaskovski:
Ok! I tried the reg edit to just divert only audio and it worked a treat. I turned on media player and started playing some tunes, then an icon appeared in the corner and silent noise started streaming through the headset. I then stopped media player and then a couple seconds later the silent noise stopped as well.

I just need to wait till my headset is made compatible with this and then i will hear the ausio over the headset! How cool is that! I am so looking forward to when my navigator program tells me what to do over my cars speakers and then cuts back to the radio/cd! :D BRILLIANT!
[8525, TyTN, MDA Vario II, JasJam General] shogunmark:
has anyone made a wikki page for this yet? even though its still under development? i was just thinking something a little simplier and cleaner with instructions, looking through this thread can be a little confusing on what and what not to do...
[8525, TyTN, MDA Vario II, JasJam General] research12:
I think, it should only make it to the WIKI once it is fully functional. At the moment it causes more problems than it helps if you are not an experienced user of registry editors, etc. so we should all wait until superdave has finalised his excellent work.
[8525, TyTN, MDA Vario II, JasJam General] superdave:
I forgot to add, if you use the 21 registry value, you have to manualy set the audio route. You can use the apps attached to route/unroute the audio.

I've got most of the pieces I need for this, just trying to get the right notifications from the widcomm sdk.

,Dave
[8525, TyTN, MDA Vario II, JasJam General] leaskovski:
Hmm not sure what they did, but i ran the first file whilst i was hooked up and it came back with a message. Then i ran the second file. I dont really understand what they are for? :D lol
[8525, TyTN, MDA Vario II, JasJam General] superdave:
The ioctl.exe should route audio to the headset. So if your set to 21 and connected after running that when you play audio it should come through your headset. The un_ioctl.exe is supposed to route the audio back to the internal speaker. So when your done with the audio you would run that. There both just test apps, and will be incorporated into the service. IOCTl should definitly work for you, not sure on UN_IOCTL since I dont have my laptop with me to check.

,Dave
[8525, TyTN, MDA Vario II, JasJam General] eppyramot:
As others had posted when I tried to remove the demo stack it would just hang and not remove. Then i reinstalled the cab and it worked for a while. So i tried to reinstall the cab again, and it totally removed the widcomm stack and the tytn behaves exactly as it did prior to installing the widcomm demo stack in the first place. This is good news as I didnt want to do a hard reset to get back my USB docking and until the insufficient memory errors are fixed.

Does this make sense that it worked that way?
[8525, TyTN, MDA Vario II, JasJam General] leaskovski:
Nope didnt work for me. No audio is getting routed to the headset, but a headset icon is appearing when the device is connected, and when silent noise is being streamed to the headset, the icon changes to have lines going out of the ear phones as though they are on. So i assume everything else is working normally apart from the sound going through the headset.

I hope this helps in some way.

Keep up the good work :D
[8525, TyTN, MDA Vario II, JasJam General] superdave:
Which phone are you using?

,Dave
[8525, TyTN, MDA Vario II, JasJam General] leaskovski:
hehe, a wizard. I have merly been jumping on the hermes band wagon. Its all worked so far for me apart from having to reduce the baudrate to 115200 and change the port to 1 in the registry settings.

Opps! At this stage you are probably thinking "The git has been wasting my time!" Sorry dude. :D
[8525, TyTN, MDA Vario II, JasJam General] superdave:
Thats cool, it what be a different param to the ioctl for the wizard. Everything else would work the same we would just have to find that param.

,Dave
[8525, TyTN, MDA Vario II, JasJam General] mikelspikel:
Maybe 0x74 and 0x75 like in the Axim?
[8525, TyTN, MDA Vario II, JasJam General] new2city:
I know where you get the SDK but just wondering where do you get the information about these parameters and about the port number for each devices?
[8525, TyTN, MDA Vario II, JasJam General] leaskovski:
Are these parameters coded into the executable or are they pulled from the registry?

Cheers
[8525, TyTN, MDA Vario II, JasJam General] peavey:
Tried on XDA 2i

Guys, not sure if it works,

I tried to install the cab file on XDA 2i,

1. No sound output - Speaker volume is ZERO

2. Error message at start up - BTTrayce.exe is not a valid PPC application

3. Bluetooth missing from my PDA

Does this work on Windows 2003 SE??

Cheers,
[8525, TyTN, MDA Vario II, JasJam General] Videonut:
Apache/PPC6700/XV6700 owners rejoice

Just wanted to let these folks know..IT WORKS...v.03

Well A2DP does no more MS distortion, incredible volume and who knows what else as I just paired my Lubix NC1's and away I went.

Haven't tried any other pairings yet, but it looks good.:)

Thanks to the guys from Axim and those here developing and testing this hack.

You Guys Rock...

Edit: Bluetooth GPS works fine

Plantronics 510 phone headset, kinda buggy, still trying to figure it all out

Wifi.Not sure if it has anything to do with this hack but it works fine and I can stream Orb to my Lubix Stereo headset better than with the MS BT stack. Still cuts in and out and speeds up and slows down, might be able to alter buffers
[8525, TyTN, MDA Vario II, JasJam General] DrWhoIs:
download?

hi,

i'm interested in this bluetooth replacement stack

i'm hoping to get vista to sync over bluetooth with this one

where can i download this?

or is it not ready yet

thx!
[8525, TyTN, MDA Vario II, JasJam General] Videonut:
Hermes users.How is the stability of the Widcomm BT Stack with A2DP? Do you have dropouts, little skips and quality degradation after listening for extended periods? I'm curious because I have a PPC6700, which seems to have the exact same CPU and BT chip and after I implemented this hack, even after hard reset, I haven't been able to get stable A2DP sound. I've tried all settings from linespeed, block, subbands, baudrate to no avail. To get skippless music I need to degrade the quality to 192 kbps(linespeed) and blocks to 8. Then after awhile the music starts breaking up.

Is there other settings like MTU in this hack, perhaps hidden in the custom dll's, that could be used to open more BT bandwidth?

BTW I still think this port is ingenious and kudos to those involved.