Skip to content
affolter-engineeringPublic

About

Framework for testing common IoT protocols and IoT implementations

Topics

Resources

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

iottack

A Rust-based framework for testing and debugging common IoT protocols and IoT implementations which are used by that hardware, those products and infrastructures.

Check the Plugin overview

Build

cargo build --release

With Nix:

nix build
nix run . -- platform

Usage

PLatform details

Collect platform environment details about the host which acts as the test platform:

iottack platform

Reports operating system, kernel/architecture and privilege level.

List available plugins

iottack list

Development shell (Nix)

nix develop
cargo build
cargo test

Adding a new protocol

  1. Create src/protocols/<name>/ with a config struct, a session struct and a <Name>Plugin trait that extends Plugin.
  2. Implement one or more concrete plugin structs.
  3. Export the module from src/protocols/mod.rs.
  4. Register the plugins in build_registry() in src/bin/main.rs.

Author(s)

  • Fabian Affolter (@fabaff)

License

MIT

About

Framework for testing common IoT protocols and IoT implementations

Topics

Resources

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages