[DriverGen] Major refactoring and great improvements

2019-05-29 Thread Christofer Dutz
Hi all, I just wanted to give you all an update on how we are progressing on the driver generation front. I just pushed some major refactorings which transition the POC more in the direction of something usable. Here the most important changes: * There are Protocol-modules which are discov

AW: [BUILDS] What build system to use?

2019-05-29 Thread Markus Sommer
Hello, Chris, I pushed my changes to CMakeLists. Now we have to clarify the following points, where we generate the Boost-Libariers. I'd like to see if I can also map the topic in CMake. If not, we would have to go over maven. If the user creates the boost libraries without support, there may

AW: [BUILDS] What build system to use?

2019-05-29 Thread Markus Sommer
I'have push to Branch feature/s7-cpp Freundliche Grüße Markus Sommer Geschäftsführer isb innovative software businesses GmbH Otto-Lilienthal-Strasse 2 D - 88046 Friedrichshafen Tel.:    +49 (0) 7541 3834-14 Mob:  +49 (0) 171 537 8437 Fax: +49 (0) 7541 3834-20 E-Mail: som...@isb-fn.de Web: w

Re: [BUILDS] What build system to use?

2019-05-29 Thread Christofer Dutz
Hi Markus, as I'm currently zoned into parser code generation ... I'll look into this as soon as I come out of the rabbit hole I fell into, where I'm currently chasing a fluffy white bunny with a big fat clock ;-) Thanks, Chris Am 29.05.19, 14:14 schrieb "Markus Sommer" : I'have pus

Re: [DriverGen] Major refactoring and great improvements

2019-05-29 Thread Christofer Dutz
Hi all, so today I somewhat finished the POJO generation for Java and am currently implementing the IO classes to parse the POJOs (Second step will be serializing) Now I stumbled into following problem (One example from the S7 protocol): [discriminatedType 'S7Message' ['payloadLength'] [con

Re: [DriverGen] Major refactoring and great improvements

2019-05-29 Thread Julian Feinauer
Hey Chris, this is one oft he problems I also stumbled across when reasoning and which I consider 'hard'. One way to make it way cleaner would be to switch to a layered architecture. If we generally distinguish between Transport Layers and Communication Layer (better anmes are welcome) we can in

Re: [BUILDS] What build system to use?

2019-05-29 Thread Julian Feinauer
Haha, you took that from my proposal! :D Am 29.05.19, 15:02 schrieb "Christofer Dutz" : Hi Markus, as I'm currently zoned into parser code generation ... I'll look into this as soon as I come out of the rabbit hole I fell into, where I'm currently chasing a fluffy whit

Re: [BUILDS] What build system to use?

2019-05-29 Thread Julian Feinauer
Hi, just a rather general comment from myself. As one of the guys that started several discussions about the build and its complexity I really really like the way it currently is going. And I really appreciate that everybody is integrating himself in the discussion, especially Markus with the C+

Re: [DriverGen] Major refactoring and great improvements

2019-05-29 Thread Niclas Hedhman
I have implemented far too many protocols over the years, in Java, and I typically end up with; Link Layer = serial port, IP, TCP, UDP... Framing / Packet Layer = everything common no matter what payload is. Typicall involves start/stop markers, escaping/replacement, checksums, Operations Layer