espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.44k stars 7.25k forks source link

esp32 Reconnect issue (IDFGH-12657) #13649

Open fatimatayyab71 opened 5 months ago

fatimatayyab71 commented 5 months ago

Answers checklist.

General issue report

I have programmed the esp32-wroom-32 with BLE-ANCS example code, it can connect with apple device but when I want to reconnect it it do not reconnect automatically, rather i have to forget the device and pair it again. but when i programmed the same code to esp32-s3 it reconnects automatically. On the hardware description on espressif site it is written that not recommended for new designs, does it means that it is not compatible with apple devices or something else is the reason?

fatimatayyab71 commented 5 months ago

Also BLE 4.2 is disabled in default configuration for esp32 while for esp32s3 it is enabled and added during built, how can we add it into the configuration?

esp-zhp commented 5 months ago

You can use "idf.py menuconfig" to decide whether the 4.2 feature is enabled or not. (Top) → Component config → Bluetooth → Bluedroid Options [*] Enable BLE 4.2 features

esp-zhp commented 5 months ago

What version of IDF are you using?

AxelLin commented 4 months ago

@fatimatayyab71 Could you share your esp-idf version? (git describe --tags) Could you share the sdkconfig for both esp32 and esp32s3?