sonar

Crates.iosonar
lib.rssonar
version0.0.5
created_at2025-02-01 00:33:27.716813+00
updated_at2025-06-18 17:01:29.69046+00
descriptionSimple data transfer protocol using audio signals
homepage
repositoryhttps://github.com/Yrrrrrf/sonar
max_upload_size
id1537956
size105,469
Fernando Bryan Reza Campos (Yrrrrrf)

documentation

http://docs.rs/sonar

README

Sonar Icon
Sonar

GitHub Crates.io Docs.rs Crates.io Downloads License: MIT

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.

Installation

cargo install sonar

Examples

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
    

License

This project is licensed under the MIT License - see the LICENSE file for details.

Commit count: 22

cargo fmt