You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main goal of this change is to add a command to bhwi-cli that enumerates all
supported devices and displays information (ex. fingerprint) about them so that
the user can interact with a device.
Lots of tangential changes have also been made as I was trying to build out a
decent foundation for adding device enumeration.
Large refactors were done in order to make it possible to have heterogeneous
vectors of devices. It's not a major benefit but it makes the cli code nicer.
This includes the creation of the HWIDevice trait and making error types use
thiserror to implement std::error::Error. This also required the bhwi-wasm
errors to be changed from JsValue to a wrapper error, WasmError, which converts
the errors to strings. Not ideal, but could not find a better solution right
now.
Lots of the Transports from the e2e crates were moved around and changed for
re-usability between the cli crate e2e tests.
The rest of the changes were simply writing the Transports (HID and serial
backends) used for the currently supported devices.
0 commit comments