Compare Revisions

The credentials to download the source code are:
 Username: svnusers
 Password: svnusers

Ignore whitespace Rev 858 → Rev 859

/trunk/javasrc/codec/org/etsi/its/codec/ttcn/LibIts_Interface/LibIts_InterfaceCodec.java
266,11 → 266,8
// 1. Decode 'charstring interface' field
rv.setField(fields[idx], decodeCharstringValue(rv.getField(fields[idx++]).getType(), decodingContext));
// 2. Decode 'MacAddress p_dstMacAddr' and 'MacAddress p_srcMacAddr' fields
idx++;
rv.setField(fields[idx], decodeOctetstringValue(rv.getField(fields[idx++]).getType(), decodingContext));
idx-=2;
rv.setField(fields[idx], decodeOctetstringValue(rv.getField(fields[idx++]).getType(), decodingContext));
idx++;
// 3. Retrieve codec for LibItsIpv6OverGeoNetworking_TypesAndValues
TciCDProvided codec = getCodec("LibItsIpv6OverGeoNetworking_TypesAndValues");
if (codec == null) {
277,7 → 274,6
throw new RuntimeException(String.format("Could not retrieve codec for decoding name %s", rv.getType().getTypeEncoding()));
}
// 4. Decode 'Ipv6Packet p_ipv6Packet' field
decodingContext.getNextBytes(2); // skip packet's length
TriMessageImpl newMessage = new TriMessageImpl(decodingContext.getRemaindingBytes());
Value decodedValue = null;
try {