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!
Classic Bluetooth is unusable
-
- Posts: 12
- Joined: Fri Oct 13, 2023 1:09 pm
Classic Bluetooth is unusable
- Attachments
-
- ESP-buff-1.png (96.22 KiB) Viewed 30657 times
-
- ESP-buff-2.png (15.33 KiB) Viewed 30657 times
-
- ESP-buff-3.png (22.5 KiB) Viewed 30657 times
-
- Posts: 12
- Joined: Fri Oct 13, 2023 1:09 pm
Re: Classic Bluetooth is unusable
Hello,
I can't find a solution to the problem even with the latest code version.
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.
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)
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 (57.87 KiB) Viewed 28719 times
-
- ESP_PICO_LOG.txt
- (3.29 KiB) Downloaded 770 times
Re: Classic Bluetooth is unusable
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 16 guests