/* Function for storing GATT Server & Client context.  */
static __INLINE ret_code_t gattsc_context_store(pstorage_handle_t const *p_block_handle, dm_handle_t const *p_handle)
/* Function for storing GATT Server & Client context.  */
static __INLINE ret_code_t gattsc_context_store(pstorage_handle_t const *p_block_handle, dm_handle_t const *p_handle)
{
    DM_LOG("[DM]: --> gattsc_context_store\r\n");
    ret_code_t err_code = gatts_context_store(p_block_handle, p_handle);
    if (NRF_SUCCESS == err_code)
    {
        err_code = gattc_context_store(p_block_handle, p_handle);
    }
    return err_code;
}