/* Function for marking a connection record as invalid and resetting the values.  */
static void record_invalidate(uint16_t conn_handle)
/* Function for marking a connection record as invalid and resetting the values.  */
static void record_invalidate(uint16_t conn_handle)
{
    sdk_mapped_flags_bulk_update_by_key(m_bcs.valid_conn_handles,
                                        m_bcs.flag_array,
                                        BLE_CONN_STATE_N_FLAGS,
                                        conn_handle,
                                        0);
}