airinfo

Crates.ioairinfo
lib.rsairinfo
version0.1.0
sourcesrc
created_at2024-01-22 01:24:35.176058
updated_at2024-01-22 01:24:35.176058
descriptionSmall library to read battery and status info from Airpods and Beats
homepage
repositoryhttps://github.com/lex148/airinfo
max_upload_size
id1108149
size34,179
(lex148)

documentation

README

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(())
}
Commit count: 0

cargo fmt