PduApi 2.2.1
PduApi - Toolbox
|
wireshark can be used to display/trace the communication of D-PDU API calls and CAN-BUS or DoIP synchronously.
Load the pduapi_tcp_wrap instead of the D-PDU API and forward the calls by setting PDUConstruct( "pduapi_file=..." ) or setting environment Variable PDUAPI_FILE.
Start wireshark and load the pduapi_dissector.
For further details see also pduapi_dissector.
Capture CAN-BUS and Ethernet Interface in wireshark. To see all interfaces which can be recorded/analysed use.
In wireshark put
in the filter line above to filter only D-PDU API calls and see synchronously what happens on the CAN-BUS and any PDUAPI interface.
For Windows no standard CAN interface exists and only Ethernet and USB can be captured. To capture the CAN-BUS messages, it is required to forward the CAN-BUS messages to Ethernet via can_eth_gw can.
Wireshark has already a CAN-ETH dissector included.
To display D-PDU API messages and CAN-BUS messages synchronously both dissectors are required at the same time.
In wireshark put
in the filter line above to filter only D-PDU API calls and see synchronously what happens on the CAN-BUS and any PDUAPI interface.