use of org.opensmartgridplatform.simulator.protocol.dlms.cosem.OctetStringData in project open-smart-grid-platform by OSGP.
the class DefaultDeviceProfile method deviceId8.
@Bean
public OctetStringData deviceId8() {
final String obisCode = "0.0.96.1.7.255";
this.dynamicValues().setDefaultAttributeValue(InterfaceClass.DATA.id(), new ObisCode(obisCode), OctetStringData.ATTRIBUTE_ID_VALUE, DataObject.newOctetStringData(new byte[0]));
return new OctetStringData(obisCode);
}
Aggregations