9 karma · joined Aug 6, 2018 (8y ago) · 7 submissions
comment 5y ago · link · parent
What is wrong with users of an open-source library commenting on the library? Who is better qualified to comment, and what is to be gained -- it is open source, free for all?
comment 5y ago · link · parent
comment 7y ago · link · parent
Also, the ACK implementation depends on the strategy (physical media type), and it is not a single bit but a single byte, and it seems to me to be robust. I am sure the creator, gioblu, has some more comments about this.
comment 7y ago · link · parent
There are also strategies for TCP and UDP based communication, essentially using the same packet structure but sending them as TCP or UDP over a LAN or WAN. These strategies need the Ethernet library, and use more memory.
Still, the memory requirement is small enough to run a router with two PJON objects with the strategies SoftwareBitBang and DualUDP on an Arduino Nano with a W5500 Ethernet shield. This allows easy traversal between different physical media, and IP-based communication, also with PJON-based software running on a Windows or Linux computer.
comment 7y ago · link · parent
It could easily cross the Internet as well but in that case I would recommend using site-to-site VPN commections for security as the PJON traffic is not encrypted (encryption is a little too heavy when running on limited devices like Arduino).
I have shared my PJON-based automation library here for those interested: https://github.com/fredilarsen/ModuleInterface
comment 7y ago · link · parent
I use PJON as a basis for a library I created for my home automation, and it works flawlessly (https://github.com/fredilarsen/ModuleInterface).
comment 8y ago · link · parent
It does data logging and storage to a database for trending and/or analysis, as well as configuration in a web page.
It uses PJON as transport, so it can run on one or multiple of the supported media, for example a SoftwareBitBang bus between worker devices, with a router that connects them via UDP to a master process on Linux. Or any other combination.