|
||||
Reading the Bluetooth status VIA Registy, BTcomstatus,
Up till the Rom upgrade to 2.16 I have been using the registry key HKLM\Software\oem\bluetooth\BTcomstatus (0=off, 1=on) to Monitor the bluetooth status, so I could have a script that turned it on if off and off if on to use in a Mortscript file. When I upgraded to the 2.16 ROM I noticed that my scripts were not working right. So today I tried to figure out why, I found that this key no longer exists, and that creating It did me no good because the key did not update with the bluetooth status.
With the 2.16 ROM the registry key that I found that was HKLM\System\State\Hardware\Bluetooth with the states of 8=off, 9=on and not connected to a device, 25=on and connected to a device (headset, gps, etc.) Just thought I would share that for anyone using Mortscript. And does anybody else know of another key for the bluetooth status?
__________________
Good things don't end in 'eum,' they end in 'mania'...or 'teria' Easily switch between TouchFlo and Mobile Shell If you like my work feel free to |
|
|
|