Hello.
I am using ESP32 project ESP-AT and IDF version release/v4.2. The version of firmware AT is v2.2.0.0_esp32 release.
I am working with ESP32 AT Firmware and am using Bluetooth Classic SPP.
Below, we have a print of the ESP32 module UART RX. See that we received a command "+BTDATA:8,xxxxxxxxx\r\n" (see attached file "BT_OK".
The problem is that sometimes this command is getting "broken" into two parts, as shown in the another image (see attached file "BT_ERROR").
Is there any way to fix this problem through menuconfig?
Thank you in advance,
Rafael Werneck
Problem receiving commands via Bluetooth Classic SPP
-
- Posts: 3
- Joined: Tue Nov 26, 2019 2:28 pm
Re: Problem receiving commands via Bluetooth Classic SPP
UART transmission seems to be interrupted. Is there any operation performed at this time? For example, have you received spp data again?
Could you provide specific AT firmware version? You can execute AT+GMR to obtain AT version information.
Could you provide specific AT firmware version? You can execute AT+GMR to obtain AT version information.
-
- Posts: 3
- Joined: Tue Nov 26, 2019 2:28 pm
Re: Problem receiving commands via Bluetooth Classic SPP
Hello @ESP_Alson, thank you for your reply.
There is no operation being performed, just a command via SPP.
For the specific AT firmware version, the AT+GMR command response follows:
AT+GMR
AT version:2.3.0.0-dev(s-2b7b8e8 - ESP32 - Jul 23 2021 09:58:50)
SDK version:v4.2.2-76-gefa6eca8b-dirty
compile time(e941032):Sep 23 2021 17:30:10
Bin version:2.2.0(WROVER-32)
There is no operation being performed, just a command via SPP.
For the specific AT firmware version, the AT+GMR command response follows:
AT+GMR
AT version:2.3.0.0-dev(s-2b7b8e8 - ESP32 - Jul 23 2021 09:58:50)
SDK version:v4.2.2-76-gefa6eca8b-dirty
compile time(e941032):Sep 23 2021 17:30:10
Bin version:2.2.0(WROVER-32)
Re: Problem receiving commands via Bluetooth Classic SPP
Judging from the version you provided, this is your own compiled version, and it seems that some source files in esp-idf have been modified.
My suggestion is you can download AT v2.2.0.0 WROVER-32 from https://docs.espressif.com/projects/esp ... aries.html. Test your problem with our officially released version.
If there is still a problem, you can post your command log and application scenario. I can help you see it.
My suggestion is you can download AT v2.2.0.0 WROVER-32 from https://docs.espressif.com/projects/esp ... aries.html. Test your problem with our officially released version.
If there is still a problem, you can post your command log and application scenario. I can help you see it.
Who is online
Users browsing this forum: No registered users and 7 guests