Skip to content

Support for JustWorks auth #520

@SzczurekYT

Description

@SzczurekYT

Hi
I'm making an input device with trouble (something like a keyboard), so for that I want the device to just pair, and work. However it appears, that trouble does not support JustWorks auth, as tries to use it by setting IoCapabilities to NoInputNoOutput (the default) lead me to InvalidState errors. trouble also always sets the MITM Protection bit to on in AuthReq, with no way to disable that:

AuthReq((bonding as u8) | AUTH_REQ_MITM | AUTH_REQ_SECURE_CONNECTION)

and MITM protection can't be really achieved for a device with no input or output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions