Classic Bluetooth is unusable

firmware_guy
Posts: 12
Joined: Fri Oct 13, 2023 1:09 pm

Classic Bluetooth is unusable

Postby firmware_guy » Thu Nov 30, 2023 8:56 am

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!
Attachments
ESP-buff-1.png
ESP-buff-1.png (96.22 KiB) Viewed 30704 times
ESP-buff-2.png
ESP-buff-2.png (15.33 KiB) Viewed 30704 times
ESP-buff-3.png
ESP-buff-3.png (22.5 KiB) Viewed 30704 times

firmware_guy
Posts: 12
Joined: Fri Oct 13, 2023 1:09 pm

Re: Classic Bluetooth is unusable

Postby firmware_guy » Tue Jan 09, 2024 9:33 am

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.
Attachments
ESP_BUFF.png
ESP_BUFF.png (57.87 KiB) Viewed 28766 times
ESP_PICO_LOG.txt
(3.29 KiB) Downloaded 776 times

ESP_Sun
Posts: 326
Joined: Thu Dec 30, 2021 9:52 am

Re: Classic Bluetooth is unusable

Postby ESP_Sun » Wed Mar 20, 2024 8:56 am

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

Who is online

Users browsing this forum: No registered users and 57 guests