Commit 1e812a4b authored by Robert Schmidt's avatar Robert Schmidt

Merge remote-tracking branch 'origin/nrppa_new' into integration_2023_w02

parents 2c3e4ef4 89bddc76
......@@ -525,7 +525,6 @@ target_link_libraries(f1ap PRIVATE ngap nr_rrc)
##############
# target asn1_lpp in openair3/LPP/MESSAGES/CMakeLists.txt used below
# Hardware dependant options
###################################
add_list1_option(NB_ANTENNAS_RX "4" "Number of antennas in reception" "1" "2" "4")
......
......@@ -2,3 +2,4 @@ add_subdirectory(LPP)
add_subdirectory(M3AP)
add_subdirectory(S1AP)
add_subdirectory(NGAP)
add_subdirectory(NRPPA)
add_subdirectory(MESSAGES)
add_executable(test_nrppa ${OPENAIR3_DIR}/NRPPA/test_nrppa.c )
target_link_libraries(test_nrppa asn1_nrppa)
This source diff could not be displayed because it is too large. You can view the blob instead.
set(NRPPA_GRAMMAR ASN1/38455.asn)
set(nrppa_source
ANY.c
asn_application.c
asn_bit_data.c
asn_codecs_prim.c
asn_internal.c
asn_random_fill.c
asn_SEQUENCE_OF.c
asn_SET_OF.c
ber_decoder.c
ber_tlv_length.c
ber_tlv_tag.c
BIT_STRING.c
BOOLEAN.c
constraints.c
constr_CHOICE.c
constr_SEQUENCE.c
constr_SEQUENCE_OF.c
constr_SET_OF.c
constr_TYPE.c
der_encoder.c
INTEGER.c
NativeEnumerated.c
NativeInteger.c
NRPPA_AbortTransmission.c
NRPPA_ActivationTime.c
NRPPA_ActiveULBWP.c
NRPPA_AdditionalPathList.c
NRPPA_AdditionalPathListItem.c
NRPPA_AperiodicSRS.c
NRPPA_AperiodicSRSResourceTrigger.c
NRPPA_AperiodicSRSResourceTriggerList.c
NRPPA_Assistance-Information.c
NRPPA_AssistanceInformationControl.c
NRPPA_AssistanceInformationFailureList.c
NRPPA_AssistanceInformationFeedback.c
NRPPA_AssistanceInformationMetaData.c
NRPPA_BandwidthSRS.c
NRPPA_BCCH.c
NRPPA_Broadcast.c
NRPPA_BroadcastPeriodicity.c
NRPPA_BSSID.c
NRPPA_Cause.c
NRPPA_CauseMisc.c
NRPPA_CauseProtocol.c
NRPPA_CauseRadioNetwork.c
NRPPA_Cell-Portion-ID.c
NRPPA_CGI-EUTRA.c
NRPPA_CGI-NR.c
NRPPA_CoordinateID.c
NRPPA_CPLength-EUTRA.c
NRPPA_Criticality.c
NRPPA_CriticalityDiagnostics.c
NRPPA_CriticalityDiagnostics-IE-List.c
NRPPA_DL-Bandwidth-EUTRA.c
NRPPA_DL-PRS.c
NRPPA_DL-PRSMutingPattern.c
NRPPA_DLPRSResourceARP.c
NRPPA_DL-PRSResourceARPLocation.c
NRPPA_DLPRSResourceCoordinates.c
NRPPA_DLPRSResourceSetARP.c
NRPPA_DL-PRSResourceSetARPLocation.c
NRPPA_EARFCN.c
NRPPA_E-CIDMeasurementFailureIndication.c
NRPPA_E-CIDMeasurementInitiationFailure.c
NRPPA_E-CIDMeasurementInitiationRequest.c
NRPPA_E-CIDMeasurementInitiationResponse.c
NRPPA_E-CIDMeasurementReport.c
NRPPA_E-CID-MeasurementResult.c
NRPPA_E-CIDMeasurementTerminationCommand.c
NRPPA_ErrorIndication.c
NRPPA_EUTRACellIdentifier.c
NRPPA_GeographicalCoordinates.c
NRPPA_GNB-RxTxTimeDiff.c
NRPPA_GNBRxTxTimeDiffMeas.c
NRPPA_HESSID.c
NRPPA_InitiatingMessage.c
NRPPA_LCG-to-GCS-TranslationItem.c
NRPPA_LocationUncertainty.c
NRPPA_MeasuredResults.c
NRPPA_MeasuredResultsValue.c
NRPPA_MeasurementAbort.c
NRPPA_MeasurementBeamInfo.c
NRPPA_MeasurementBeamInfoRequest.c
NRPPA_MeasurementFailure.c
NRPPA_MeasurementFailureIndication.c
NRPPA_Measurement-ID.c
NRPPA_MeasurementPeriodicity.c
NRPPA_MeasurementQuantities.c
NRPPA_MeasurementQuantities-Item.c
NRPPA_MeasurementQuantitiesValue.c
NRPPA_MeasurementReport.c
NRPPA_MeasurementRequest.c
NRPPA_MeasurementResponse.c
NRPPA_MeasurementUpdate.c
NRPPA_NarrowBandIndex.c
NRPPA_NG-RANAccessPointPosition.c
NRPPA_NG-RANCell.c
NRPPA_NG-RAN-CGI.c
NRPPA_NGRANHighAccuracyAccessPointPosition.c
NRPPA_NR-ARFCN.c
NRPPA_NRCellIdentifier.c
NRPPA_NR-PCI.c
NRPPA_NRPPA-PDU.c
NRPPA_NRPPATransactionID.c
NRPPA_NR-PRS-Beam-Information.c
NRPPA_NR-PRS-Beam-InformationItem.c
NRPPA_NumberOfAntennaPorts-EUTRA.c
NRPPA_NumberOfDlFrames-EUTRA.c
NRPPA_NumberOfDlFrames-Extended-EUTRA.c
NRPPA_NumberOfFrequencyHoppingBands.c
NRPPA_NZP-CSI-RS-ResourceID.c
NRPPA_OTDOACell-Information.c
NRPPA_OTDOACell-Information-Item.c
NRPPA_OTDOACells.c
NRPPA_OTDOAInformationFailure.c
NRPPA_OTDOA-Information-Item.c
NRPPA_OTDOAInformationRequest.c
NRPPA_OTDOAInformationResponse.c
NRPPA_OTDOA-Information-Type.c
NRPPA_OTDOA-Information-Type-Item.c
NRPPA_OtherRATMeasuredResultsValue.c
NRPPA_OtherRATMeasurementQuantities.c
NRPPA_OtherRATMeasurementQuantities-Item.c
NRPPA_OtherRATMeasurementQuantitiesValue.c
NRPPA_OtherRATMeasurementResult.c
NRPPA_Outcome.c
NRPPA_PathlossReferenceInformation.c
NRPPA_PathlossReferenceSignal.c
NRPPA_PCI-EUTRA.c
NRPPA_PeriodicityItem.c
NRPPA_PeriodicityList.c
NRPPA_PhysCellIDGERAN.c
NRPPA_PhysCellIDUTRA-FDD.c
NRPPA_PhysCellIDUTRA-TDD.c
NRPPA_PLMN-Identity.c
NRPPA_PositioningActivationFailure.c
NRPPA_PositioningActivationRequest.c
NRPPA_PositioningActivationResponse.c
NRPPA_PositioningBroadcastCells.c
NRPPA_PositioningDeactivation.c
NRPPA_PositioningInformationFailure.c
NRPPA_PositioningInformationRequest.c
NRPPA_PositioningInformationResponse.c
NRPPA_PositioningInformationUpdate.c
NRPPA_PosResourceSetTypeAperiodic.c
NRPPA_PosResourceSetType.c
NRPPA_PosResourceSetTypePeriodic.c
NRPPA_PosResourceSetTypeSemi-persistent.c
NRPPA_PosSIBs.c
NRPPA_PosSIB-Segments.c
NRPPA_PosSIB-Type.c
NRPPA_PosSRSResourceID-List.c
NRPPA_PosSRSResource-Item.c
NRPPA_PosSRSResource-List.c
NRPPA_PosSRSResourceSet-Item.c
NRPPA_PosSRSResourceSet-List.c
NRPPA_Presence.c
NRPPA_PrivateIE-Container.c
NRPPA_PrivateIE-Field.c
NRPPA_PrivateIE-ID.c
NRPPA_PrivateMessage.c
NRPPA_ProcedureCode.c
NRPPA_ProtocolExtensionContainer.c
NRPPA_ProtocolExtensionField.c
NRPPA_ProtocolIE-Container.c
NRPPA_ProtocolIE-ContainerList.c
NRPPA_ProtocolIE-Field.c
NRPPA_ProtocolIE-ID.c
NRPPA_ProtocolIE-Single-Container.c
NRPPA_PRSAngleItem.c
NRPPA_PRS-Bandwidth-EUTRA.c
NRPPA_PRSConfiguration.c
NRPPA_PRS-ConfigurationIndex-EUTRA.c
NRPPA_PRSFrequencyHoppingConfiguration-EUTRA.c
NRPPA_PRS-ID.c
NRPPA_PRS-ID-EUTRA.c
NRPPA_PRSInformationPos.c
NRPPA_PRSMuting.c
NRPPA_PRSMutingConfiguration-EUTRA.c
NRPPA_PRSMutingOption1.c
NRPPA_PRSMutingOption2.c
NRPPA_PRSOccasionGroup-EUTRA.c
NRPPA_PRS-Resource-ID.c
NRPPA_PRSResource-Item.c
NRPPA_PRSResource-List.c
NRPPA_PRSResource-QCLInfo.c
NRPPA_PRSResource-QCLSourcePRSInfo.c
NRPPA_PRS-Resource-Set-ID.c
NRPPA_PRSResourceSet-Item.c
NRPPA_PRSResourceSet-List.c
NRPPA_ReferencePoint.c
NRPPA_ReferenceSignal.c
NRPPA_RelativeCartesianLocation.c
NRPPA_RelativeGeodeticLocation.c
NRPPA_RelativePathDelay.c
NRPPA_ReportCharacteristics.c
NRPPA_RequestedSRSTransmissionCharacteristics.c
NRPPA_ResourceSetTypeAperiodic.c
NRPPA_ResourceSetType.c
NRPPA_ResourceSetTypePeriodic.c
NRPPA_ResourceSetTypeSemi-persistent.c
NRPPA_ResourceTypeAperiodic.c
NRPPA_ResourceTypeAperiodicPos.c
NRPPA_ResourceType.c
NRPPA_ResourceTypePeriodic.c
NRPPA_ResourceTypePeriodicPos.c
NRPPA_ResourceTypePos.c
NRPPA_ResourceTypeSemi-persistent.c
NRPPA_ResourceTypeSemi-persistentPos.c
NRPPA_ResultCSI-RSRP.c
NRPPA_ResultCSI-RSRP-Item.c
NRPPA_ResultCSI-RSRP-PerCSI-RS.c
NRPPA_ResultCSI-RSRP-PerCSI-RS-Item.c
NRPPA_ResultCSI-RSRQ.c
NRPPA_ResultCSI-RSRQ-Item.c
NRPPA_ResultCSI-RSRQ-PerCSI-RS.c
NRPPA_ResultCSI-RSRQ-PerCSI-RS-Item.c
NRPPA_ResultEUTRA.c
NRPPA_ResultEUTRA-Item.c
NRPPA_ResultGERAN.c
NRPPA_ResultGERAN-Item.c
NRPPA_ResultNR.c
NRPPA_ResultNR-Item.c
NRPPA_ResultRSRP-EUTRA.c
NRPPA_ResultRSRP-EUTRA-Item.c
NRPPA_ResultRSRQ-EUTRA.c
NRPPA_ResultRSRQ-EUTRA-Item.c
NRPPA_ResultSS-RSRP.c
NRPPA_ResultSS-RSRP-Item.c
NRPPA_ResultSS-RSRP-PerSSB.c
NRPPA_ResultSS-RSRP-PerSSB-Item.c
NRPPA_ResultSS-RSRQ.c
NRPPA_ResultSS-RSRQ-Item.c
NRPPA_ResultSS-RSRQ-PerSSB.c
NRPPA_ResultSS-RSRQ-PerSSB-Item.c
NRPPA_ResultUTRAN.c
NRPPA_ResultUTRAN-Item.c
NRPPA_RSSI.c
NRPPA_SCS-SpecificCarrier.c
NRPPA_Search-window-information.c
NRPPA_SemipersistentSRS.c
NRPPA_SFNInitialisationTime.c
NRPPA_SFNInitialisationTime-EUTRA.c
NRPPA_SlotNumber.c
NRPPA_SpatialDirectionInformation.c
NRPPA_SpatialRelationforResourceID.c
NRPPA_SpatialRelationforResourceIDItem.c
NRPPA_SpatialRelationInfo.c
NRPPA_SpatialRelationPos.c
NRPPA_SRSCarrier-List.c
NRPPA_SRSCarrier-List-Item.c
NRPPA_SRSConfig.c
NRPPA_SRSConfiguration.c
NRPPA_SRSPosResourceID.c
NRPPA_SRSResource.c
NRPPA_SRSResourceID.c
NRPPA_SRSResourceID-List.c
NRPPA_SRSResource-List.c
NRPPA_SRSResourceSet.c
NRPPA_SRSResourceSetID.c
NRPPA_SRSResourceSet-Item.c
NRPPA_SRSResourceSet-List.c
NRPPA_SRSResourceTrigger.c
NRPPA_SRSSpatialRelation.c
NRPPA_SRSType.c
NRPPA_SSBBurstPosition.c
NRPPA_SSB.c
NRPPA_SSB-Index.c
NRPPA_SSBInfo.c
NRPPA_SSBInfoList.c
NRPPA_SSBPos.c
NRPPA_SSID.c
NRPPA_SuccessfulOutcome.c
NRPPA_SystemFrameNumber.c
NRPPA_SystemInformation.c
NRPPA_TAC.c
NRPPA_TDD-Config-EUTRA-Item.c
NRPPA_TF-Configuration.c
NRPPA_TimeStamp.c
NRPPA_TimeStampSlotIndex.c
NRPPA_TP-ID-EUTRA.c
NRPPA_TP-Type-EUTRA.c
NRPPA_TransmissionComb.c
NRPPA_TransmissionCombPos.c
NRPPA_TriggeringMessage.c
NRPPA_TRP-ID.c
NRPPA_TRPInformation.c
NRPPA_TRPInformationFailure.c
NRPPA_TRPInformationItem.c
NRPPA_TRPInformationList.c
NRPPA_TRPInformationRequest.c
NRPPA_TRPInformationResponse.c
NRPPA_TRPInformationTypeItem.c
NRPPA_TRPInformationTypeList.c
NRPPA_TRPItem.c
NRPPA_TRPList.c
NRPPA_TrpMeasuredResultsValue.c
NRPPA_TrpMeasurementAngleQuality.c
NRPPA_TrpMeasurementQuality.c
NRPPA_TRPMeasurementQuantities.c
NRPPA_TRPMeasurementQuantities-Item.c
NRPPA_TRPMeasurementQuantitiesList-Item.c
NRPPA_TRP-MeasurementRequestItem.c
NRPPA_TRP-MeasurementRequestList.c
NRPPA_TRP-MeasurementResponseItem.c
NRPPA_TRP-MeasurementResponseList.c
NRPPA_TrpMeasurementResult.c
NRPPA_TrpMeasurementResultItem.c
NRPPA_TrpMeasurementTimingQuality.c
NRPPA_TRPPositionDefinitionType.c
NRPPA_TRPPositionDirectAccuracy.c
NRPPA_TRPPositionDirect.c
NRPPA_TRPPositionReferenced.c
NRPPA_TRPReferencePointType.c
NRPPA_TypeOfError.c
NRPPA_UARFCN.c
NRPPA_UE-Measurement-ID.c
NRPPA_UL-AoA.c
NRPPA_ULRTOAMeas.c
NRPPA_UL-RTOAMeasurement.c
NRPPA_UL-SRS-RSRP.c
NRPPA_UnsuccessfulOutcome.c
NRPPA_UplinkChannelBW-PerSCS-List.c
NRPPA_UTRA-EcN0.c
NRPPA_UTRA-RSCP.c
NRPPA_ValueRSRP-EUTRA.c
NRPPA_ValueRSRP-NR.c
NRPPA_ValueRSRQ-EUTRA.c
NRPPA_ValueRSRQ-NR.c
NRPPA_WLANBand.c
NRPPA_WLANChannel.c
NRPPA_WLANChannelList.c
NRPPA_WLANCountryCode.c
NRPPA_WLANMeasurementQuantities.c
NRPPA_WLANMeasurementQuantities-Item.c
NRPPA_WLANMeasurementQuantitiesValue.c
NRPPA_WLANMeasurementResult.c
NRPPA_WLANMeasurementResult-Item.c
NRPPA_WLANOperatingClass.c
NRPPA_WLAN-RSSI.c
NULL.c
OBJECT_IDENTIFIER.c
OCTET_STRING.c
OPEN_TYPE.c
per_decoder.c
per_encoder.c
per_opentype.c
per_support.c
xer_decoder.c
xer_encoder.c
xer_support.c
)
set(nrppa_headers
ANY.h
asn_application.h
asn_bit_data.h
asn_codecs.h
asn_codecs_prim.h
asn_internal.h
asn_ioc.h
asn_random_fill.h
asn_SEQUENCE_OF.h
asn_SET_OF.h
asn_system.h
ber_decoder.h
ber_tlv_length.h
ber_tlv_tag.h
BIT_STRING.h
BOOLEAN.h
constraints.h
constr_CHOICE.h
constr_SEQUENCE.h
constr_SEQUENCE_OF.h
constr_SET_OF.h
constr_TYPE.h
der_encoder.h
INTEGER.h
NativeEnumerated.h
NativeInteger.h
NRPPA_AbortTransmission.h
NRPPA_ActivationTime.h
NRPPA_ActiveULBWP.h
NRPPA_AdditionalPathList.h
NRPPA_AdditionalPathListItem.h
NRPPA_AperiodicSRS.h
NRPPA_AperiodicSRSResourceTrigger.h
NRPPA_AperiodicSRSResourceTriggerList.h
NRPPA_asn_constant.h
NRPPA_AssistanceInformationControl.h
NRPPA_AssistanceInformationFailureList.h
NRPPA_AssistanceInformationFeedback.h
NRPPA_Assistance-Information.h
NRPPA_AssistanceInformationMetaData.h
NRPPA_BandwidthSRS.h
NRPPA_BCCH.h
NRPPA_Broadcast.h
NRPPA_BroadcastPeriodicity.h
NRPPA_BSSID.h
NRPPA_Cause.h
NRPPA_CauseMisc.h
NRPPA_CauseProtocol.h
NRPPA_CauseRadioNetwork.h
NRPPA_Cell-Portion-ID.h
NRPPA_CGI-EUTRA.h
NRPPA_CGI-NR.h
NRPPA_CoordinateID.h
NRPPA_CPLength-EUTRA.h
NRPPA_CriticalityDiagnostics.h
NRPPA_CriticalityDiagnostics-IE-List.h
NRPPA_Criticality.h
NRPPA_DL-Bandwidth-EUTRA.h
NRPPA_DL-PRS.h
NRPPA_DL-PRSMutingPattern.h
NRPPA_DLPRSResourceARP.h
NRPPA_DL-PRSResourceARPLocation.h
NRPPA_DLPRSResourceCoordinates.h
NRPPA_DLPRSResourceSetARP.h
NRPPA_DL-PRSResourceSetARPLocation.h
NRPPA_EARFCN.h
NRPPA_E-CIDMeasurementFailureIndication.h
NRPPA_E-CIDMeasurementInitiationFailure.h
NRPPA_E-CIDMeasurementInitiationRequest.h
NRPPA_E-CIDMeasurementInitiationResponse.h
NRPPA_E-CIDMeasurementReport.h
NRPPA_E-CID-MeasurementResult.h
NRPPA_E-CIDMeasurementTerminationCommand.h
NRPPA_ErrorIndication.h
NRPPA_EUTRACellIdentifier.h
NRPPA_GeographicalCoordinates.h
NRPPA_GNB-RxTxTimeDiff.h
NRPPA_GNBRxTxTimeDiffMeas.h
NRPPA_HESSID.h
NRPPA_InitiatingMessage.h
NRPPA_LCG-to-GCS-TranslationItem.h
NRPPA_LocationUncertainty.h
NRPPA_MeasuredResults.h
NRPPA_MeasuredResultsValue.h
NRPPA_MeasurementAbort.h
NRPPA_MeasurementBeamInfo.h
NRPPA_MeasurementBeamInfoRequest.h
NRPPA_MeasurementFailure.h
NRPPA_MeasurementFailureIndication.h
NRPPA_Measurement-ID.h
NRPPA_MeasurementPeriodicity.h
NRPPA_MeasurementQuantities.h
NRPPA_MeasurementQuantities-Item.h
NRPPA_MeasurementQuantitiesValue.h
NRPPA_MeasurementReport.h
NRPPA_MeasurementRequest.h
NRPPA_MeasurementResponse.h
NRPPA_MeasurementUpdate.h
NRPPA_NarrowBandIndex.h
NRPPA_NG-RANAccessPointPosition.h
NRPPA_NG-RANCell.h
NRPPA_NG-RAN-CGI.h
NRPPA_NGRANHighAccuracyAccessPointPosition.h
NRPPA_NR-ARFCN.h
NRPPA_NRCellIdentifier.h
NRPPA_NR-PCI.h
NRPPA_NRPPA-PDU.h
NRPPA_NRPPATransactionID.h
NRPPA_NR-PRS-Beam-Information.h
NRPPA_NR-PRS-Beam-InformationItem.h
NRPPA_NumberOfAntennaPorts-EUTRA.h
NRPPA_NumberOfDlFrames-EUTRA.h
NRPPA_NumberOfDlFrames-Extended-EUTRA.h
NRPPA_NumberOfFrequencyHoppingBands.h
NRPPA_NZP-CSI-RS-ResourceID.h
NRPPA_OTDOACell-Information.h
NRPPA_OTDOACell-Information-Item.h
NRPPA_OTDOACells.h
NRPPA_OTDOAInformationFailure.h
NRPPA_OTDOA-Information-Item.h
NRPPA_OTDOAInformationRequest.h
NRPPA_OTDOAInformationResponse.h
NRPPA_OTDOA-Information-Type.h
NRPPA_OTDOA-Information-Type-Item.h
NRPPA_OtherRATMeasuredResultsValue.h
NRPPA_OtherRATMeasurementQuantities.h
NRPPA_OtherRATMeasurementQuantities-Item.h
NRPPA_OtherRATMeasurementQuantitiesValue.h
NRPPA_OtherRATMeasurementResult.h
NRPPA_Outcome.h
NRPPA_PathlossReferenceInformation.h
NRPPA_PathlossReferenceSignal.h
NRPPA_PCI-EUTRA.h
NRPPA_PeriodicityItem.h
NRPPA_PeriodicityList.h
NRPPA_PhysCellIDGERAN.h
NRPPA_PhysCellIDUTRA-FDD.h
NRPPA_PhysCellIDUTRA-TDD.h
NRPPA_PLMN-Identity.h
NRPPA_PositioningActivationFailure.h
NRPPA_PositioningActivationRequest.h
NRPPA_PositioningActivationResponse.h
NRPPA_PositioningBroadcastCells.h
NRPPA_PositioningDeactivation.h
NRPPA_PositioningInformationFailure.h
NRPPA_PositioningInformationRequest.h
NRPPA_PositioningInformationResponse.h
NRPPA_PositioningInformationUpdate.h
NRPPA_PosResourceSetTypeAperiodic.h
NRPPA_PosResourceSetType.h
NRPPA_PosResourceSetTypePeriodic.h
NRPPA_PosResourceSetTypeSemi-persistent.h
NRPPA_PosSIB-Segments.h
NRPPA_PosSIBs.h
NRPPA_PosSIB-Type.h
NRPPA_PosSRSResourceID-List.h
NRPPA_PosSRSResource-Item.h
NRPPA_PosSRSResource-List.h
NRPPA_PosSRSResourceSet-Item.h
NRPPA_PosSRSResourceSet-List.h
NRPPA_Presence.h
NRPPA_PrivateIE-Container.h
NRPPA_PrivateIE-Field.h
NRPPA_PrivateIE-ID.h
NRPPA_PrivateMessage.h
NRPPA_ProcedureCode.h
NRPPA_ProtocolExtensionContainer.h
NRPPA_ProtocolExtensionField.h
NRPPA_ProtocolIE-Container.h
NRPPA_ProtocolIE-ContainerList.h
NRPPA_ProtocolIE-Field.h
NRPPA_ProtocolIE-ID.h
NRPPA_ProtocolIE-Single-Container.h
NRPPA_PRSAngleItem.h
NRPPA_PRS-Bandwidth-EUTRA.h
NRPPA_PRSConfiguration.h
NRPPA_PRS-ConfigurationIndex-EUTRA.h
NRPPA_PRSFrequencyHoppingConfiguration-EUTRA.h
NRPPA_PRS-ID-EUTRA.h
NRPPA_PRS-ID.h
NRPPA_PRSInformationPos.h
NRPPA_PRSMutingConfiguration-EUTRA.h
NRPPA_PRSMuting.h
NRPPA_PRSMutingOption1.h
NRPPA_PRSMutingOption2.h
NRPPA_PRSOccasionGroup-EUTRA.h
NRPPA_PRS-Resource-ID.h
NRPPA_PRSResource-Item.h
NRPPA_PRSResource-List.h
NRPPA_PRSResource-QCLInfo.h
NRPPA_PRSResource-QCLSourcePRSInfo.h
NRPPA_PRS-Resource-Set-ID.h
NRPPA_PRSResourceSet-Item.h
NRPPA_PRSResourceSet-List.h
NRPPA_ReferencePoint.h
NRPPA_ReferenceSignal.h
NRPPA_RelativeCartesianLocation.h
NRPPA_RelativeGeodeticLocation.h
NRPPA_RelativePathDelay.h
NRPPA_ReportCharacteristics.h
NRPPA_RequestedSRSTransmissionCharacteristics.h
NRPPA_ResourceSetTypeAperiodic.h
NRPPA_ResourceSetType.h
NRPPA_ResourceSetTypePeriodic.h
NRPPA_ResourceSetTypeSemi-persistent.h
NRPPA_ResourceTypeAperiodic.h
NRPPA_ResourceTypeAperiodicPos.h
NRPPA_ResourceType.h
NRPPA_ResourceTypePeriodic.h
NRPPA_ResourceTypePeriodicPos.h
NRPPA_ResourceTypePos.h
NRPPA_ResourceTypeSemi-persistent.h
NRPPA_ResourceTypeSemi-persistentPos.h
NRPPA_ResultCSI-RSRP.h
NRPPA_ResultCSI-RSRP-Item.h
NRPPA_ResultCSI-RSRP-PerCSI-RS.h
NRPPA_ResultCSI-RSRP-PerCSI-RS-Item.h
NRPPA_ResultCSI-RSRQ.h
NRPPA_ResultCSI-RSRQ-Item.h
NRPPA_ResultCSI-RSRQ-PerCSI-RS.h
NRPPA_ResultCSI-RSRQ-PerCSI-RS-Item.h
NRPPA_ResultEUTRA.h
NRPPA_ResultEUTRA-Item.h
NRPPA_ResultGERAN.h
NRPPA_ResultGERAN-Item.h
NRPPA_ResultNR.h
NRPPA_ResultNR-Item.h
NRPPA_ResultRSRP-EUTRA.h
NRPPA_ResultRSRP-EUTRA-Item.h
NRPPA_ResultRSRQ-EUTRA.h
NRPPA_ResultRSRQ-EUTRA-Item.h
NRPPA_ResultSS-RSRP.h
NRPPA_ResultSS-RSRP-Item.h
NRPPA_ResultSS-RSRP-PerSSB.h
NRPPA_ResultSS-RSRP-PerSSB-Item.h
NRPPA_ResultSS-RSRQ.h
NRPPA_ResultSS-RSRQ-Item.h
NRPPA_ResultSS-RSRQ-PerSSB.h
NRPPA_ResultSS-RSRQ-PerSSB-Item.h
NRPPA_ResultUTRAN.h
NRPPA_ResultUTRAN-Item.h
NRPPA_RSSI.h
NRPPA_SCS-SpecificCarrier.h
NRPPA_Search-window-information.h
NRPPA_SemipersistentSRS.h
NRPPA_SFNInitialisationTime-EUTRA.h
NRPPA_SFNInitialisationTime.h
NRPPA_SlotNumber.h
NRPPA_SpatialDirectionInformation.h
NRPPA_SpatialRelationforResourceID.h
NRPPA_SpatialRelationforResourceIDItem.h
NRPPA_SpatialRelationInfo.h
NRPPA_SpatialRelationPos.h
NRPPA_SRSCarrier-List.h
NRPPA_SRSCarrier-List-Item.h
NRPPA_SRSConfig.h
NRPPA_SRSConfiguration.h
NRPPA_SRSPosResourceID.h
NRPPA_SRSResource.h
NRPPA_SRSResourceID.h
NRPPA_SRSResourceID-List.h
NRPPA_SRSResource-List.h
NRPPA_SRSResourceSet.h
NRPPA_SRSResourceSetID.h
NRPPA_SRSResourceSet-Item.h
NRPPA_SRSResourceSet-List.h
NRPPA_SRSResourceTrigger.h
NRPPA_SRSSpatialRelation.h
NRPPA_SRSType.h
NRPPA_SSBBurstPosition.h
NRPPA_SSB.h
NRPPA_SSB-Index.h
NRPPA_SSBInfo.h
NRPPA_SSBInfoList.h
NRPPA_SSBPos.h
NRPPA_SSID.h
NRPPA_SuccessfulOutcome.h
NRPPA_SystemFrameNumber.h
NRPPA_SystemInformation.h
NRPPA_TAC.h
NRPPA_TDD-Config-EUTRA-Item.h
NRPPA_TF-Configuration.h
NRPPA_TimeStamp.h
NRPPA_TimeStampSlotIndex.h
NRPPA_TP-ID-EUTRA.h
NRPPA_TP-Type-EUTRA.h
NRPPA_TransmissionComb.h
NRPPA_TransmissionCombPos.h
NRPPA_TriggeringMessage.h
NRPPA_TRP-ID.h
NRPPA_TRPInformationFailure.h
NRPPA_TRPInformation.h
NRPPA_TRPInformationItem.h
NRPPA_TRPInformationList.h
NRPPA_TRPInformationRequest.h
NRPPA_TRPInformationResponse.h
NRPPA_TRPInformationTypeItem.h
NRPPA_TRPInformationTypeList.h
NRPPA_TRPItem.h
NRPPA_TRPList.h
NRPPA_TrpMeasuredResultsValue.h
NRPPA_TrpMeasurementAngleQuality.h
NRPPA_TrpMeasurementQuality.h
NRPPA_TRPMeasurementQuantities.h
NRPPA_TRPMeasurementQuantities-Item.h
NRPPA_TRPMeasurementQuantitiesList-Item.h
NRPPA_TRP-MeasurementRequestItem.h
NRPPA_TRP-MeasurementRequestList.h
NRPPA_TRP-MeasurementResponseItem.h
NRPPA_TRP-MeasurementResponseList.h
NRPPA_TrpMeasurementResult.h
NRPPA_TrpMeasurementResultItem.h
NRPPA_TrpMeasurementTimingQuality.h
NRPPA_TRPPositionDefinitionType.h
NRPPA_TRPPositionDirectAccuracy.h
NRPPA_TRPPositionDirect.h
NRPPA_TRPPositionReferenced.h
NRPPA_TRPReferencePointType.h
NRPPA_TypeOfError.h
NRPPA_UARFCN.h
NRPPA_UE-Measurement-ID.h
NRPPA_UL-AoA.h
NRPPA_ULRTOAMeas.h
NRPPA_UL-RTOAMeasurement.h
NRPPA_UL-SRS-RSRP.h
NRPPA_UnsuccessfulOutcome.h
NRPPA_UplinkChannelBW-PerSCS-List.h
NRPPA_UTRA-EcN0.h
NRPPA_UTRA-RSCP.h
NRPPA_ValueRSRP-EUTRA.h
NRPPA_ValueRSRP-NR.h
NRPPA_ValueRSRQ-EUTRA.h
NRPPA_ValueRSRQ-NR.h
NRPPA_WLANBand.h
NRPPA_WLANChannel.h
NRPPA_WLANChannelList.h
NRPPA_WLANCountryCode.h
NRPPA_WLANMeasurementQuantities.h
NRPPA_WLANMeasurementQuantities-Item.h
NRPPA_WLANMeasurementQuantitiesValue.h
NRPPA_WLANMeasurementResult.h
NRPPA_WLANMeasurementResult-Item.h
NRPPA_WLANOperatingClass.h
NRPPA_WLAN-RSSI.h
NULL.h
OBJECT_IDENTIFIER.h
OCTET_STRING.h
OPEN_TYPE.h
per_decoder.h
per_encoder.h
per_opentype.h
per_support.h
xer_decoder.h
xer_encoder.h
xer_support.h
)
\ No newline at end of file
#set(NRPPA_VERSION 16 78 0)
#make_version(NRPPA_cc ${NRPPA_VERSION})
#add_definitions(-DNRPPA_VERSION=${NRPPA_cc})
#string(REPLACE ";" "." NRPPA_RELEASE "${NRPPA_VERSION}")
#if(NRPPA_RELEASE VERSION_EQUAL "16.78.0")
include(ASN1/38455.cmake)
#else()
# message(FATAL_ERROR "unknown NRPPA_RELEASE ${NRPPA_RELEASE}")
#endif()
add_custom_command(OUTPUT ${nrppa_source} ${nrppa_headers}
COMMAND ASN1C_PREFIX=NRPPA_ asn1c -gen-PER -no-gen-OER -fcompound-names -no-gen-example -findirect-choice -fno-include-deps -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/${NRPPA_GRAMMAR}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${NRPPA_GRAMMAR}
COMMENT "Generating NRPPA source files from ${CMAKE_CURRENT_SOURCE_DIR}/${NRPPA_GRAMMAR}"
)
add_library(asn1_nrppa ${nrppa_source})
target_include_directories(asn1_nrppa PUBLIC "${CMAKE_CURRENT_BINARY_DIR}")
target_compile_options(asn1_nrppa PRIVATE -DASN_DISABLE_OER_SUPPORT -w)
#include <stdio.h>
#include <NRPPA_MeasurementRequest.h>
#include <NRPPA_ProtocolIE-Field.h>
#include <asn_SEQUENCE_OF.h>
/*
* This is a custom function which writes the
* encoded output into some FILE stream.
*/
static int write_out(const void *buffer, size_t size, void *app_key)
{
FILE *out_fp = app_key;
size_t wrote;
wrote = fwrite(buffer, 1, size, out_fp);
return (wrote == size) ? 0 : -1;
}
int main(int ac, char **av)
{
NRPPA_MeasurementRequest_t *NRPPA_MeasurementRequest; /* Type to encode */
asn_enc_rval_t ec; /* Encoder return value */
/* Allocate the NRPPA_MeasurementRequest_t */
NRPPA_MeasurementRequest = calloc(1, sizeof(NRPPA_MeasurementRequest_t)); /* not malloc! */
if (!NRPPA_MeasurementRequest) {
perror("calloc() failed");
exit(71); /* better, EX_OSERR */
}
NRPPA_MeasurementRequest_IEs_t xyz;
ASN_SEQUENCE_ADD(&NRPPA_MeasurementRequest->protocolIEs.list, &xyz);
/* MeasurementRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{MeasurementRequest-IEs}},
...
} */
/* Protocl IE container
id-LMF-Measurement-ID ProtocolIE-ID ::= 39
id-RAN-Measurement-ID ProtocolIE-ID ::= 40
ID id-TRP-MeasurementRequestList ProtocolIE-ID ::= 41
ID id-ReportCharacteristics ProtocolIE-ID ::= 3
ID id-MeasurementPeriodicity ProtocolIE-ID ::= 4
ID id-TRPMeasurementQuantities ProtocolIE-ID ::= 52
*/
//NRPPA_MeasurementRequest->protocolIEs;
/* Context for parsing across buffer boundaries */
//NRPPA_MeasurementRequest->_asn_ctx;
/* BER encode the data if filename is given */
if (ac < 2) {
fprintf(stderr, "Specify filename for BER output\n");
} else {
const char *filename = av[1];
FILE *fp = fopen(filename, "wb"); /* for BER output */
if (!fp) {
perror(filename);
exit(71); /* better, EX_OSERR */
}
// asn_enc_rval_t der_encode(const struct asn_TYPE_descriptor_s *type_descriptor,
// const void *struct_ptr, /* Structure to be encoded */
// asn_app_consume_bytes_f *consume_bytes_cb,
// void *app_key /* Arbitrary callback argument */);
/* Encode the NRPPA_MeasurementRequest type as BER (DER) */
ec = der_encode(&asn_DEF_NRPPA_MeasurementRequest, NRPPA_MeasurementRequest, write_out, fp);
fclose(fp);
if (ec.encoded == -1) {
fprintf(stderr, "Could not encode NRPPA_MeasurementRequest (at %s)\n", ec.failed_type ? ec.failed_type->name : "unknown");
exit(65); /* better, EX_DATAERR */
} else {
fprintf(stderr, "Created %s with BER encoded NRPPA_MeasurementRequest\n", filename);
}
}
/* Also print the constructed NRPPA_MeasurementRequest XER encoded (XML) */
xer_fprint(stdout, &asn_DEF_NRPPA_MeasurementRequest, NRPPA_MeasurementRequest);
return 0; /* Encoding finished successfully */
}
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