Hello everyone i ahve configured the button and i want to make the function like this press the button for 3 sec and then the device should start advertising can anyone suggest me how to set the timer and how to enable the advertsingmode after the button is pressed for 3 sec or more any suggestion or help will be most useful for me
Thank you