- InfoSubtree infoSubtree = new InfoSubtree(openRoadmVersion);
- String clli;
- String vendor;
- String model;
- IpAddress ipAddress;
- int nodeType;
-
- if (infoSubtree.getDeviceInfo(nodeId, deviceTransactionManager)) {
-
- clli = infoSubtree.getClli();
-
- /**
- * TODO : Uncomment when real when testing on real device
- * vendor = infoSubtree.getVendor();
- * model = infoSubtree.getModel();
- **/
- vendor = infoSubtree.getVendor();
- clli = infoSubtree.getClli();
- model = infoSubtree.getModel();
- ipAddress = infoSubtree.getIpAddress();
- nodeType = infoSubtree.getNodeType();
-
- } else {
- return null;
- }
-
- // Uses the Node Builder to set the nodeId and Key