Warning: Use of undefined constant wp_cumulus_widget - assumed 'wp_cumulus_widget' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/wp-cumulus/wp-cumulus.php on line 375
Moode AudioでBluetoothテザリングを使う | kyil free map
Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

kyil free map

気になったモノ・コト.

Moode AudioでBluetoothテザリングを使う

   


Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

4.0からBluetoothとwifiそれぞれのオンオフが選べるようになったのでこれ幸いと省電力化も狙ってBluetoothテザリングしてみることにしました。
自分はポータブル運用することが目的なので、スマホ側の電池の減りが少なくなるのも嬉しい限り。
configからできるようになればいいんですが…Bluetoothスピーカーに繋ぎたい、って人のほうが多いでしょうし無理でしょうね多分。

ここからSSHで行います。

# スキャンする
$ hcitool scan
Scanning …
00:01:90:xx:xx:xx n/a
38:A4:ED:xx:xx:xx My Phone ←これが接続するスマホ

# スキャンして接続する
$ bluetoothctl
[bluetooth]# scan on
[NEW] Device 38:A4:ED:xx:xx:xx My Phone
[bluetooth]# pair 38:A4:ED:xx:xx:xx
# スマホ側で許可する
[bluetooth]# connect 38:A4:ED:xx:xx:xx
[bluetooth]# trust 38:A4:ED:xx:xx:xx
[bluetooth]# quit

# dbusがないとエラーが出るので先にインストールしとく
$ sudo apt-get install python-dbus

# bt-panのダウンロード
$ wget https://raw.githubusercontent.com/mk-fg/fgtk/master/bt-pan
$ chmod +x bt-pan
$ sudo chown root: bt-pan
$ sudo mv bt-pan /usr/bin/
$ sudo bt-pan client 38:A4:ED:xx:xx:xx

# 確認する
$ ifconfigで見た結果
bnep0 Link encap:Ethernet HWaddr b8:27:eb:xx:xx:xx
inet addr:192.168.44.43 Bcast:192.168.44.255 Mask:255.255.255.0
inet6 addr: fe80::ba27:ebff:xxxx:xxxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:849 (849.0 B) TX bytes:7682 (7.5 KiB)

# 起動したら自動接続するようにする /etc/rc.local書き換え
# Bluetooth tethering add
bt-pan client 38:A4:ED:xx:xx:xx

素晴らしい。スマホの電池減りが少なくなったほうが嬉しいような。
多分moode以外でもRaspbianならイケると思う。

 - Raspberry Pi, 音楽関係

  関連記事

no image
Raspberry Pi I2S試してみた

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

Fiio X3 2ndを使っていたのだが、SDカード容量が128GBいっぱいにな …

no image
SE315 part2

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

この前買ったイヤホンの話。   そういえばちょっと前に買ったSE315 …

no image
SABREBELLY+に高分子コンデンサを付けてみた(ビックリ効果あり)

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

タイトルどおりです。 コンデンサなど仕込むこともあるまい、と思っていたのですがつ …

no image
SE315

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

僕は相当なダメギャンブラーである。 16からパチ・スロ・競馬・競艇・麻雀・カジノ …

no image
続・Raspberry Pi オーディオ

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

Volumio2からMoode Audio PlayerにOSを変更した。 アッ …

no image
Moode Audio 設定めも

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

家では使わない。DAPとして使う用。 4.0はまだ様子見かな。RTカーネル変更出 …

no image
軽量ディストリビューション「Z-MPD」にexfatのSDカードを認識させる

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

ハマったのでメモ。 ついでに、USBメモリを複数挿す場合の対応も。 window …

no image
sabreberry+ dac zero

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

ヘッドホンアンプ搭載、さらに小型化とあって購入してみた。 …が。 昨 …

no image
これは面白いと思える音楽関連Flash

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

久々に面白いモノ見つけたのでご紹介。 音楽の知識が無くてもなんとなくで楽しめます …

no image
わりとどうでもいい「Seiun pha」と「Raspberry pi」の接続まとめ

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

需要があるとは思えないので、完全に自分メモ。 Twitterではノイズが出る、出 …


Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/kyil/www/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524