int ble_hs_start(void) { int rc; ble_hs_parent_task = os_sched_get_current_task(); ble_hs_heartbeat_timer_reset(); rc = ble_hs_startup_go(); return rc; }
int ble_hs_start(void) { int rc; ble_hs_parent_task = os_sched_get_current_task(); ble_hs_heartbeat_timer_reset(BLE_HS_HEARTBEAT_OS_TICKS); ble_gatts_start(); rc = ble_hs_startup_go(); return rc; }