Crate ppk2

source ·
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

Command definitions
Measurement parsing and preprocessing
Several utility types used to communicate with the device.

Structs

PPK2 device representation.

Enums

PPK2 communication or data parsing error.

Functions

Try to find the serial port the PPK2 is connected to.

Type Definitions