|
@@ -29,6 +29,7 @@ public class DeviceDiscoveryHandler implements OcDeviceDiscoveryHandler {
|
|
public void discoveredDevice(OcRemoteDevice remoteDevice) {
|
|
public void discoveredDevice(OcRemoteDevice remoteDevice) {
|
|
Log.d(TAG, "Remote Device Discovery Handler: " + OCUuidUtil.uuidToString(remoteDevice.getDeviceId()) + ", " + remoteDevice.getName());
|
|
Log.d(TAG, "Remote Device Discovery Handler: " + OCUuidUtil.uuidToString(remoteDevice.getDeviceId()) + ", " + remoteDevice.getName());
|
|
|
|
|
|
|
|
+
|
|
// Only paried devices except Bridge itself or OBT will be added in the pairwised device list
|
|
// Only paried devices except Bridge itself or OBT will be added in the pairwised device list
|
|
if(!OCUuidUtil.isEqual(remoteDevice.getDeviceId(), self_di) && !Utils.isObt(remoteDevice)) {
|
|
if(!OCUuidUtil.isEqual(remoteDevice.getDeviceId(), self_di) && !Utils.isObt(remoteDevice)) {
|
|
|
|
|