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

can the fn advertising_start be called in the main loop?

we have a 2 chip soln. nrf for Ble, Atmel for main application. config data is located in the Atmel part. Config data also has BT Device name, ADDR, Adv Params etc.

I need to start advertising only after i get all the info from AT.

can i call the below function in the for(;;) after i get all the info from AT? gap_params_init(); services_init(); advertising_init(); conn_params_init(); sec_params_init();

  simple_uart_putstring(start_string);
  //App Init
  
  advertising_start();
Related