0
0

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 3 years have passed since last update.

Raspberry Pi 3 ModelBとBluetoothスピーカーを接続(コマンドライン操作)

Last updated at Posted at 2020-12-12

目的

たまにBTスピーカーと接続したいときにやり方を忘れるので備忘録1

環境

Raspberry Pi 3 ModelB
BTスピーカー:JBL GO 2

作業メモ

参考サイト

  • ラズパイを起動して、コンソール上で以下を実行するだけ!以上(# が実行するコマンド)

各コマンドの詳細は参考サイトを参照

$ bluetoothctl
# scan on
・・・
[NEW] Device [JのMACアドレス] JBL GO 2
# scan off
# pair [JBL GO 2のMACアドレス]
・・・
[CHG] Device [JBL GO 2のMACアドレス] Paired: yes
# trust [JBL GO 2のMACアドレス]
[CHG] Device [JBL GO 2のMACアドレス] Trusted: yes
# connect [JBL GO 2のMACアドレス]
Attempting to connect to [JBL GO 2のMACアドレス]
[CHG] Device [JBL GO 2のMACアドレス] Connected: yes
Connection successful
  1. 基本的に一度pairingすれば勝手に接続してくるはずだが、色々構成をいじっているとpairingが切れたりするので・・。

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?