An attempt to reverse engineer USB protocol for controlling/flashing PDC001 cables.
This cable allows any Power Delivery compatible charger/powerbank to become universal power supply. Very useful for powering tools like TS100 soldering iron.
Cable must be configured using Windows-only program. PDC001 can read out supported PD modes (PD version, voltage profiles), force preprogrammed voltage or select one of supported voltages (fixed or adjustable).
hidapi is required
MacOS:
$ brew install hidapi
$ make