Christofer Dutz
Christofer Dutz
In your pcap I can see the PLC is sending data in high frequency to the client. I assume this is the symbol table (As that's read first) it seems...
I do think today I had an idea, how I could probably work around your problem without rewriting the entire driver. I could probably read the tables in chunks and...
Sorry for the late response ... I was stuck in pre-conference work and just noticed that you had asked. So I got some additional information and it seems as if...
Also turns out that even if in general it's possible to load blocks in chunks ... when reading the symbol table at least my PLC doesn't like this ... Only...
Well... I guess using our enum first in order to parse the values and going to the table next... Our checking the table and using our enum if the key...
We've already got an enum with all the simple types: org.apache.plc4x.java.ads.readwrite.AdsDataType ... so I guess it would make sense to have some sort of "getOrDefault" for accessing the data-type table...
Well as I said ... it's already there ... and I would love to avoid doing some file operation to load something ... I'm currently updating the driver to make...
So I had a look at what the primitive types contain on my system and saw that the structure was generally all the same.
So just pushed a change, that should unify access to the dataTypeTable using the above method ... please give it a try. I tested it with my devices and it...
Hmmm ... yeah ... so the STRINGs were always a bit special ... guess next week will be another friday afternoon to spend 4h ... if you don't beat me...