- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2020-08-05T23:40:54+00:00","","")
#topicpath
////////////////////////////////////////////////////////////////////////////////
* 目次 [#l8cdf371]
#contents();
////////////////////////////////////////////////////////////////////////////////
* BD address [#s657283b]
* BD address [#bd-addr]
//==============================================================================
** BD address の確認 [#s0ffeb16]
- BD address は下記で確認出来る:
$ hciconfig -a
hci0: Type: BR/EDR Bus: USB
BD Address: F8:2F:A8:E6:E6:45 ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING PSCAN ISCAN
RX bytes:1847 acl:17 sco:0 events:76 errors:0
TX bytes:1494 acl:16 sco:0 commands:58 errors:0
Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH SNIFF
Link mode: SLAVE ACCEPT
Name: 'ChromeLinux_6B94'
Class: 0x00010c
Service Classes: Unspecified
Device Class: Computer, Laptop
HCI Version: 4.0 (0x6) Revision: 0x1000
LMP Version: 4.0 (0x6) Subversion: 0x220e
Manufacturer: Broadcom Corporation (15)
//==============================================================================
** BD address の変更 [#r0b93146]
- 下記のコマンドで変更する:
bccmd psset -s 0 bdaddr 0x44 0x00 0x66 0x55 0x33 0x00 0x22 0x11
11:22:33:44:55:66 に変更したい場合(順序に注意!)
////////////////////////////////////////////////////////////////////////////////
* bluetoothctl [#h6a610ae]
# bluetoothctl
[NEW] Controller F8:2F:AC:EF:25:3C ChromeLinux_6B94 [default]
[NEW] Device B8:6A:C2:DF:37:F6 BSHSBE21
[NEW] Device BA:CF:88:16:6A:E1 W01_ACCF85166ADE
////////////////////////////////////////////////////////////////////////////////
* hcitool [#hb817372]
- bluetooth デバイスの情報取得や操作(scan, pair, connect, disconnect) を行える、コマンドラインツール
- BLE 関連の機能も持っている。
- 機能詳細は、
$ man hcitool
もしくは
$ hcitool --help
で参照する。
////////////////////////////////////////////////////////////////////////////////
* pairing [#pairing]
//==============================================================================
** 参考リンク [#p232fc68]
- [[Bluetooth ヘッドセット - ArchWiki>https://wiki.archlinuxjp.org/index.php/Bluetooth_%E3%83%98%E3%83%83%E3%83%89%E3%82%BB%E3%83%83%E3%83%88]]
////////////////////////////////////////////////////////////////////////////////
* rfkill [#t3df8320]