# What is UniTAP?

UniTAP is a Python module that allows you to work directly with UCD devices.

# How can I start?

Go to the section Quickstart and read how you can quickly start writing your own test scripts using the UniTAP API.

# Are there ready-made examples of using the API?

To see the most popular API usages, see the Examples section.

# What is the structure of a Python module?

UniTAP has a pretty simple structure. There are several main sections:

- Common types
- Device types
- Device modules

### Common types

You can use these types not only when writing scripts, but also in your own projects, since these types do not depend on the TSI library. Main list of types:

- Audio Mode
- Color Info
- Data Info
- Timestamp
- Timing
- Video Frame
- Video Mode
- DSC Video Frame
- DSC Compression Info

### Device types

Our UniTAP API currently supports the following devices:

- UCD-301 in HDMI Sink and DP Sink roles
- UCD-323 in HDMI Sink, DP Sink, HDMI Source and DP Source roles
- UCD-340 in DP Source, DP Sink and PDC (Sink and Source) roles
- UCD-400 in DP Source and DP Sink roles
- UCD-422 in HDMI Source and HDMI Sink roles
- UCD-424 in DP Source, DP Sink and PDC (Sink and Source) roles
- UCD-500 in DP Source, DP Sink and PDC (Sink and Source) roles

### Device modules

On all devices allows following modules:

- Test module

Device test module allows running test, configuring parameters for test and making report after testing.

On all Sink (receiver) devices allows following modules:

- Video capturer
- Audio capturer

On all Source (transmitter) devices allows following modules:

- Audio Generator

On DP Sink (DPRX) available following modules:

- Link
- DPCD
- EDID
- HDCP
- Event capturer

On DP Sink (DPRX4xx) available modules from DP Sink (DPRX) and following modules:

- FEC
- Bulk Capturer
- Panel Replay

On DP Source (DPTX) available following modules:

- Link
- DPCD
- EDID
- HDCP
- Pattern generator
- Event capturer

On DP Source (DPTX4xx) available modules from DP Source (DPTX) and following modules:

- FEC
- MST Pattern Generator

On HDMI Sink (HDRX) and (HDRX4xx) available following modules:

- Link
- EDID
- HDCP
- Event capturer

On HDMI Source (HDTX) and (HDTX4xx) available following modules:

- Link
- EDID
- HDCP
- Pattern generator
- Event capturer

On PDC (Sink and Source) available following modules:

- Bus electrical status
- PDC Capabilities
- Power contract control
- PDC controls
- PDC DP Alt mode
- Power Sink
- Power Source

All list of modules you can find in Available Modules section.

#### Company Information

Piispantilankuja 4, FI-02240 ESPOO, Finland

Tel. +358 9 859 550

www.unigraf.fi

unigraf-china.cn