This project used to build Jbpf codelets for srsRAN.
./init_submodules.sh
Build srsRAN as detailed in https://github.com/xfoukas/srsRAN_Project_jbpf.
Set environment variable SRSRAN_DIR to the top level folder of where this is located.
source ./set_vars.sh
Build the the jbpf_protobuf folder as shown in https://github.com/microsoft/jbpf-protobuf.
cd codelets
./make.sh -o cleanall # clean all codelet folders
./make.sh # compile all codelet folders
./make.sh -d xran_packets -o cleanall # clean specific codelet folder
./make.sh -d xran_packets # compile specific codelet folder
This is an application to which schemas will be loaded, and it will printed the protobuf decode of messages it receives.
Run this following in a seperate terminal:-
cd utils
./run_decoder.sh
cd utils
./load_schemas.sh -c <codeletSet-yaml>
# e.g.
./load_schemas.sh -c /codelets/xran_packets/xran_packets.yaml
Also, when running srsRAN, set field "jbpf_standalone_io_out_ip" accordingly.
cd utils
./load_codeletSet.sh -c <codeletSet-yaml> [-a <lcm-address>]
# e.g.
./load_codeletSet.sh -c /codelets/xran_packets/xran_packets.yaml
./load_codeletSet.sh -c /codelets/xran_packets/xran_packets.yaml -a /var/run/janus/jbpf_lcm_ipc
cd utils
./unload_codeletSet.sh -c <codeletSet-yaml> [-a <lcm-address>]
# e.g.
./unload_codeletSet.sh -c /codelets/xran_packets/xran_packets.yaml
./unload_codeletSet.sh -c /codelets/xran_packets/xran_packets.yaml -a /var/run/janus/jbpf_lcm_ipc
cd utils
./unload_schemas.sh -c <codeletSet-yaml>
# e.g.
./unload_schemas.sh -c /codelets/xran_packets/xran_packets.yaml
This framework is licensed under the MIT license.