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

  • RX listening part is not there for non-connectable (non-scannable) advertising. It will send out an empty scan response packet if a scan request is received. Based on measurements it will turn on RX for approx 120us after every advertisement packets (on all channels), if it receives a scan request it will turn on RX for approx 250us and then turn on TX for approx 200us. I leave it up to you to calculate the increase in current.

  • 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

  • Hi Thierry,

    Don't know the answer, just recommending to open new question, this is what Nordic guys want on this forum (I'd like to see related topics to follow one thread and not having similar questions posted again and again but it seems impossible to run this model on this forum so to get any attention just open new question;)

    Cheers Jan

Related