Skip to content

Commit a635ec7

Browse files
committed
First successful connection to a PROFINET device
1 parent d44e290 commit a635ec7

File tree

1 file changed

+1
-1
lines changed
  • plc4j/drivers/profinet/src/test/java/org/apache/plc4x/java/profinet

1 file changed

+1
-1
lines changed

plc4j/drivers/profinet/src/test/java/org/apache/plc4x/java/profinet/ProfinetPoc.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static void main(String[] args) throws Exception {
3333

3434
// Send Profinet IO Context Manager (PNIO-CM) Connection Request (UDP)
3535
DceRpc_Packet connectionRequest = new DceRpc_Packet_Req(
36-
1, 0xCAFE, 0x060B, 1, 0, 0, DceRpc_Operation.CONNECT,
36+
1, 0x0904, 0x002A, 1, 0, 0, DceRpc_Operation.CONNECT,
3737
new PnIoCm_Packet_Req(404, 404, 0, 404,
3838
new PnIoCm_Block[]{
3939
new PnIoCm_Block_ArReq((short) 1, (short) 0, PnIoCm_ArType.IO_CONTROLLER,

0 commit comments

Comments
 (0)