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?

Linuxとev3devをBluetoothでつなぐときの備忘録

Posted at

環境

  • Arch Linux
  • GNOME
  • ev3dev

問題

新しく導入したLinuxでev3devを制御しようとしたときに、Bluetoothを使おうとしましたがエラーが出ました。

GDBus.Error:org.bluex.Error.Failed: Protocol not available

ただ、このエラー自体はWindowsで使用していたときにも発生しがちなエラーで、まだ慌てることはありません。
image.png
しかし通常(Windows)であればこの下に「Network Connection」というボタンが出て、詳細な設定ができます。

解決策

「Wireless and Networks」の中に「Tethering」があるのでBluetoothテザリングをオンにします。
image.png

そのうえでもう一度、Bluetoothでの接続を試みてください。
すると右上のメニューに「Tether」項目が追加されるので、オンにしてあげましょう。

image.png

すると自動的にBluetooth接続が行われ、問題なく使用できるようになります。
ちなみにこの画像の場合は「Bluetooth」項目に「ev3dev」と表記が出ていますが、この表記は再現性がなかったので、「Tether」の接続が成功していればOKです。

この際のEV3のIPアドレスは10.0.0.1ではなく、EV3の左上に表示される192.168.0.1へ接続してあげてください。

image.png

このようにVSCodeの「ev3dev browser」での接続も確認できました。

結論

うまくいかなきゃBluetoothテザリングすればいい。もっとマシな解決策はないものか。

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?