-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending AVRCP commands #7
Comments
Great Idea to get these commands built-in. I've been snowed under by work recently But I can see the light again and will add this to the to-do list. |
I tested but only "play","stop" and "pause" functions worked. |
@biglee991228 fast forward and rewind didn't work for me either but everything else does. Have you tried using a different app and/or device? |
@lmore377 |
My device doesn't seem to need/respond to the released commands but I'll keep that in mind if something pops up |
my phone can be controlled by my chevey car (linux OS),so it must can be controlled by the passthrough command from ESP32. |
Great idea. |
Is it somehow possible to detect, if the device is connected? |
for checking connection events see here . I could add a variable to the class that monitors this connection. |
That would be pretty cool, |
What about "receiving" volume control commands? Is that possible (assuming my streaming device sends them)? |
I figured out how to send some AVRCP commands. Basically you just run this, replacing
<command>
with one of the commands below.esp_avrc_ct_send_passthrough_cmd(0, <command>, ESP_AVRC_PT_CMD_STATE_PRESSED);
You can see all the commands here but it seems like only the ones below work (I tried just the hex codes for other commands but my phone didn't respond to any except these. I don't know if they're not supported by the avrc library or my phone).
You can see more info about that specific method here.
The text was updated successfully, but these errors were encountered: