Skip to content

Connection fails "operation in process" to a peripheral device without pairing #32

@MacTuitui

Description

@MacTuitui

I don't know it that's the right issue, but my peripheral device accepts connections without pairing, and complains if you actually want to pair.

I can connect to the device using bluetoothctl and everything works as expected, but when I try to connect with the code from the example (where only the name has been changed), it does not work. It tries to connect (it blocks) then it panics with an "operation in process" error message.

What could be the next steps to debug the issue?

I'm thinking it might be related to pairing as I also tried to connect with blurz and it works with that crate when I just connect - without pairing - to the device. Looking at your code on connect it does not look like you are trying to pair though...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions