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
Bluetooth Support for Pyboard D-series
Re: Bluetooth Support for Pyboard D-series
hello. any plans or schedules on bluetooth support for PyBoard D ?
Re: Bluetooth Support for Pyboard D-series
Same question!
Re: Bluetooth Support for Pyboard D-series
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?
By the way, are you looking for BLE or Classic Bluetooth support?
Re: Bluetooth Support for Pyboard D-series
I'm just looking for BLE support. Actually, I just want to scan for BLE frames.
Re: Bluetooth Support for Pyboard D-series
as I see it - BLE is more preferable for such devices like PyBoard
- rcolistete
- Posts: 352
- Joined: Thu Dec 31, 2015 3:12 pm
- Location: Brazil
- Contact:
Re: Bluetooth Support for Pyboard D-series
What is the current status of Bluetooth on Pyboard D ?
I've tried :
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 !
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).
Re: Bluetooth Support for Pyboard D-series
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.