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

Support ESP32 Bluetooth low energy (BLE) #225

Open
uriyacovy opened this issue Nov 8, 2021 · 5 comments
Open

Support ESP32 Bluetooth low energy (BLE) #225

uriyacovy opened this issue Nov 8, 2021 · 5 comments
Labels
enhancement New feature or request open for vote Vote at https://wokwi.com/features

Comments

@uriyacovy
Copy link

Is your feature request related to a problem? Please describe.
Many esp32 projects rely on BLE to communicate and configure the device. Wokwi support for BLE would be really useful.

Describe the solution you'd like
Implementation of either circuitpython's BLERadio or micropython's BLE modules.

@uriyacovy uriyacovy added the enhancement New feature or request label Nov 8, 2021
@urish urish added the open for vote Vote at https://wokwi.com/features label Nov 8, 2021
@DigiDwrf
Copy link

It would be great to test code that emulates bluetooth HID devices such as keyboards, mouses, and gamepads.

@msn444
Copy link

msn444 commented Jan 15, 2024

Ideal solution would be to pass the host PC BLE interface through to the simulated ESP32, so that the simulated ESP32 can create a real GATT server that can be accessed by nearby devices.

Right now, it seems that attempts to initialize the BLE controller (calls to esp_nimble_hci_and_controller_init()) cause the simulation to hang. In the interim it would be nice if the BLE initialization failed gracefully; right now we need extra code to figure out if it's running in Wokwi so that it doesn't try to init BLE and hang.

@urish
Copy link
Contributor

urish commented Feb 4, 2024

Right now, it seems that attempts to initialize the BLE controller (calls to esp_nimble_hci_and_controller_init()) cause the simulation to hang. In the interim it would be nice if the BLE initialization failed gracefully; right now we need extra code to figure out if it's running in Wokwi so that it doesn't try to init BLE and hang.

Thanks for the feedback! Do you have a minimal test case that reproduces this? Perhaps one of the esp-idf examples?

@jumpjack
Copy link

any news on the subject?

@urish
Copy link
Contributor

urish commented Mar 14, 2024

any news on the subject?

No news. Simulating BLE is a lot of work, and the main use case we're seeing is provisioning for WiFi credentials. If we see interesting commercial use cases, then it may help prioritizing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request open for vote Vote at https://wokwi.com/features
Projects
None yet
Development

No branches or pull requests

5 participants