Skip to content

Commit

Permalink
First successful connection to a PROFINET device
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdutz committed Sep 17, 2021
1 parent d44e290 commit a635ec7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static void main(String[] args) throws Exception {

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

0 comments on commit a635ec7

Please sign in to comment.