Does CircuitPython support any of the new Bluetooth 5.0 feat

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
andreas_johnsen
 
Posts: 11
Joined: Sun Apr 19, 2020 1:42 pm

Does CircuitPython support any of the new Bluetooth 5.0 feat

Post by andreas_johnsen »

Hei,

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

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

User avatar
mikeysklar
 
Posts: 14181
Joined: Mon Aug 01, 2016 8:10 pm

Re: Does CircuitPython support any of the new Bluetooth 5.0

Post by mikeysklar »

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

User avatar
tannewt
 
Posts: 3315
Joined: Thu Oct 06, 2016 8:48 pm

Re: Does CircuitPython support any of the new Bluetooth 5.0

Post by tannewt »

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.

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”