This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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

Minimum and Maximum value for APP_ADV_TIMEOUT_IN_SECONDS

What is the minimum and maximum value for APP_ADV_TIMEOUT_IN_SECONDS ?

  • The documentation for ble_gap_adv_params_t states that the timeout can be between 0x0001 and 0x3FFF seconds. A value of 0 disables timeout, and in the case of directed advertisement this must be set to 0. When advertising in limited discoverable mode, the maximum is BLE_GAP_ADV_TIMEOUT_LIMITED_MAX (180).

Related