Rajaram-Regupathy / libtypec

“libtypec” is aimed to provide a generic interface abstracting all platform complexity for user space to develop tools for efficient USB-C port management. The library can also enable development of diagnostic and debug tools to debug system issues around USB-C/USB PD topology.
34 stars 4 forks source link

libtypec: Expand VDO decoding, add header file for lstypec #2

Closed Rajaram-Regupathy closed 2 years ago

Rajaram-Regupathy commented 2 years ago

This commit adds to the existing VDO decoding in lstypec to include active cables, AMAs, VPDs, DFPs, UFPs and DRDs from USB PD Revisions 2.0, 3.0 and 3.1 where applicable. It also moves data structure definitions, constant definitions and function prototypes from lstypec into a header file.