anheller - 2019-02-04


I'm trying to understand the data exchanged via TCP/IP between Codesys V2.3 and a gateway on another Windows computer. I recorded the communication with Wireshark but can not identify the protocol.

The TCP/IP data packets at login look like this:
Codesys to the gateway: dddd0000000000000000010000000500000042ec83371d
Response from the gateway: eeee00000000010000000100000000000000
From the gateway message is passed on to a PCAN USB, there comes out the following:
ID=0x67E, Data=0x21 0x25 0x10 0x01 0x05 0x00 0x00 0x00

My goal is to implement an Ethernet CAN gateway on a single board computer with CAN interface (Raspi or ESP32).


IMG: GatewayCommunication.PNG