set up a CAPL gateway between two CAN bus systems
Question:
How can I set up a CAPL gateway between two CAN bus systems using AUTOSAR databases ≥ 4.2.1?
Answer:
The gateway can be realized by routing the PDUs and works similarly to a frame-based approach. Key to the gateway is the CAPL function TriggerPDU2(), which uses the following syntax:
long triggerPDU2(pdu PDUObject, dword DestBusContext, char[] DBName, char[] TXNode, char[] PDUName, dword ShortHeaderID, dword LongHeaderID, dword Flags, dword PayloadLen)
Parameters:
• PDUObject: PDU object to be transmitted.
• DestBusContext: bus context of destination bus in simulation setup
• DBName: Name of the cluster in the database
• TXNode: Name of the transmitter node, can be used with empty string also
• PDUName: Name of the PDU to be transmitted
• ShortHeaderID: ID of the PDU to be transmitted. 0 means not configured
• LongHeaderID: ID of the PDU to be transmitted. 0 means not configured
• Flags: reserved,
相关文章
- ES6学习笔记之map、set与数组、对象的对比
- Java中List,Set,Map的区别以及API的使用
- eclipse的workspace和working set
- [Debug] Set and remove DOM breakpoints
- nginx指令(alias、set、proxy_pass、rewrite、upstream)、跨域问题、防盗链、缓存、gzip压缩
- Angular自定义structural指令的实例化过程以及set方法的调用
- settype where used list - set type where use list - equipment download environme
- 成功解决pandascoreframe.py:2754: SettingWithCopyWarning: A value is trying to be set on a copy of a s
- c++中set和unordered_set的区别
- MySql 中的 FIND_IN_SET 的使用和相关问题
- sql server存储过程中SELECT 与 SET 对变量赋值的区别
- leetcode 762. Prime Number of Set Bits in Binary Representation
- ini_set
- 【异常】前端ERR! stack Error: Can‘t find Python executable “python“, you can set the PYTHON env variable.
- Gstreamer之gst_element_set_state (pipeline, GST_STATE_PLAYING)播放视频流程(二十一)