You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--
问题描述
1、苹果手机蓝牙连接开发板;
2、音量先调到最大。
3、使用开发板的Vol-
按键以降低音量,结果按两下之后,手机音量调节图标没有很线性的降低,而是大幅降到很低的位置,然后又显示到最大音量,实际听到的音量没感到太大变化。
4、查看log,发现vol-按两次后,出线了Volume is set by remote controller 113%,但我并没有操作手机。
load:0x40080404,len:3904
entry 0x40080640
I (31) boot: ESP-IDF v5.3.1 2nd stage bootloader
I (31) boot: compile time Dec 21 2024 14:59:57
I (31) boot: Multicore bootloader
I (36) boot: chip revision: v1.0
I (39) boot.esp32: SPI Speed : 40MHz
I (44) boot.esp32: SPI Mode : DIO
I (49) boot.esp32: SPI Flash Size : 4MB
I (53) boot: Enabling RNG early entropy source...
I (58) boot: Partition Table:
I (62) boot: ## Label Usage Type ST Offset Length
I (69) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (77) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (84) boot: 2 factory factory app 00 00 00010000 00300000
I (92) boot: End of partition table
I (96) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=32a54h (207444) map
I (176) esp_image: segment 1: paddr=00042a7c vaddr=3ffbdb60 size=04c78h ( 19576) load
I (183) esp_image: segment 2: paddr=000476fc vaddr=40080000 size=0891ch ( 35100) load
I (197) esp_image: segment 3: paddr=00050020 vaddr=400d0020 size=b6cd8h (748760) map
I (454) esp_image: segment 4: paddr=00106d00 vaddr=4008891c size=0f440h ( 62528) load
I (491) boot: Loaded app from partition at offset 0x10000
I (491) boot: Disabling RNG early entropy source...
I (503) cpu_start: Multicore app
I (511) cpu_start: Pro cpu start user code
I (511) cpu_start: cpu freq: 160000000 Hz
I (511) app_init: Application information:
I (514) app_init: Project name: bt_sink_demo
I (519) app_init: App version: 1
I (524) app_init: Compile time: Dec 21 2024 14:59:22
I (530) app_init: ELF file SHA256: e2024e075...
I (535) app_init: ESP-IDF: v5.3.1
I (540) efuse_init: Min chip rev: v0.0
I (545) efuse_init: Max chip rev: v3.99
I (550) efuse_init: Chip rev: v1.0
I (555) heap_init: Initializing. RAM available for dynamic allocation:
I (562) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (568) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (574) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (580) heap_init: At 3FFCC568 len 00013A98 (78 KiB): DRAM
I (586) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (592) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (599) heap_init: At 40097D5C len 000082A4 (32 KiB): IRAM
I (607) spi_flash: detected chip: gd
I (609) spi_flash: flash io: dio
W (613) spi_flash: Detected size(8192k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
W (626) ADC: legacy driver is deprecated, please migrate to esp_adc/adc_oneshot.h
I (635) coexist: coex firmware version: 4482466
I (641) main_task: Started on CPU0
I (651) main_task: Calling app_main()
I (661) BLUETOOTH_EXAMPLE: [ 1 ] Init Bluetooth
I (661) BTDM_INIT: BT controller compile version [b022216]
I (671) BTDM_INIT: Bluetooth MAC: ac:67:b2:cc:a3:fa
I (671) phy_init: phy_version 4830,54550f7,Jun 20 2024,14:22:08
I (1331) BLUETOOTH_EXAMPLE: [ 2 ] Start codec chip
W (1341) i2c_bus_v2: I2C master handle is NULL, will create new one
I (1341) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0
I (1351) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0
I (1361) DRV8311: ES8311 in Slave mode
I (1371) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1381) AUDIO_HAL: Codec mode is 2, Ctrl:1
I (1391) BLUETOOTH_EXAMPLE: [ 3 ] Create audio pipeline for playback
I (1391) BLUETOOTH_EXAMPLE: [4] Create i2s stream to write data to codec chip
I (1401) BLUETOOTH_EXAMPLE: [4.1] Get Bluetooth stream
W (1401) BT_BTC: A2DP Enable with AVRC
I (1421) A2DP_STREAM: Unhandled A2DP event: 4
W (1421) AUDIO_THREAD: Make sure selected the CONFIG_SPIRAM_BOOT_INIT and CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY by make menuconfig
I (1431) AUDIO_THREAD: The audio_a2dp_stream_thread task allocate stack on internal memory
I (1441) BLUETOOTH_EXAMPLE: [4.2] Register all elements to audio pipeline
I (1451) BLUETOOTH_EXAMPLE: [4.3] Link it together [Bluetooth]-->bt_stream_reader-->i2s_stream_writer-->[codec_chip]
I (1461) AUDIO_PIPELINE: link el->rb, el:0x3ffd6300, tag:bt, rb:0x3ffd681c
I (1461) BLUETOOTH_EXAMPLE: [ 5 ] Initialize peripherals
I (1471) AUDIO_THREAD: The button_task task allocate stack on internal memory
I (1481) AUDIO_THREAD: The esp_periph task allocate stack on internal memory
I (1491) BLUETOOTH_EXAMPLE: [ 5.1 ] Create and start input key service
I (1491) AUDIO_THREAD: The input_key_service task allocate stack on internal memory
I (1501) BLUETOOTH_EXAMPLE: [5.2] Create Bluetooth peripheral
I (1511) BLUETOOTH_EXAMPLE: [5.3] Start all peripherals
I (1511) BLUETOOTH_EXAMPLE: [ 6 ] Set up event listener
I (1521) BLUETOOTH_EXAMPLE: [6.1] Listening event from all elements of pipeline
I (1531) BLUETOOTH_EXAMPLE: [ 7 ] Start audio_pipeline
I (1531) AUDIO_ELEMENT: [bt-0x3ffd6300] Element task created
I (1541) AUDIO_THREAD: The i2s task allocate stack on internal memory
I (1551) AUDIO_ELEMENT: [i2s-0x3ffd3e08] Element task created
I (1551) AUDIO_PIPELINE: Func:audio_pipeline_run, Line:359, MEM Total:132652 Bytes
I (1561) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_RESUME,state:1
I (1571) AUDIO_PIPELINE: Pipeline started
I (1571) BLUETOOTH_EXAMPLE: [ 8 ] Listen for all pipeline events
W (87391) BT_HCI: hcif conn complete: hdl 0x80, st 0x0
W (87451) BT_HCI: hcif link supv_to changed: hdl 0x80, supv_to 8000
W (87681) BT_HCI: hcif link supv_to changed: hdl 0x80, supv_to 32000
W (87801) BT_HCI: hcif link supv_to changed: hdl 0x80, supv_to 8000
E (87821) BT_APPL: bta_av_rc_create ACP handle exist for shdl:0
I (87821) A2DP_STREAM: A2DP bd address:, [50:1f:c6:c9:cc:83]
I (87831) A2DP_STREAM: AVRC conn_state evt: state 1, [50:1f:c6:c9:cc:83]
I (87981) A2DP_STREAM: A2DP audio stream configuration, codec type 0
I (87981) A2DP_STREAM: Bluetooth configured, sample rate=44100
I (87981) A2DP_STREAM: Unhandled A2DP event: 5
I (87981) BLUETOOTH_EXAMPLE: [ * ] Receive music info from Bluetooth, sample_rates=44100, bits=16, ch=2
I (88011) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_PAUSE
I (88011) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_RESUME,state:4
I (88051) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (88051) A2DP_STREAM: rn_param.volume:63
W (88341) A2DP_STREAM: AVRC ct remote features 25b
W (88341) A2DP_STREAM: AVRC tg remote features 25b, CT features 2
W (88411) BT_APPL: new conn_srvc id:19, app_id:0
I (88421) A2DP_STREAM: A2DP bd address:, [50:1f:c6:c9:cc:83]
I (88421) A2DP_STREAM: A2DP connection state = CONNECTED
W (88781) A2DP_STREAM: AVRC ct remote features 25b
W (88781) A2DP_STREAM: AVRC tg remote features 25b, CT features 2
W (91621) BT_HCI: hci cmd send: sniff: hdl 0x80, intv(400 800)
W (91721) BT_HCI: hcif mode change: hdl 0x80, mode 2, intv 800, status 0x0
I (99491) BLUETOOTH_EXAMPLE: [ * ] input key id is 3
I (99491) BLUETOOTH_EXAMPLE: [ * ] [Play] play
W (100231) BT_HCI: hcif mode change: hdl 0x80, mode 0, intv 0, status 0x0
I (100241) A2DP_STREAM: AVRC set absolute volume: 8%
I (100241) A2DP_STREAM: Volume is set by remote controller 11%
I (100251) BT_LOG: bta_av_link_role_ok hndl:x41 role:1 conn_audio:x1 bits:1 features:x864b
W (100261) BT_APPL: new conn_srvc id:19, app_id:1
W (105521) ADC_BTN: Old ID:0, New ID:5, Cnt:10
I (105541) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (105541) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (105541) A2DP_STREAM: Volume is set locally to: 16%
I (105561) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (105561) A2DP_STREAM: rn_param.volume:20
W (106311) ADC_BTN: Old ID:5, New ID:0, Cnt:0
I (108411) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (108411) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (108411) A2DP_STREAM: Volume is set locally to: 21%
I (108441) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (108441) A2DP_STREAM: rn_param.volume:26
W (108791) ADC_BTN: Old ID:0, New ID:5, Cnt:9
I (108811) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (108811) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (108811) A2DP_STREAM: Volume is set locally to: 26%
I (108841) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (108841) A2DP_STREAM: rn_param.volume:33
W (108971) ADC_BTN: Old ID:5, New ID:0, Cnt:0
I (109131) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (109131) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (109131) A2DP_STREAM: Volume is set locally to: 31%
I (109161) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (109161) A2DP_STREAM: rn_param.volume:39
I (109591) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (109591) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (109591) A2DP_STREAM: Volume is set locally to: 36%
I (109631) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (109631) A2DP_STREAM: rn_param.volume:45
I (110511) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (110511) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (110511) A2DP_STREAM: Volume is set locally to: 41%
I (110531) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (110531) A2DP_STREAM: rn_param.volume:52
I (110841) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (110841) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (110841) A2DP_STREAM: Volume is set locally to: 46%
I (110881) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (110881) A2DP_STREAM: rn_param.volume:58
I (111461) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (111461) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (111461) A2DP_STREAM: Volume is set locally to: 51%
I (111501) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (111501) A2DP_STREAM: rn_param.volume:64
I (111771) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (111771) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (111771) A2DP_STREAM: Volume is set locally to: 56%
I (111811) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (111811) A2DP_STREAM: rn_param.volume:71
I (112111) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (112111) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (112111) A2DP_STREAM: Volume is set locally to: 61%
I (112131) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (112131) A2DP_STREAM: rn_param.volume:77
I (112441) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (112441) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (112441) A2DP_STREAM: Volume is set locally to: 66%
I (112461) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (112461) A2DP_STREAM: rn_param.volume:83
I (112841) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (112841) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (112841) A2DP_STREAM: Volume is set locally to: 71%
I (112871) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (112881) A2DP_STREAM: rn_param.volume:90
W (113121) ADC_BTN: Old ID:0, New ID:5, Cnt:4
I (113141) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (113141) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (113141) A2DP_STREAM: Volume is set locally to: 76%
I (113181) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (113181) A2DP_STREAM: rn_param.volume:96
W (113841) ADC_BTN: Old ID:5, New ID:0, Cnt:0
I (114061) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (114061) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (114061) A2DP_STREAM: Volume is set locally to: 81%
I (114091) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (114091) A2DP_STREAM: rn_param.volume:102
I (114941) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (114941) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (114941) A2DP_STREAM: Volume is set locally to: 86%
I (114971) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (114971) A2DP_STREAM: rn_param.volume:109
W (115321) ADC_BTN: Old ID:0, New ID:1, Cnt:9
I (115341) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (115341) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (115341) A2DP_STREAM: Volume is set locally to: 91%
I (115371) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (115381) A2DP_STREAM: rn_param.volume:115
I (115501) A2DP_STREAM: AVRC set absolute volume: 89%
I (115501) A2DP_STREAM: Volume is set by remote controller 114%
W (115511) ADC_BTN: Old ID:1, New ID:0, Cnt:0
I (115911) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (115911) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (115911) A2DP_STREAM: Volume is set locally to: 100%
I (115941) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (115941) A2DP_STREAM: rn_param.volume:127
I (117011) BLUETOOTH_EXAMPLE: [ * ] input key id is 5
I (117011) BLUETOOTH_EXAMPLE: [ * ] [long Vol-] Vol-
I (117011) A2DP_STREAM: Volume is set locally to: 95%
I (117031) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (117031) A2DP_STREAM: rn_param.volume:120
I (117891) BLUETOOTH_EXAMPLE: [ * ] input key id is 5
I (117891) BLUETOOTH_EXAMPLE: [ * ] [long Vol-] Vol-
I (117891) A2DP_STREAM: Volume is set locally to: 90%
I (117911) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (117921) A2DP_STREAM: rn_param.volume:114
I (118511) A2DP_STREAM: AVRC set absolute volume: 88%
I (118511) A2DP_STREAM: Volume is set by remote controller 113%
I (118841) BLUETOOTH_EXAMPLE: [ * ] input key id is 5
I (118841) BLUETOOTH_EXAMPLE: [ * ] [long Vol-] Vol-
I (118841) A2DP_STREAM: Volume is set locally to: 108%
I (118871) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (118871) A2DP_STREAM: rn_param.volume:137
W (119441) ADC_BTN: Old ID:1, New ID:3, Cnt:10
I (119461) BLUETOOTH_EXAMPLE: [ * ] input key id is 5
I (119461) BLUETOOTH_EXAMPLE: [ * ] [long Vol-] Vol-
I (119461) A2DP_STREAM: Volume is set locally to: 103%
I (119501) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (119501) A2DP_STREAM: rn_param.volume:130
W (120541) ADC_BTN: Old ID:3, New ID:1, Cnt:0
I (120801) BLUETOOTH_EXAMPLE: [ * ] input key id is 5
I (120801) BLUETOOTH_EXAMPLE: [ * ] [long Vol-] Vol-
I (120801) A2DP_STREAM: Volume is set locally to: 98%
I (120831) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (120831) A2DP_STREAM: rn_param.volume:124
I (121361) BLUETOOTH_EXAMPLE: [ * ] input key id is 5
I (121361) BLUETOOTH_EXAMPLE: [ * ] [long Vol-] Vol-
I (121361) A2DP_STREAM: Volume is set locally to: 93%
I (121401) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (121401) A2DP_STREAM: rn_param.volume:118
I (121531) A2DP_STREAM: AVRC set absolute volume: 92%
I (121531) A2DP_STREAM: Volume is set by remote controller 117%
I (121881) BLUETOOTH_EXAMPLE: [ * ] input key id is 5
I (121881) BLUETOOTH_EXAMPLE: [ * ] [long Vol-] Vol-
I (121881) A2DP_STREAM: Volume is set locally to: 112%
I (121921) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (121921) A2DP_STREAM: rn_param.volume:142
I (124531) A2DP_STREAM: AVRC set absolute volume: 18%
I (124531) A2DP_STREAM: Volume is set by remote controller 24%
`
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
例程esp-adf\examples\player\pipeline_a2dp_sink_stream,APPLE苹果手机音量调节问题
例程esp-adf\examples\player\pipeline_a2dp_sink_stream,APPLE苹果手机音量调节问题 (AUD-5933)
Dec 21, 2024
ShaoMingya
changed the title
例程esp-adf\examples\player\pipeline_a2dp_sink_stream,APPLE苹果手机音量调节问题 (AUD-5933)
例程esp-adf\examples\player\pipeline_a2dp_sink_stream,苹果iPhone手机音量调节问题 (AUD-5933)
Dec 21, 2024
ShaoMingya
changed the title
例程esp-adf\examples\player\pipeline_a2dp_sink_stream,苹果iPhone手机音量调节问题 (AUD-5933)
例程esp-adf\examples\player\pipeline_a2dp_sink_stream,iPhone手机(iOS),a2dp降低音量异常 (AUD-5933)
Dec 21, 2024
环境
音频开发套件:ESP32-LyraT-Mini V1.2
音频套件版本 V1.2
[必填]使用的模块或芯片:ESP32-WROOM-B
[必填]IDF 版本 master下的idf(esp-idf @ c8fc5f6)
[必填]ADF 版本 master(8a3b56a)
构建系统:[vscode]
编译器版本(在项目文件夹中运行以查找它):GNU 13.2.0
操作系统:Linux(WSL)
使用 IDE?: vscode+esp扩展
电源:【USB]
--
问题描述
1、苹果手机蓝牙连接开发板;
2、音量先调到最大。
3、使用开发板的Vol-
按键以降低音量,结果按两下之后,手机音量调节图标没有很线性的降低,而是大幅降到很低的位置,然后又显示到最大音量,实际听到的音量没感到太大变化。
4、查看log,发现vol-按两次后,出线了Volume is set by remote controller 113%,但我并没有操作手机。
其他一些测试情况:
vol+等其他按键功能都正常;
使用了2个不同的苹果手机(iPhone11 ios17.7, iPhone Xs Max ios16.6.1)测试,都是一样的现象;
使用24年8月的的adf,也会出现这个现象;
使用了其他蓝牙耳机测试,苹果手机没有出现这个现象;
自己的设计的PCB板使用的a2dp也有这个现象(实际自己的板子出现问题后,才想到用官方开发板和官方例程验证);
安卓手机(只测试了自己的一个)没有出现这个现象。
`ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7176
load:0x40078000,len:15564
ho 0 tail 12 room 4
load:0x40080400,len:4
0x40080400: _init at ??:?
load:0x40080404,len:3904
entry 0x40080640
I (31) boot: ESP-IDF v5.3.1 2nd stage bootloader
I (31) boot: compile time Dec 21 2024 14:59:57
I (31) boot: Multicore bootloader
I (36) boot: chip revision: v1.0
I (39) boot.esp32: SPI Speed : 40MHz
I (44) boot.esp32: SPI Mode : DIO
I (49) boot.esp32: SPI Flash Size : 4MB
I (53) boot: Enabling RNG early entropy source...
I (58) boot: Partition Table:
I (62) boot: ## Label Usage Type ST Offset Length
I (69) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (77) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (84) boot: 2 factory factory app 00 00 00010000 00300000
I (92) boot: End of partition table
I (96) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=32a54h (207444) map
I (176) esp_image: segment 1: paddr=00042a7c vaddr=3ffbdb60 size=04c78h ( 19576) load
I (183) esp_image: segment 2: paddr=000476fc vaddr=40080000 size=0891ch ( 35100) load
I (197) esp_image: segment 3: paddr=00050020 vaddr=400d0020 size=b6cd8h (748760) map
I (454) esp_image: segment 4: paddr=00106d00 vaddr=4008891c size=0f440h ( 62528) load
I (491) boot: Loaded app from partition at offset 0x10000
I (491) boot: Disabling RNG early entropy source...
I (503) cpu_start: Multicore app
I (511) cpu_start: Pro cpu start user code
I (511) cpu_start: cpu freq: 160000000 Hz
I (511) app_init: Application information:
I (514) app_init: Project name: bt_sink_demo
I (519) app_init: App version: 1
I (524) app_init: Compile time: Dec 21 2024 14:59:22
I (530) app_init: ELF file SHA256: e2024e075...
I (535) app_init: ESP-IDF: v5.3.1
I (540) efuse_init: Min chip rev: v0.0
I (545) efuse_init: Max chip rev: v3.99
I (550) efuse_init: Chip rev: v1.0
I (555) heap_init: Initializing. RAM available for dynamic allocation:
I (562) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (568) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (574) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (580) heap_init: At 3FFCC568 len 00013A98 (78 KiB): DRAM
I (586) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (592) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (599) heap_init: At 40097D5C len 000082A4 (32 KiB): IRAM
I (607) spi_flash: detected chip: gd
I (609) spi_flash: flash io: dio
W (613) spi_flash: Detected size(8192k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
W (626) ADC: legacy driver is deprecated, please migrate to
esp_adc/adc_oneshot.h
I (635) coexist: coex firmware version: 4482466
I (641) main_task: Started on CPU0
I (651) main_task: Calling app_main()
I (661) BLUETOOTH_EXAMPLE: [ 1 ] Init Bluetooth
I (661) BTDM_INIT: BT controller compile version [b022216]
I (671) BTDM_INIT: Bluetooth MAC: ac:67:b2:cc:a3:fa
I (671) phy_init: phy_version 4830,54550f7,Jun 20 2024,14:22:08
I (1331) BLUETOOTH_EXAMPLE: [ 2 ] Start codec chip
W (1341) i2c_bus_v2: I2C master handle is NULL, will create new one
I (1341) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0
I (1351) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0
I (1361) DRV8311: ES8311 in Slave mode
I (1371) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1381) AUDIO_HAL: Codec mode is 2, Ctrl:1
I (1391) BLUETOOTH_EXAMPLE: [ 3 ] Create audio pipeline for playback
I (1391) BLUETOOTH_EXAMPLE: [4] Create i2s stream to write data to codec chip
I (1401) BLUETOOTH_EXAMPLE: [4.1] Get Bluetooth stream
W (1401) BT_BTC: A2DP Enable with AVRC
I (1421) A2DP_STREAM: Unhandled A2DP event: 4
W (1421) AUDIO_THREAD: Make sure selected the
CONFIG_SPIRAM_BOOT_INIT
andCONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY
bymake menuconfig
I (1431) AUDIO_THREAD: The audio_a2dp_stream_thread task allocate stack on internal memory
I (1441) BLUETOOTH_EXAMPLE: [4.2] Register all elements to audio pipeline
I (1451) BLUETOOTH_EXAMPLE: [4.3] Link it together [Bluetooth]-->bt_stream_reader-->i2s_stream_writer-->[codec_chip]
I (1461) AUDIO_PIPELINE: link el->rb, el:0x3ffd6300, tag:bt, rb:0x3ffd681c
I (1461) BLUETOOTH_EXAMPLE: [ 5 ] Initialize peripherals
I (1471) AUDIO_THREAD: The button_task task allocate stack on internal memory
I (1481) AUDIO_THREAD: The esp_periph task allocate stack on internal memory
I (1491) BLUETOOTH_EXAMPLE: [ 5.1 ] Create and start input key service
I (1491) AUDIO_THREAD: The input_key_service task allocate stack on internal memory
I (1501) BLUETOOTH_EXAMPLE: [5.2] Create Bluetooth peripheral
I (1511) BLUETOOTH_EXAMPLE: [5.3] Start all peripherals
I (1511) BLUETOOTH_EXAMPLE: [ 6 ] Set up event listener
I (1521) BLUETOOTH_EXAMPLE: [6.1] Listening event from all elements of pipeline
I (1531) BLUETOOTH_EXAMPLE: [ 7 ] Start audio_pipeline
I (1531) AUDIO_ELEMENT: [bt-0x3ffd6300] Element task created
I (1541) AUDIO_THREAD: The i2s task allocate stack on internal memory
I (1551) AUDIO_ELEMENT: [i2s-0x3ffd3e08] Element task created
I (1551) AUDIO_PIPELINE: Func:audio_pipeline_run, Line:359, MEM Total:132652 Bytes
I (1561) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_RESUME,state:1
I (1571) AUDIO_PIPELINE: Pipeline started
I (1571) BLUETOOTH_EXAMPLE: [ 8 ] Listen for all pipeline events
W (87391) BT_HCI: hcif conn complete: hdl 0x80, st 0x0
W (87451) BT_HCI: hcif link supv_to changed: hdl 0x80, supv_to 8000
W (87681) BT_HCI: hcif link supv_to changed: hdl 0x80, supv_to 32000
W (87801) BT_HCI: hcif link supv_to changed: hdl 0x80, supv_to 8000
E (87821) BT_APPL: bta_av_rc_create ACP handle exist for shdl:0
I (87821) A2DP_STREAM: A2DP bd address:, [50:1f:c6:c9:cc:83]
I (87831) A2DP_STREAM: AVRC conn_state evt: state 1, [50:1f:c6:c9:cc:83]
I (87981) A2DP_STREAM: A2DP audio stream configuration, codec type 0
I (87981) A2DP_STREAM: Bluetooth configured, sample rate=44100
I (87981) A2DP_STREAM: Unhandled A2DP event: 5
I (87981) BLUETOOTH_EXAMPLE: [ * ] Receive music info from Bluetooth, sample_rates=44100, bits=16, ch=2
I (88011) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_PAUSE
I (88011) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_RESUME,state:4
I (88051) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (88051) A2DP_STREAM: rn_param.volume:63
W (88341) A2DP_STREAM: AVRC ct remote features 25b
W (88341) A2DP_STREAM: AVRC tg remote features 25b, CT features 2
W (88411) BT_APPL: new conn_srvc id:19, app_id:0
I (88421) A2DP_STREAM: A2DP bd address:, [50:1f:c6:c9:cc:83]
I (88421) A2DP_STREAM: A2DP connection state = CONNECTED
W (88781) A2DP_STREAM: AVRC ct remote features 25b
W (88781) A2DP_STREAM: AVRC tg remote features 25b, CT features 2
W (91621) BT_HCI: hci cmd send: sniff: hdl 0x80, intv(400 800)
W (91721) BT_HCI: hcif mode change: hdl 0x80, mode 2, intv 800, status 0x0
I (99491) BLUETOOTH_EXAMPLE: [ * ] input key id is 3
I (99491) BLUETOOTH_EXAMPLE: [ * ] [Play] play
W (100231) BT_HCI: hcif mode change: hdl 0x80, mode 0, intv 0, status 0x0
I (100241) A2DP_STREAM: AVRC set absolute volume: 8%
I (100241) A2DP_STREAM: Volume is set by remote controller 11%
I (100251) BT_LOG: bta_av_link_role_ok hndl:x41 role:1 conn_audio:x1 bits:1 features:x864b
W (100261) BT_APPL: new conn_srvc id:19, app_id:1
W (105521) ADC_BTN: Old ID:0, New ID:5, Cnt:10
I (105541) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (105541) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (105541) A2DP_STREAM: Volume is set locally to: 16%
I (105561) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (105561) A2DP_STREAM: rn_param.volume:20
W (106311) ADC_BTN: Old ID:5, New ID:0, Cnt:0
I (108411) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (108411) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (108411) A2DP_STREAM: Volume is set locally to: 21%
I (108441) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (108441) A2DP_STREAM: rn_param.volume:26
W (108791) ADC_BTN: Old ID:0, New ID:5, Cnt:9
I (108811) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (108811) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (108811) A2DP_STREAM: Volume is set locally to: 26%
I (108841) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (108841) A2DP_STREAM: rn_param.volume:33
W (108971) ADC_BTN: Old ID:5, New ID:0, Cnt:0
I (109131) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (109131) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (109131) A2DP_STREAM: Volume is set locally to: 31%
I (109161) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (109161) A2DP_STREAM: rn_param.volume:39
I (109591) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (109591) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (109591) A2DP_STREAM: Volume is set locally to: 36%
I (109631) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (109631) A2DP_STREAM: rn_param.volume:45
I (110511) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (110511) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (110511) A2DP_STREAM: Volume is set locally to: 41%
I (110531) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (110531) A2DP_STREAM: rn_param.volume:52
I (110841) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (110841) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (110841) A2DP_STREAM: Volume is set locally to: 46%
I (110881) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (110881) A2DP_STREAM: rn_param.volume:58
I (111461) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (111461) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (111461) A2DP_STREAM: Volume is set locally to: 51%
I (111501) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (111501) A2DP_STREAM: rn_param.volume:64
I (111771) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (111771) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (111771) A2DP_STREAM: Volume is set locally to: 56%
I (111811) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (111811) A2DP_STREAM: rn_param.volume:71
I (112111) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (112111) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (112111) A2DP_STREAM: Volume is set locally to: 61%
I (112131) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (112131) A2DP_STREAM: rn_param.volume:77
I (112441) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (112441) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (112441) A2DP_STREAM: Volume is set locally to: 66%
I (112461) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (112461) A2DP_STREAM: rn_param.volume:83
I (112841) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (112841) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (112841) A2DP_STREAM: Volume is set locally to: 71%
I (112871) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (112881) A2DP_STREAM: rn_param.volume:90
W (113121) ADC_BTN: Old ID:0, New ID:5, Cnt:4
I (113141) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (113141) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (113141) A2DP_STREAM: Volume is set locally to: 76%
I (113181) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (113181) A2DP_STREAM: rn_param.volume:96
W (113841) ADC_BTN: Old ID:5, New ID:0, Cnt:0
I (114061) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (114061) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (114061) A2DP_STREAM: Volume is set locally to: 81%
I (114091) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (114091) A2DP_STREAM: rn_param.volume:102
I (114941) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (114941) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (114941) A2DP_STREAM: Volume is set locally to: 86%
I (114971) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (114971) A2DP_STREAM: rn_param.volume:109
W (115321) ADC_BTN: Old ID:0, New ID:1, Cnt:9
I (115341) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (115341) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (115341) A2DP_STREAM: Volume is set locally to: 91%
I (115371) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (115381) A2DP_STREAM: rn_param.volume:115
I (115501) A2DP_STREAM: AVRC set absolute volume: 89%
I (115501) A2DP_STREAM: Volume is set by remote controller 114%
W (115511) ADC_BTN: Old ID:1, New ID:0, Cnt:0
I (115911) BLUETOOTH_EXAMPLE: [ * ] input key id is 6
I (115911) BLUETOOTH_EXAMPLE: [ * ] [long Vol+] Vol+
I (115911) A2DP_STREAM: Volume is set locally to: 100%
I (115941) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (115941) A2DP_STREAM: rn_param.volume:127
I (117011) BLUETOOTH_EXAMPLE: [ * ] input key id is 5
I (117011) BLUETOOTH_EXAMPLE: [ * ] [long Vol-] Vol-
I (117011) A2DP_STREAM: Volume is set locally to: 95%
I (117031) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (117031) A2DP_STREAM: rn_param.volume:120
I (117891) BLUETOOTH_EXAMPLE: [ * ] input key id is 5
I (117891) BLUETOOTH_EXAMPLE: [ * ] [long Vol-] Vol-
I (117891) A2DP_STREAM: Volume is set locally to: 90%
I (117911) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (117921) A2DP_STREAM: rn_param.volume:114
I (118511) A2DP_STREAM: AVRC set absolute volume: 88%
I (118511) A2DP_STREAM: Volume is set by remote controller 113%
I (118841) BLUETOOTH_EXAMPLE: [ * ] input key id is 5
I (118841) BLUETOOTH_EXAMPLE: [ * ] [long Vol-] Vol-
I (118841) A2DP_STREAM: Volume is set locally to: 108%
I (118871) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (118871) A2DP_STREAM: rn_param.volume:137
W (119441) ADC_BTN: Old ID:1, New ID:3, Cnt:10
I (119461) BLUETOOTH_EXAMPLE: [ * ] input key id is 5
I (119461) BLUETOOTH_EXAMPLE: [ * ] [long Vol-] Vol-
I (119461) A2DP_STREAM: Volume is set locally to: 103%
I (119501) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (119501) A2DP_STREAM: rn_param.volume:130
W (120541) ADC_BTN: Old ID:3, New ID:1, Cnt:0
I (120801) BLUETOOTH_EXAMPLE: [ * ] input key id is 5
I (120801) BLUETOOTH_EXAMPLE: [ * ] [long Vol-] Vol-
I (120801) A2DP_STREAM: Volume is set locally to: 98%
I (120831) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (120831) A2DP_STREAM: rn_param.volume:124
I (121361) BLUETOOTH_EXAMPLE: [ * ] input key id is 5
I (121361) BLUETOOTH_EXAMPLE: [ * ] [long Vol-] Vol-
I (121361) A2DP_STREAM: Volume is set locally to: 93%
I (121401) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (121401) A2DP_STREAM: rn_param.volume:118
I (121531) A2DP_STREAM: AVRC set absolute volume: 92%
I (121531) A2DP_STREAM: Volume is set by remote controller 117%
I (121881) BLUETOOTH_EXAMPLE: [ * ] input key id is 5
I (121881) BLUETOOTH_EXAMPLE: [ * ] [long Vol-] Vol-
I (121881) A2DP_STREAM: Volume is set locally to: 112%
I (121921) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (121921) A2DP_STREAM: rn_param.volume:142
I (124531) A2DP_STREAM: AVRC set absolute volume: 18%
I (124531) A2DP_STREAM: Volume is set by remote controller 24%
`
The text was updated successfully, but these errors were encountered: