esp-at icon indicating copy to clipboard operation
esp-at copied to clipboard

AT+BLECONN? returns untrue data

Open fahirad opened this issue 1 year ago • 3 comments

Answers checklist.

  • [X] I have read the documentation ESP-AT Programming Guide and the issue is not addressed there.
  • [X] I have used the latest released firmware or have updated my ESP-AT branch (master or release) to the latest version and checked that the issue is present there.
  • [X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

My device is configured as a BLE client. The scenario is as follows: I have one or more connected devices, let's say only one. Then I try to connect to another one, and during that process, during the AT+BLECONN=<conn_index>,<remote_address>[,<addr_type>,<timeout>] command (its duration) if my already connected device gets disconnected, ESP will not pick it up, there will be no +BLEDISCONN message, nor will the AT+BLECONN? return true data (it will still return now disconnected device as connected).

P.S. My device is ESP32-C3_MINI-1, in case that is relevant and I am using the latest ESP-AT version: AT+GMR output:

AT version:3.2.0.0(ec2dec2 - ESP32C3 - Jul 28 2023 07:04:22)
                  
SDK version:v5.0.2-376-g24b9d38a24
                                            
compile time(ed0e6d2c):Nov 13 2023 14:28:11
                                   
Bin version:v3.2.0.0(MINI-1)

fahirad avatar Nov 14 '23 15:11 fahirad

@Luxin812 please check

ustccw avatar Jan 15 '24 08:01 ustccw

@fahirad thank you very much for asking this issue. I've reproduced it locally and will have a fix soon.

Luxin812 avatar Mar 20 '24 06:03 Luxin812

Hi @fahirad,

This issue should be fixed in v3.3.0.0. Please verify in v3.3.0.0 version. Thanks.

Luxin812 avatar May 28 '24 06:05 Luxin812

Hi @Luxin812 , I have tested this fix and it works now. Thanks a lot!

fahirad avatar Jul 02 '24 14:07 fahirad