Directories
¶
| Path | Synopsis |
|---|---|
|
Package capture holds the model of a Modbus capture: what a device answered, and when.
|
Package capture holds the model of a Modbus capture: what a device answered, and when. |
|
cmd
|
|
|
mbcapctl
command
Command mbcapctl works with Modbus capture files (.mbcap, .mbcap.jsonl, .mbcap.csv): it inspects, verifies, dumps, converts, combines, splits, filters, trims and repairs them.
|
Command mbcapctl works with Modbus capture files (.mbcap, .mbcap.jsonl, .mbcap.csv): it inspects, verifies, dumps, converts, combines, splits, filters, trims and repairs them. |
|
Package edit derives new captures from existing ones: Filter keeps a part, Trim cuts a time window and rebases it to 0, Split writes one capture per target, stream or function code, and Merge combines captures on their wall-clock starts.
|
Package edit derives new captures from existing ones: Filter keeps a part, Trim cuts a time window and rebases it to 0, Split writes one capture per target, stream or function code, and Merge combines captures on their wall-clock starts. |
|
internal
|
|
|
format
Package format detects capture encodings and opens readers and writers for them by name.
|
Package format detects capture encodings and opens readers and writers for them by name. |
|
fuzzcap
Package fuzzcap holds what the fuzz tests of the encodings share: seed inputs, a capture built from fuzz bytes, and the round-trip property.
|
Package fuzzcap holds what the fuzz tests of the encodings share: seed inputs, a capture built from fuzz bytes, and the round-trip property. |
|
synth
Package synth generates synthetic captures for tests and benchmarks: a poller reading blocks of holding registers whose values are static, slow counters, walking or noisy (after docs/sizemodel/bench.py), plus optional extras covering every read function, exceptions, several targets and samples written slightly out of order.
|
Package synth generates synthetic captures for tests and benchmarks: a poller reading blocks of holding registers whose values are static, slow counters, walking or noisy (after docs/sizemodel/bench.py), plus optional extras covering every read function, exceptions, several targets and samples written slightly out of order. |
|
Package jsonl reads and writes captures as JSON Lines (.mbcap.jsonl), the lossless canonical text encoding of docs/FORMAT.md section 3: one JSON object per line, PDUs as lowercase hex, times as integer ticks.
|
Package jsonl reads and writes captures as JSON Lines (.mbcap.jsonl), the lossless canonical text encoding of docs/FORMAT.md section 3: one JSON object per line, PDUs as lowercase hex, times as integer ticks. |
|
Package mbcap reads and writes the MBCAP binary capture format (.mbcap) of docs/FORMAT.md section 2: a magic number followed by CRC32C-protected blocks.
|
Package mbcap reads and writes the MBCAP binary capture format (.mbcap) of docs/FORMAT.md section 2: a magic number followed by CRC32C-protected blocks. |
|
Package mbcsv reads and writes captures as CSV.
|
Package mbcsv reads and writes captures as CSV. |
Click to show internal directories.
Click to hide internal directories.