Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.24 KB

README.md

File metadata and controls

34 lines (27 loc) · 1.24 KB

someip-mqtt-gateway

This project is a gateway for mqtt and someip(based commonapi)

Dependencies

Before use this, make sure you have installed

Code generate

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

Compile

cmake -G Ninja -DPRJ_NAME=[your idl interface name] ..
ninja

Run

export COMMONAPI_CONFIG=../commonapi4someip.ini
export LD_LIBRARY_PATH=/YOUR/LIB/PATH:$LD_LIBRARY_PATH