Jump to content

Next Category using Bluetooth controls


JasonI

Recommended Posts

I am using PA in a 2022 Acura TLX connecting over Bluetooth. The audio files are organized in folders. How do I navigate the folders? Double, triple, or long pressing the control on the steering wheel don't do it - I can only fast forward or change tracks...

Link to comment
Share on other sites

Double-tap might do it (try different gap timings) but it depends on how your headunit reacts to that. Unfortunately it's rarely an exact science. Also try using Android Auto if your headunit supports that (I would assume that audio equipment fitted to a 2022 car should do).

Check PA Settings=>Headset/Bluetooth=>Last Processed Commands to see what button events PA is being sent.

For what it's worth, my five year old Hyundai head-unit connects well using Android Auto, and single presses oh the steering wheel buttons change tracks, long-presses engage FFwd/Rewind, and double-press changes category (folder).  

Andre

Link to comment
Share on other sites

To give you an idea of what you are looking for, here is my log for various steering wheel button sequences in my Hyundai, which is connected to my Samsung Galaxy A70 via Android Auto.

The 'KEYCODE_MEDIA_xxxx' lines indicate when a button has been pressed (shown as ACTION_DOWN) and when it has been released (shown as ACTION_UP). The 'PlayerService' lines show how Poweramp has interpreted the button events that it received:

 

Press onscreen 'Play' button on headunit (also triggered when you select that source via the steering wheel's selector button):

==================
22:26:21.804 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PLAY ACTION_DOWN A2dpOn isAvrcp flags=0x4 playerState=2
==================
22:26:21.813 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PLAY ACTION_UP A2dpOn isAvrcp flags=0x4 playerState=2
==================
22:26:21.863 PlayerService RESUME
from PSMediaButtonReceiver resumePlaying

 

Single tap on steering wheel '+' button (Next Track):

==================
22:26:34.213 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_NEXT ACTION_DOWN A2dpOn isAvrcp flags=0x4 playerState=1
==================
22:26:34.219 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_NEXT ACTION_UP A2dpOn isAvrcp flags=0x4 playerState=1
==================
22:26:34.302 BTReceiver headset event
connection BT=true am mode=0 Hyundai i30 (Andre)
==================
22:26:34.926 PlayerService NEXT
from PSMediaButtonReceiver

 

Single tap on steering wheel '-' button (Previous Track):

==================
22:26:40.485 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PREVIOUS ACTION_DOWN A2dpOn isAvrcp flags=0x4 playerState=1
==================
22:26:40.493 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PREVIOUS ACTION_UP A2dpOn isAvrcp flags=0x4 playerState=1
==================
22:26:41.146 PlayerService PREVIOUS
from PSMediaButtonReceiver

 

Hold steering wheel '+' for approx. five seconds (period of Fast Forward):

==================
22:27:03.531 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_NEXT ACTION_DOWN A2dpOn isAvrcp flags=0x4 playerState=1
==================
22:27:04.020 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_NEXT ACTION_DOWN A2dpOn isAvrcp flags=0x84 playerState=1
==================
22:27:04.029 PlayerService BEGIN_FAST_FORWARD
from PSMediaButtonReceiver
==================
22:27:08.215 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_NEXT ACTION_UP A2dpOn isAvrcp flags=0x4 playerState=1
==================
22:27:08.220 PlayerService END_FAST_FORWARD
from PSMediaButtonReceiver

 

Hold steering wheel '-' for approx. five seconds (period of Rewind):

==================
22:27:12.452 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PREVIOUS ACTION_DOWN A2dpOn isAvrcp flags=0x4 playerState=1
==================
22:27:12.952 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PREVIOUS ACTION_DOWN A2dpOn isAvrcp flags=0x84 playerState=1
==================
22:27:12.956 PlayerService BEGIN_REWIND
from PSMediaButtonReceiver
==================
22:27:16.556 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PREVIOUS ACTION_UP A2dpOn isAvrcp flags=0x4 playerState=1
==================
22:27:16.568 PlayerService END_FAST_FORWARD
from PSMediaButtonReceiver

 

Double-click on steering wheel '+' button (Next Category, e.g. next folder):

==================
22:27:37.232 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_NEXT ACTION_DOWN A2dpOn isAvrcp flags=0x4 playerState=1
==================
22:27:37.243 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_NEXT ACTION_UP A2dpOn isAvrcp flags=0x4 playerState=1
==================
22:27:37.452 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_NEXT ACTION_DOWN A2dpOn isAvrcp flags=0x4 playerState=1
==================
22:27:37.455 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_NEXT ACTION_UP A2dpOn isAvrcp flags=0x4 playerState=1
==================
22:27:37.528 PlayerService NEXT_IN_CAT
from PSMediaButtonReceiver

 

Double-click on steering wheel '-' button (Previous Category, e.g. prev folder):

==================
22:27:45.138 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PREVIOUS ACTION_DOWN A2dpOn isAvrcp flags=0x4 playerState=1
==================
22:27:45.149 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PREVIOUS ACTION_UP A2dpOn isAvrcp flags=0x4 playerState=1
==================
22:27:45.348 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PREVIOUS ACTION_DOWN A2dpOn isAvrcp flags=0x4 playerState=1
==================
22:27:45.367 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PREVIOUS ACTION_UP A2dpOn isAvrcp flags=0x4 playerState=1
==================
22:27:45.500 PlayerService PREVIOUS_IN_CAT
from PSMediaButtonReceiver

 

Andre
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...