Open athul7pk opened 5 years ago
Hi! Could you provide more details about what you run and which step fails?
This is the service program I am using , Now I am not getting the error (with 2.5.2 )but the muliticast messages are not getting in the client side (verified using wireshark) but same program is running with a linux vm. json.txt service.cpp.txt 2018-09-24 12:41:22.679565 [info] Default configuration module loaded. 2018-09-24 12:41:22.679565 [info] Initializing vsomeip application "World". 2018-09-24 12:41:22.679565 [info] SOME/IP client identifier configured. Using 1212 (was: 1212) 2018-09-24 12:41:22.679565 [info] Instantiating routing manager [Host]. 2018-09-24 12:41:22.681565 [info] init_routing_endpoint Routing endpoint at /tmp/vsomeip-0 2018-09-24 12:41:22.682565 [info] Client [1212] is connecting to [0] at /tmp/vsomeip-0 2018-09-24 12:41:22.682565 [info] Service Discovery enabled. Trying to load module. 2018-09-24 12:41:22.685565 [info] Service Discovery module loaded. 2018-09-24 12:41:22.685565 [info] Application(World, 1212) is initialized (11, 100). 2018-09-24 12:41:22.685565 [info] OFFER(1212): [1234.5678:0.0] 2018-09-24 12:41:22.686565 [info] Starting vsomeip application "World" using 2 threads 2018-09-24 12:41:22.686565 [info] Watchdog is disabled! 2018-09-24 12:41:22.688565 [info] vSomeIP 2.5.2 2018-09-24 12:41:32.690435 [info] vSomeIP 2.5.2
Have you added route on your both computers?
For example for QNX:
route add -net 224.0.0.0/4 default
224.0.0.0/4 - this is default address for service discovery.
Hi bonewell , Thanks for your reply ,
While taking tcpdump from the QNX , I was even unable to see any mcast packets , I will try to add some print statements in the implementation , and let you know the results, Thank you bonewell , Yeah I have tried to add routes as per your suggestion, I am using qnx7 hope you verified already
Hi bonewell ,I met compile issue when i ported capicxx-someip-runtime (genivi) to qnx platform,"capicxx-someip-runtime-3.2.0/src/CommonAPI/SomeIP/Watch.cpp:16:25: fatal error: sys/eventfd.h: No such file or directory" , and i know that eventfd is a linux specific, could you plz help me to fix this issue (i think you have already run it successfully on qnx platform before).Thanks in advance.
@robinchung Hi! Unfortunately, I've run only 3.1.10 version. Looks like you can use ionotify() from QNX but it will be not easy. I'm not an expert in QNX to fix this fast.
@bonewell thanks for your replay,is it that your have run it successfully on qnx? if so,could your plz post the watch.cpp and watch.h to me for reference, I will be so appriciate for that.
@robinchung have you built capicxx-core-runtime 3.2.0 successfully? I have some issues.
Hi @robinchung I am facing the same error with eventfd. I am trying to compile on QNX. Were you successful in your compilation?
Hi , I am getting error set_option: Can't assign requested address Could you please helpme to solve this (applied given patch in 2.5.2 vsomeip)?
Thanks in Advance
SomeIP!!! config= /some/v.json 2018-09-19 11:06:57.472568 [info] Default configuration module loaded. 2018-09-19 11:06:57.477568 [info] Initializing vsomeip application "World". 2018-09-19 11:06:57.480568 [info] SOME/IP client identifier configured. Using 1212 (was: 1212) 2018-09-19 11:06:57.481568 [info] Instantiating routing manager [Host]. 2018-09-19 11:06:57.486568 [info] init_routing_endpoint Routing endpoint at /tmp/vsomeip-0 2018-09-19 11:06:57.491568 [info] Client [1212] is connecting to [0] at /tmp/vsomeip-0 2018-09-19 11:06:57.493568 [info] Service Discovery enabled. Trying to load module. 2018-09-19 11:06:57.522568 [info] Service Discovery module loaded. 2018-09-19 11:06:57.527567 [info] Application(World, 1212) is initialized (11, 100). 2018-09-19 11:06:57.528567 [info] OFFER(1212): [1234.5678:0.0] 2018-09-19 11:06:57.538567 [info] Starting vsomeip application "World" using 2 threads 2018-09-19 11:06:57.592567 [error] set_option: Can't assign requested address 2018-09-19 11:06:57.595567 [info] Watchdog is disabled! 2018-09-19 11:06:57.597567 [info] vSomeIP 2.5.2 2018-09-19 11:07:07.599437 [info] vSomeIP 2.5.2 2018-09-19 11:07:17.601306 [info] vSomeIP 2.5.2