LoginSignup
22
25

More than 5 years have passed since last update.

Intel EdisonのBluetoothを有効化する

Last updated at Posted at 2014-11-05

Intel EdisonのBluetoothは、出荷時は無効化されているため、使用するには有効化する必要があります。

ファームウェアのバージョン

Intel EdisonはファームウェアのバージョンによってBluetoothの有効化の方法が異なるようです。(詳細は未確認)
本記事の対象バージョンは以下の通りです。

root# uname -a
Linux edison 3.10.17-poky-edison+ #1 SMP PREEMPT Tue Oct 14 15:19:49 CEST 2014 i686 GNU/Linux
root# cat /etc/version
edison-rel1-maint-weekly_build_16_2014-10-14_14-56-19

Bluetoothのrfkill状態を確認する

出荷時はbluetoothSoft blocked: yesとなっています。

root# rfkill list
0: phy0: wlan
        Soft blocked: no
        Hard blocked: no
1: brcmfmac-wifi: wlan
        Soft blocked: no
        Hard blocked: no
2: bcm43xx Bluetooth: bluetooth
        Soft blocked: yes
        Hard blocked: no

Bluetoothを有効にする

rfkill unblock bluetoothすることでブロックを解除できます。

root# rfkill unblock bluetooth
root# rfkill list
0: phy0: wlan
        Soft blocked: no
        Hard blocked: no
1: brcmfmac-wifi: wlan
        Soft blocked: no
        Hard blocked: no
2: bcm43xx Bluetooth: bluetooth
        Soft blocked: no
        Hard blocked: no
4: hci0: bluetooth
        Soft blocked: no
        Hard blocked: no

Bluetoothの状態を確認する

hciconfigコマンドなどでBluetoothの状態を確認することができます。
(BD Addressはマスクしています)

root# hciconfig
hci0:   Type: BR/EDR  Bus: UART
        BD Address: XX:XX:XX:XX:XX:XX  ACL MTU: 1021:8  SCO MTU: 64:1
        UP RUNNING PSCAN
        RX bytes:633 acl:0 sco:0 events:34 errors:0
        TX bytes:968 acl:0 sco:0 commands:34 errors:0

参考

2015年1月9日追記: 公式ガイド

2014年12月19日に、Intelより公式のBluetoothガイドが公開されました。とても参考になります。

Intel Edison Bluetooth Guide

22
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
22
25