You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class MyDiscoveryListener implements IDiscoveryListener {
@Override
public void deviceDiscovered(RemoteXBeeDevice discoveredDevice) {
Log.d("see",">> Device discovered: %s%n"+discoveredDevice.toString());
}
@Override
public void discoveryError(String error) {
Log.d("see",">> There was an error discovering devices: " + error);
}
@Override
public void discoveryFinished(String error) {
if (error == null)
Log.d("see",">> Discovery process finished successfully.");
else
Log.d("see",">> Discovery process finished due to the following error: " + error);
System.exit(0);
}
}
but it discovers only himself- why? all the other devices are in the same network.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi,
I added the code to my android studio app like this:
part of the code where i add the relvant part of discovering:
try {
package com.digi.xbee.sample.android.bleconfiguration;
import android.util.Log;
import com.digi.xbee.api.RemoteXBeeDevice;
import com.digi.xbee.api.listeners.IDiscoveryListener;
public class MyDiscoveryListener implements IDiscoveryListener {
}
but it discovers only himself- why? all the other devices are in the same network.
Thanks in advance!
The text was updated successfully, but these errors were encountered: