org.bluez.DeviceSet(5)

🌸 Name 🌸

okay bestie, welcome to org.bluez.DeviceSet(5) β€” the manual page chillin' in the Linux System Administration section β€” aka the BlueZ D-Bus DeviceSet API documentation. It's giving very specific API energy, and we're gonna read every single detail together. periodt. πŸ’–

πŸ¦‹ Interface πŸ¦‹

Here's the identity card, no cap:

  • Service β€” org.bluez
  • Interface β€” org.bluez.DeviceSet1
  • Object path β€” [variable prefix]/{hci0,hci1,...}/set_{sirk}

✨ Methods ✨

πŸ’… void Connect() [experimental]

Connects all devices members of the set. Each member gets connected in sequence, in the order they were added/loaded, following the same procedure as described in Device1.Connect. Slay, but make it sequential. ✨

Possible errors:

  • org.bluez.Error.NotReady
  • org.bluez.Error.Failed
  • org.bluez.Error.InProgress
  • org.bluez.Error.AlreadyConnected

πŸ’… void Disconnect() [experimental]

Disconnects all devices members of the set. Each member gets disconnected in sequence, in the order they were connected, following the same procedure as described in Device1.Disconnect. Bye bestie, one at a time. πŸ¦‹

Possible errors:

  • org.bluez.Error.NotConnected

πŸŽ€ Properties πŸŽ€

πŸ‘‘ object Adapter [readonly, experimental]

The object path of the adapter the set belongs to. That's the adapter's little home address, basically. 🏠

πŸ‘‘ bool AutoConnect [read-write, experimental]

Indicates if the devices members of the set shall be automatically connected once any of its members is connected. Lowkey convenient, highkey experimental. πŸ’…

πŸ‘‘ array(object) Devices [ready-only, experimental]

List of devices objects that are members of the set. And yes, bestie, the doc literally says ready-only there β€” we're keeping it exactly as written, no edits, no cap. 🫢

πŸ‘‘ byte Size [read-only, experimental]

Set members size. That's the size of the set's members, iconic and to the point. πŸŽ€


mwah πŸ’– β€” this page is brought to you by BlueZ, dated September 2023, and it's serving org.bluez.DeviceSet(5) realness. bye bestie! 🌈

πŸ“¦ where this page comes from