Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP-IDF Release v5.4 CONFIG_BT_SSP_ENABLED (IDFGH-14596) #15352

Open
3 tasks done
tv4you2016 opened this issue Feb 7, 2025 · 1 comment
Open
3 tasks done

ESP-IDF Release v5.4 CONFIG_BT_SSP_ENABLED (IDFGH-14596) #15352

tv4you2016 opened this issue Feb 7, 2025 · 1 comment
Assignees
Labels
Status: Opened Issue is new

Comments

@tv4you2016
Copy link

Answers checklist.

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

General issue report

Hello, I just updated my project to ESP-IDF Release v5.4.
Before the update I was using the Release v5.1.5 version for ESP-IDF Release v5.4 where I had pairing with a BT device with ESP_BT_PIN_TYPE_FIXED

# CONFIG_BT_SPP_ENABLED is not defined
# CONFIG_BT_SSP_ENABLED is not defined

in sdkconfig.esp32 and everything works fine,
Now that I've updated, when pairing a device, the pin is no longer asked for.

After comparing the sdkconfig. esp32 of the new idf with the old one, I discovered that the CONFIG_BT_SSP_ENABLED setting
It's not in the new one.

I did a search at ESP-IDF Programming Guidev5.1.5 by this config and it exists, search in ESP-IDF Programming Guide v5.4 he doesn't exist

Is there any reason why this setting disappeared?

@espressif-bot espressif-bot added the Status: Opened Issue is new label Feb 7, 2025
@github-actions github-actions bot changed the title ESP-IDF Release v5.4 CONFIG_BT_SSP_ENABLED ESP-IDF Release v5.4 CONFIG_BT_SSP_ENABLED (IDFGH-14596) Feb 7, 2025
@boblane1
Copy link
Collaborator

boblane1 commented Feb 7, 2025

Hi @tv4you2016,

Thanks for your reporting. From release/v5.2, pairing mode can be configured at runtime. API esp_bluedroid_init has been updated with esp_bluedroid_init_with_cfg. You can use legacy pairing by calling esp_bluedroid_init_with_cfg with the parameter ssp_en setting to false. We will add some instruction in migration guide about this change later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

No branches or pull requests

4 participants