Sunday, January 10, 2016
Bluetooth headset listening volume control key events
You can see from the system log, and adjust the volume change (Bluetooth headset) When listening to music, log does not show 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 change
D / Bluetooth HeadsetBase (1774): Processing AT + VGM = 09 took 0 ms
How to get from one activity to the content.
Reply:
100 did not say two people do help ah
Reply:
The landlord Hello I have come to ask for my program using a key event listener Intent.ACTION_MEDIA_BUTTON how Bluetooth headset does not find a lot of information exists where you did not solve this problem?
Reply:
Reply:
You use the terminal to see phone system log will find that when a Bluetooth headset volume control without any log and press down. You say that intent can monitor the wire.
Reply:
I also want to monitor volume adjustment button Bluetooth headset. Read some information and found that only Android phone will be monitoring button by at command and response. Others do not find.
Also, how to get all the messages sent via Bluetooth headset bluetoothserversocket and bluetoothsocket yet.
Reply:
Nobody answered it ~~~
Reply:
I do not know the landlord is received LOG above, and I tried not these LOG, help.
Reply:
If you want to get in ACTIVITY LOG class where there should be.
Reply:
Code access to these events, you can monitor LOG
Reply:
Hello landlord, I would like to ask, how did you get the AT command, seeking advice.
Reply:
you can see your Bluetooth headset by pressing the button in eclipse debug window, the printed Log grindstone
Reply:
The landlord now there are ways to get the right ACTIVITY AT instructions.
Reply:
Rfcomm establish connections, get input and output streams and Bluetooth, you can get Bluetooth at instruction, the distinction can monitor the Bluetooth. Long time not watching the posts.
Reply:
The landlord said good, but how to establish a Bluetooth headset connected to the phone rfcomm it? Now with the headset and handfree are already established within connected, it is not without its own separate deal with again?
Reply:
My hands a little Bluetooth information. http://www.360doc.com/content/11/0922/10/474846_150293802.shtml
Share a link, together with research
Reply:
The landlord, your phone is how and headphone resume RFCOMM connection, or how to print out those AT commands Log in, seeking advice ah, the landlord! ! ! !
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment