Bluetooth AVRC volume control

benjavita
Posts: 4
Joined: Sun Dec 08, 2019 10:08 am

Bluetooth AVRC volume control

Postby benjavita » Thu May 14, 2020 8:48 am

Hello,

Based on the A2DP_SINK example.

I'm having some issues with the esp_avrc_ct_send_passthrough_cmd to control the bluetooth device's sound volume.

It works with play/stop commands, e.g:

Code: Select all

esp_avrc_ct_send_passthrough_cmd(1, ESP_AVRC_PT_CMD_STOP, ESP_AVRC_PT_CMD_STATE_PRESSED);
but not for the volume:

Code: Select all

esp_avrc_ct_send_passthrough_cmd(1, ESP_AVRC_PT_CMD_VOL_UP, ESP_AVRC_PT_CMD_STATE_PRESSED);
I updated my project to IDF v4 (was on 3.3), but same result.

Also tried esp_avrc_ct_send_set_absolute_volume_cmd but it doesn't seem to work either....

Any ideas?

Thanks!

Who is online

Users browsing this forum: Majestic-12 [Bot] and 25 guests