2015-11-19 37 views

回答

0

是 您可以过滤在android系统

//lets say i have a device i got by searching BT devices 

    BluetoothDevice device; 
    String mac = "00:11:22:AA:BB:CC" 
    if(mac.equals(device.getAddress)){ 

     // my device found 
    } 

使用设备的MAC地址公共字符串的getAddress()

在API级别5

返回此BluetoothDevice类的硬件地址。

蓝牙硬件地址字符串

更多看到的Android BluetoothDevice doc

+1

u能提供一些示例代码,这样我可以参考?那么连续扫描呢? Thx – Ray

+0

我也会对此感兴趣。 – bruceg

+1

看到我的编辑谢谢 – Neo