vsomeip问题

 直接运行./hello_world_service,也就是官方的可执行文件会出现

2024-04-23 09:47:43.097969 [info] main dispatch thread id from application: 4444 (hello_world_service) is: 73e6ad9fd640 TID: 4587
2024-04-23 09:47:43.098238 [info] Client [4444] routes unicast:192.168.138.129, netmask:255.255.255.0
2024-04-23 09:47:43.098349 [info] shutdown thread id from application: 4444 (hello_world_service) is: 73e6ad1fc640 TID: 4588
2024-04-23 09:47:43.099765 [info] Watchdog is disabled!
2024-04-23 09:47:43.100611 [info] io thread id from application: 4444 (hello_world_service) is: 73e6af4cdb80 TID: 4584
2024-04-23 09:47:43.100579 [info] io thread id from application: 4444 (hello_world_service) is: 73e6a7fff640 TID: 4590
2024-04-23 09:47:43.100808 [info] create_local_server: Listening @ /tmp/vsomeip-4444
2024-04-23 09:47:43.102054 [info] OFFER(4444): [1111.2222:0.0] (true)
2024-04-23 09:47:43.102553 [info] vSomeIP 3.4.10 | (default)
2024-04-23 09:47:43.102875 [info] Network interface "ens33" state changed: up
2024-04-23 09:47:43.103119 [info] Service Discovery disabled. Using static routing information.
2024-04-23 09:47:43.103636 [info] udp_server_endpoint_impl: SO_RCVBUF is: 212992 (1703936) local port:30509
2024-04-23 09:47:43.103889 [info] SOME/IP routing ready.
2024-04-23 09:47:43.104423 [warning] Route "default route (0.0.0.0/0) if: ens33 gw: 192.168.138.2" state changed: up

 只需要在命令的时候多加几条命令,以及把配置文件放入当前目录,指明名字

env VSOMEIP_CONFIGURATION=./helloworld-local.json  VSOMEIP_APPLICATION_NAME=hello_world_service ./hello_world_service
2024-04-23 09:45:07.369541 [info] routing_manager_client::on_disconnect: Client 0xffff calling host_->on_state with DEREGISTERED
2024-04-23 09:45:09.372095 [warning] local_client_endpoint::connect: Couldn't connect to: /tmp/vsomeip-0 (Connection refused / 111)
2024-04-23 09:45:09.372801 [info] routing_manager_client::on_disconnect: Client 0xffff calling host_->on_state with DEREGISTERED
2024-04-23 09:45:10.377899 [warning] local_client_endpoint::connect: Couldn't connect to: /tmp/vsomeip-0 (Connection refused / 111)
2024-04-23 09:45:10.379059 [info] routing_manager_client::on_disconnect: Client 0xffff calling host_->on_state with DEREGISTERED
2024-04-23 09:45:12.383363 [warning] local_client_endpoint::connect: Couldn't connect to: /tmp/vsomeip-0 (Connection refused / 111)
2024-04-23 09:45:12.384001 [info] routing_manager_client::on_disconnect: Client 0xffff calling host_->on_state with DEREGISTERED
2024-04-23 09:45:14.386868 [warning] local_client_endpoint::connect: Couldn't connect to: /tmp/vsomeip-0 (Connection refused / 111)
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值