hace 4 años 3 commits en master desde esta 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.
hace 5 años 16 commits en master desde esta 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.
hace 5 años 20 commits en master desde esta 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.
hace 5 años 23 commits en master desde esta 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.
hace 5 años 41 commits en master desde esta release
The initial release! It works well, and has the unit tests to prove it. It doesn’t have the final USB VID:PID pair for the PD Buddy Sink though, because it isn’t assigned yet.