Friday, March 7, 2014

Bluetooth headset listening volume control key events


You can see from the system log, and adjust the volume change (Bluetooth headset) while listening to music, log does not display anything, and no radio. During a call, adjust the volume of the Bluetooth can get some content, such as AT:
D / Bluetooth HeadsetBase (1774): Processing AT + BRSF = 59 took 3 ms
D / Bluetooth HeadsetBase (1774): Processing AT + CIND = took 1 ms
?D / Bluetooth HeadsetBase (1774):? Processing AT + CIND took 0 ms
D / Bluetooth HeadsetBase (1774): Processing AT + CMER = 3, 0, 0, 1 took 1 ms
D / Bluetooth HeadsetBase (1774): Processing AT + CHLD = took 1 ms
?D / Bluetooth HeadsetBase (1774): Processing AT + CCWA = 1 took 1 ms
D / Bluetooth HeadsetBase (1774): Processing AT + VGS = 12 took 11 ms / / get the sound changes
D / Bluetooth HeadsetBase (1774): Processing AT + VGM = 09 took 0 ms


How to get by an activity such content.<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
100 did not say two do help ah
Reply:
Hello I have come to ask the landlord of my program with Intent.ACTION_MEDIA_BUTTON how key events within the Bluetooth headset to listen it did not find a lot of information where you exist to solve this problem?
Reply:
The reply was deleted administrator at 2013-03-10 21:14:19

Reply:
You look at the phone terminal system log will find when the Bluetooth headset volume control without any log and press down. You say that intent can monitor the wire.
Reply:
I also want to monitor the Bluetooth headset volume adjustment button. Read some information and found that only Android phone will come through at the command button to listen and respond. Others do not find.
Also, how to get all the messages sent via Bluetooth headset bluetoothserversocket and bluetoothsocket it.
Reply:
Nobody answered you ~ ~ ~
Reply:
I do not know the landlord is received at the LOG, and I tried not out of the LOG, for help.
Reply:
If you want to get in ACTIVITY LOG class where there should be.
Reply:
Code access to these events, you can listen LOG
Reply:
Hello landlord, I would like to ask, how did you get the AT commands, seeking advice.
Reply:
reference to the 10th floor QQ19880706 reply:
Hello landlord, I would like to ask, how did you get the AT commands, seeking advice.
you can see your Bluetooth headset by pressing the button in eclipse debug window, which it wants to print out Log
Reply:
The landlord now there is a way to get the right ACTIVITY AT commands.
Reply:
Establish rfcomm connection, access to input and output streams with Bluetooth, you can get Bluetooth at the command, and you can listen to distinguish between a Bluetooth. Had not looked at the message.

No comments:

Post a Comment