Ubuntu Pastebin

Paste from jair at Tue, 4 Oct 2016 17:00:53 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
jair@x1:/etc/default$ bluetooth
bluetoothctl  bluetoothd    
jair@x1:/etc/default$ bluetoothctl --help
Usage:
  bluetoothctl [OPTION...]

Help Options:
  -h, --help                 Show help options

Application Options:
  -v, --version              Show version information and exit
  -a, --agent=CAPABILITY     Register agent handler

jair@x1:/etc/default$ bluetoothctl -a
[NEW] Controller 44:85:00:73:70:6B ChromeLinux_6A27 [default]
Agent registered
[bluetooth]# help
Available commands:
  list                       List available controllers
  show [ctrl]                Controller information
  select <ctrl>              Select default controller
  devices                    List available devices
  paired-devices             List paired devices
  power <on/off>             Set controller power
  pairable <on/off>          Set controller pairable mode
  discoverable <on/off>      Set controller discoverable mode
  agent <on/off/capability>  Enable/disable agent with given capability
  default-agent              Set agent as the default one
  set-scan-filter-uuids [uuid1 uuid2 ...] Set scan filter uuids
  set-scan-filter-rssi [rssi] Set scan filter rssi, and clears pathloss
  set-scan-filter-pathloss [pathloss] Set scan filter pathloss, and clears rssi
  set-scan-filter-transport [transport] Set scan filter transport
  set-scan-filter-clear      Clears discovery filter.
  scan <on/off>              Scan for devices
  info [dev]                 Device information
  pair [dev]                 Pair with device
  trust [dev]                Trust device
  untrust [dev]              Untrust device
  block [dev]                Block device
  unblock [dev]              Unblock device
  remove <dev>               Remove device
  connect <dev>              Connect device
  disconnect [dev]           Disconnect device
  list-attributes [dev]      List attributes
  select-attribute <attribute> Select attribute
  attribute-info [attribute] Select attribute
  read                       Read attribute value
  write <data=[xx xx ...]>   Write attribute value
  notify <on/off>            Notify attribute value
  register-profile <UUID ...> Register profile to connect
  unregister-profile         Unregister profile
  version                    Display version
  quit                       Quit program
[bluetooth]# list
Controller 44:85:00:73:70:6B ChromeLinux_6A27 [default]
[bluetooth]# devices 
[NEW] Device FA:FC:D6:3F:14:19 MX Anywhere 2
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 0000180a-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 0000180f-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 00001812-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 00010000-0000-1000-8000-011f2000046d
[CHG] Device FA:FC:D6:3F:14:19 Appearance: 0x03c2
[CHG] Device FA:FC:D6:3F:14:19 Icon: input-mouse
[CHG] Device FA:FC:D6:3F:14:19 Modalias: usb:v046DpB013d0007
[bluetooth]# devices 
Device FA:FC:D6:3F:14:19 MX Anywhere 2
[bluetooth]# pair
Missing device address argument
[bluetooth]# pair ?
Device ? not available
[bluetooth]# pair FA:FC:D6:3F:14:19 MX Anywhere 2
Device FA:FC:D6:3F:14:19 MX Anywhere 2 not available
[CHG] Device FA:FC:D6:3F:14:19 Connected: no
[CHG] Device FA:FC:D6:3F:14:19 Connected: yes
[MX Anywhere 2]# pair FA:FC:D6:3F:14:19 MX Anywhere 2
Device FA:FC:D6:3F:14:19 MX Anywhere 2 not available
[MX Anywhere 2]# pair FA:FC:D6:3F:14:19
Attempting to pair with FA:FC:D6:3F:14:19
[CHG] Device FA:FC:D6:3F:14:19 Paired: yes
Pairing successful
[MX Anywhere 2]# connect FA:FC:D6:3F:14:19
Attempting to connect to FA:FC:D6:3F:14:19
Connection successful
[MX Anywhere 2]# 
Download as text