BTstack

双模式蓝牙栈,内存占用小。「Dual-mode Bluetooth stack, with small memory footprint.」

  • Owner: bluekitchen/btstack
  • Platform: Embedded Systems
  • License:: Other
  • Category::
  • Topic:
  • Like:
    2
      Compare:

Github stars Tracking Chart

Welcome to BTstack

BTstack is BlueKitchen's implementation of the official Bluetooth stack.
It is well suited for small, resource-constraint devices
such as 8 or 16 bit embedded systems as it is highly configurable and comes with an ultra small memory footprint.

Targeting a variety of platforms is as simple as providing the necessary UART, CPU, and CLOCK implementations. BTstack is currently capable of connecting to Bluetooth-modules via: (H2) HCI USB, (H4) HCI UART + TI's eHCILL, and (H5) HCI Three-Wire UART.

On smaller embedded systems, a minimal run loop implementation allows to use BTstack without a Real Time OS (RTOS).
If a RTOS is already provided, BTstack can be integrated and run as a single thread.

On larger systems, BTstack provides a server that connects to a Bluetooth module.
Multiple applications can communicate with this server over different inter-process communication methods. As sockets are used for client/server communication, it's easy to interact via higher-level level languages, e.g. there's already a Java binding for use in desktop environments.

BTstack supports the Central and the Peripheral Role of Bluetooth 5 Low Energy specification incl. LE Secure Connections, LE Data Channels, and LE Data Length Extension. It can be configured to run as either single-mode stack or a dual-mode stack.

BTstack is free for non-commercial use. However, for commercial use, tell us a bit about your project to get a quote.

Documentation: HTML, PDF

Third-party libraries (FOSS): List of used libraries and their licenses

Discussion and Community Support: BTstack Google Group

Supported Protocols and Profiles

Protocols: L2CAP (incl. LE Data Channels), RFCOMM, SDP, BNEP, AVDTP, AVCTP, ATT, SM (incl. LE Secure Connections).

Profiles: GAP, IOP, HFP, HSP, SPP, PAN, A2DP, AVRCP incl. Browsing, GATT.

Beta Stage: HID, HOGP, PBAP.

In Development: BLE Mesh and more.

It has been qualified with the Bluetooth SIG (QDID 110883) for GAP, IOP, HFP, HSP, SPP, PAN, A2DP, AVRCP profiles and
GATT, SM of the Bluetooth 5 specification. For information on MFi/iAP2 support, please contact us.

Evaluation Platforms

Embedded Platforms:

Build Status

Main metrics

Overview
Name With Ownerbluekitchen/btstack
Primary LanguageC
Program languageC (Language Count: 17)
PlatformEmbedded Systems
License:Other
所有者活动
Created At2015-03-27 13:37:35
Pushed At2025-07-20 18:38:09
Last Commit At2025-06-05 13:36:02
Release Count20
Last Release Namev1.6.2 (Posted on 2024-12-23 12:25:58)
First Release Namev1.1 (Posted on )
用户参与
Stargazers Count1.9k
Watchers Count128
Fork Count654
Commits Count16.7k
Has Issues Enabled
Issues Count525
Issue Open Count60
Pull Requests Count38
Pull Requests Open Count14
Pull Requests Close Count121
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private