ABle’s BluezDBus Package¶
Warning
Please note that the platform backend documentation is highly WIP. We ask you keep the age old adage that it is what is on the inside which matters as you peruse the backend docs. - Bernie
Module contents¶
Globals defined for the bluezdbus backend
- class able.bluezdbus.AdvertisementType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
enum.EnumBluez defined advertising types
- BROADCAST = 'broadcast'¶
- PERIPHERAL = 'peripheral'¶
- class able.bluezdbus.BluezServiceInterfaces(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
able.bluezdbus.DBusInterface,enum.EnumBluez defined service interfaces
- ADAPTER_INTERFACE = 'org.bluez.Adapter1'¶
- ADVERTISEMENT_INTERFACE = 'org.bluez.LEAdvertisement1'¶
- ADVERTISING_MANAGER_INTERFACE = 'org.bluez.LEAdvertisingManager1'¶
- BLUEZ_ORG = 'org.bluez'¶
- DEVICE_INTERFACE = 'org.bluez.Device1'¶
- GATT_CHARACTERISTIC_INTERFACE = 'org.bluez.GattCharacteristic1'¶
- GATT_MANAGER_INTERFACE = 'org.bluez.GattManager1'¶
- GATT_SERVICE_INTERFACE = 'org.bluez.GattService1'¶
- class able.bluezdbus.DBusInterface(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
enum.EnumBase class for interface types
- class able.bluezdbus.DbusServiceInterfaces(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
able.bluezdbus.DBusInterface,enum.EnumDbus defined service interfaces
- DBUS_INTERFACE = 'org.freedesktop.DBus'¶
- OBJECT_MANAGER_INTERFACE = 'org.freedesktop.DBus.ObjectManager'¶
- PROPERTIES_INTERFACE = 'org.freedesktop.DBus.Properties'¶
- STATS_MANAGER_INTERFACE = 'org.freedesktop.DBus.Debug.Stats'¶
- able.bluezdbus.get_advertisement_object_path(name, index)[source]¶
Fetches the path of an advertisement