diff --git a/javasrc/tool/org/etsi/its/tool/elvior/PluginAdapter.java b/javasrc/tool/org/etsi/its/tool/elvior/PluginAdapter.java index 09c7b3c72b3c126ed593f174aa61baf1b0905a9d..0c619c43c997a30f6cb074f0de46e41c348c1bed 100644 --- a/javasrc/tool/org/etsi/its/tool/elvior/PluginAdapter.java +++ b/javasrc/tool/org/etsi/its/tool/elvior/PluginAdapter.java @@ -698,8 +698,10 @@ public class PluginAdapter implements TriCommunicationSA, TriCommunicationTE, xT returnValue.setNumberOfBits(Long.SIZE); returnValue.setEncodedParameter( ByteHelper.longToByteArray( - ((IntegerValueEx)time).getInt64() << 6, // Decoding starts from bit 0, byte 0, so we have to shift the value 6 bits to the left - 6/*Long.SIZE / Byte.SIZE*/ // Encoding on 48 bits +// ((IntegerValueEx)time).getInt64() << 6, // Decoding starts from bit 0, byte 0, so we have to shift the value 6 bits to the left + // 6/*Long.SIZE / Byte.SIZE*/ // Encoding on 48 bits + ((IntegerValueEx)time).getInt64(), + Long.SIZE / Byte.SIZE )); _logger.exiting("PluginAdapter", "exec_getCurrentTime", ByteHelper.byteArrayToString(returnValue.getEncodedParameter()));