espressif / esp-adf

Espressif Audio Development Framework
Other
1.53k stars 672 forks source link

In pipeline_bt_sink example touch button commands stops working after sometime #72

Closed JB041 closed 5 years ago

JB041 commented 5 years ago

So I've been working on ESP32 LyraT board for a couple of days now. I was checking the AVRCP commands with the onboard touch buttons on LyraT. And I don't know if its only me or someone else also this issue but the buttons only work for 5 or 6 commands and then it just doesn't work. Here is the log form my test.

I (706) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_RESUME,state:1 I (716) I2S_STREAM: AUDIO_STREAM_WRITER I (716) AUDIO_PIPELINE: Pipeline started I (726) BLUETOOTH_EXAMPLE: [ 7 ] Listen for all pipeline events E (18706) BT: btm_sec_conn_req

E (18726) BT: btm_sec_connected

E (19466) BT: bta_av_rc_create ACP handle exist for shdl:0 I (19476) BLUETOOTH_EXAMPLE: [ * ] Receive music info from Bluetooth, sample_rates=44100, bits=16, E (19496) BT: bta_dm_rm_cback:0, status:0 E (19516) BT: process_service_search_attr_rsp

I (19526) I2S: APLL: Req RATE: 44100, real rate: 43945.016, BITS: 16, CLKM: 1, BCK: 8, MCLK: 112899 vb: 0 I (19536) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_RESUME,state:3 I (19536) I2S_STREAM: AUDIO_STREAM_WRITER E (19546) BT: bta_av_rc_opened allow incoming AVRCP connections:1 E (19556) BT: bta_av_rc_opened rcb[1] shdl:1 lidx:1/0 E (19556) BLUETOOTH_EXAMPLE: [ * ] Action command error: src_type:1048585, source:0x3ffe06d0 cmd:1, E (25106) BT: bta_av_proc_stream_evt: p_data is null E (25106) BT: bta_av_link_role_ok hndl:x41 role:1 conn_audio:x1 bits:1 features:x824b

E (25116) BT: bta_dm_rm_cback:0, status:0 E (25116) BT: bta_dm_rm_cback:0, status:7 E (25126) BT: BTA_AV_START_EVT status 0, suspending 0, init 0

E (39066) BLUETOOTH_EXAMPLE: [ ] Action command error: src_type:1048578, source:0x3ffe067c cmd:1, I (39066) BLUETOOTH_EXAMPLE: [ ] [Set] touch tap event E (39066) BT: btc_avrc_ct_send_passthrough_cmd: succesfully sent passthrough command to BTA E (39086) BT: btc_avrc_ct_send_passthrough_cmd: succesfully sent passthrough command to BTA E (41166) BLUETOOTH_EXAMPLE: [ ] Action command error: src_type:1048578, source:0x3ffe067c cmd:1, I (41166) BLUETOOTH_EXAMPLE: [ ] [Play] touch tap event E (41166) BT: btc_avrc_ct_send_passthrough_cmd: succesfully sent passthrough command to BTA E (41186) BT: btc_avrc_ct_send_passthrough_cmd: succesfully sent passthrough command to BTA E (43146) BLUETOOTH_EXAMPLE: [ ] Action command error: src_type:1048578, source:0x3ffe067c cmd:1, I (43146) BLUETOOTH_EXAMPLE: [ ] [Set] touch tap event E (43146) BT: btc_avrc_ct_send_passthrough_cmd: succesfully sent passthrough command to BTA E (43166) BT: btc_avrc_ct_send_passthrough_cmd: succesfully sent passthrough command to BTA E (44826) BLUETOOTH_EXAMPLE: [ ] Action command error: src_type:1048578, source:0x3ffe067c cmd:1, I (44826) BLUETOOTH_EXAMPLE: [ ] [Play] touch tap event E (44836) BT: btc_avrc_ct_send_passthrough_cmd: succesfully sent passthrough command to BTA E (44846) BT: btc_avrc_ct_send_passthrough_cmd: succesfully sent passthrough command to BTA E (48546) BLUETOOTH_EXAMPLE: [ ] Action command error: src_type:1048578, source:0x3ffe067c cmd:1, I (48546) BLUETOOTH_EXAMPLE: [ ] [Set] touch tap event E (48556) BT: btc_avrc_ct_send_passthrough_cmd: succesfully sent passthrough command to BTA E (49986) BLUETOOTH_EXAMPLE: [ ] Action command error: src_type:1048578, source:0x3ffe067c cmd:1, I (49986) BLUETOOTH_EXAMPLE: [ ] [Play] touch tap event E (51676) BT: bta_av_proc_stream_evt: p_data is null E (51676) BT: bta_dm_rm_cback:0, status:6 E (51676) BT: BTA_AV_SUSPEND_EVT status 0, init 0

E (51966) BLUETOOTH_EXAMPLE: [ ] Action command error: src_type:1048578, source:0x3ffe067c cmd:1, I (43146) BLUETOOTH_EXAMPLE: [ ] [Set] touch tap event E (43146) BT: btc_avrc_ct_send_passthrough_cmd: succesfully sent passthrough command to BTA E (43166) BT: btc_avrc_ct_send_passthrough_cmd: succesfully sent passthrough command to BTA E (44826) BLUETOOTH_EXAMPLE: [ ] Action command error: src_type:1048578, source:0x3ffe067c cmd:1, I (44826) BLUETOOTH_EXAMPLE: [ ] [Play] touch tap event E (44836) BT: btc_avrc_ct_send_passthrough_cmd: succesfully sent passthrough command to BTA E (44846) BT: btc_avrc_ct_send_passthrough_cmd: succesfully sent passthrough command to BTA E (48546) BLUETOOTH_EXAMPLE: [ ] Action command error: src_type:1048578, source:0x3ffe067c cmd:1, I (48546) BLUETOOTH_EXAMPLE: [ ] [Set] touch tap event E (48556) BT: btc_avrc_ct_send_passthrough_cmd: succesfully sent passthrough command to BTA E (49986) BLUETOOTH_EXAMPLE: [ ] Action command error: src_type:1048578, source:0x3ffe067c cmd:1, I (49986) BLUETOOTH_EXAMPLE: [ ] [Play] touch tap event E (51676) BT: bta_av_proc_stream_evt: p_data is null E (51676) BT: bta_dm_rm_cback:0, status:6 E (51676) BT: BTA_AV_SUSPEND_EVT status 0, init 0

E (51966) BLUETOOTH_EXAMPLE: [ ] Action command error: src_type:1048578, source:0x3ffe067c cmd:1, I (51966) BLUETOOTH_EXAMPLE: [ ] [Play] touch tap event E (53706) BLUETOOTH_EXAMPLE: [ ] Action command error: src_type:1048578, source:0x3ffe067c cmd:1, I (53706) BLUETOOTH_EXAMPLE: [ ] [Play] touch tap event E (55976) BT: bta_av_proc_stream_evt: p_data is null E (55976) BT: bta_av_link_role_ok hndl:x41 role:1 conn_audio:x1 bits:1 features:x824b

E (55976) BT: bta_dm_rm_cback:0, status:0 E (55986) BT: bta_dm_rm_cback:0, status:7 E (55986) BT: BTA_AV_START_EVT status 0, suspending 0, init 0

E (67246) BLUETOOTH_EXAMPLE: [ ] Action command error: src_type:1048578, source:0x3ffe067c cmd:1, x9, data_len:0 I (67246) BLUETOOTH_EXAMPLE: [ ] [Set] touch tap event

JB041 commented 5 years ago

Issue is fixed by replacing the esp-idf folder with the new release