let session = bluer::Session::new().await?;
let adapter = session.default_adapter().await?;
However, around every second time that I run it it throws Error: Error { kind: NotFound, message: "" }, I've added println! statements and identified that let adapter = session.default_adapter().await? is the cause.
bluer version: 0.16.0-pre1 bluez version: 5.68
I've got the following code:
However, around every second time that I run it it throws
Error: Error { kind: NotFound, message: "" }
, I've addedprintln!
statements and identified thatlet adapter = session.default_adapter().await?
is the cause.