This project is a gateway for mqtt and someip(based commonapi)
Before use this, make sure you have installed
- boost
- vsomeip
- capicxx-core-runtime
- capicxx-someip-runtime
- commonapi_core_generator
- commonapi_someip_generator
Use commonapi_core_generator and commonapi_someip_generator to generate code:
${WORK_DIR}/commonapi_core_generator/commonapi-core-generator-linux-`uname -m` -sk ./fidl/Yours.fidl
${WORK_DIR}/commonapi_someip_generator/commonapi-someip-generator-linux-`uname -m` -ll verbose ./fidl/Yours.fdepl
Then you will get src-gen directory
cmake -G Ninja -DPRJ_NAME=[your idl interface name] ..
ninja
export COMMONAPI_CONFIG=../commonapi4someip.ini
export LD_LIBRARY_PATH=/YOUR/LIB/PATH:$LD_LIBRARY_PATH