the existing code is using freetos,
and main.c finally ends at
vTaskStartScheduler();
err_code = sd_ble_gap_adv_start(m_adv_handle, APP_BLE_CONN_CFG_TAG);
bool ble_stack_manager_scan_start(ble_mgr_adv_report_handler_t scan_handler)
{
ret_code_t err_code;
m_scan_handler = scan_handler;
err_code = nrf_ble_scan_start(&m_scan);
