/* Function for dispatching a SoftDevice event to all modules with a SoftDevice event handler. 
This function is called from the SoftDevice event interrupt handler after a SoftDevice event has been received. */
static void ble_evt_dispatch(ble_evt_t *p_ble_evt)
/* Function for dispatching a SoftDevice event to all modules with a SoftDevice event handler. 
This function is called from the SoftDevice event interrupt handler after a SoftDevice event has been received. */
static void ble_evt_dispatch(ble_evt_t *p_ble_evt)
{
    ble_conn_params_on_ble_evt(p_ble_evt);
    ble_nus_on_ble_evt(&m_nus, p_ble_evt);
    on_ble_evt(p_ble_evt);
    ble_advertising_on_ble_evt(p_ble_evt);
    bsp_btn_ble_on_ble_evt(p_ble_evt);
}