splatch commented on issue #1156:
URL: https://github.com/apache/plc4x/issues/1156#issuecomment-1766616344
Yeah, I see now why you got it without `:DINT`. There was a change in how
symbolic tags are handled, they got smarter from 0.8 release where, beyond
symbol name, its type had to be specified.
Please check and/or adjust following code:
```
try (PlcConnection plcConnection = new
DefaultPlcDriverManager().getConnection(connectionString)) {
PlcBrowseResponse response =
plcConnection.browseRequestBuilder().addQuery("symbols", "")
.build().execute().get();
for (PlcBrowseItem symbol : response.getValues("symbols")) {
System.out.println(symbol.getName() + " " + symbol.getTag() + " " +
symbol.getOptions());
}
}
```
It should print you all tags which got detected when connection was
established. I don't think any more that discovery is a problem, its rather
question of type mapping and/or eventual encoding.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]