Skip to content

Enable / disable pairing+bonding #36

@benjaminaigner

Description

@benjaminaigner

Currently, it is not possible to deny any pairing requests.

We should include the possibility to deny pairing requests by default and enable them by a command via the external UART.

As there is no useful documentation how to do that,
I think it should be sufficient to deny an authentication request here

esp_ble_gap_security_rsp(param->ble_security.ble_req.bd_addr, true);

by returning false.

Nevertheless, if we switch OFF pairing by default, it would break compatibility.
So I suggest we enable this feature by a new KConfig file.

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