-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Description
Hello,
I have this issue, where sometimes when trying to connect to my esp32c6, I get Unknown errors from bluetoothctl.
Attempting to connect to MAC_ADDR
[CHG] Device MAC_ADDR Connected: yes
Failed to connect: org.bluez.Error.Failed le-connection-abort-by-local
[SIGNAL] LE.Disconnected - org.bluez.Reason.Unknown, Unspecified
[SIGNAL] Disconnected - org.bluez.Reason.Unknown, Unspecified
[CHG] Device MAC_ADDR Connected: no
This happens almost every time on my laptop and not so often but sometimes on my pc.
My code is basically mirroring this example
https://github.com/esp-rs/esp-hal/tree/1.0.0/examples/ble/bas_peripheral
On the device I don't see anything happening in the logs
info!("[adv] advertising");
let conn = advertiser.accept().await?.with_attribute_server(server)?;
info!("[adv] connection established");
Ok(conn)I get the "advertising" log, but nothing afterward, only in the case that it works I get logs there.
I also added logging in the ble_task, to see if its running and I can see that it is started, and I don't get any error from it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels