Page 1 of 1

Bluetooth Support for Pyboard D-series

Posted: Sat Apr 13, 2019 11:11 am
by msteurer
Hi everyone,
I got one of the new D-series Boards (SF3W). As stated in the product description, Bluetooth is not yet support by the software. I didn't find a roadmap or something similar but can we already estimate when support for Bluetooth (or at least BLE) will be available?

There is already an open PR [1] to support Bluetooth but as far as I got it, this will only support ESP32 respectively Nordic platforms.

Cheers, Michael

[1] https://github.com/micropython/micropython/pull/4589

Re: Bluetooth Support for Pyboard D-series

Posted: Fri May 17, 2019 6:46 pm
by kamikaze
hello. any plans or schedules on bluetooth support for PyBoard D ?

Re: Bluetooth Support for Pyboard D-series

Posted: Fri Jun 21, 2019 4:37 am
by mischko
Same question!

Re: Bluetooth Support for Pyboard D-series

Posted: Fri Jun 21, 2019 5:46 am
by jimmo
It's in progress. Currently it's on the roadmap for version 2.0 and there are people working on it (but this is subject to change of course) -- https://github.com/micropython/micropython/issues/4821

By the way, are you looking for BLE or Classic Bluetooth support?

Re: Bluetooth Support for Pyboard D-series

Posted: Wed Jun 26, 2019 7:23 am
by msteurer
I'm just looking for BLE support. Actually, I just want to scan for BLE frames.

Re: Bluetooth Support for Pyboard D-series

Posted: Wed Jun 26, 2019 8:12 am
by kamikaze
as I see it - BLE is more preferable for such devices like PyBoard

Re: Bluetooth Support for Pyboard D-series

Posted: Sun Sep 06, 2020 6:27 pm
by rcolistete
What is the current status of Bluetooth on Pyboard D ?
I've tried :

Code: Select all

MicroPython v1.13 on 2020-09-02; PYBD-SF2W with STM32F722IEK
Type "help()" for more information.
>>> import bluetooth
>>> bt = bluetooth.BLE()
>>> bt.
__class__       active          config          gap_advertise
gap_connect     gap_disconnect  gap_scan
gattc_discover_characteristics  gattc_discover_descriptors
gattc_discover_services         gattc_read      gattc_write
gatts_indicate  gatts_notify    gatts_read
gatts_register_services         gatts_set_buffer
gatts_write     irq
>>> bt.active()
False
>>> bt.active(True)   # freezes !

Re: Bluetooth Support for Pyboard D-series

Posted: Mon Sep 07, 2020 12:19 am
by jimmo
rcolistete wrote:
Sun Sep 06, 2020 6:27 pm
What is the current status of Bluetooth on Pyboard D ?
BLE-only at this stage, using either NimBLE or btstack as the host stack. WIth btstack this will also give us the option of supporting classic also (and I've demo-ed this, e.g. keyboard and audio sink/source, but still working on an API and implementation).

Docs here: https://docs.micropython.org/en/latest/ ... tooth.html
Examples here: https://github.com/micropython/micropyt ... /bluetooth

I'm working on an asyncio-based API which will be much easier to use, but we need some core support first to support raising events from IRQs.