-
-
Notifications
You must be signed in to change notification settings - Fork 896
Add PJON transport layer #1278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add PJON transport layer #1278
Conversation
38d5bab
to
8025917
Compare
@gioblu, @4ib3r, @gryzli133, would have be great if you could help out to do some tests on this PR before it goes in... |
92fa3d8
to
069a713
Compare
Ciao @tekka007, @henrikekblad thank you very much for pushing this through, although studying in detail your license here I think including the PJON source within MySensors would cause a license compatibily issue with the "Open Source Licensing GPL V2", not sure about the "Commercial Licensing" which clause is not public. Following the stands of the Apache Foundation:
Also following this discussion here seems it is considered incompatible even the mere linking of an Apache 2.0 library within a GPL v2.0 project. From the Apache clause:
For you to switch to LGPLv3 may be favorable because projects licensed Apache 2.0 would be compatible and could be linked in MySensors so for example externally use the PJON library in MySensors, or even include the source of PJON with its own Apache 2.0 license if I am not mistaken, see here:
Consider also that external linking of third party libraries (and not their inclusion in a subdirectory of MySensors as it is now, that makes you a distributor) would let you have more freedom in using external tools and reduce the chances of stumbling in a license compatibility issue like this one. |
Yeah, the licensing is a bit of a mess. The best solution I've found so far (when doing some googling previously) seems to be to make MySensors available under 3 licenses GPLv2, GPLv3 and LGPLv3. A popular library, QT, made this switch some a couple of years ago. We already have an ongoing issue on the license problems here: #1242 |
I asked for an expert on licenses, and he suggested looking at this article: http://www.apache.org/licenses/GPL-compatibility.html |
Ciao @henrikekblad and @Actpohomoc thank you for your feedback. |
Just spotted this now, the possibilities this single wire interface brings is amazing. Hope to see it merged soon :) |
What is the next step? Will PJON will be available in next Release of MySensors? :-) |
@gryzli133 The license issue is currently under discussion and we will proceed with the PR ASAP. In the meantime, we need ppl testing this PR and providing feedback. |
How can I download the version that includes PJON? Sorry for noob questions, but I completely skipped git etc while do PLC programming |
Ciao @gryzli133 I think you should download 98d3d33 and give it a try :) |
Ciao @tekka007 thank you for pushing this forward, @Swiftnesses @gryzli133 would you give a try to b24711f? |
1fb47f5
to
59a9b6e
Compare
Hi @gryzli133 & @gioblu - I've updated this PR to include PJON 13.0. If time allows, can you retest and provide feeback? |
I have retested this in my small environment and it is working as expected.
…________________________________
From: Olivier <[email protected]>
Sent: Sunday, 6 December 2020, 10:23 pm
To: mysensors/MySensors
Cc: Paul Barrett; Mention
Subject: Re: [mysensors/MySensors] Add PJON transport layer (#1278)
Hi @gryzli133<https://github.com/gryzli133> & @gioblu<https://github.com/gioblu> - I've updated this PR to include PJON 13.0. If time allows, can you retest and provide feeback?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#1278 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFQMVDV7EEM2EPBIPMBKDDTSTNSRTANCNFSM4HHESHIQ>.
|
Hi @tekka007, can you send me download link to the latest version? Or maybe even better - can you tell me how can I find it by myself next time? |
@gryzli133 https://github.com/tekka007/MySensors/tree/PJONSupport No, I didn't inlcude the changes you mentioned - please feel free to add them |
Hi @gioblu, could you take care about that two changes to be included in the latest release? Then I will start testing new version. Thank you in advance! |
@gryzli133 where I can find your source? |
@gioblu at the moment I'm still using the old version 98d3d33 with the modifications you gave me for non-blocking version:
|
@tekka007 I have done as @gryzli133 requested, here it is https://github.com/tekka007/MySensors/pull/1/files |
7484fc1
to
bd4a236
Compare
bd4a236
to
cfc0ef2
Compare
@tekka007 I just wanted to make some test with new version of MySensors, but I'm getting some troubles for ESP8266. I have copied my portable version of Arduino 1.8.12 where the first PJON implementation is working fine. Everything is the same, just MySensors is updated. Now with cdc0ef2 I'm getting this faults: I will continue tests with serial and Ethernet gateway, but for fast setup wifi gateway is very useful. |
Hi @gryzli133, did you update the esp8266 board files to the latest version, i.e. 2.7.4? |
Thank you @tekka07, I did some tests and it looks very good so far ;-) Do you already have a plan when will be next official release and if PJON will be included? Will PJON be also supporte by Multitransport feature? |
Ciao @tekka007 any update on this? When the new version will be released? |
Great to see PJON support merged 🎆 |
Can we have example for RS485 and PJON ? |
@fabyte In dev for testing & feedback. Evaluating setup using the Arduino library dependency manager (https://arduino.github.io/arduino-cli/latest/library-specification/) to link to PJON |
Hi @tekka007, do you know when MySensors will be released with official PJON support? At the moment I'm currently running a MySensors network connected with PJON including:
At the moment I'm facing no problem, so I would say - PJON integration is ready for community use ;-) |
* Add PJON transport layer * Update PJON 13.0 * PJON transport now non-blocking, fixed polling Co-authored-by: Giovanni Blu Mitolo <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.