airinfo 0.1.0

Small library to read battery and status info from Airpods and Beats
Documentation

Airinfo

A library to read battery and status info from Airpods and Beats

Example

use airinfo::find_pods;

#[tokio::main(flavor = "current_thread")]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let pods = find_pods().await?;
    for pod in pods {
        println!("POD: {:#?}", pod);
    }
    Ok(())
}