1AOSP:
21. Apply vsomeip project to AOSP tree and build hello_world example (e.g. via mma build command)
32. Push changes to target
43. Start service and client via different adb shell sessions under root user:
5
6Shell1:
7VSOMEIP_CONFIGURATION=/vendor/etc/vsomeip/helloworld-local.json \
8VSOMEIP_APPLICATION_NAME=hello_world_service \
9vsomeip_hello_world_service
10
11Shell2:
12VSOMEIP_CONFIGURATION=/vendor/etc/vsomeip/helloworld-local.json \
13VSOMEIP_APPLICATION_NAME=hello_world_client \
14vsomeip_hello_world_client
15
16NDK:
17AndroidStudio example how to use vsomeip like communication mechanism between two Android services:
18https://github.com/nkh-lab/ndk-vsomeip-hello-world
19
20Expected Android app Logcat output:
212020-06-05 11:13:06.407 31221-31266/com.example.vsomeiphelloworld I/hello_world_client: Sending: World
222020-06-05 11:13:06.437 31221-31266/com.example.vsomeiphelloworld I/hello_world_client: Received: Hello World
23