преди 4 години 3 ревизии на master след тази версия
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 години 16 ревизии на master след тази версия
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 години 20 ревизии на master след тази версия
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 години 23 ревизии на master след тази версия
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.
преди 5 години 41 ревизии на master след тази версия
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.