[GitHub] [plc4x] ottobackwards opened a new pull request #150: complex object members should not leak to external entities, add apis…

2020-05-06 Thread GitBox
ottobackwards opened a new pull request #150: URL: https://github.com/apache/plc4x/pull/150 … to plc4_connection and plc4c_system to start clang-format changes add ability to look up an element from a void* fix some bugs around cleanup. logic to destroy connections con

Re: [Introduction] Christofer Dutz

2020-05-06 Thread Cesar Garcia
Hi Alls, I am an electrical engineer, graduated from Universidad de Oriente, 50 years old, I live in Barcelona, Venezuela with two daughters and my wife. My first computer, an Atari-800XL. :-) My first automation work was done for the mining area. Mining is very hard work where safety must alway

Re: SPI Module - OSGi Bundle

2020-05-06 Thread Łukasz Dywicki
Hey Niclas, While this code seems straight I don't think it is needed, and valid in our case. Main benefit of extender and extender based patterns is centralized processing of drivers. I am keen to keep only interfaces in the API packages and bundles and move active parts of code (such base classes

Scraper

2020-05-06 Thread Etienne Robinet
Hello guys, I was looking a bit at the actual Scraper we have in 'tools'. I tested a scheduled Read via YAML file and it worked just fine. However when I try to create a triggered-read, I get an error: [main] INFO org.apache.plc4x.java.PlcDriverManager - Instantiating new PLC Driver Manager wit

Re: SPI Module - OSGi Bundle

2020-05-06 Thread Niclas Hedhman
My suggestion was; 1. Don't do the BundleTracker classes, and instead change to a bundle activator for each. 2. Add the "Bundle-Activator: org.apache.plc4x.java.osgi.DriverActivator" to the driver META/MANIFEST.MF 3. Do the equivalent for the Transports. public class DriverActivator implements Bun

Re: [PLC4C] Summary of API discussion on slack

2020-05-06 Thread Christofer Dutz
Hi all, thanks to Otto's efforts now the C-API has it's equivalent to PlcValues ... Also has the API sort of matured to some state I think we no longer have to work on the "feature/c-api" branch and would like to merge this back to develop. In the end it's still in the sandbox alongside a lot of