Chat freely about anything...

User avatar
By picstart
#56204 Do you think this is being caused by a bug in the example ino code or in the core src code? Maybe you should open an issue on the developer’s github site https://github.com/Coopdis/easyMesh/issues

I think it is a bug in the core src and it is related to the timestamps that I believe roll over after 71 minutes which is coincidental to the time that the mesh break apart broke apart.
The timestamps seem to influence the prominence a device gets in the mesh like becoming the master or the slave. EasyMesh has the goal of being self configurable so depending on exactly when a device joins sets its prominence.
I have a UDP network but is has fixed prominence in that each device has a designated roll. EasyMesh represents a good alternative and can survive a device going offline.
User avatar
By Ian Phill
#56251 Somebody can to share an easyExample about easyMesh something like send a character from server and take a decision in the client?

example:
//==============
server
send i=0
//==============
client
if (getvaluefromserver(i)) println("OK");

Other thing, I'm using Arduino IDE but not Arduino board, I'm writing the source in Generic ESP8266 Module, it's fine or I need the Arduino board ???

Thank you in advance
User avatar
By sfranzyshen
#56261
picstart wrote:The issue is after about an hour the mesh breaks apart and devices start only sending messages to themselves
startHere: Received from 796707 msg=Hello from node 796707
startHere: Received from 796707 msg=Hello from node 796707
startHere: Received from 796707 msg=Hello from node 796707
startHere: Received from 796707 msg=Hello from node 796707
startHere: Received from 796707 msg=Hello from node 796707
startHere: Received from 796707 msg=Hello from node 796707
startHere: Received from 796707 msg=Hello from node 796707
startHere: Received from 796707 msg=Hello from node 796707
startHere: Received from 796707 msg=Hello from node 796707
startHere: Received from 796707 msg=Hello from node 796707
startHere: Received from 796707 msg=Hello from node 796707

startHere: Received from 12593318 msg=Hello from node 12593318
startHere: Received from 12593318 msg=Hello from node 12593318
startHere: Received from 12593318 msg=Hello from node 12593318
startHere: Received from 12593318 msg=Hello from node 12593318
startHere: Received from 12593318 msg=Hello from node 12593318
startHere: Received from 12593318 msg=Hello from node 12593318
startHere: Received from 12593318 msg=Hello from node 12593318


I also have been able to duplicate this ... so I went ahead and opened an issue at github https://github.com/Coopdis/easyMesh/issues/10
User avatar
By sfranzyshen
#56262
Ian Phill wrote:Somebody can to share an easyExample about easyMesh something like send a character from server and take a decision in the client?

example:
//==============
server
send i=0
//==============
client
if (getvaluefromserver(i)) println("OK");

Other thing, I'm using Arduino IDE but not Arduino board, I'm writing the source in Generic ESP8266 Module, it's fine or I need the Arduino board ???

Thank you in advance


Right now the only examples are in the examples folder ...
Right now the code ONLY works with the esp8266 (no other arduino boards ard supported)

as far as for the example outlined above ... it is not clear ... read this example and intro
https://github.com/Coopdis/easyMesh/blo ... rtHere.ino
https://github.com/Coopdis/easyMesh/blo ... /README.md