forked from COVESA/capicxx-core-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
capicxx-someip-runtime 3.2.3-r8 (COVESA#30)
* capicxx-someip-runtime 3.2.3-r8 - Changed level logs from warning to info when address_aliasing is activated - Fix incorrect timings in logs - vSomeIP Security: Update vsomeip_sec - Use steady_clock instead of high_resolution_clock - Extend SomeIP::ClientId interface to be more flexible when creating instances - Outputstream: Fix endianness issues when writing array lengths - Linux: avoid static initialization of std::mutex. - Changed the default width of a serialized enumeration from "backing type width" to 1 byte. - Updated the subscriptionMutex_ to a recursive_mutex. - Added OSS information for RSE. - Fixed open source compliance issues. - Ensure cleanup- and detach-thread do not attempt to join themself. - Removed GENIVI copyright line - Extended error message on event deserialization error. - Implemented correct sending/receiving of boolean values. - Initialize lastProcessing_ time - Update android build files - Array of uint8_t: Check remaining bytes before calling vector::assign. - Add method to convert from capi client to someipclient. - Fix Address overwriting - Adapt to CommonAPI 3.2.2 - Added main loop supervisor * Fix Copyright field and github link in README file
- Loading branch information
Showing
33 changed files
with
1,048 additions
and
624 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Bayerische Motoren Werke Aktiengesellschaft (BMW AG) | ||
Bayerische Motoren Werke Aktiengesellschaft (BMW AG) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,34 @@ | ||
capi_someip_srcs = [ | ||
"src/CommonAPI/SomeIP/**/*.cpp" | ||
] | ||
|
||
cc_library_shared { | ||
name: "libCommonAPI-SomeIP", | ||
vendor: true, | ||
srcs: capi_someip_srcs, | ||
defaults: [ | ||
"capi_defaults" | ||
], | ||
name: "libcommonapi_someip", | ||
defaults: ["libcommonapi_defaults"], | ||
|
||
cppflags: [ | ||
"-D_GLIBCXX_USE_NANOSLEEP", | ||
"-DBOOST_LOG_DYN_LINK", | ||
"-pthread", | ||
"-Wno-unused-private-field" | ||
], | ||
|
||
|
||
local_include_dirs: [ | ||
"include" | ||
], | ||
export_include_dirs: [ | ||
"include" | ||
"include", | ||
"internal", | ||
], | ||
|
||
shared_libs: [ | ||
"libCommonAPI", | ||
"libvsomeip3" | ||
"libboost_log", | ||
"libboost_system", | ||
"libboost_thread", | ||
"libvsomeip3", | ||
"libcommonapi", | ||
], | ||
|
||
export_include_dirs: [ | ||
"include", | ||
], | ||
|
||
srcs: [ | ||
"src/CommonAPI/SomeIP/**/*.cpp" | ||
], | ||
rtti: true | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Cannot convert to Android.bp as resource copying has not | ||
# yet implemented for soong as of 12/16/2016 | ||
|
||
LOCAL_PATH := $(call my-dir) | ||
|
||
include $(CLEAR_VARS) | ||
|
||
LOCAL_MODULE := libcommonapi_someip_dlt | ||
LOCAL_MODULE_TAGS := optional | ||
LOCAL_CLANG := true | ||
LOCAL_PROPRIETARY_MODULE := true | ||
|
||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include | ||
|
||
LOCAL_SRC_FILES += \ | ||
src/CommonAPI/SomeIP/Address.cpp \ | ||
src/CommonAPI/SomeIP/AddressTranslator.cpp \ | ||
src/CommonAPI/SomeIP/ClientId.cpp \ | ||
src/CommonAPI/SomeIP/Configuration.cpp \ | ||
src/CommonAPI/SomeIP/Connection.cpp \ | ||
src/CommonAPI/SomeIP/DispatchSource.cpp \ | ||
src/CommonAPI/SomeIP/Factory.cpp \ | ||
src/CommonAPI/SomeIP/InputStream.cpp \ | ||
src/CommonAPI/SomeIP/InstanceAvailabilityStatusChangedEvent.cpp \ | ||
src/CommonAPI/SomeIP/Message.cpp \ | ||
src/CommonAPI/SomeIP/OutputStream.cpp \ | ||
src/CommonAPI/SomeIP/Proxy.cpp \ | ||
src/CommonAPI/SomeIP/ProxyBase.cpp \ | ||
src/CommonAPI/SomeIP/ProxyManager.cpp \ | ||
src/CommonAPI/SomeIP/StringEncoder.cpp \ | ||
src/CommonAPI/SomeIP/StubAdapter.cpp \ | ||
src/CommonAPI/SomeIP/StubManager.cpp \ | ||
src/CommonAPI/SomeIP/SubscriptionStatusWrapper.cpp \ | ||
src/CommonAPI/SomeIP/Watch.cpp \ | ||
|
||
LOCAL_C_INCLUDES := \ | ||
$(LOCAL_PATH)/include \ | ||
$(LOCAL_PATH)/internal | ||
|
||
LOCAL_SHARED_LIBRARIES := \ | ||
libboost_log \ | ||
libboost_system \ | ||
libboost_thread \ | ||
libvsomeip_dlt \ | ||
libcommonapi_dlt \ | ||
|
||
LOCAL_CFLAGS := \ | ||
-frtti -fexceptions \ | ||
-Wno-ignored-attributes \ | ||
-Wno-unused-private-field \ | ||
-D_CRT_SECURE_NO_WARNINGS \ | ||
-DCOMMONAPI_INTERNAL_COMPILATION \ | ||
-DCOMMONAPI_LOGLEVEL=COMMONAPI_LOGLEVEL_VERBOSE \ | ||
|
||
include $(BUILD_SHARED_LIBRARY) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
# Config file for the CommonAPI-SomeIP package | ||
# It defines the following variables | ||
# COMMONAPI_SOMEIP_INCLUDE_DIRS - include directories for CommonAPI-SomeIP | ||
# Exports the follwing targets: | ||
# CommonAPI-SomeIP - CMake target for CommonAPI SomeIP | ||
# Additionally, the following variables are defined: | ||
# COMMONAPI_SOMEIP_VERSION - The CommonAPI-SomeIP version number | ||
|
||
# Find dependencies | ||
find_package(CommonAPI REQUIRED) | ||
find_package(vsomeip3 REQUIRED) | ||
|
||
# Compute paths | ||
get_filename_component (COMMONAPI_SOMEIP_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) | ||
set (COMMONAPI_SOMEIP_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@") | ||
|
||
include ("${COMMONAPI_SOMEIP_CMAKE_DIR}/CommonAPI-SomeIPTargets.cmake") | ||
|
||
# Legacy variable, kept for compatibility | ||
get_target_property(COMMONAPI_SOMEIP_INCLUDE_DIRS CommonAPI-SomeIP INTERFACE_INCLUDE_DIRECTORIES) | ||
|
||
set(COMMONAPI_SOMEIP_VERSION @PACKAGE_VERSION@) | ||
set(COMMONAPI_SOMEIP_VERSION_STRING "@PACKAGE_VERSION@") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.