org.bluez.GattService - BlueZ D-Bus GattService API documentation
Contents
Description
GATT local/server and remote/client services share the same high-level D-Bus API.
Local/Server refers to GATT based service exported by a plugin or an external application.
Remote/Client refers to GATT services exported by the peer.
Interface
ClientService
org.bluez
Interface
org.bluez.GattService1
Objectpath
[variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX/serviceXX
ServerService
unique name
Interface
org.bluez.GattService1
Objectpath
freely definable
PropertiesstringUUID[read-only]
128-bit service UUID.
booleanPrimary[read-only]
Indicates whether or not this GATT service is a primary service. If false, the service is secondary.
objectDevice[read-only,optional]
Object path of the Bluetooth device the service belongs to. Only present on services from remote
devices.
array{object}Includes[read-only,optional]
Array of object paths representing the included services of this service.
uint16Handle[read-only](clientonly)
Service handle.
uint16Handle[read-write,optional](ServerOnly)
Service handle. When available in the server it would attempt to use to allocate into the database
which may fail, to auto allocate the value 0x0000 shall be used which will cause the allocated handle
to be set once registered.
BlueZ October 2023 ORG.BLUEZ.GATTSERVICE(5)
Name
org.bluez.GattService - BlueZ D-Bus GattService API documentation
