BLE pairing with "numeric comparison".

Duracell
Posts: 5
Joined: Sun Oct 08, 2017 7:39 am

BLE pairing with "numeric comparison".

Postby Duracell » Thu Oct 12, 2017 2:35 pm

Hi All

I tried to use the numeric compairison BLE (4.2) pairing mechanism in the example "gatt_security_server".
For this, I set:

Code: Select all

esp_ble_io_cap_t iocap = ESP_IO_CAP_KBDISP;
This shows a passkey on the Terminal and triggers a POP up on the app, where I can confirm, that the passkey on the app is the same as in the esp32 terminal.
When I confirm, nothing happens - the peripheral just times out.
I tried with different "clients".

Anybody got this to work? (The passkey method - ESP_IO_CAP_OUT - works perfectly).

Many thanks
Dura

Who is online

Users browsing this forum: Baidu [Spider] and 114 guests