Commit 110b9d05 authored by YannGarcia's avatar YannGarcia
Browse files

Finalyze typing for MEC028

parent 77f7c526
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -433,6 +433,21 @@ int json_codec::decode (const OCTETSTRING& p_data, LibItsHttp__JsonMessageBodyTy
    TTCN_Buffer decoding_buffer_(OCTETSTRING(str.length(), (const unsigned char*)str.c_str()));
    predicted_qos.decode(V2XInformationServiceAPI__TypesAndValues::PredictedQos_descr_, decoding_buffer_, TTCN_EncDec::CT_JSON);
    msg.predictedQos() = predicted_qos;
  } else if ((it->second.find("\"provChgUuUniSubscription\"") != std::string::npos) || (it->second.find("\"v2xApplicationServer\"") != std::string::npos)) {
    V2XInformationServiceAPI__TypesAndValues::ProvChgUuUniSubscription prov_chg_uu_uni_subscription;
    TTCN_Buffer decoding_buffer_(OCTETSTRING(str.length(), (const unsigned char*)str.c_str()));
    prov_chg_uu_uni_subscription.decode(V2XInformationServiceAPI__TypesAndValues::ProvChgUuUniSubscription_descr_, decoding_buffer_, TTCN_EncDec::CT_JSON);
    msg.provChgUuUniSubscription() = prov_chg_uu_uni_subscription;
  } else if ((it->second.find("\"provChgUuMbmsSubscription\"") != std::string::npos) || (it->second.find("\"v2xApplicationServer\"") != std::string::npos)) {
    V2XInformationServiceAPI__TypesAndValues::ProvChgUuMbmsSubscription prov_chg_uu_mbms_subscription;
    TTCN_Buffer decoding_buffer_(OCTETSTRING(str.length(), (const unsigned char*)str.c_str()));
    prov_chg_uu_mbms_subscription.decode(V2XInformationServiceAPI__TypesAndValues::ProvChgUuMbmsSubscription_descr_, decoding_buffer_, TTCN_EncDec::CT_JSON);
    msg.provChgUuMbmsSubscription() = prov_chg_uu_mbms_subscription;
  } else if ((it->second.find("\"provChgPc5Subscription\"") != std::string::npos) || (it->second.find("\"v2xApplicationServer\"") != std::string::npos)) {
    V2XInformationServiceAPI__TypesAndValues::ProvChgPc5Subscription prov_chg_pc5_subscription;
    TTCN_Buffer decoding_buffer_(OCTETSTRING(str.length(), (const unsigned char*)str.c_str()));
    prov_chg_pc5_subscription.decode(V2XInformationServiceAPI__TypesAndValues::ProvChgPc5Subscription_descr_, decoding_buffer_, TTCN_EncDec::CT_JSON);
    msg.provChgPc5Subscription() = prov_chg_pc5_subscription;
  } else if (it->second.find("\"detail\"") != std::string::npos) {
    LibMec__TypesAndValues::ProblemDetails problem_details;
    problem_details.decode(LibMec__TypesAndValues::ProblemDetails_descr_, decoding_buffer, TTCN_EncDec::CT_JSON);
+1051 −0

File added.

Preview size limit exceeded, changes collapsed.

+2701 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0
Original line number Diff line number Diff line
@@ -3,4 +3,5 @@ sources := \
    ttcn/WlanInformationAPI_Pics.ttcn \
    ttcn/WlanInformationAPI_Pixits.ttcn \
    ttcn/WlanInformationAPI_Templates.ttcn \
    ttcn/WlanInformationAPI_Functions.ttcn
+3 −0
Original line number Diff line number Diff line
module WlanInformationAPI_Functions {

} // End of module WlanInformationAPI_Functions
Loading