Since Android M the behavior of BluetoothAdapter.getAddress() is broken and will always return 00:02:00:00:00 as Bluetooth adapter hardware address.
|
@Rpc(description = "Returns the hardware address of the local Bluetooth adapter.") |
|
public String btGetAddress() { |
|
return mBluetoothAdapter.getAddress(); |
|
} |