Page 1 of 1

BLE_GAP_EVT_SCAN_REQ_REPORT

Posted: Wed May 12, 2021 2:58 am
by hyunwoo
How can I get BLE_GAP_EVT_SCAN_REQ_REPORT event when my ESP32 bluetooth controller got scan request?
I found that event at other Bluetooth module. So it maybe can at ESP32.

Other Module QnA:
https://devzone.nordicsemi.com/f/nordic ... an-request

Re: BLE_GAP_EVT_SCAN_REQ_REPORT

Posted: Fri Jun 11, 2021 10:06 pm
by dennischansk
I also have the same question. My BLE device receives SCAN_REQ packets from other devices. I would like to detect these requests, please. I tried using BLEDevice::setCustomGapHandler() but it does not return received SCAN_REQ reports, or transmitted SCAN_RES reports.

Re: BLE_GAP_EVT_SCAN_REQ_REPORT

Posted: Wed Sep 08, 2021 10:26 am
by hyunwoo
dennischansk wrote:
Fri Jun 11, 2021 10:06 pm
I also have the same question. My BLE device receives SCAN_REQ packets from other devices. I would like to detect these requests, please. I tried using BLEDevice::setCustomGapHandler() but it does not return received SCAN_REQ reports, or transmitted SCAN_RES reports.
I think the processing of scan response is managed by Bluetooth controller.
(https://stackoverflow.com/questions/421 ... in-android)
So data or status(?) of SCAN_REQ will not be delivered to host (ESP).

But I found some clue that analyze RX data from VHCI.
Actually, I gave up to find the solution of this problem, so I don't have reference or resource about that anymore. Sorry for that. ;(