저장소 : https://github.com/GENIVI/capicxx-someip-runtime.git 



 : BMW AG

라이센스 : MPL2.0



사용법을 알아보자

CommonAPI SOME/IP C++ User Guide.pdf 파일 참고 총 6페이지



CommonAPI 사용자를 위한 가이드

 Linux 기반 사용자에 대한 설명을 가이드한다.  CommonAPI SOME/IP 의 경우 윈도우 시스템에서도 사용가능하다. 하지만 윈도우의 경우 여기서 설명하지 않는다.


요구사항

  • CommonAPI  는 C++11 의 , as variadic templates, std::bind, std::function 등 많은 기능을 사용한다. gcc 4.8 이상 권장
  • CMake 를 사용하므로 설치되어 있어야 한다.
  • Ecliipse (Luna) 이전버전을 사용하지 말것
  • 코드 빌드 도구는 Maven 을 사용하므로 Maven3 를 사용할 수 있는지 확인한다.

The CommonAPI SOME/IP binding requires the SOME/IP implementation vsomeip.

의존성





그림1. CommonAPI-SomeIP-Dependencies

 CommonAPISomeIPCppUserGuide.pdf - p3



설치방법이 나와있음 ...


Eclipse 사용시 : Common API User Guide 참고



Compile tools


 CommonAPI 코드를 생성한것처럼, SOME/IP 코드를 생성할 수 있다. 

maven 커맨드라인을 사용하여 코드를 생성한다.

 mvn clean verify -DCOREPATH=< path to your CommonAPI-Tools dir> -Dtarget.id=org.genivi.commonapi.someip.target


빌드에 성공하면 

org.genivi.commonapi.someip.cli.product/target/produ.. 와 org.genivi.commonapi.someip.updatesite/target 에 생성된다.


직접해봐야 겟음..






Window 설치법


 1. vsomeip 설치

   boost 1.54 이상 라이브러리 필요 ( log, system, thread library ). 

   mkdir build 

   cd build

   cmake ..

to create a Visual Studio 2013 solution. Finally, open the solution, adapt the pathes to boost and build vsomeip. 

 

 2. Build CommonAPI

 mkdir build

 cd build

 cmake 


 3. Build CommonAPI-SomeIP







세부정보는 다음링크 참고

https://genivi.github.io/capicxx-core-tools/



설명 이해 링크

SOME/IP Protocol과 Service Discovery 소개 및 개념  https://jjeongil.tistory.com/177


'Embedded > OpenSourceProject' 카테고리의 다른 글

[GDP] 저장소 파악  (0) 2018.12.31
[GDP] Cluster Demo  (0) 2018.12.28
[AGL] Rcar M3  (0) 2018.12.27
[RAMSES] 설치하기  (0) 2018.12.26
[Ubuntu16.04] Weston 설치  (0) 2018.12.26

+ Recent posts