This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Possible to just receive SCAN request, but not send SCAN response?

Hey guys,

I’m trying to come up with a way to know if an advertisement was received via BLE_GAP_EVT_SCAN_REQ_REPORT, but then not actually send the SCAN response. It’s a very low power, peripheral beacon application and all I want to know is whether an iPhone received my beacon. If so, I can stop advertising indefinitely.

If I change m_adv_param.type from BLE_GAP_ADV_TYPE_NONCONN_IND to BLE_GAP_ADV_TYPE_ADV_SCAN_IND, does that automatically make the stack send the scan response? If so, is there a way to disable the scan response but still detect that it was requested?

Working on nRF51822 and SDK9-2.

Many thanks! Brian