org.bluez.GattService(5)
π NAME π
org.bluez.GattService β the BlueZ D-Bus GattService API documentation, bestie. This is the manual page org.bluez.GattService(5), hanging out in Linux System Administration, and itβs here to explain the GATT service D-Bus situation. π«Άβ¨
β¨ DESCRIPTION β¨
Okay so listen: GATT local/server and remote/client services share the same high-level D-Bus API. Same API, different side of the story. π
Local/Server means a GATT based service thatβs exported by a plugin or an external application. Thatβs the home-team situation. π
Remote/Client means GATT services exported by the peer. Thatβs the other side of the Bluetooth connection. π¦
π¦ INTERFACE π¦
π Client
- Service:
org.bluez - Interface:
org.bluez.GattService1 - Object path:
[variable prefix]/{hci0,hci1,...}/dev_{BDADDR}/service# - Used by:
bluetoothctl-gatt(1)
π Server
- Service: unique name
- Interface:
org.bluez.GattService1 - Object path: freely definable
π Properties π
Property time, bestie. These are the properties this interface brings to the group chat:
string UUID[read-only]β the 128-bit service UUID. πboolean Primary[read-only]β tells you whether or not this GATT service is a primary service. If itβsfalse, the service is secondary. No cap.object Device[read-only, optional]β the object path of the Bluetooth device the service belongs to. Only present on services from remote devices. πarray{object} Includes[read-only, optional]β an array of object paths representing the included services of this service. πuint16 Handle[read-only](client only) β service handle. π§uint16 Handle[read-write, optional](Server Only) β service handle. When available in the server it would attempt to use to allocate into the database which may fail; to auto allocate the value0x0000shall be used, which will cause the allocated handle to be set once registered. πβ¨
mwah π β this page is brought to you by BlueZ (source/version) and October 2023 (date), with org.bluez.GattService(5) doing its little bow. xoxo, bestie π«Άπ
π¦ where this page comes from
- arch rolling: bluez-utils 5.87-2 Β· GPL-2.0-only
- nixpkgs unstable: bluez 5.87
- ubuntu stonking: bluez 5.87-4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms