Skip to content

pb_client.models.UnusableAdapter dataclass

UnusableAdapter(address, reason, availability=None)

A Bluetooth adapter a scan could not use, and why.

Methods

  • from_wire -- Build from one entry of a hub.adapters notification.

Attributes

  • address -- Which adapter. "bluetooth" where the system has only the one.
  • availability -- Why, as one word to choose advice by, where the service knows it:
  • awaiting_permission -- Whether the system is asking the user to let the service in.
  • reason -- The system's own words, which differ between platforms.