def version_string(version):
    """
    Converts a version number into a version string

    :param version: The version number from the firmware
    :returns str -- The version string
    """
    major_version = version >> 0x10
    minor_version = version & 0xFFFF
    return '%d.%d' % (major_version, minor_version)