Classic BT SPP Security

DanCurram
Posts: 15
Joined: Tue Jun 12, 2018 2:13 pm

Classic BT SPP Security

Postby DanCurram » Thu Mar 07, 2019 10:05 am

So I appear to have the Esp32 behaving as a classic SPP device with a PIN code ( eg pairing with a Bluegiga WT12B module)
But now have com across a different security issue

I am now connecting to the Esp32 with a Broadcom BCM20702 Bluetooth 4.0 USB device that is connected to a Linux based platform.
Now the GAP call back function ends up with a ESP_BT_GAP_KEY_REQ_EVT Event which is not something I have been seen before.

Does anyone know where the key comes from ?

Which is the function to call e.g.

Code: Select all

	tRetval = esp_bt_gap_ssp_passkey_reply(param->key_req.bda, 1, ??????);
	tRetval = esp_bt_gap_ssp_confirm_reply(param->key_req.bda, 1);
Thanks if you can contribute

Who is online

Users browsing this forum: No registered users and 84 guests