Skip to content

Commit

Permalink
Query and log manufacturer code
Browse files Browse the repository at this point in the history
  • Loading branch information
bmalinowsky committed Apr 25, 2024
1 parent 09f4311 commit e4d402b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/io/calimero/link/KNXNetworkMonitorUsb.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ protected KNXNetworkMonitorUsb(final UsbConnection c, final KNXMediumSettings se
logger.log(DEBUG, "KNX device descriptor 0 (Mask Version): {0}", dd0);
}
catch (final KNXTimeoutException expected) {}
try {
// support of device feature service for manufacturer code is optional
final int mfc = conn.manufacturerCode();
logger.log(DEBUG, "KNX manufacturer code: {0}", mfc);
}
catch (final KNXTimeoutException expected) {}

final boolean extBusmon = settings instanceof PLSettings;
enterBusmonitor(extBusmon);
Expand Down

0 comments on commit e4d402b

Please sign in to comment.