Skip to main content

Python-based Bluetooth Device Management

Project description

Latest PyPI version Number of PyPI downloads Travis CI build status Test coverage

A library for managing bluetooth devices using Python, Bluez and DBus.

Installation

Installing the RTP/SBC codec (this must be done first):

sudo make -C codecs install

Note: the default platform is x86 (mmx). To build for a different platform e.g., armv6 then run sudo make -C codecs install PLATFORM=armv6 instead.

Install the python library by running:

pip install BT-Manager

Documentation

Documentation is hosted at https://pythonhosted.org/BT-Manager

Project resources

Changelog

v0.2.0

Added support for:

  • BTInput (org.bluez.Input)

v0.1.0

Initial release supporting Bluez 4.x dbus API with following interfaces:

  • BTManager (org.bluez.Manager)

  • BTAdapter (org.bluez.Adapter)

  • BTDevice (org.bluez.Device)

  • BTMedia (org.bluez.Media)

  • BTMediaTransport (org.bluez.MediaTransport)

  • BTAudioSource (org.bluez.AudioSource)

  • BTAudioSink (org.bluez.AudioSink)

Services:

  • BTAgent (org.bluez.Agent)

  • SBCAudioSink (org.bluez.MediaEndpoint): endpoint/transport for connecting A2DP SBC source

  • SBCAudioSource (org.bluez.MediaEndpoint): endpoint/transport for connecting A2DP SBC sink

Other:

  • UUID decoding for identifying supported services

  • Class of device decoding to device service, major and minor classes

  • Device vendors codes and names for device vendor decoding

  • Audio codec types and SBC codec configuration attributes

Project details


Download files

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

Source Distribution

BT-Manager-0.2.0.tar.gz (87.7 kB view details)

Uploaded Source

File details

Details for the file BT-Manager-0.2.0.tar.gz.

File metadata

  • Download URL: BT-Manager-0.2.0.tar.gz
  • Upload date:
  • Size: 87.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for BT-Manager-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2b3909142665b29d6796036fac76b500d7f7f9d83bbee40773fb7f75a7a4ab88
MD5 0e7a6839b3d640322d1f693c5e5ceff0
BLAKE2b-256 e41fece2cc9329220d72790b012d7dea5e15bd43b1472e988b3784c82f21d06f

See more details on using hashes here.

Supported by

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