OS Manuals

/usr/bin/gatttool

Tools for the Bluetooth protocol stack

From bluez 5.87-r4 (os), captured 2026-11-05 by running gatttool --help (exit 0). permalink

Usage:
  gatttool [OPTION…]

Help Options:
  -h, --help                                Show help options
  --help-all                                Show all help options
  --help-gatt                               Show all GATT commands
  --help-params                             Show all Primary Services/Characteristics arguments
  --help-char-read-write                    Show all Characteristics Value/Descriptor Read/Write arguments

Application Options:
  -i, --adapter=hciX                        Specify local adapter interface
  -b, --device=MAC                          Specify remote Bluetooth address
  -t, --addr-type=[public | random]         Set LE address type. Default: public
  -m, --mtu=MTU                             Specify the MTU size
  -p, --psm=PSM                             Specify the PSM for GATT/ATT over BR/EDR
  -l, --sec-level=[low | medium | high]     Set security level. Default: low
  -I, --interactive                         Use interactive mode
Options (12)
OptionDescriptionSource
-h, --helpShow help optionshelp
--help-allShow all help optionshelp
--help-gattShow all GATT commandshelp
--help-paramsShow all Primary Services/Characteristics argumentshelp
--help-char-read-writeShow all Characteristics Value/Descriptor Read/Write argumentshelp
-i, --adapter hciXSpecify local adapter interfacehelp
-b, --device MACSpecify remote Bluetooth addresshelp
-t, --addr-type publicSet LE address type.help
-m, --mtu MTUSpecify the MTU sizehelp
-p, --psm PSMSpecify the PSM for GATT/ATT over BR/EDRhelp
-l, --sec-level lowSet security level.help
-I, --interactiveUse interactive modehelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.