CircuitPython version and board name
Adafruit CircuitPython 10.3.0 on 2026-08-31; Adafruit Fruit Jam with rp2350b
Code/REPL
# SPDX-FileCopyrightText: 2021 Brent Rubell for Adafruit Industries
#
# SPDX-License-Identifier: MIT
import board
from adafruit_ble import BLERadio
from adafruit_ble.advertising.standard import ProvideServicesAdvertisement
from adafruit_ble.services.nordic import UARTService
from adafruit_airlift.esp32 import ESP32
esp32 = ESP32(
reset=board.ESP_RESET,
gpio0=board.ESP_IRQ,
busy=board.ESP_BUSY,
chip_select=board.ESP_CS,
tx=board.ESP_TX,
rx=board.ESP_RX,
)
adapter = esp32.start_bluetooth()
ble = BLERadio(adapter)
uart = UARTService()
advertisement = ProvideServicesAdvertisement(uart)
while True:
ble.start_advertising(advertisement)
print("waiting to connect")
while not ble.connected:
pass
print("connected: trying to read input")
while ble.connected:
# Returns b'' if nothing was read.
one_byte = uart.read(1)
if one_byte:
print(one_byte)
uart.write(one_byte)
Behavior
Traceback (most recent call last):
File "code.py", line 27, in <module>
File "adafruit_ble/__init__.py", line 212, in start_advertising
_bleio.BluetoothError: HCI status error: 0c
Description
When start_advertising is called, the Fruit Jam's AirLift module returns an HCI status error of 0x0C. (Command Disallowed)
Additional information
Wi-Fi on its AirLift module works perfectly.
CircuitPython version and board name
Code/REPL
Behavior
Description
When start_advertising is called, the Fruit Jam's AirLift module returns an HCI status error of 0x0C. (Command Disallowed)
Additional information
Wi-Fi on its AirLift module works perfectly.