Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
littleBu
OpenXG-RAN
Commits
464509e3
Commit
464509e3
authored
3 years ago
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding LPP ASN1 message definitions and code generation
parent
54c5bb1d
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6571 additions
and
0 deletions
+6571
-0
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+39
-0
openair3/LPP/MESSAGES/37355-g60.asn
openair3/LPP/MESSAGES/37355-g60.asn
+6532
-0
No files found.
cmake_targets/CMakeLists.txt
View file @
464509e3
...
...
@@ -844,6 +844,45 @@ if (${RU} STREQUAL 0)
endif
(
${
RU
}
STREQUAL 0
)
# LPP
##############
set
(
LPP_DIR
${
OPENAIR3_DIR
}
/LPP
)
set
(
LPP_ASN_DIR
${
LPP_DIR
}
/MESSAGES
)
set
(
LPP_ASN_FILES
${
LPP_ASN_DIR
}
/37355-g60.asn
)
if
(
${
RU
}
STREQUAL 0
)
set
(
LPP_ASN_GENERATED_C_DIR
${
asn1_generated_dir
}
/LPP
)
message
(
"calling ASN1C_PREFIX=LPP_ asn1c -gen-PER -no-gen-OER -fcompound-names -no-gen-example -findirect-choice -fno-include-deps -D
${
LPP_ASN_GENERATED_C_DIR
}
${
LPP_ASN_FILES
}
"
)
execute_process
(
COMMAND
${
OPENAIR_CMAKE
}
/tools/make_asn1c_includes.sh
"LPP_"
"-findirect-choice -fno-include-deps"
${
LPP_ASN_GENERATED_C_DIR
}
${
LPP_ASN_FILES
}
RESULT_VARIABLE ret
)
if
(
NOT
${
ret
}
STREQUAL 0
)
message
(
FATAL_ERROR
"asn1c: error"
)
endif
(
NOT
${
ret
}
STREQUAL 0
)
add_custom_target
(
lpp_flag ALL
COMMAND
${
OPENAIR_CMAKE
}
/tools/make_asn1c_includes.sh
"LPP_"
"-findirect-choice -fno-include-deps"
${
LPP_ASN_GENERATED_C_DIR
}
${
LPP_ASN_FILES
}
DEPENDS
${
LPP_ASN_FILES
}
)
file
(
GLOB LPP_ASN_GENERATED_C_FILES
${
LPP_ASN_GENERATED_C_DIR
}
/*.c
)
add_library
(
LPP_LIB
${
LPP_ASN_GENERATED_C_FILES
}
)
add_dependencies
(
LPP_LIB lpp_flag
)
include_directories
(
"
${
LPP_ASN_GENERATED_C_DIR
}
"
)
include_directories
(
"
${
LPP_DIR
}
"
)
#file(GLOB LPP_C_FILES ${LPP_DIR}/*.c)
#add_library(LPP ${LPP_C_FILES} )
endif
(
${
RU
}
STREQUAL 0
)
# Hardware dependant options
###################################
add_list1_option
(
NB_ANTENNAS_RX
"4"
"Number of antennas in reception"
"1"
"2"
"4"
)
...
...
This diff is collapsed.
Click to expand it.
openair3/LPP/MESSAGES/37355-g60.asn
0 → 100644
View file @
464509e3
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment