bleak package

Subpackages

Submodules

bleak.exc module

exception bleak.exc.BleakDBusError(dbus_error: str, error_body: list)[source]

Bases: bleak.exc.BleakError

Specialized exception type for D-Bus errors.

property dbus_error: str

Gets the D-Bus error name, e.g. org.freedesktop.DBus.Error.UnknownObject.

property dbus_error_details: Optional[str]

Gets the optional D-Bus error details, e.g. ‘Invalid UUID’.

exception bleak.exc.BleakError[source]

Bases: Exception

Base Exception for bleak.

bleak.uuids module

bleak.uuids.register_uuids(uuids_to_descriptions: Dict[str, str]) None[source]

Add or modify the mapping of 128-bit UUIDs for services and characteristics to descriptions.

Parameters

uuids_to_descriptions – A dictionary of new mappings

bleak.uuids.uuidstr_to_str(uuid_)[source]

Module contents

Top-level package for bleak.

bleak.cli()[source]