Skip to content

Works perfect! #1206

@wolfgangmauer

Description

@wolfgangmauer

Hi i have a BLE "Security Server" with ESP_BLE_SM_SET_STATIC_PASSKEY on my Wemos D1 Mini32

...
esp_ble_auth_req_t auth_req = ESP_LE_AUTH_REQ_SC_MITM_BOND;
...
BLEDevice::setEncryptionLevel(ESP_BLE_SEC_ENCRYPT_MITM);
...

This works perfect if:
build_flags = -DCORE_DEBUG_LEVEL=4
and Monitoring.

Unplugging and plugging back in does not ask for a PIN again(Perfect!).

If i disable Monitoring an set the CORE_DEBUG_LEVEL=0
the Authentificatication repeats with "fail".
Unplugging and plugging back in does not ask for a PIN again(But authentificatication fails).

Timeout problem?

Any ideas on how to fix this?
/Wolfgang

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