Diconnecting or disabling Bluetooth through shell? - MTCD Android Head Units Q&A

Hi all,
I have a question:
Is there a way on MTCD devices to disable Bluetooth or disconnect a specific device through a shell command (or automate it in android somehow)
I can’t seem to get Tasker to disable Bluetooth or disconnect any devices through the secure settings plugin.
I’m guessing it’s because Bluetooth is taken care of by the MCU.
Are there any MCU specific shell commands for Bluetooth?

Related

Control WM5 Device with an IR Remote

I've searched and searched but haven't managed to turn up a program that allows my Prophet to receive Infra-Red and perform actions.
I mainly want to use it while my Prophet is mounted in my car. I have a small infra-red remote that i would like to use to select tracks and start apps etc - possibly even answer calls etc.
All I can find is apps to turn a WM5 device *into* a remote. I just want it to be a receiver.
Anyone know of such an app - surely one exists.
Dear Skyntara,
I use a bluetooth keyboard for the functions you mention whilst driving. There are various kinds and types but one can be programmed for different functions according to the required applications. The advantage of bluetooth is that the IR port doesn't need to be pointed towards the remote control.. I do not know of any applications that execute functions depending on the buttons pressed.
do you use any software in particular for macros or executing commands?

Automating bluetooth

Is there any way to automate the steps to go into the Bluetooth control panel and activating one of my Bluetooth devices to use for wireless stereo?
I have a Scosche BT box in my car so I can play audio through the car stereo. But every time I want to use it I have to switch to the BT panel, use the stylus to press and hold on the Scosche BT icon until the menu pops up then select Set as wireless stereo.
I believe the reason this does not work automatically is that I have multiple BT devices and only one of them will ever work automatically otherwise all your devices would be trying to get hold of the phones output.
Anyone have ideas on how to make this an easier process? Preferably one that would allow me to use Voice Command to activate it? An app specifically for this purpose or perhaps a macro recording app that hopefully would allow an icon for a specific set of commands to run rather than having to open the app then execute the macro?
TIA.
You can start with AutoA2DP, A2DP Toggle, several custom scripts on the MortScripts thread, but Auto ActiveSync will do this as well...
Friendly reminder... please use the Q&A forum for questions.

Bluetooth management

I never really bothered to thing about this until recently, but I personally have three ways I use bluetooth.
1) My car, when I get in my car I want my phone to connect to bluetooth
2) My headphones, when I turn on my headphones I want my phone to connect to bluetooth
3) My home stereo, I only want this connection to happen when I initiate it
Is there anyway to manage bluetooth connections per device like this in Android? As it stands my only thought is to have my home Tasker profile disable bluetooth, but that's a hacky workaround and I'm hoping something better exists (also something that doesn't require tasker so I can make it work on my wife's phone too).
Trigger app should do the trick. You can create profiles for each BT connection.

Listen to System Bluetooth Socket

Hi,
I want to use Wii Blaance Board with my Android Device. I already paired it, but i can not find a mehtod to listen to the system Bluetooth Socket
to receive the incoming Bluetooth Packages. Is there any way to sniff it?
The Device is registred as an Input Device, but also the MotionEvent is useless for me, because there is no Object Containing the Raw Data.
Any Help?
Best Regards,
Dirk
I'm not sure I understand the problem. If you need to listen an incoming bluetooth connection, you can use:
listenUsingInsecureRfcommWithServiceRecord(name, uuid), or listenUsingRfcommWithServiceRecord(name,uuid)
eg.
Code:
BluetoothAdapter mBtAdapter = BluetoothAdapter.getDefaultAdapter();
btsSocket = mBtAdapter.listenUsingRfcommWithServiceRecord("Name", MY_UUID);
Mh , i don't know if it works, my problem:
I have the wii balance board, it connects to the system automatically as a bluetooth input device. After it's connected i want to capture the bluetooth packages it sends.

Question Bluetooth

Hi, just switched from Android to IPhone and I am having problems with connecting by Bluetooth to the head unit. Has anyone found a solution for forcing the headunit to attempt a connection? I can manually connect from phone without issues or through the headunit Bluetooth interface.
Thanks in advance.
Found a solution by using tasker auto input plugin. Tasker at boot up first opens Bluetooth settings shortcut (not the Bluetooth app) and clicks on the iPhone for connection. Not the most elegant solution but at least it works.

Categories

Resources