Page 1 of 1

Classic Bluetooth is unusable

Posted: Thu Nov 30, 2023 8:56 am
by firmware_guy
Hello,
I have mentioned the BT issues in other threads but after the last core update things got worse.
Please pay attention and fix it because I stopped my project.

Problem 1:
When I open connection via COM port, I don't receive always "+BTDATA" messages for data I send.

Problem 2:
When I try to send data via BT com port, from ESP I receive just 33 bytes (no more) and rest are present as 0 (check ESP-buff-1.png)

Problem 3:
If I send few times(15-20) the example message "0123456789ABCDEF HIKLMNOPQRSTV XYZ", The ESP reboot (check EXP-buff-2.png)

Problem 4:
In the rare case that I can get some "+BTDATA" messages (and they are wrong with 0 bytes at the end). There is a case when there is no CR LF (\r\n) between two of them (check ESP-buff-3.png)

Thanks in advance!

Re: Classic Bluetooth is unusable

Posted: Tue Jan 09, 2024 9:33 am
by firmware_guy
Hello,
I can't find a solution to the problem even with the latest code version.

Code: Select all

AT+GMR
AT version:4.1.0.0-dev(s-eb730f6 - ESP32 - Jan  3 2024 08:19:57)
SDK version:v5.0.4-dirty
compile time(0998939c):Jan  3 2024 15:10:28
Bin version:v3.2.0.0(MY-ESP-PICO)
I'm attaching a file with the commands it executes to initialize the module.Finally, I send messages to the esp module via a bluetooth module from my computer: "0123456789" once, then several times the message "0123456789ABCDEFGHIKLMNOPQRSTVXYZ" - where is the problem.
In the other attachment is the communication uart buffer, which shows what the chip is sending us, i.e. the first 21 bytes of the message we sent and the rest are 0x00.

There seems to be no problem when the data is less than 20-21 bytes. When more than 20-21 bytes, the data is not even received immediately but needs to be sent several times before that.

Re: Classic Bluetooth is unusable

Posted: Wed Mar 20, 2024 8:56 am
by ESP_Sun
A similar issue was recently fixed and merged into master. You can update the AT firmware to the latest firmware on the master branch to test whether the problem has been fixed.(https://github.com/espressif/esp-at/act ... 8294336044