This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Dynamic update of gap event length

Hi, 

Is it possible to update the NRF_SDH_BLE_GAP_EVENT_LENGTH on run time in ble uart example?

Thank you

  • Hi 

    The ble_app_aurt example doesn't do this out of the box, but you can change the event length by using different BLE stack configurations using the sd_ble_cfg_set(..) function, and then switch between the configurations dynamically when you start advertising. 

    You can not change this in the middle of a connection unfortunately. 

    Best regards
    Torbjørn

Related