Search found 5 matches

by Duracell
Wed Jun 06, 2018 7:18 am
Forum: General Discussion
Topic: BLE secure pairing: Bonding does not work when permission is ENC_MITM on characteristics.
Replies: 1
Views: 4685

BLE secure pairing: Bonding does not work when permission is ENC_MITM on characteristics.

Hi all I have this strange problem: IDF: v3 Example Code: examples/bluetooth/gatt_security_server If I change the code to use passkey pairing with MITM: esp_ble_auth_req_t auth_req = ESP_LE_AUTH_REQ_SC_MITM_BOND; esp_ble_io_cap_t iocap = ESP_IO_CAP_OUT; Everything works as expected. After Rebooting ...
by Duracell
Sat Oct 21, 2017 5:41 pm
Forum: General Discussion
Topic: How to configure BLE transmit output power classes
Replies: 3
Views: 10636

Re: How to configure BLE transmit output power classes

This works now with the latest version from master. There are new functions in bt.h: /** * @brief Set BLE TX power * Connection Tx power should only be set after connection created. * @param power_type : The type of which tx power, could set Advertising/Connection/Default and etc * @param power_leve...
by Duracell
Thu Oct 12, 2017 2:38 pm
Forum: ESP-IDF
Topic: BLE: Recipe for handling BLE pairing with ESP32 acting as a peripheral
Replies: 2
Views: 6419

Re: BLE: Recipe for handling BLE pairing with ESP32 acting as a peripheral

Hi

Did you have success with the ESP_IO_CAP_KBDISP numeric comparison method for pairing?

Thanks

Dura
by Duracell
Thu Oct 12, 2017 2:35 pm
Forum: ESP-IDF
Topic: BLE pairing with "numeric comparison".
Replies: 0
Views: 3112

BLE pairing with "numeric comparison".

Hi All I tried to use the numeric compairison BLE (4.2) pairing mechanism in the example "gatt_security_server". For this, I set: 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...
by Duracell
Sun Oct 08, 2017 7:12 pm
Forum: General Discussion
Topic: How to configure BLE transmit output power classes
Replies: 3
Views: 10636

How to configure BLE transmit output power classes

Hi all I am looking for a way to configure the BLE radio transmit output power to class 3 (range < 1m) for advertising packets. According to the datasheet this should be possible. I could not find any API to do this. Anybody knows how to do this? I already tried changing BTM_BLE_ADV_TX_POWER in bt_t...