Closed jhfoo closed 2 years ago
As mentioned here: https://learn.adafruit.com/adafruit-pyportal/circuitpython-ble
Currently the AirLift support for CircuitPython only provides BLE peripheral support. BLE central is under development. So you cannot connect to BLE devices like Heart Rate monitors, etc., but you can act as a BLE peripheral yourself.
As a BLE peripheral, you cannot scan. You can only scan if you can act as a BLE central. You can scan if you use an nRF52840 board, which can be both a central and peripheral.
Thanks for the clarification.
Here's what I did on my PyPortal:
Here's my code:
When running the code I get this error:
Can someone confirm if BLE is expected to work on PyPortal, or is there a mistake in my code?