Autostart & Enable BTMUSIC on loading of Tomtom - Touch Diamond, MDA Compact IV General

Hi
I was wondering if it is possible for btmusic to start and enable the bluetooth audio gateway automatically when loading tomtom.
I don't want btmusic running all the time when tomtom is not loaded. I just ant it to load up and enable the audio gateway to my bluetooth car kit when tomtom is loaded then continue running so it can reconnect after a call. This needs to be completely seamless so I don't have to manually enable anything.
Would I have to use something like SKschema?
I have created scripts/batch files on dos/windows and linux before and I guess I need to do something similar however I have never created any kind of script on windows mobile before.
Also btmusic doesn't seem to use any kind of command file options as far as I can tell. VJVolubilis does however it does not reenable the audio gateway after a call which btmusic does so that is out of the question.
Also ideally I would like the script to kill btmusic.exe when tomtom is closed.
Is any of this possible? I would be happy to us VJVolubilis if it could reconnect after phone calls but I don't think it can.
Shaks

Related

Pocket bluetooth tools - auto on / off

I used to use pocket bluetooth tools on my xda2 and found it excellent, especially the ability to turn bluetooth on when receiving a call and off after completion.
Does anyone use this on there alpine / xda 2i and if so does it function correctly?
If not can anybody recommend something that'll turn bluetooth on / off automatically on an incoming call.
Thanks
If memory serves bluetooth tools was for MS stack and does not work on the Alpine, at least it wouldn't on mine. Phonealarm from: http://www.pocketmax.net/phoneAlarm.htm purports to control bt through its profiles manager.
Haven't tried that capability yet as my devices' bt requires password on each activation, software fault which I'm about to rectify with the first hard reset of the year (thanks Pug - I'll stick with your radio!)
DKOT today plugin and PocketZenPhone have the feature "bluetooth on call". They dont work on my device but yours, you can try if you want.

Multiple bluetooth connections?

I wonder if anybody knows if it is possible to have two (or more) divices connected at onceon a Blue Angel?
eg. Tom Tom 6 plus a hands free connection.
I have tried every configuration I can think of, different ports ect, but to now avail.
With the gps connection up and running, as soon as you turn on the hands free , the gps connection link is lost, turn off hands free and it will resume connection.
I am using BA WM5 AKU3.5 R4 - xplode's excellent rom
In GPS settings
Program is using COM 5
Hardware is using COM 0
Manage GPS settings set to Auto
In Device settings,
BTGPS unit is on COM 0 (Serial box ticked)
Hands free is unassigned
Any help will be much appreciated.
any idea's anyone?
On Last Baniaczek's ROM I made an experiment just a moment ago: BlueAngel, Navigation system (Polish one, Automapa), plus GPS on Bluetooth and A2DP headset - first connected headphones, then added GPS (using automatic GPS connection - it's M$ Stack) - Everything seems to be working fine. I thought it was a bit unstable at first, but AD2P stops sending data, when there is no sound from the device.
GPS Settings are default: COM6 for applications and GPS has COM7 assigned on Hardware tab and in Bluetooth outgoing port. Quite seamless.
then I made the 2nd one: same headset connected in Handsfree mode: indeed turning on navigation made it connect and disconnect every few seconds.
For me it seems to be fault of M$ BT stack: it cannot hold 2 similar streams on BT (COM and Handsfree/Headset are both typical serial connections of highest priority in BT stream). At the same time it can cope easily with two different streams (A2DP is lower priority, high-bandwidth BT connection).
I'm not sure, but I think when I used old Helmi 1.3.2 with Widcomm stack it could cope with GPS and Handsfree at the same time, but it needs more testing.
jakubd is right it is limitation in MS BT Stack
Don't give up and it should start to work. I have similar problem with BT GPS and BT headset. GPS goes on and off while headset is on. And than I try to switch headset off and on, BT off and on, GPS off and on and after some time it start to work together with no problem. It takes first 10-15 minutes of my voyage but then it works for the remaining few hours.
Sorry, but I still didn't find out what combination make it work. If I do, I will post it here as workaround.
And I'm almost sure that I had no such problem with Helmi 1.4 ROM.
Thanks guys,
have tried every configuration I can think of, but its always the GPS connection that is dropped, not the hands free, this would not be a problem if it was just when you are answering a call.The GPS reconnects only when you disconnect the hands free connection. ?
Has anyone Successfully used the Widcomm stack with this type of setup?
I am sure alot of members would find this usefull if it can be made to work!
This is my experience:
ROM : Helmi_BA_WM2k5_AKU3.5_v1.4.CF2.R2 (baniaczek)
Tom Tom 6
GPS : Bluetooth
Headset : Nokia BH-300
When the headset is on and connected, the GPS doesn't work (TT say no GPS found). When I turn off the headset, the GPS is working.
With ActiveSync I have the same problem: when the headset is turned on, I can't establish a connection with the PC via bluetooth.
BUT!
If I use a different headset, a Logitech HS03, all is working fine. I can leave the headset on and the GPS is working. I can receive incoming calls with no problem (using the headset) while I'm driving without loosing GPS signal.
With ActiveSync is the same: I can connect my PC with the headset on.
I have no idea why there is this difference with these two headsets, but one is working and the other no. I don't know if the problem is the MS BT stack, but my test demonstrates that under some circumstances this stack could manage more than one connection at time.
bigmike said:
I don't know if the problem is the MS BT stack, but my test demonstrates that under some circumstances this stack could manage more than one connection at time.
Click to expand...
Click to collapse
Bigmike, my point exactly. As I wrote in my post I keep turning on and off until finally it works. So there are some circumstances under coexistence is possible.
It seems that devices try to use same port which means that first device does not reserve port for itself. I am not an expert but it seems if we could somehow force devices to use different ports problem would be gone.
bigmike said:
If I use a different headset, a Logitech HS03, all is working fine. I can leave the headset on and the GPS is working. I can receive incoming calls with no problem (using the headset) while I'm driving without loosing GPS signal.
Click to expand...
Click to collapse
If this works with one set and doesn't work with another, it might be connected to list of profiles supported by the headset:
1. Headset - HSP - more common, typical profile for use with cell phones (supports AT commands)
2. Handsfree - HFP - audio-centric, used mostly in cars, less common
http://en.wikipedia.org/wiki/Bluetooth_profile
My SonyEricsson HBH-600 has both profiles (checked with services list on SonyEricsson phone), but I don't know how to select which profile is used by headset.
Just a thought...
sassa said:
Bigmike, my point exactly. As I wrote in my post I keep turning on and off until finally it works. So there are some circumstances under coexistence is possible.
Click to expand...
Click to collapse
I hope you haven't misunderstand my previous post. I haven't in mind to minimize the value of your post (very useful is someone will try to investigate about this problem).
I was thinking that somebody, reading your contribute, could wrongly think: “you're are a lucky guy and turning on-off the headset repeatedly you crash some library and the two devices are working together”.
My intention was to remark the fact that under some circumstances the headset and the gps can connect together every time and always at first try: it's not lucky, crash or random events.
jakubd said:
If this works with one set and doesn't work with another, it might be connected to list of profiles supported by the headset
Click to expand...
Click to collapse
I have a similar thought.
It seems to me that some times ago I have read that it should be possible to change some profile's parameters “playing” with the registry.... but I could be wrong...
bigmike said:
I hope you haven't misunderstand my previous post. I haven't in mind to minimize the value of your post (very useful is someone will try to investigate about this problem).
Click to expand...
Click to collapse
No I have not, bigmike, just the opposite. I was delighted that somebody confirmed my point.
bigmike said:
My intention was to remark the fact that under some circumstances the headset and the gps can connect together every time and always at first try: it's not lucky, crash or random events.
Click to expand...
Click to collapse
Couldn't agree more. And I think it's worth trying to resolve it.
Multiple BT connections - solution?
I think I find a solution for this, or maybe we can call it workaround. At least it works for me.
As I wrote in my previous posts, I could make it work every time just didn't know how. Now I established repetable procedure which worked every time for reasonable number of experiments.
Secret was to turn on BT headset (in my case Plantronics) and BT GPS device (Haicom 406-BT) and GPS program (iGo) first, and then go to Comm Manager and turn bluetooth on.
So my procedure is:
1. make sure that BT is off in Comm Manager
2. turn on BT headset
3. turn on GPS device
4. open iGo program
5. minimize iGo
6. turn on BT in Comm manager
7. open iGo and make sure it's connected
8. go to phone and call myself just to make sure it works
9. back to iGO and make sure it works
If 8 or 9 fails for the first time, just turn BT off and on again in Comm manager and check it again. I never need to do this more than twice.
Try this, guys, and good luck.
P.S. I don't know if it matters, but make sure that in Settings/Connections/GPS "GPS program port" and "GPS hardware port" is set to (None) and "Manage GPS automatically" unticked.
Very good! Many thanks Sassa!
I have tried for two times your procedure and both tries worked very well (with TomTom6 and Nokia BH-300)
I use a slightly different procedure:
1. BT off in Comm Manager
2. turn on BT headset
3. turn on GPS device
4. turn on BT in Comm manager
5. open TomTom 6 (wait some seconds and make sure it's connected)
6. go to phone and call myself (on the first call the headset is disconnected)
7. back to TomTom and make sure it works
I have noticed a different behavior of the BT headset having the BT always on (in Comm Manager) and using this procedure... but I need to make some tests before writing more.

Can WMDC Bluetooth Sync happen automatically?

Hi, I'm pleased to say that setting up my TyTN II to sync via Bluetooth with my laptop running Vista's Windows Mobile Device Centre was a doddle. None of the nonsense I had before on WM5 and my Wizard.
However, it appears Bluetooth sync needs to be invoked manually each time from the TyTN. This makes this lovely feature next to useless.
With Nokia PC Sync for example, Bluetooth sync to a Nokia phone can happen whenever the phone comes back into range, or every 15 minutes if you so choose.
So, is there any way to specify this with Windows?
I don't think so at the moment. It's a problem within the Microsoft WM OS.
I too used to love my old Nokia 9100's capability to do this but with having so many connection variants on this unit (GPRS, WiFi and BT) Microsoft have probably opted for a safe solution.
At least with manual select, you wont have it running down your battery with lots of data traffic while its in your pocket/purse at home/work without you knowing!
Maybe we could pass this on to the Kaiser Tweak guys to see if it could be made selectable?
Worth a try!
Sure, can you do it?
Will have a go but my 'Street cred' is a little low here at the moment....
I hope one of the other patient dev guys may look at this and take it up???
your not alone
Check out these other threads. All describe different problems people are having (including mine - not being able to automatically re-pair with my car kit).
All seem to stem from the auto re-pair problem.
If a developer could help, that would be great.
http://forum.xda-developers.com/showthread.php?t=349841
http://forum.xda-developers.com/showthread.php?t=349050
http://forum.xda-developers.com/showthread.php?t=350046
http://forum.xda-developers.com/showthread.php?t=346970
http://forum.xda-developers.com/showthread.php?t=337575
No-one seems to have come to our aid with a new BT stack.
Reminds me very much of the early days of the hermes ... remember these days http://forum.xda-developers.com/showthread.php?t=285419
A
Many thanks.. I've looked at those and they are mostly concerned with BT connection to audio devices.. What we are looking for is an automatic polling of your device by Activesync over BT as PCsync used to do for the Nokia. The connection has to be initiated by the SW for it to work. Cheers anyway!
Sure, they are mainly about audio, however (at least in my case) the audio is perfect when its paired.
My main concern is exactly the auto polling. I can pair my device the first time to the car kit, but every time i get back into the car I have delete the pairing and pair it manually again. This is not how bluetooth should work.
I think this is very similar to the problem the author of this thread describes.
adamcullen said:
Sure, they are mainly about audio, however (at least in my case) the audio is perfect when its paired.
My main concern is exactly the auto polling. I can pair my device the first time to the car kit, but every time i get back into the car I have delete the pairing and pair it manually again. This is not how bluetooth should work.
I think this is very similar to the problem the author of this thread describes.
Click to expand...
Click to collapse
Yep, my BT audio is good and you never know, if we start looking at auto-polling of data/stereo devices we may cure a lot of problems on here..
Thing is we may have to go around the Activesync overide (which is the slowest block on this setup!) and use a priority connect to BT similar to WM5torage on usb!
What ya think XDA???
Yeah its one of the few things I miss about my Nokia 7710 was that i walked into my house and it would sync with my computer automatically. sigh
Its definately a WM/Activesync 'Non-feature' as when you first pair your device to an Activesync capable BT PC or laptop you get a pop-up message on the WM device reminding you to disconnect your BT Activesync link to avoid draining your battery!

Bluetooth and Wifi cannot co-exist ?

Hi,
i notice this problem. when i on my bluetooth and Wi-fi. the system thens to lag and i cant connect to my headset. even if it is connected. it will disconnect from time to time.
this problem does not happen when wi-fi is off.
can anyone help
thanks
I believe this is because bt and wifi operate on very close frequency. Having said that I stream MP3 from my tversity server to my kaiser whilst listening to it using my bluetooth headset. Sometimes there is the odd blip but mainly it works fine.
Maybe the ROM you are using isn't helping. I use Dutty's v4. You might also want to try schaps advanced config as there are some bluetooth setting tweaks you can apply with this.
I sync by bluetooth while I update my RSS reader by wifi without problems. Haven't tried a BT headset, though...
foobar1977 said:
I believe this is because bt and wifi operate on very close frequency. Having said that I stream MP3 from my tversity server to my kaiser whilst listening to it using my bluetooth headset. Sometimes there is the odd blip but mainly it works fine.
Maybe the ROM you are using isn't helping. I use Dutty's v4. You might also want to try schaps advanced config as there are some bluetooth setting tweaks you can apply with this.
Click to expand...
Click to collapse
Hi foobar1977,
yup both operate at 2.4G bandwidth. but they dont really cross each other path. i am using iclip headset and i am not sure i am using what rom.
sorry could u point me to schaps advanced config ????

What is Brcmbluetoothservices.apk?

Does anybody know so that this application is used?
In Froyo it was not and it is an application that is always opened and although this one opened closes it to the moment again.
I hope someone knows so that it is used and if it is possible to erase.
Thank you
Judging by the name it looks to me like a part of the Broadcom Bluetooth driver.
Bluetooth Services are the tasks you can do via Bluetooth, such as using a headset or transferring files.
When you connect two devices via Bluetooth, once of the things they do when they pair is inform the other device of what services they offer, for example, when you connect to a Bluetooth headset, it tells your phone it can act as a Headset Audio Gateway and an A2DP Receiver (for music).
The file Brcmbluetoothservices.apk is likely the app that keeps track of those services. Do you ever use Bluetooth? If it opens and closes, I imagine that is because Bluetooth is disabled or it doesn't find any bluetooth device to talk to.
If you want to test it, just try to use bluetooth. If Brcmbluetoothservices.apk is working incorrectly or is broken, odds are you won't be able to.

Categories

Resources