Skip to main content

Bluetooth Stack for Apps, Emulation, Test and Experimentation

Project description

 _                 _     _
| |               | |   | |
| |__  _   _ ____ | |__ | | _____
|  _ \| | | |    \|  _ \| || ___ |
| |_) ) |_| | | | | |_) ) || ____|
|____/|____/|_|_|_|____/ \_)_____)

Bluetooth Stack for Apps, Emulation, Test and Experimentation

Logo

Bumble is a full-featured Bluetooth stack written entirely in Python. It supports most of the common Bluetooth Low Energy (BLE) and Bluetooth Classic (BR/EDR) protocols and profiles, including GAP, L2CAP, ATT, GATT, SMP, SDP, RFCOMM, HFP, HID and A2DP. The stack can be used with physical radios via HCI over USB, UART, or the Linux VHCI, as well as virtual radios, including the virtual Bluetooth support of the Android emulator.

Documentation

Browse the pre-built Online Documentation, or see the documentation source under docs/mkdocs/src, or build the static HTML site from the markdown text with:

mkdocs build -f docs/mkdocs/mkdocs.yml

Usage

Getting Started

For a quick start to using Bumble, see the Getting Started guide.

Dependencies

To install package dependencies needed to run the bumble examples, execute the following commands:

python -m pip install --upgrade pip
python -m pip install ".[test,development,documentation]"

Examples

Refer to the Examples Documentation for details on the included example scripts and how to run them.

The complete list of Examples, and what they are designed to do is here.

There are also a set of Apps and Tools that show the utility of Bumble.

Using Bumble With a USB Dongle

Bumble is easiest to use with a dedicated USB dongle. This is because internal Bluetooth interfaces tend to be locked down by the operating system. You can use the usb_probe tool (all platforms) or lsusb (Linux or macOS) to list the available USB devices on your system.

See the USB Transport page for details on how to refer to USB devices. Also, if you are on a mac, see these instructions.

License

Licensed under the Apache 2.0 License.

Disclaimer

This is not an official Google product.

This library is in alpha and will be going through a lot of breaking changes. While releases will be stable enough for prototyping, experimentation and research, we do not recommend using it in any production environment yet. Expect bugs and sharp edges. Please help by trying it out, reporting bugs, and letting us know what you think!

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bumble-0.0.230.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bumble-0.0.230-py3-none-any.whl (695.6 kB view details)

Uploaded Python 3

File details

Details for the file bumble-0.0.230.tar.gz.

File metadata

  • Download URL: bumble-0.0.230.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bumble-0.0.230.tar.gz
Algorithm Hash digest
SHA256 1064d45e8370fc2b1bb684c0efd59534407ea16c3a2811985ed50a886fa3b674
MD5 5ef2675f1c6fe72338d5561be76db6c9
BLAKE2b-256 b096cd23ffd3d86bfcf8ac9cb402e03c2a297ea88c9bcd6ab7c4afdd5bbc32f9

See more details on using hashes here.

File details

Details for the file bumble-0.0.230-py3-none-any.whl.

File metadata

  • Download URL: bumble-0.0.230-py3-none-any.whl
  • Upload date:
  • Size: 695.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bumble-0.0.230-py3-none-any.whl
Algorithm Hash digest
SHA256 2210aa681a1d278794a6ee788d64e04cc72d4cb908689e383194bdf55d654c65
MD5 00de9b51c0267b85c66e85f85c23f0ed
BLAKE2b-256 c1a98115d7262fa5cc6c1f57fc8aec3ac1fc0ed7b1217942a49a9bfe530c4976

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page