// 实例化 MiBand miband = new MiBand(context); // 扫描附近的设备 final ScanCallback scanCallback = new ScanCallback() { @Override public void onScanResult(int callbackType, ScanResult result) { BluetoothDevice device = result.getDevice(); Log.d(TAG, “找到附近的蓝牙设备: name:” + device.getName() + “,uuid:” + device.getUuids() + “,add:” + device.getAddress() + “,type:” + device.getType() + “,bondState:” + device.getB