34
25

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

raspberry piのbluetoothを使えるようにする

Posted at

まずは、bluetoothパッケージをインストール。

$ sudo apt-get install -y bluetooth
$ reboot

これだけだと、下記のようなエラーになる。

$ bluetoothctl
[bluetooth]# scan on
no default controller available

Raspberry Pi用のパッケージであるpi-bluetoothをインストール。

$ sudo apt-get install -y pi-bluetooth
$ reboot
$ bluetoothctl
[NEW] Controller B8:27:EB:1E:79:92 raspberrypi [default]
[bluetooth]# scan on
Discovery started
[CHG] Controller B8:27:EB:1E:79:92 Discovering: yes
[NEW] Device 68:64:4B:29:84:F0 68-64-4B-29-84-F0
[NEW] Device 72:BE:DA:27:3C:AA 72-BE-DA-27-3C-AA
[CHG] Device 72:BE:DA:27:3C:AA RSSI: -79
[CHG] Device 68:64:4B:29:84:F0 RSSI: -60
[CHG] Device 68:64:4B:29:84:F0 RSSI: -69

BlueToothのGUI設定ツールをインストール。

$ sudo apt-get install -y blueman

Menu => Preferences => Bluetooth Managerで起動。

スクリーンショット 2017-11-06 16.36.20.png

34
25
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
34
25

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?