org.bluez...workServer(5)

🌸 NAME 🌸

okay so bestie, you're looking at org.bluez...workServer(5) from the Linux System Administration corner of the manual πŸ’… this page is the BlueZ D-Bus NetworkServer API documentation, and we're gonna walk through it together, no cap.

✨ INTERFACE ✨

  • Service β€” org.bluez
  • Interface β€” org.bluez.NetworkServer1
  • Object path β€” /org/bluez/{hci0,hci1,...}

πŸŽ€ METHODS πŸŽ€

πŸ’– void Register(string uuid, string bridge)

Registers the server for the uuid you hand it, fr fr.

Every new connection to this server gets added to the bridge interface. That's the whole vibe.

Possible uuid values:

  • "panu", "00001115-0000-1000-8000-00805f9b34fb" β€” Personal Network User role.
  • "nap", "00001116-0000-1000-8000-00805f9b34fb" β€” Network Access Point role.
  • "gn", "00001117-0000-1000-8000-00805f9b34fb" β€” Group Network role.

Initially there's no network server SDP provided. Only after this method will an SDP record be available, and the BNEP server will be ready for incoming connections. get it, bestie ✨

Possible errors:

  • org.bluez.Error.InvalidArguments
  • org.bluez.Error.AlreadyExists
  • org.bluez.Error.Failed

πŸ’œ void Unregister(string uuid)

Unregisters the server for the provided uuid β€” the one you previously registered with the Register() method. yep, exactly that one.

All servers get automatically unregistered when the calling application terminates. no extra cleanup needed 🫢

Possible errors:

  • org.bluez.Error.InvalidArguments
  • org.bluez.Error.Failed

that's the whole page, bestie πŸŽ€ this one is from BlueZ, dated October 2023, and it's the manual page for org.bluez...workServer(5). slay πŸ’…βœ¨

πŸ“¦ where this page comes from