#ble #beacon #gatt #api-client #bluetooth

blefyi

Bluetooth Low Energy chip reference, GATT profile lookup, and beacon encyclopedia -- async API client for blefyi.com

1 unstable release

new 0.1.0 Mar 6, 2026

#5 in #beacon

MIT license

17KB
154 lines

blefyi

crates.io docs.rs

Async Rust client for the BLEFYI API. Look up Bluetooth Low Energy chips, GATT profiles, beacon types, BLE versions, and manufacturer specifications.

Install

[dependencies]
blefyi = "0.1"
tokio = { version = "1", features = ["full"] }

Quick Start

use blefyi::Client;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = Client::new();
    let results = client.search("nrf52").await?;
    println!("Found {} results", results.total);
    Ok(())
}

API Methods

Method Description
search(query) Search chips, profiles, and glossary
chip(slug) Get BLE chip details
profile(slug) Get GATT profile details
version(slug) Get Bluetooth version details
beacon(slug) Get beacon type details
usecase(slug) Get use case details
manufacturer(slug) Get manufacturer details
glossary_term(slug) Get glossary term definition
compare(slug_a, slug_b) Compare two BLE chips
random() Get a random BLE chip

All methods are async and return Result<T, BleFyiError>.

Also Available

Language Package Install
Python blefyi pip install blefyi
TypeScript blefyi npm install blefyi
Go blefyi-go go get github.com/fyipedia/blefyi-go
Rust blefyi cargo add blefyi
Ruby blefyi gem install blefyi

Code FYI Family

Site Domain Focus
BarcodeFYI barcodefyi.com Barcode symbologies & standards
QRCodeFYI qrcodefyi.com QR code types & encoding
NFCFYI nfcfyi.com NFC chips & protocols
BLEFYI blefyi.com Bluetooth Low Energy
RFIDFYI rfidfyi.com RFID tags & readers
SmartCardFYI smartcardfyi.com Smart card platforms

License

MIT

Dependencies

~6–22MB
~233K SLoC