robinson / gos7

Implementation of Siemens S7 protocol in golang
BSD 3-Clause "New" or "Revised" License
314 stars 121 forks source link

Fix pdu length #55

Closed ermanimer closed 1 year ago

ermanimer commented 1 year ago

PDU length should be 480 (0x01e0, []byte{1, 30))

iotopo commented 1 year ago

hex(30) == 0xe0 ?

ermanimer commented 1 year ago

You are right, i will open another pr today.

480 = 0x01e0 = []byte{1, 224}