bless

Contents:

  • Installation
  • Usage
  • Callback Priority
  • Examples
  • Backends
    • Advertisement Data
      • BlessAdvertisementData
    • Attributes
    • Characteristics
    • Descriptors
    • Requests
    • Sessions
    • Services
    • Server Base
    • BlueZ DBus (Linux)
    • CoreBluetooth (macOS)
    • WinRT (Windows)
  • API Reference
  • Read the Docs
bless
  • Backends
  • Advertisement Data
  • View page source

Advertisement Data

bless.backends.advertisement defines the generic advertisement payload used by the platform backends. Each backend maps the fields it supports.

class bless.backends.advertisement.BlessAdvertisementData(local_name: str | None = None, service_uuids: List[str] | None = None, manufacturer_data: Dict[int, bytes] | None = None, service_data: Dict[str, bytes] | None = None, is_connectable: bool | None = None, is_discoverable: bool | None = None, tx_power: int | None = None)

Generic advertisement data for BLE backends.

Previous Next

© Copyright .

Built with Sphinx using a theme provided by Read the Docs.