BLE_GAP_EVT_SCAN_REQ_REPORT

hyunwoo
Posts: 15
Joined: Tue May 04, 2021 6:54 am

BLE_GAP_EVT_SCAN_REQ_REPORT

Postby hyunwoo » Wed May 12, 2021 2:58 am

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

dennischansk
Posts: 1
Joined: Fri Jun 11, 2021 10:00 pm

Re: BLE_GAP_EVT_SCAN_REQ_REPORT

Postby dennischansk » 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.

hyunwoo
Posts: 15
Joined: Tue May 04, 2021 6:54 am

Re: BLE_GAP_EVT_SCAN_REQ_REPORT

Postby hyunwoo » Wed Sep 08, 2021 10:26 am

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. ;(

Who is online

Users browsing this forum: awegel and 115 guests