This is an automated email from the ASF dual-hosted git repository. hutcheb pushed a commit to branch feat/profinet_ip_set in repository https://gitbox.apache.org/repos/asf/plc4x.git
commit 8a28f09f6b7d6644a54460a4e38eedd7c082e02b Author: Ben Hutcheson <[email protected]> AuthorDate: Wed Apr 12 05:55:26 2023 +0200 fix(plc4x/profinet): Start filling out the GetSet PN-DCP PDU to allow for setting the IP Address. --- .../src/main/resources/protocols/profinet/pndcp.mspec | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/protocols/profinet/src/main/resources/protocols/profinet/pndcp.mspec b/protocols/profinet/src/main/resources/protocols/profinet/pndcp.mspec index dbc515c62c..001a68dd55 100644 --- a/protocols/profinet/src/main/resources/protocols/profinet/pndcp.mspec +++ b/protocols/profinet/src/main/resources/protocols/profinet/pndcp.mspec @@ -51,6 +51,17 @@ // which PLC4X will never be able to support [reserved uint 8 '0x00' ] // transferStatus ] + ['DCP_GetSet_PDU' PcDcp_GetSet_Pdu + [const uint 8 serviceId 0x04 ] + [reserved uint 5 '0x00' ] + [simple bit notSupported ] + [reserved uint 1 '0x00' ] + [simple bit response ] + [simple uint 32 xid ] + [reserved uint 16 '0x0000' ] + [implicit uint 16 dcpDataLength 'lengthInBytes - 10' ] + [array PnDcp_Block blocks length 'dcpDataLength'] + ] ['PTCP_DelayReqPDU' PcDcp_Pdu_DelayReq // Header Start [reserved uint 32 '0x00000000']
