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

BLE Adv Interval

I am working on S140 on nRF25840. I am using the ble_app_beacon sample. I want to set the advertising interval smaller than 100ms while using non-connectable mode. But the BLE_GAP_ADV_NONCON_INTERVAL_MIN stops me. I wonder if there is any reason to set the minimum to 100ms, can I change it to smaller?

My second question is what is mode BLE_GAP_ADV_TYPE_ADV_SCAN_IND. It says Scannable undirected. Does it mean mode BLE_GAP_ADV_TYPE_ADV_NONCONN_IND cannot be scanned?

Parents
  • The reason is the BLE spec says that non-connectable advertising shall not have an advertising interval less than 100ms and the softdevice is certified to follow the spec.

    Correct, ADV_NONCONN_IND cannot be scanned. Again those terms are buried in the incredibly long BLE spec.

    ADV_DIRECT_IND    - connectable, not scannable, directed
    ADV_IND           - connectable, scannable, undirected
    ADV_NONCONN_IND   - not connectable, not scannable, undirected
    ADV_SCAN_IND      - not connectable, scannable, undirected
    
Reply
  • The reason is the BLE spec says that non-connectable advertising shall not have an advertising interval less than 100ms and the softdevice is certified to follow the spec.

    Correct, ADV_NONCONN_IND cannot be scanned. Again those terms are buried in the incredibly long BLE spec.

    ADV_DIRECT_IND    - connectable, not scannable, directed
    ADV_IND           - connectable, scannable, undirected
    ADV_NONCONN_IND   - not connectable, not scannable, undirected
    ADV_SCAN_IND      - not connectable, scannable, undirected
    
Children
Related