I implemented an application to advertise indefinitely with APP_ADV_TIMEOUT_IN_SECONDS set to 0 and it works just fine. Now I want to have a time out and set APP_ADV_TIMEOUT_IN_SECONDS to 30 but the device doesn't stop advertising after 30s. Please help.