<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_link_driver(uri, link_quality_callback=None, link_error_callback=None):
 """Return the link driver for the given URI. Returns None if no driver was found for the URI or the URI was not well formatted for the matching driver."""

    for driverClass in CLASSES:
        try:
            instance = driverClass()
            instance.connect(uri, link_quality_callback, link_error_callback)
            return instance
        except WrongUriType:
            continue

    return None