[ 
https://issues.apache.org/jira/browse/PLC4X-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17301828#comment-17301828
 ] 

Łukasz Dywicki commented on PLC4X-286:
--------------------------------------

[~adrlzr] given that my branch was a bit dirty I cherry picked everything to an 
new branch: [https://github.com/apache/plc4x/tree/feature/profinet2] - please 
start from there.

In order to get it working you need to give Java administrative access to 
network interfaces:
{code:java}
sudo setcap cap_net_raw,cap_net_admin=eip $JAVA_HOME/bin/java {code}
Connection string is profinet-dcp:raw://<interface>?sender=<sender-mac>. There 
are some troubles with parsing of answers. I am not sure if that's due to 
change in how we handle padding fields (they used to be 0..1, now they are 
0..N). Feel free to check with your device. My S7-1200 with v4.4 firmware 
doesn't work any more.

> Add profinet-DCP
> ----------------
>
>                 Key: PLC4X-286
>                 URL: https://issues.apache.org/jira/browse/PLC4X-286
>             Project: Apache PLC4X
>          Issue Type: Improvement
>          Components: Driver-Ethernet/IP, Driver-Profinet, Driver-S7
>    Affects Versions: 0.9.0
>            Reporter: Adrian Lazar
>            Priority: Major
>              Labels: beginner, feature, question
>
> I found some work done towards implementing the 
> [profinet-DCP|https://profinetuniversity.com/naming-addressing/profinet-dcp/] 
> protocol on the  [feature/profinet 
> branch|[https://github.com/apache/plc4x/tree/feature/profinet]].
> I see that the profinet protocol is not on the develop branch anymore, was it 
> replaced with the s7 protocol?
> If someone would have the time to guide me, I could work on it to update, 
> test, and bring this discovery feature to PLC4X.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to