espressif / esp-adf

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

Using pipeline_bt_sink example, now no longer connects to transmitter. same code, used to work. #133

Closed ChristopherJoonMiller closed 5 years ago

ChristopherJoonMiller commented 5 years ago

I can no longer reliably get my lyrat to connect to my bluetooth transmitter. It was working 100% of the time reliably earlier, but now I can't get it to work at all? The same code was working earlier.

I found this same problem using 2 different lyrat boards? They both would work normally, but after updating the code several dozen times (developing a new application) they both now no longer work. I stopped using one and tried another and it worked (same code) so I figured something must have gotten messed up with the board? So then I started using another one and it failed in a similar way. Not sure if it's exactly the same log but they both now no longer can connect reliably, when they were connecting reliably at first.

Output log:

I (7241) I2S: APLL: Req RATE: 48000, real rate: 47999.961, BITS: 16, CLKM: 1, BCK_M: 8, MCLK: 12287990.000, SCLK: 1535998.750000, diva: 1, divb: 0
I (7251) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_RESUME,state:3
I (7251) I2S_STREAM: AUDIO_STREAM_WRITER
W (7341) BT_APPL: new conn_srvc id:19, app_id:0
E (7351) BLUETOOTH_EXAMPLE: [ * ] Action command error: src_type:1048585, source:0x3ffe3934 cmd:1, data:0x0, data_len:0
W (7371) BLUETOOTH_EXAMPLE: [ * ] Bluetooth disconnected
I (7381) BLUETOOTH_EXAMPLE: [ 8 ] Stop audio_pipeline
W (7401) AUDIO_PIPELINE: There are no listener registered
I (7401) AUDIO_PIPELINE: audio_pipeline_unlinked
W (7411) BT_L2CAP: L2CAP - PSM: 0x0019 not found for deregistration
W (7411) BT_L2CAP: L2CAP - PSM: 0x0017 not found for deregistration
W (7421) BT_L2CAP: L2CAP - PSM: 0x0019 not found for deregistration
W (7431) BT_L2CAP: L2CAP - PSM: 0x0017 not found for deregistration
W (7431) BT_L2CAP: L2CAP - PSM: 0x0019 not found for deregistration
W (7441) BT_L2CAP: L2CAP - PSM: 0x0017 not found for deregistration
W (7451) BT_L2CAP: L2CAP - PSM: 0x0019 not found for deregistration
W (7451) BT_L2CAP: L2CAP - PSM: 0x0017 not found for deregistration
W (7461) BT_L2CAP: L2CAP - PSM: 0x0019 not found for deregistration
W (7471) BT_L2CAP: L2CAP - PSM: 0x0017 not found for deregistration

Not sure why this is showing happening now when it wasn't before?

This is the only real red error I see? Otherwise there are a lot of yellow warnings. E (7351) BLUETOOTH_EXAMPLE: [ * ] Action command error: src_type:1048585, source:0x3ffe3934 cmd:1, data:0x0, data_len:0

ChristopherJoonMiller commented 5 years ago

Hi guys, sorry it turned out the problem was with my bluetooth transmitter, not the lyrat. I was still occasionally seeing that action command error, and it would be nice if i could surface what the type enumerations were... I tried searching the esp-adf and esp-adf-libs repositories, but found nothing.

Anyways, sorry for the false alarm. I must have been delirious from sleep deprivation. Going to close this now.