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

Parents
  • Hi,

    Alternatively would be nice to compare if using non-connectable and non-scannable advertisement doesn't reduce power consumption

    Is there any way to set softdevice s132 as non-scannable ? I found a way to set it as non-connectable with ADV_NONCONN_IND or ADV_SCAN_IND however I didn't found any way to set is as "non-scannable" I would like to ignore SCAN_REQ and only accept connection request.

    In fact I would like the exact reverse of: ADV_SCAN_IND, I would like to won't accept scan request but accept connect request.

    Is there anyway to do that with softdevice ?

    Thank you

Reply
  • Hi,

    Alternatively would be nice to compare if using non-connectable and non-scannable advertisement doesn't reduce power consumption

    Is there any way to set softdevice s132 as non-scannable ? I found a way to set it as non-connectable with ADV_NONCONN_IND or ADV_SCAN_IND however I didn't found any way to set is as "non-scannable" I would like to ignore SCAN_REQ and only accept connection request.

    In fact I would like the exact reverse of: ADV_SCAN_IND, I would like to won't accept scan request but accept connect request.

    Is there anyway to do that with softdevice ?

    Thank you

Children
Related