UniTAP.dev.ports.modules.edid.edid
Main class for working with EDID.
Allows reading and saving EDID. This functionality is used by child classes EdidSource and EdidSink.
You cannot use a class Edid object directly.
Allows reading from DUT EdidSource or TE EdidSink side EDID block(s) over connecting signal cable.
Returns:
object of bytearray
Save received EDID data into file. Supported formats:
- BIN.
- HEX.
Arguments:
- path (str) - full path to file
- file_type (
EdidFileType) - one of the Supported formats. - data (bytearray) - EDID data for saving
Class EdidSource inherited from class Edid.
Allows read EDID from remote devices read_sbm, save received EDID data to file save_edid and
read EDID from DUT read_i2c
Allows reading remote EDID block(s) of remote device(s) attached to DUT over connecting signal cable. stream = 0 - UCD local EDID stream > 0 - Virtual Sink's EDID
Arguments:
- stream (int) - Virtual Sink index.
Inherited Members
Class EdidSink inherited from class Edid.
Allows writing EDID to device write_edid, load EDID data from file load_edid,
save received EDID data to file save_edid and read EDID from TE read_i2c.
Write transferred EDID to device.
Arguments:
- data (bytearray) - EDID data for writing
- stream (int) - Virtual Sink's EDID index
Read EDID data from file. If needed to write data to device, select load_on_device = True. Supported formats:
- BIN.
- HEX.
Arguments:
- path (str) - full path to file.
- load_on_device (bool) - write loaded data to device or not.
- stream (int) - Virtual Sink's EDID index
Returns:
object of bytearray
Allows reading remote EDID block(s) of remote device(s) attached to DUT over connecting signal cable. stream = 0 - UCD local EDID stream > 0 - Virtual Sink's EDID
Arguments:
- stream (int) - Virtual Sink index.
Inherited Members
Class DisplayIdSource inherited from class Edid.
Allows read DisplayId from remote devices read_sbm, save received DisplayId data to file save_edid and
read DisplayId from DUT read_i2c
Allows reading remote DisplayId block(s) of remote device(s) attached to DUT over connecting signal cable. stream = 0 - UCD local EDID stream > 0 - Virtual Sink's EDID
Arguments:
- stream (int) - Virtual Sink index.
Inherited Members
Class DisplayIdSink inherited from class Edid.
Allows writing DisplayId to device write_display_id, load DisplayId data from file load_display_id,
save received DisplayId data to file save_edid and read DisplayId from TE read_i2c.
Returns status of DisplayId, is enabled or not.
Returns:
object of
booltype.
Enable/Disable DisplayId.
Arguments:
- enable (bool) - enable (True) or disable (False)
Write transferred EDID to device.
Arguments:
- data (bytearray) - EDID data for writing
Read EDID data from file. If needed to write data to device, select load_on_device = True. Supported formats:
- BIN.
- HEX.
Arguments:
- path (str) - full path to file.
- load_on_device (bool) - write loaded data to device or not.
Returns:
object of bytearray