상상 너머 그 무언가...

라즈베리파이3 블루투스 키보드 연결 본문

개발관련(Development)/리눅스CentOS(Linux)

라즈베리파이3 블루투스 키보드 연결

Clack 2018. 9. 28. 01:07



pi@relayServer0:/$ bluetoothctl
[NEW] Controller B8:27:EB:51:AB:FB relayServer0 [default]
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# scan on
Discovery started
[CHG] Controller B8:27:EB:51:AB:FB Discovering: yes
[NEW] Device DC:2C:26:AC:76:F9 DC-2C-26-AC-76-F9
[CHG] Device DC:2C:26:AC:76:F9 LegacyPairing: no
[CHG] Device DC:2C:26:AC:76:F9 Name: Bluetooth Keyboard
[CHG] Device DC:2C:26:AC:76:F9 Alias: Bluetooth Keyboard
[CHG] Device DC:2C:26:AC:76:F9 LegacyPairing: yes
[bluetooth]# agent on
Agent registered
[bluetooth]# pair DC:2C:26:AC:76:F9
Attempting to pair with DC:2C:26:AC:76:F9
[CHG] Device DC:2C:26:AC:76:F9 Connected: yes
[agent] PIN code: 388031
[CHG] Device DC:2C:26:AC:76:F9 Modalias: usb:v0A5Cp8502d011B
[CHG] Device DC:2C:26:AC:76:F9 UUIDs:
        00001124-0000-1000-8000-00805f9b34fb
        00001200-0000-1000-8000-00805f9b34fb
[CHG] Device DC:2C:26:AC:76:F9 Paired: yes
Pairing successful
[CHG] Device DC:2C:26:AC:76:F9 Connected: no
[bluetooth]# connect DC:2C:26:AC:76:F9
Attempting to connect to DC:2C:26:AC:76:F9
[CHG] Device DC:2C:26:AC:76:F9 Connected: yes
Connection successful

[bluetooth]# trust DC:2C:26:AC:76:F9

[CHG] Device DC:2C:26:AC:76:F9 trust succeeded

 


bluetoothctl  : 블루투스 제어 실행