Raspberry Pi zero 2w Bluetooth "no adapter" Runtime error

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
RawrRanger
 
Posts: 1
Joined: Thu Sep 29, 2022 2:09 pm

Raspberry Pi zero 2w Bluetooth "no adapter" Runtime error

Post by RawrRanger »

Recently I've been trying to use Rasp pi zero 2w to make some small project

that requires remote monitoring and control,

I've tried to set up Bluetooth communication between the Dev board and other devices.

I've tried different BLE examples but all of them show the same error at BLERadio() .

Code: Select all

from adafruit_ble                      import BLERadio
from adafruit_ble.advertising.standard import ProvideServicesAdvertisement
from adafruit_ble.services.nordic      import UARTService

ble           = BLERadio() #error occured "No adapter available"
uart_service  = UARTService()
advertisement = ProvideServicesAdvertisement(uart_service)
the error message:

Code: Select all

    
    File "adafruit_ble/__init__.py", line 162, in __init__
    RuntimeError: No adapter available
My setup is
Dev Board : Raspberry Pi Zero 2 w
CircuitPy version : 8.0 beta
package installed :
adafruit_airlift
adafruit_ble
adafruit_ble_adafruit
adafruit_bluefruit_connect

I've found some topics that discuss similar issues, but unfortunately, the method cannot be applied due to the solution is for ESP32 based device.

https://forum.arduino.cc/t/how-to-use-b ... hon/947281
is there any method that can solve this issue?

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

Return to “Wireless: WiFi and Bluetooth”