-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: <title>Communication bw android target and Linux PC #676
Comments
facing this |
Hi i can understand your probelm the issue is your vsomeip library has to read the vsomeip.json configuration file, but because in android , vendor partion is not accessible , either chnage the path to /data/local/tmp in vsomeip library code, give static ip to your android device ,give route as well , give a default gateway which is same for both linux and android. like below.
,by doing this i was able to recieve message from linux in android however the server was not sending back the message. and there was no error. , when i checked the tcpdump i can see packet being recieved , but there is not outgoing packet. |
vSomeip Version
v3.4.10
Boost Version
1.71
Environment
Ubuntu 20.04.6 LTS
Describe the bug
I am trying communicate bw my linux pc and android target but unfortunately i am not able to do this
i have changed the unicast address of helloworld-local.json on android to android IP and unicast address of helloworld-local.json on linux to linux IP.
i have connected ethernet cable bw my linux pc and android target and i am able to ping messages bw this.
IP Address of android = 192.168.1.4
IP address of Linux =192.168.1.5
Reproduction Steps
i am able communicate between within the devices like within linux machine and within android machine.
Initially i disable the service discovery and now i enabled it but still i am getting nothing.
i have changing the configuration files like ip services but still i am not succeding.Your help on this will be really helpful
thank you in advance.
Expected behaviour
this is the Json file helloworld-local.json on linux machine
{
"unicast": "192.168.1.5",
"logging": {
"level": "debug",
"console": "true"
},
"applications": [
{
"name": "hello_world_service",
"id": "0x4444"
}
this is the Json file helloworld-local.json on andorid machine
{
"unicast": "192.168.1.4",
"logging": {
"level": "debug",
"console": "true"
},
"applications": [
{
"name": "hello_world_service",
"id": "0x4444"
}
Logs and Screenshots
The text was updated successfully, but these errors were encountered: