This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

stop Ble advertising

I want to stop advertising for 8 hours but when I use

		sd_ble_gap_adv_stop();
		sd_ble_gap_connect_cancel();

It starts advertising after 1 or 2 secends again. I think SoftDevice start that but how I stop or start that manually without SD management?

Parents
  • I know that And I use it, but I want to use this functions

    sd_ble_gap_disconnect()
    sd_ble_gap_adv_stop();
    sd_app_evt_wait();
    

    for putting my ble on low power and I use an app timer for scanning pins.

    and I want to start advertising every 8 hours for 10 minutes. you think this plan is good and

    sd_app_evt_wait(); 
    

    doesn't stop app timer and wait for that events?

Reply
  • I know that And I use it, but I want to use this functions

    sd_ble_gap_disconnect()
    sd_ble_gap_adv_stop();
    sd_app_evt_wait();
    

    for putting my ble on low power and I use an app timer for scanning pins.

    and I want to start advertising every 8 hours for 10 minutes. you think this plan is good and

    sd_app_evt_wait(); 
    

    doesn't stop app timer and wait for that events?

Children
No Data
Related