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
Hi, we are using RemoteDeviceDiscoverer to find all connected bacnet devices, but some are missing from time to time. We are listening on 0.0.0.0/24, and sending WhoIs to broad cast address.
We use wireshark to capture the network, the devices all answered to the WhoIs request.
Is this reported before? What could go wrong?
`
private synchronized LocalDevice getLocalDevice() {
try {
int deviceId = new Random().nextInt(10000);
log.info("Local device id {}", deviceId);
localDevice = new LocalDevice(deviceId, new DefaultTransport(ipNetwork)); // e.g. ip 0.0.0.0, broadcast address 192.168.0.255
localDevice.initialize();
} catch (Exception e) {
log.error(e.getMessage(), e);
throw new CustomizeException(e.getMessage());
}
Hi, we are using RemoteDeviceDiscoverer to find all connected bacnet devices, but some are missing from time to time. We are listening on 0.0.0.0/24, and sending WhoIs to broad cast address.
We use wireshark to capture the network, the devices all answered to the WhoIs request.
Is this reported before? What could go wrong?
`
private synchronized LocalDevice getLocalDevice() {
try {
int deviceId = new Random().nextInt(10000);
log.info("Local device id {}", deviceId);
localDevice = new LocalDevice(deviceId, new DefaultTransport(ipNetwork)); // e.g. ip 0.0.0.0, broadcast address 192.168.0.255
localDevice.initialize();
} catch (Exception e) {
log.error(e.getMessage(), e);
throw new CustomizeException(e.getMessage());
}
}
private List getAllRemoteDevices(LocalDevice localDevice) throws InterruptedException {
RemoteDeviceDiscoverer remoteDeviceDiscoverer = new RemoteDeviceDiscoverer(localDevice, remoteDevice -> {
log.info("found {} {}", remoteDevice.getInstanceNumber(), remoteDevice.getAddress().getMacAddress().getDescription());
});
remoteDeviceDiscoverer.start();
`
The text was updated successfully, but these errors were encountered: