【问题标题】:Change bluetooth mac address in Raspbian在 Raspbian 中更改蓝牙 mac 地址
【发布时间】:2015-04-24 12:53:25
【问题描述】:

您好,我需要从我的设备更改蓝牙 mac 地址。我已经从here 下载了 bdaddr 实用程序!我编译了它。

那么……

wget -U "Mozilla" http://www.petrilopia.net/wordpress/wp-content/uploads/bdaddrtar.bz2
...
mv bdaddrtar.bz2 bdaddr.tar.bz2
tar xvjf bdaddr.tar.bz2
cd bdaddr 
sudo apt-get install libbluetooth-dev
...
make

...

pi@raspberrypi ~/bdaddr $ hcitool dev
Devices:
    hci0    00:1F:81:00:08:30
pi@raspberrypi ~/bdaddr $ hciconfig
    hci0:   Type: BR/EDR  Bus: USB
    BD Address: 00:1F:81:00:08:30  ACL MTU: 1021:4  SCO MTU: 180:1
    UP RUNNING PSCAN ISCAN 
    RX bytes:2296 acl:0 sco:0 events:100 errors:0
    TX bytes:1081 acl:0 sco:0 commands:98 errors:0
pi@raspberrypi ~/bdaddr $ sudo ./bdaddr -i hci0 00:1F:81:00:48:30
Manufacturer:   Cambridge Silicon Radio (10)
Device address: 00:1F:81:00:08:30
New BD address: 00:1F:81:00:48:30

Can't write new address

为什么我不能写地址?有什么想法吗?

谢谢

【问题讨论】:

    标签: bluetooth raspberry-pi raspbian


    【解决方案1】:

    bdaddr 实用程序不是 bluez 软件包的一部分,因为它使用制造商特定的代码,因此不适用于所有设备。

    http://ubuntuforums.org/archive/index.php/t-925611.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-10-29
      • 2012-03-02
      • 1970-01-01
      • 2016-01-27
      • 2015-12-30
      • 2014-10-28
      • 2020-01-29
      • 1970-01-01
      相关资源
      最近更新 更多