Skip to content

KacperJarocki/wifi_scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packet tracer

Packet Tracer is an embedded device designed to scan networks. This project is implemented using Rust and targets Pico W to provide network scanning capabilities.

Installation

Prerequisites

Hardware

  • Pico W

  • Debug Probe example

  • Oled display with ssd1306

  • Tactile buttons x5

  • Led Diode

Software

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo install probe-rs-tools
git clone https://github.com/embassy-rs/embassy

Connecting Hardware

soon :)

Running

  1. Clone my repo and cd into it
git clone https://github.com/KacperJarocki/packet_tracer
cd packet_tracer
  1. Edit Cargo.toml and adjust the path to embassy repo cloned on you machine
[dependencies]
embassy-embedded-hal = { version = "0.1.0", path = "../../embassy/embassy-embedded-hal", features = ["defmt"] }
embassy-sync = { version = "0.6.0", path = "../../embassy/embassy-sync", features = ["defmt"] }
embassy-executor = { version = "0.5.0", path = "../../embassy/embassy-executor", features = ["task-arena-size-98304", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers"] }
embassy-time = { version = "0.3.1", path = "../../embassy/embassy-time", features = ["defmt", "defmt-timestamp-uptime"] }
embassy-rp = { version = "0.1.0", path = "../../embassy/embassy-rp", features = ["defmt", "unstable-pac", "time-driver", "critical-section-impl"] }
embassy-usb = { version = "0.2.0", path = "../../embassy/embassy-usb", features = ["defmt"] }
embassy-net = { version = "0.4.0", path = "../../embassy/embassy-net", features = ["defmt", "tcp", "udp", "raw", "dhcpv4", "medium-ethernet", "dns"] }
embassy-net-wiznet = { version = "0.1.0", path = "../../embassy/embassy-net-wiznet", features = ["defmt"] }
embassy-usb-logger = { version = "0.2.0", path = "../../embassy/embassy-usb-logger" }
cyw43 = { version = "0.1.0", path = "../../embassy/cyw43", features = ["defmt", "firmware-logs"] }
cyw43-pio = { version = "0.1.0", path = "../../embassy/cyw43-pio", features = ["defmt", "overclock"] }
  1. Run
cargo run --release

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.