/* NOTE: the ordering of these function calls is important! We have to stop the PHY and remove the schedule item before we can set the state to standby and set the current state machine pointer to NULL.  */
static void ble_ll_conn_halt(void)
/* NOTE: the ordering of these function calls is important! We have to stop the PHY and remove the schedule item before we can set the state to standby and set the current state machine pointer to NULL.  */
static void ble_ll_conn_halt(void)
{
    ble_phy_disable();
    ble_ll_state_set(BLE_LL_STATE_STANDBY);
    g_ble_ll_conn_cur_sm = NULL;
}