0

Does CircuitPython support any of the new Bluetooth 5.0 feat
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Does CircuitPython support any of the new Bluetooth 5.0 feat

by andreas_johnsen on Wed Mar 31, 2021 5:22 pm

Hei,

Does CircuitPython support any of the new Bluetooth 5.0 features like :

- Advertisement extensions
- 2Mbps PHY (high speed)
- Coded PHY (long distance)

andreas_johnsen
 
Posts: 11
Joined: Sun Apr 19, 2020 1:42 pm

Re: Does CircuitPython support any of the new Bluetooth 5.0

by mikeysklar on Wed Mar 31, 2021 5:55 pm

You would be a better judge of this than I am, but looking a the latest release docs it does not look like any BLE 5 features are included as of yet. Would you agree? There is some support for advertisting, but not necessarily the extensions and no mention of PHY speed / distance configs.

https://circuitpython.readthedocs.io/pr ... hlight=ble

You can also scan through the open/closed issues on github.

https://github.com/adafruit/circuitpython/issues

mikeysklar
 
Posts: 3923
Joined: Mon Aug 01, 2016 8:10 pm

Re: Does CircuitPython support any of the new Bluetooth 5.0

by tannewt on Thu Apr 01, 2021 5:34 pm

Extended advertisements will be used for advertisment buffers over 31 bytes long: https://github.com/adafruit/circuitpyth ... ter.c#L659

We don't support switching the PHY but we are able to negotiate large MTU and shorter connection intervals. I'd be happy to help guide the addition of the other PHYs.

tannewt
 
Posts: 2358
Joined: Thu Oct 06, 2016 8:48 pm

Please be positive and constructive with your questions and comments.