Open drd888 opened 3 years ago
The vendorName
is pupulated from remote Device object property. Same logic as for vendorIdentifier
, its just different type:
package com.serotonin.bacnet4j.type.enumerated;
public class PropertyIdentifier extends Enumerated {
// ...
public static final PropertyIdentifier vendorIdentifier = new PropertyIdentifier(120);
public static final PropertyIdentifier vendorName = new PropertyIdentifier(121);
// ...
}
It happens that these values are somewhat not matching. For example producer is one firm, but firmware/board for electronics is shipped by another.
The proper value for the vendor ID is returned but the vendor name is not being populated.
I did not quite a bit of static analysis but could not find the issue.
I am using: com.serotonin.bacnet4j.RemoteDevice getVendorName()