arttupii / espnowfloodingmesh Goto Github PK
View Code? Open in Web Editor NEWArduino EspNow managed flooding mesh network with mqtt
License: Mozilla Public License 2.0
Arduino EspNow managed flooding mesh network with mqtt
License: Mozilla Public License 2.0
Is there any example how to do this. Is it a direct communication or does the signal goes through the master?
Thanks
Can someone help me understand when to set the flag USE_RAW_801_11?
Thanks
Joel
Hi,
I've just discovered this nice library and would love to use it. IMHO there are a few small issues but the first tests are very promising. What are your plans? Will you continue to use and improve this library? Will you accept pull requests?
My current master node does not have an RTC so every time I reboot it, time starts at 0. So after rebooting the master I have to wait until the master's uptime is higher than it was before the reboot. Checking the timestamp is labeled as a security feature but I don't see how this improves the security. If I'm able to inject a valid encrypted message to the network the security is broken nevertheless. An attacker could use an arbitrary high timestamp to circumvent this check completely.
Do I miss something here? If not, I recommend removing the check for a valid time completely.
I don't see a good way to check the state of the mesh from outside the library. espNowFloodingMesh_syncWithMasterAndWait
seems to be the only way to check if there was a connection to the mesh in the past. The variable syncronized
(btw, there is a h missing there…) looks promising but is never set to false
when there are no more time sync messages arriving and there is also no clean way to query the state from outside.
I'm not sure I did understand the code correctly as time sync seems to be optional. So the variable syncronized
not always represents the mesh state.
If I did interpret this correctly I would propose to add:
Digging through the code does help but comments are very sparse. What is the meaning for variables like syncronized
or isespNowFloodingMeshInitialized
?
Also, the callback method espNowFloodingMesh_RecvCB
seems to be undocumented. It is not too hard to get most of the information out of the source code of the SimpleMQTT library but IMHO this should be minimally documented here.
Please don't get me wrong… these are just my 2 cents and the library does look very promising.
When installing the gateway I received this message:
pi@pi44:~ $ git clone [email protected]:arttupii/EspNowFloodingMesh.git
Cloning into 'EspNowFloodingMesh'...
Warning: Permanently added the RSA host key for IP address '140.82.113.4' to the list of known hosts.
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
How do I fix it? Thanks!
I'm trying to use LED strip but I can't apply it on simplemqtt as the option is limited.
Is there any alternative like pubsubclient instead of simplemqtt?
Thanks
B
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.