当前位置:网站首页>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 >
边栏推荐
- PHP file upload 00 truncation
- R language uses GLM function to build Poisson logarithm linear regression model, processes three-dimensional contingency table data to build saturation model, uses step function to realize stepwise re
- Unity C # e-learning (10) -- unitywebrequest (2)
- Redis cluster
- 【TcaplusDB知识库】TcaplusDB系统用户组介绍
- 10 minutes to understand bim+gis fusion, common BIM data formats and characteristics
- RestCloud ETL抽取动态库表数据实践
- R语言glm函数逻辑回归模型、使用epiDisplay包logistic.display函数获取模型汇总统计信息(自变量初始和调整后的优势比及置信区间,回归系数的Wald检验的p值)、结果保存到csv
- Unity C# 网络学习(八)——WWW
- Redis transaction and watch instruction
猜你喜欢

【TcaplusDB知识库】TcaplusDB系统用户组介绍

RestCloud ETL抽取动态库表数据实践

About selenium common. exceptions. Webdriverexception: message: an unknown server side error solution (resolved)

使用卷积对数据进行平滑处理

TS常用数据类型总结

English grammar_ Adjective / adverb Level 3 - original sentence pattern
![[tcapulusdb knowledge base] tcapulusdb doc acceptance - create business introduction](/img/05/8ec56393cac534cb5a00c10a1a9f32.png)
[tcapulusdb knowledge base] tcapulusdb doc acceptance - create business introduction

【TcaplusDB知识库】TcaplusDB数据构造介绍

Restcloud ETL extraction de données de table de base de données dynamique

【文件】VFS四大struct:file、dentry、inode、super_block 是什么?区别?关系?--编辑中
随机推荐
Principle of TCP reset attack
一键分析硬件/IO/全国网络性能脚本(强推)
Function: crypto JS encryption and decryption
Advanced operation of MySQL database basic SQL statement tutorial
TCP/IP协议竟然有这么多漏洞?
【ceph】CephFS 内部实现(三):快照
打新债注册开户安全吗,有没有什么风险?
杜老师说网站更新图解
【TcaplusDB知识库】TcaplusDB OMS业务人员权限介绍
R语言glm函数逻辑回归模型、使用epiDisplay包logistic.display函数获取模型汇总统计信息(自变量初始和调整后的优势比及置信区间,回归系数的Wald检验的p值)、结果保存到csv
MongoDB系列之Window环境部署配置
R语言使用ggplot2可视化泊松回归模型(Poisson Regression)的结果、可视化不同参量组合下的计数结果
R语言dplyr包summarise_at函数计算dataframe数据中多个数据列(通过向量指定)的均值和中位数、指定na.rm参数配置删除缺失值
聊聊几位大厂清华同学的近况
Optimizing for vectorization
Seurat转h5ad总结
The intersect function in the dplyr package of R language obtains the data lines that exist in both dataframes and the data lines that cross the two dataframes
Unity C# 网络学习(八)——WWW
About selenium common. exceptions. Webdriverexception: message: an unknown server side error solution (resolved)
Program analysis and Optimization - 8 register allocation
https://github.com/COVESA/vsomeip