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

How to set the code in continuous advertising mode?

Hi,

I am using the sample ble_gls code from Nordic. Currently it advertises for 180 sec and than resets or goes into sleep mode. If i want to advertise continuously what are the changes that i need to make. I have set APP_ADV_TIMEOUT_IN_SECONDS to 0. Also i have changed advdata.flags = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE; in advertising init function. Are there any more changes that i need yo make?

Thanks

Parents Reply Children
No Data
Related