Skip to content

BLE Advertisement Failure on Seeed XIAO ESP32-C3 #7180

Open
@a-a-crabtree

Description

@a-a-crabtree

CircuitPython version

Adafruit CircuitPython 8.0.0-beta.4 on 2022-10-30; Seeed Studio XIAO ESP32C3 with ESP32-C3FN4

Code/REPL

from adafruit_ble_radio import Radio
radio = Radio(channel=1)
radio.send('test')

Behavior

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "adafruit_ble_radio.py", line 134, in send
  File "adafruit_ble_radio.py", line 151, in send_bytes
  File "adafruit_ble/__init__.py", line 215, in start_advertising
_bleio.BluetoothError: Unknown system firmware error: 30

Description

  • Error when trying to start BLE advertisement on Seeed XIAO ESP32-C3 / Circuitpython 8.x.x
  • Easiest to see when using BLE radio, but have seen same behavior any time when starting BLE advertising

Additional information

  • Usually only seen between a hard reset and a soft reset. I.e., a soft reset will usually fix it, and it doesn't usually pop up until the board loses power or is hard reset, but it doesn't happen after every hard reset and I've seen it need multiple soft resets before it clears.
  • Have tried on multiple boards and have seen the issue on 8.0.0.alpha.1 through 8.0.0.beta.4.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions