Re: Big and littleendian fields in one mspec

2020-05-05 Thread Julian Feinauer
That is really good news, thanks to both of you Lukasz and Chris. Not only that we got a technical solution but that we manage it time after time to come to joint solutions in the project (which is way more important than finding technical solutions IMHO). Hope to be able to contribute more, soo

Re: SPI Module - OSGi Bundle

2020-05-05 Thread Etienne Robinet
Hi all, So concretely what changes should be done so that a Driver/Transport declares itself his service? Beside the changes in the manifest? Etienne On 2020/05/06 01:26:42, Niclas Hedhman wrote: > Łukasz, > > the reason I say it is not very OSGi-y, is that the principle of OSGi is > that the b

Re: SPI Module - OSGi Bundle

2020-05-05 Thread Niclas Hedhman
Łukasz, the reason I say it is not very OSGi-y, is that the principle of OSGi is that the bundle handles its own service registrations. In the case of JDBC (I initiated that spec, and I am the founder of OPS4J as well as Pax subproject, 2005), it needed to address the problem that JDBC drivers exi

Re: [Introduction] Christofer Dutz

2020-05-05 Thread Niclas Hedhman
On Tue, May 5, 2020 at 7:23 PM Christofer Dutz wrote: > Being an IT guy living near Frankfurt (Germany) there is almost no chance > to not work for Banks and Insurance companies. So I guess I’ve been working > for about 12 different Banks and Insurance companies in the last 15 years. > I always l

Re: Big and littleendian fields in one mspec

2020-05-05 Thread Łukasz Dywicki
Last Saturday I promised to Chris I will confirm the case and I just did. As suggested - I rearranged field order in State type and made a test to proof myself, that it works: https://github.com/apache/plc4x/commit/3010fdd15524410dfd55746562ed44bcee0fe80f I've closed related issue (PLC4X-193) and

[GitHub] [plc4x-build-tools] splatch commented on pull request #3: [WIP] PLC4X-193 Support for little endian types in build tools.

2020-05-05 Thread GitBox
splatch commented on pull request #3: URL: https://github.com/apache/plc4x-build-tools/pull/3#issuecomment-624355650 This PR is not relevant any more due to mentioned ability of `ReadBuffer` and `WriteBuffer`. This is an aut

[GitHub] [plc4x] splatch commented on pull request #141: PLC4X-193 Support for little endian fields

2020-05-05 Thread GitBox
splatch commented on pull request #141: URL: https://github.com/apache/plc4x/pull/141#issuecomment-624355174 I'm closing this one since it is not required to get ADS handling. Basic fields which are assembled to bit, byte or int types can be mapped using a receiving order without need to s

Re: SPI Module - OSGi Bundle

2020-05-05 Thread Łukasz Dywicki
Hey Etienne, that's awesome piece of work. I can test it! :-) I believe that's what Etienne code does it in a valid OSGi way. And I do believe not because he mentioned me by name, but due to below argumentation. Proposed code uses extender pattern to grab specific META-INF/services entries and re

[GitHub] [plc4x] ottobackwards opened a new pull request #149: integrate writes with plc_data

2020-05-05 Thread GitBox
ottobackwards opened a new pull request #149: URL: https://github.com/apache/plc4x/pull/149 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 t

[GitHub] [plc4x] ottobackwards opened a new pull request #148: Refactor writes to use plc4c_data

2020-05-05 Thread GitBox
ottobackwards opened a new pull request #148: URL: https://github.com/apache/plc4x/pull/148 Use plc4c_data not void* This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub

Re: [Introduction] Christofer Dutz

2020-05-05 Thread Lukas Ott
My name is Lukas Ott, I’m currently 32 years old and studied information systems at the University of Insbruck. I’m the son of an Electro-Engineer and a Salesman and therefore already had contact barcode scanners and CAD (cabeling of buildings) early on. Being an engineer living near Frankfurt (Ge

[GitHub] [plc4x] ottobackwards opened a new pull request #147: add plc4c_data type

2020-05-05 Thread GitBox
ottobackwards opened a new pull request #147: URL: https://github.com/apache/plc4x/pull/147 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 t

Re: [Introduction] Christofer Dutz

2020-05-05 Thread Christofer Dutz
Our team ... not tram ;-) Am 05.05.20, 13:23 schrieb "Christofer Dutz" : Hi all, I have noticed that our tram has grown quite a bit in the last year and most of you I have never met personally. We have been discussing a lot of things here on the list and on slack, but I only have

[Introduction] Christofer Dutz

2020-05-05 Thread Christofer Dutz
Hi all, I have noticed that our tram has grown quite a bit in the last year and most of you I have never met personally. We have been discussing a lot of things here on the list and on slack, but I only have little background on who you folks actually are. So I would like to ask anyone interest

Re: How about documenting more?

2020-05-05 Thread Christofer Dutz
Hi Etienne, thanks a lot for the documentation ... highly appreciated :-) Chris Am 05.05.20, 07:50 schrieb "Lukas Ott" : Slt Etienne, Ici: https://github.com/apache/plc4x/tree/develop/src/site/asciidoc/users/protocols et pour toi: https://github.com/apache/plc4x/blob/

Re: SPI Module - OSGi Bundle

2020-05-05 Thread Julian Feinauer
Hi Etienne and Niclas, indeed we could orient (again) on how JDBC does that in OSGi. They really focus on "late binding" so that you resolve the driver directly when you need it. In theory, there is no such thing as a DriverManager in OSGi but only a PlcDriver with the capability ("plc4x-protoco

Re: SPI Module - OSGi Bundle

2020-05-05 Thread Niclas Hedhman
Also, just in case, a custom activator is ever required, it can be overridden easily without breaking the over all design On Tue, May 5, 2020 at 6:27 PM Niclas Hedhman wrote: > Yes, that's what I mean, because that is what you have inside the loop, so > it should work. > > On Tue, May 5, 2020 at

Re: SPI Module - OSGi Bundle

2020-05-05 Thread Niclas Hedhman
Yes, that's what I mean, because that is what you have inside the loop, so it should work. On Tue, May 5, 2020 at 11:50 AM Robinet, Etienne <43...@etu.he2b.be> wrote: > Hi Niclas, > thanks for the feedback. So you mean to make the Activator in API/SPI > generic so every Driver would call it and d