org.bluez.GattProfile(5)

πŸŽ€ NAME πŸŽ€

<u>okay bestie, meet org.bluez.GattProfile</u> β€” the BlueZ D-Bus GattProfile API documentation ✨. This is the org.bluez.GattProfile(5) page from the Linux System Administration manual, and it’s lowkey all about local GATT-client profile registration πŸ’….


🌸 DESCRIPTION 🌸

So this object is a local profile (GATT client) instance 🫢. When an app registers this type of object, it’s effectively saying, β€œhey, I support this specific GATT profile,” and asking for automatic connections to be established to devices that support it 😌.

That’s the whole vibe: register the object, signal your GATT-profile support, request those auto-connections πŸ”₯.


πŸ¦‹ INTERFACE πŸ¦‹

Here’s the little identity card for this object:

  • Service β€” <application dependent>
  • Interface β€” org.bluez.GattProfile1
  • Object path β€” <application dependent>

πŸ› οΈ Methods πŸ› οΈ

void Release()

This method gets called when bluetoothd(8) unregisters the profile 🧹. The profile can use it to do cleanup tasks.

There is no need to unregister the profile, because when this method gets called it has already been unregistered. So don’t stress about double-unregistering, bestie β€” it’s already done πŸ’€.

πŸ“ Properties πŸ“

array{string} UUIDs [read-only]

128-bit GATT service UUIDs to auto connect 🌈.

It’s read-only, so no touching β€” just vibes and UUIDs ✨.


okay that’s the whole page, bestie 🫢. Source/version is BlueZ, dated October 2023 β€” mwah πŸ’‹.

πŸ“¦ where this page comes from