xcp.Channel 属性
xcp.Channel
对象的属性
使用以下属性检查或配置 xcp.Channel
对象设置。使用 xcpChannel
创建 XCP 通道对象。
xcp.Channel
ServerName
— 所连接的服务器的名称
字符
此 属性 为只读。
A2L 文件中指定的服务器节点的名称,以字符向量形式返回。例如:
xcpch = xcpChannel(a2lfile,'CAN','Vector','Virtual 1',1); sn = xcpch.ServerName
sn = 'CPP'
数据类型: char
A2LFileName
— 引用的 A2L 文件的名称
字符
此 属性 为只读。
引用的 A2L 文件的名称,以字符向量形式返回。
数据类型: char
TransportLayer
— 用于 XCP 连接的传输层的类型
字符
此 属性 为只读。
用于 XCP 连接的传输层的类型,以字符向量形式返回。例如:
xcpch = xcpChannel(a2lfile,'CAN','Vector','Virtual 1',1); tl = xcpch.TransportLayer
tl = 'CAN'
数据类型: char
TransportLayerDevice
— XCP 传输层连接详细信息
结构体
此 属性 为只读。
XCP 传输层连接详细信息,其中包括有关通道与服务器通信所用的设备的信息,以结构体形式返回。例如:
xcpch = xcpChannel(a2lfile,'CAN','Vector','Virtual 1',1); tld = xcpch.TransportLayerDevice
tld = struct with fields: Vendor: 'Vector' Device: 'Virtual 1' ChannelIndex: 1
数据类型: struct
SeedKeyDLL
— 包含种子和密钥访问算法的 DLL 文件
字符
SeedKeyDLL
属性指示一个 DLL 文件的名称,该文件包含用于解锁 XCP 服务器模块的种子和密钥安全算法。该文件定义根据 ASAM 标准定义从给定种子生成访问密钥的算法。有关文件格式和 API 的信息,请参阅 Vector 网页 Steps to Use Seed&Key Option in CANape 或 NI™ CAN ECU Measurement and Calibration Toolkit User Manual 中的“Seed and Key Algorithm”。注意:DLL 必须与 MATLAB(64 位)的位数相同。
数据类型: char
版本历史记录
在 R2013a 中推出
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)