NRF Connect SDK: How to set Advertising Timeout?

Hello,
I'm using the nrf52DK for the chip nrf52832 with nrf connect SDK v2.6.1 

I want to implement an advertising timeout say 5 minutes. How can I achieve that? any example code would be nice.

Thanks for the help. 

Related