Commit 3fc51c27 authored by YannGarcia's avatar YannGarcia

Enhance AtsPki / Titan

parent ffbe6f27
......@@ -354,9 +354,6 @@ int geonetworking_codec::decode_headerTST(LibItsGeoNetworking__TypesAndValues::H
case LibItsGeoNetworking__TypesAndValues::HeaderType::e__any:
decode_(u.anyHdr(), *u.anyHdr().get_descriptor(), decoding_buffer);
break;
case LibItsGeoNetworking__TypesAndValues::HeaderType::e__serviceAnnouncement:
decode_(u.saHdr(), *u.saHdr().get_descriptor(), decoding_buffer);
break;
default:
TTCN_error("geonetworking_codec::decode_: Not processed, _dc.header_type = %d - _dc.header_sub_type = %d", _dc.get_header_type(), _dc.get_header_sub_type());
} // End of 'switch' statement
......@@ -401,16 +398,6 @@ int geonetworking_codec::decode_extendedHeader(LibItsGeoNetworking__TypesAndValu
case LibItsGeoNetworking__TypesAndValues::HeaderType::e__any:
decode_(u.anyHeader(), *u.anyHeader().get_descriptor(), decoding_buffer);
break;
case LibItsGeoNetworking__TypesAndValues::HeaderType::e__serviceAnnouncement:
// Check that Service Advertisment (ETSI TS 102 890-1) uses TSB
if (_dc.get_header_sub_type() == LibItsGeoNetworking__TypesAndValues::HeaderSubTypeSa::e__sa) {
decode_(u.saHeader(), *u.saHeader().get_descriptor(), decoding_buffer);
} else if (_dc.get_header_sub_type() == LibItsGeoNetworking__TypesAndValues::HeaderSubTypeSa::e__saEos) {
decode_(u.saEosHeader(), *u.saEosHeader().get_descriptor(), decoding_buffer);
} else {
TTCN_error("geonetworking_codec::decode_headerTST: Service Advertisement subtype not processed, See ETSI EN 302 636-4-1 Clause 9.7.4 Encoding of the HT and HST fields");
}
break;
default:
TTCN_error("geonetworking_codec::decode_headerTST: Not processed, _dc.header_type = %d - _dc.header_sub_type = %d, See ETSI EN 302 636-4-1 Clause 9.7.4 Encoding of the HT and HST fields", _dc.get_header_type(), _dc.get_header_sub_type());
} // End of 'switch' statement
......
Subproject commit 0181ca54a8bcae4214b6aba217dff20f2035504e
Subproject commit 05da1c7eb2266da50cbee511c01fb59623187412
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment