Scroll to navigation

BLUETOOTHCTL-GATT(1) Linux System Administration BLUETOOTHCTL-GATT(1)

NAME

bluetoothctl-gatt - Generic Attribute Submenu

SYNOPSIS

bluetoothctl [--options] [gatt.commands]

GENERIC ATTRIBUTE COMMANDS

list-attributes

List attributes.

# list-attributes <attribute/UUID>

select-attribute

Select attribute.

# select-attribute <attribute/UUID>

attribute-info

Select attribute.

# attribute-info [attribute/UUID]

read

Read attribute value.

# read [offset]

write

Write attribute value.

# write <data=xx xx ...> [offset] [type]

acquire-write

Acquire Write file descriptor.

# acquire-write

release-write

Release Write file descriptor.

# release-write

acquire-notify

Acquire Notify file descriptor.

# acquire-notify

release-notify

Release Notify file descriptor.

# release-notify

notify

Notify attribute value.

# notify <on/off>

clone

Clone a device or attribute.

# clone [dev/attribute/UUID]

register-application

Register application.

# register-application [UUID ...]

unregister-application

Unregister application

# unregister-application

register-service

Register application service.

# register-service <UUID> [handle]

unregister-service

Unregister application service

# unregister-service <UUID/object>

register-includes

Register as Included service.

#r egister-includes <UUID> [handle]

unregister-includes

Unregister Included service.

# unregister-includes <Service-UUID><Inc-UUID>

register-characteristic

Register service characteristic.

# register-characteristic <UUID> <Flags=read,write,notify...> [handle]

unregister-characteristic

Unregister service characteristic.

# unregister-characteristic <UUID/object>

register-descriptor

Register characteristic descriptor.

# register-descriptor <UUID> <Flags=read,write...> [handle]

unregister-descriptor

Unregister characteristic descriptor.

# unregister-descriptor <UUID/object>

RESOURCES


<http://www.bluez.org>

REPORTING BUGS


<linux-bluetooth@vger.kernel.org>

COPYRIGHT

Free use of this software is granted under ther terms of the GNU Lesser General Public Licenses (LGPL).

November 2022 BlueZ