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

Bluetooth reconnection problem #553

Open
haijd opened this issue Jan 21, 2025 · 0 comments
Open

Bluetooth reconnection problem #553

haijd opened this issue Jan 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@haijd
Copy link

haijd commented Jan 21, 2025

Bug description

I found a problem when testing the Bluetooth GATT service. When I first used the client to find the Bluetooth device and connected to the device, everything worked fine. But when I disconnected and tried to connect to the device a second time, I could not scan the device. I tried to connect to the device directly using the parameters used in the first connection, but it also failed to connect.

I am using the test code from here: https://github.com/esp-rs/esp-idf-svc/blob/master/examples/bt_gatt_server.rs

Also, I couldn’t find any Bluetooth-related documentation here, so I had to rely on sample code for testing.

  • Would you like to work on a fix? [n]

To Reproduce

  1. The rust version is 1.84.0-nightly
  2. The version of esp-idf-svc is 0.51.0, and the enabled features are: "critical-section", "embassy-time-driver", "embassy-sync", "experimental"

Environment

  • Crate (esp-idf-svc) version: [0.51.0]
  • ESP-IDF branch or tag: [v5.2.3]
  • Target device (MCU): [esp32s3]
  • OS: [macOS]
@haijd haijd added the bug Something isn't working label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant