/* Function for notifying connection manager event to the application.  */
static __INLINE void app_evt_notify(dm_handle_t const *const p_handle, dm_event_t const *const p_event, uint32_t event_result)
/* Function for notifying connection manager event to the application.  */
static __INLINE void app_evt_notify(dm_handle_t const *const p_handle, dm_event_t const *const p_event, uint32_t event_result)
{
    dm_event_cb_t app_cb = m_application_table[0].ntf_cb;
    DM_MUTEX_UNLOCK();
    DM_TRC("[DM]: Notifying application of event 0x%02X\r\n", p_event->event_id);
    UNUSED_VARIABLE(app_cb(p_handle, p_event, event_result));
    DM_MUTEX_LOCK();
}