adafruit / adafruit/Adafruit_CircuitPython_BLE
RuntimeError: No adapter available
- Dominant language
- Python
- Stars
- 138
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
my code is one off the samples:
```python
# SPDX-FileCopyrightText: 2020 ladyada for Adafruit Industries
# SPDX-License-Identifier: MIT
"""
This example scans for any BLE advertisements and prints one advertisement and one scan response
from every device found.
"""
from adafruit_ble import BLERadio
ble = BLERadio()
print("scanning")
found = set()
scan_responses = set()
for advertisement in ble.start_scan():
addr = advertisement.address
if advertisement.scan_response and addr not in scan_responses:
scan_responses.add(addr)
elif not advertisement.scan_response and addr not in found:
found.add(addr)
else:
continue
print(addr, advertisement)
print("\t" + repr(advertisement))
print()
print("scan done")
```
```
-------------------------------------------------------------------------------------------------------------------------------------------------
--/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/--
-------------------------------------------------------------------------------------------------------------------------------------------------
```
Now then the error is how its says in the title and with all the samples it dosent work, i have the leastest version off the pacages and circuit python and its on com7 if it helps, Sorry if its easy to fix i used micropython before now im useing it on the pico w
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the posted BLERadio sample on the Pico W, using COM7, and reproduce the RuntimeError with the stated latest versions. Done means determining why no adapter is available and recording the specific compatibility or setup change needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100