QUERY · ISSUE
Any plan to support classic bluetooth in ESP32?
port-esp32
It looks like bluetooth classic is supported in ESP32 by espressif in https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/bluetooth/classic_bt.html#. Any plan to support it in micropython?
CANDIDATE · PULL REQUEST
stm32: Integrate BLE using nimble
This PR integrates BLE for the stm32 port. The BLE stack is Apache mynewt-nimble using a UART HCI connection to a BT device. It supports the bluetooth device on PYBD_SFx, but any other BT device could easily be supported by using a different UART connection.
It builds upon #4589 by @aykevl to provide the Python-level API. Although currently not all parts of that API are supported advertising and adding a service works, as well as writing to characteristics.
Components introduced in this PR:
- low-level CYW (aka Broadcom) bluetooth driver
- generic nimble support
- nimble bindings to @aykevl 's bluetooth module
- integrating all the above into the stm32 port