apache / apache/nuttx

[HELP] XIAO ESP32C3 fails to advertise over Bluetooth

Open
#17,913 8 comments 0 reactions 1 assignee Claimed by @linguini1 View on GitHub
Arch: risc-v Area: Bluetooth Community: Question
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

### Description

Build:

```console
$ ./tools/configure.sh esp32c3-xiao:ble
$ make -j
```

In the USB console connected to the device:

```console
nsh> ifconfig
bnep0 Link encap:UNSPEC at DOWN mtu -9
inet addr:0.0.0.0 DRaddr:0.0.0.0 Mask:0.0.0.0

nsh> ifup bnep0
ifup bnep0...OK
nsh> bt bnep0 advertise start
hci_cmd_done: WARNING: status 12
bt_hci_cmd_send_sync: ERROR: Failed get return parameters
ERROR: ioctl(SIOCBTADVSTART) failed: 5
```

What is the proper way to test advertising? I would like to see if the device can show up on my mobile phone when I have it searching for new devices.

### Verification

- [x] I have verified before submitting the report.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.