# paypal/gatt

Gatt is a Go package for building Bluetooth Low Energy peripherals

Repository: https://github.com/paypal/gatt
Canonical: https://ross.abutalabs.com/products/gatt
Language: Go
License: BSD-3-Clause
License Family: permissive
Last push: 2022-08-17T00:35:11+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4515, "days_push": 1478, "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 1165, forks 287 (observed 2026-08-28T04:03:50.130337+00:00)

## What it is
A Go package implementing the Bluetooth Low Energy Generic Attribute Profile (GATT) protocol for building BLE peripherals and centrals. It lets developers create services, characteristics, and descriptors, advertise, scan, connect, and handle requests on Linux and macOS.

## Use cases
- build a bluetooth low energy peripheral in go
- scan and connect to ble devices from a go program
- create gatt services and characteristics
- advertise ble services from linux or macos
- cross-compile a go ble server for arm embedded devices
- write a ble central client to discover and explore peripherals

## When to choose
- you need to implement BLE peripheral or central roles in Go on Linux or macOS
- you want direct HCI-level control of the Bluetooth adapter without BlueZ D-Bus
- you are deploying Go BLE code to embedded ARM Linux devices

## When to avoid
- you need Windows, Android, or iOS support
- you need a maintained library with recent releases or broad community support
- you need to share the HCI device with other Bluetooth programs on the same machine
- you prefer a higher-level BlueZ-based API on Linux

## Facets
- artifact type: library
- maturity: maintenance
- function: sdk, developer-tools
- domain: iot, embedded-systems, developer-tools
- platform: go, cross-platform, embedded
- tags: bluetooth-low-energy, gatt, ble-peripheral, ble-central, hci, iot-connectivity, linux, macos

## Member repositories
- paypal/gatt (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:50.130337+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-30T06:29:28.135986+00:00, confidence not recorded.
  - readme: https://github.com/paypal/gatt (fetched 2026-08-28T04:03:50.130337+00:00, sha eaefcd2b225d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
