当前位置:网站首页>Vsomeip3 dual computer communication file configuration
Vsomeip3 dual computer communication file configuration
2022-06-26 15:14:00 【Mr Bluetooth】
Verification environment
Linux 5.4 + Android 11 + vsomeip 3.1.20.3
vsomeip Address
https://github.com/COVESA/vsomeip
https://github.com/COVESA/vsomeip
Android Run the command , The Red areas should be the same as the configuration file
VSOMEIP_CONFIGURATION=./vsomeip-local.json VSOMEIP_APPLICATION_NAME=client-sample ./request-sample
Linux Run the command , The Red areas should be the same as the configuration file
VSOMEIP_CONFIGURATION=../etc/vsomeip/vsomeip-local.json VSOMEIP_APPLICATION_NAME=service-sample ./response-sample
Linux service The configuration file , The Red areas need to be changed
# cat ../etc/vsomeip/vsomeip-local.json
{
"unicast" : "192.168.1.1",
"logging" :
{
"level" : "debug",
"console" : "true",
"file" : { "enable" : "false", "path" : "/tmp/vsomeip.log" },
"dlt" : "false"
},
"applications" :
[
{
"name" : "service-sample",
"id" : "0x1277"
},
{
"name" : "client-sample",
"id" : "0x1344"
}
],
"services" :
[
{
"service" : "0x1234",
"instance" : "0x5678",
"unreliable" : "30509",
"multicast" :
{
"address" : "224.225.226.233",
"port" : "32344"
},
"events" :
[
{
"event" : "0x0777",
"is_field" : "true",
"update-cycle" : 2000
},
{
"event" : "0x0778",
"is_field" : "true",
"update-cycle" : 0
},
{
"event" : "0x0779",
"is_field" : "true"
}
],
"eventgroups" :
[
{
"eventgroup" : "0x4455",
"events" : [ "0x777", "0x778" ]
},
{
"eventgroup" : "0x4465",
"events" : [ "0x778", "0x779" ],
"is_multicast" : "true"
},
{
"eventgroup" : "0x4555",
"events" : [ "0x777", "0x779" ]
}
]
}
],
"routing" : "service-sample",
"service-discovery" :
{
"enable" : "true",
"multicast" : "192.168.1.255",
"port" : "30490",
"protocol" : "udp",
"initial_delay_min" : "10",
"initial_delay_max" : "100",
"repetitions_base_delay" : "200",
"repetitions_max" : "3",
"ttl" : "3",
"cyclic_offer_delay" : "2000",
"request_response_delay" : "1500"
}
}
Android client The configuration file , Red Need to be changed , Blue Not where you are
cat vsomeip-local.json
{
"unicast" : "192.168.1.3",
"logging" :
{
"level" : "debug",
"console" : "true",
"file" : { "enable" : "false", "path" : "/tmp/vsomeip.log" },
"dlt" : "false"
},
"applications" :
[
{
"name" : "service-sample",
"id" : "0x1277"
},
{
"name" : "client-sample",
"id" : "0x1344"
}
],
"services" :
[
{
"service" : "0x1234",
"instance" : "0x5678",
"unreliable" : "30509",
"multicast" :
{
"address" : "224.225.226.233",
"port" : "32344"
},
"events" :
[
{
"event" : "0x0777",
"is_field" : "true",
"update-cycle" : 2000
},
{
"event" : "0x0778",
"is_field" : "true",
"update-cycle" : 0
},
{
"event" : "0x0779",
"is_field" : "true"
}
],
"eventgroups" :
[
{
"eventgroup" : "0x4455",
"events" : [ "0x777", "0x778" ]
},
{
"eventgroup" : "0x4465",
"events" : [ "0x778", "0x779" ],
"is_multicast" : "true"
},
{
"eventgroup" : "0x4555",
"events" : [ "0x777", "0x779" ]
}
]
}
],
"routing" : "client-sample",
"service-discovery" :
{
"enable" : "true",
"multicast" : "192.168.1.255",
"port" : "30490",
"protocol" : "udp",
"initial_delay_min" : "10",
"initial_delay_max" : "100",
"repetitions_base_delay" : "200",
"repetitions_max" : "3",
"ttl" : "3",
"cyclic_offer_delay" : "2000",
"request_response_delay" : "1500"
}
}
< End >
边栏推荐
- Is the QR code for account opening given by the manager of the securities firm safe? Who can I open an account with?
- Restcloud ETL extraction de données de table de base de données dynamique
- Redis cluster
- HR export data Excel VBA
- Use of subqueries
- 【TcaplusDB知识库】TcaplusDB常规单据介绍
- Minister of investment of Indonesia: Hon Hai is considering establishing electric bus system and urban Internet of things in its new capital
- R语言glm函数逻辑回归模型、使用epiDisplay包logistic.display函数获取模型汇总统计信息(自变量初始和调整后的优势比及置信区间,回归系数的Wald检验的p值)、结果保存到csv
- 人力资源导出数据 excel VBA
- Optimizing for vectorization
猜你喜欢
【TcaplusDB知识库】TcaplusDB常规单据介绍
TS常用数据类型总结
在校生学习生涯总结(2022)
小程序:uniapp解决 vendor.js 体积过大的问题
【TcaplusDB知识库】TcaplusDB单据受理-创建游戏区介绍
Minister of investment of Indonesia: Hon Hai is considering establishing electric bus system and urban Internet of things in its new capital
Redis-集群
【ceph】CEPHFS 内部实现(一):概念篇--未消化
Inaccurate data accuracy in ETL process
English grammar_ Adjective / adverb Level 3 - original sentence pattern
随机推荐
TCP/IP协议竟然有这么多漏洞?
在校生学习生涯总结(2022)
Is it safe to open a stock account through the account opening link given by the broker manager? I want to open an account
Database - sequence
Applet: uniapp solves vendor JS is too large
[CEPH] cephfs internal implementation (I): Concept -- undigested
小程序:uniapp解决 vendor.js 体积过大的问题
Inaccurate data accuracy in ETL process
Unity C# 网络学习(九)——WWWFrom
Principle of TCP reset attack
一键安装gcc脚本
程序分析与优化 - 8 寄存器分配
HR export data Excel VBA
View touch analysis
Analysis of ble packet capturing debugging information
Unity C # e-learning (10) -- unitywebrequest (1)
TCP congestion control details | 1 summary
数据库-视图
Use of subqueries
Idea shortcut key