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

ble_app_beacon multiple advertising every 5sec.

Hi, I want to advertise each 3times every 5seconds as sometimes beacon scanner can't read it so I need 3times in series advertising.

in main() I added 3times advertising but it doesn't work anymore. how can I make it 3times comtinuous advertising?

    // start advertise
    advertising_init();

    // Start execution.
    advertising_start();

    // Start execution.
    advertising_start();

    // Start execution.
    advertising_start();

Even I added advertising stop() into advertising_start(); when I added this, advertising not work.

    err_code = sd_ble_gap_adv_stop();

    APP_ERROR_CHECK(err_code);

Parents Reply Children
No Data
Related