# xiaoyaoyou1212/BLE

✨Android BLE基础操作框架，基于回调，操作简单。包含扫描、多连接、广播包解析、服务读写及通知等功能。

Repository: https://github.com/xiaoyaoyou1212/BLE
Canonical: https://ross.abutalabs.com/products/ble
Homepage: http://www.huwei.tech/
Language: Java
License: Apache-2.0
License Family: permissive
Topics: ble, uuid, characteristics
Last push: 2018-05-28T15:05:32+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3680, "days_push": 3019, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1398, forks 360 (observed 2026-08-28T04:04:36.850002+00:00)

## What it is
An Android BLE (Bluetooth Low Energy) operation framework written in Java that simplifies device communication with a callback-based API. It provides scanning with configurable filters, multi-device connection management with LRU eviction, advertisement packet parsing, and GATT service read/write/notify operations.

## Use cases
- scan and filter BLE devices on Android
- manage multiple Bluetooth device connections
- parse BLE advertisement broadcast packets
- read and write GATT characteristics and subscribe to notifications
- auto-reconnect to BLE devices with retry logic
- limit concurrent BLE connections with LRU eviction

## When to choose
- you need a simple callback-based Android BLE library for scanning and multi-device GATT communication
- you want built-in scan filters by name, MAC, UUID, or signal strength
- you need configurable timeouts, retries, and max connection counts out of the box

## When to avoid
- you need data framing such as packet splitting and reassembly, which the library explicitly does not handle
- you target modern Android BLE APIs or need active maintenance and recent updates
- you need a Kotlin-first or coroutine/Flow-based BLE library

## Facets
- artifact type: library
- maturity: maintenance
- function: sdk, developer-tools
- domain: android-tools, iot, mobile-development
- platform: jvm
- tags: bluetooth-low-energy, ble-scanning, ble-connections, callback-based, gatt, android, mobile

## Member repositories
- xiaoyaoyou1212/BLE (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:36.850002+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:39:15.241006+00:00, confidence not recorded.
  - readme: https://github.com/xiaoyaoyou1212/BLE (fetched 2026-08-28T04:04:36.850002+00:00, sha 246b0da67c6c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
