| Crates.io | sonar |
| lib.rs | sonar |
| version | 0.0.5 |
| created_at | 2025-02-01 00:33:27.716813+00 |
| updated_at | 2025-06-18 17:01:29.69046+00 |
| description | Simple data transfer protocol using audio signals |
| homepage | |
| repository | https://github.com/Yrrrrrf/sonar |
| max_upload_size | |
| id | 1537956 |
| size | 105,469 |
Sonar is a Rust project exploring data transmission using audio signals. It aims to enable communication across air-gapped systems or in environments where traditional networking is not an option, using only standard microphones and speakers.
We're building a modular system with different sound encoding techniques (like FSK and BPSK) and a layered approach to structure the data for reliable transfer. The project includes a command-line tool to easily send and listen for these audio-based messages.
This project is currently in an active prototyping and development phase. Many features are experimental and APIs are subject to change.
cargo install sonar
You can find more detailed examples in the examples/ directory:
main_tester.rs: Demonstrates the conceptual data structures for organizing information (Frames, Packets, Segments).
cargo run --example main_tester
test.rs: Includes various smaller tests for different components like FSK configurations.
cargo run --example test
This project is licensed under the MIT License - see the LICENSE file for details.