espressif / qemu

Fork of QEMU with Espressif patches. See Wiki for details.
https://github.com/espressif/esp-toolchain-docs/blob/main/qemu/README.md
Other
219 stars 56 forks source link

Bluetooth emulation for the esp32? (QEMU-166) #87

Open AntonGue opened 11 months ago

AntonGue commented 11 months ago

Hello, I'd be interested in a way to emulate the bluetooth function of my esp32-device, because I'm trying to run some tests with an ota firmware. Is there already a way that I'm missing, or is it not available (yet)?

igrr commented 11 months ago

We do not have Bluetooth emulation supported, and given the complexity of the underlying BT hardware I think it is rather unlikely we will implement this.

There is an alternative which is on our backlog to explore, though. For BLE, we can try to:

I have tried setting this solution up in a Docker container a couple months back, but I didn't manage to get BlueZ (even the emulator part) running inside Docker... I'm using macOS so I couldn't try all this locally without Docker. If someone has experience in BlueZ & Docker, or knows of any other BLE Controller emulator which talks over HCI, please leave a comment.