bluetoothctl

Interactive

sudo bluetoothctl [NEW] Controller B8:27:EB:E3:A4:6C pi93graf [default] Agent registered


sudo bluetoothctl
[NEW] Controller B8:27:EB:E3:A4:6C pi93graf [default]
[NEW] Device F0:85:49:CD:59:EB One
[NEW] Device D3:51:78:72:EC:0F D3-51-78-72-EC-0F
[NEW] Device 5B:42:5A:6C:76:71 5B-42-5A-6C-76-71
[NEW] Device 4C:32:75:97:3B:AE smacpro
[NEW] Device 3C:A3:08:8F:26:01 Anova
Agent registered
------------------------------

[bluetooth]# helpt to bluetoothd...
Menu main:
list controllers devices paired-devices info [dev]
show [ctrl] Controller information
Controller B8:27:EB:E3:A4:6C
    Name: pi93graf
    Alias: pi93graf
    Class: 0x00000000
    Powered: yes
    Discoverable: no
    Pairable: yes
    UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
    UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
    UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
    UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
    UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
    Modalias: usb:v1D6Bp0246d052B

    Discovering: no

scan on|off continuously Scan for devices
[bluetooth]# scan on
Discovery started
[CHG] Controller B8:27:EB:E3:A4:6C Discovering: yes
[NEW] Device 3C:A3:08:8F:26:01 Anova
[NEW] Device 4C:32:75:97:3B:AE 4C-32-75-97-3B-AE
[NEW] Device 5B:42:5A:6C:76:71 5B-42-5A-6C-76-71
[NEW] Device D3:51:78:72:EC:0F D3-51-78-72-EC-0F
[NEW] Device F0:85:49:CD:59:EB One
[CHG] Device 4C:32:75:97:3B:AE Name: smacpro
[CHG] Device 4C:32:75:97:3B:AE Alias: smacpro
[CHG] Device 4C:32:75:97:3B:AE Class: 0x0038010c
[CHG] Device 4C:32:75:97:3B:AE Icon: computer
[CHG] Device 4C:32:75:97:3B:AE UUIDs: 00001101-0000-1000-8000-00805f9b34fb
[CHG] Device 4C:32:75:97:3B:AE UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device 4C:32:75:97:3B:AE UUIDs: 0000111f-0000-1000-8000-00805f9b34fb
[CHG] Device 4C:32:75:97:3B:AE UUIDs: 00001106-0000-1000-8000-00805f9b34fb
[CHG] Device 4C:32:75:97:3B:AE UUIDs: 00001112-0000-1000-8000-00805f9b34fb
[CHG] Device 4C:32:75:97:3B:AE UUIDs: 00001105-0000-1000-8000-00805f9b34fb
[CHG] Device 4C:32:75:97:3B:AE UUIDs: 00001117-0000-1000-8000-00805f9b34fb
[CHG] Device 4C:32:75:97:3B:AE UUIDs: 0000110a-0000-1000-8000-00805f9b34fb
[CHG] Device 4C:32:75:97:3B:AE UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Device 4C:32:75:97:3B:AE ManufacturerData Key: 0x004c
[CHG] Device 4C:32:75:97:3B:AE ManufacturerData Value:
  01 4d 61 63 42 6f 6f 6b 50 72 6f 31 32 2c 31     .MacBookPro12,1
[bluetooth]# quit

select [ctrl]
menu [name] Menu advertise: set-uuids [uuid1 uuid2 ...] set-service [uuid] [data=xx xx ...] set-manufacturer [id] [data=xx xx ...] set-tx-power on|off set-name [on|off|name set-appearance value set-duration seconds set-timeout seconds Menu scan: uuids [all/uuid1 uuid2 ...] Set/Get UUIDs filter rssi [rssi] Set/Get RSSI filter, and clears pathloss pathloss [pathloss] Set/Get Pathloss filter, and clears RSSI transport [transport] Set/Get transport filter duplicate-data [on/off] Set/Get duplicate data filter clear [uuids/rssi/pathloss/transport/duplicate-data] Clears discovery filter. back Return to main menu version Version 5.48 quit Quit program Agent unregistered [DEL] Controller B8:27:EB:E3:A4:6C pi93graf [default] exit Quit program help Display help about this program
gatt Generic Attribute Submenu system-alias [name] Set controller alias reset-alias Reset controller alias power [on|off] pairable [on|off] discoverable [on/off] agent [on/off/capability] default-agent advertise [on|off|type] set-alias [alias] pair [dev] [u]trust [dev] [u]block [dev] [dis]connect [dev] remove [dev] version
quit
exit