Expand description
§PPK2-rs
Rust library and CLI for working with Nordic Semiconductor’s Power Profiler Kit II. Far from complete, but can be used at least with the PPK2 functioning as a source meter.
Heavily based on nrfconnect-ppk and its derivate ppk2-api-python.
To install, run:
cargo install ppk2-cli
If you want to use this crate as a library, you can take inspiration from examples/cli.rs
to get an idea of how to use it.
Modules§
- cmd
- Command definitions
- measurement
- Measurement parsing and preprocessing
- types
- Several utility types used to communicate with the device.
Structs§
- Ppk2
- PPK2 device representation.
Enums§
- Error
- PPK2 communication or data parsing error.
Functions§
- try_
find_ ppk2_ port - Try to find the serial port the PPK2 is connected to.