4 years ago 3 commits to master since this release
This release adds support for the new features in PD Buddy Sink Firmware 1.2.0. New methods have been added to the
Sink class for the new commands, and additions have been made to
SinkConfig and the PDO API as well.
5 years ago 16 commits to master since this release
A new release to add support for the firmware’s new, yet-to-be-released typec_virtual PDOs. This mainly involves a new
pdbuddy.TypeCVirtualPDO class, and some additions to the PDO calculation functions.
5 years ago 20 commits to master since this release
This release adds a couple new functions for calculating properties of PDO lists as returned by
pdbuddy.Sink.get_source_cap(). These new functions make it easier for GUIs to display the maximum power offered by a charger, and test if a charger appears to be violating the USB PD Power Rules.
5 years ago 23 commits to master since this release
This release adds support for the new features in PD Buddy Sink Firmware 1.1.0. The new
Sink.output property allows control of the PD Buddy Sink’s output, and
Sink.get_source_cap() can be used to read the power supply’s capabilities.
There are a few incompatibilities with older versions of the library, notably that
SinkConfig is a
collections.namedtuple now, and so is immutable and requires all its members to be set explicitly on creation. This simplified both the library and test code greatly, so I assure the reader that it’s a good change.