- Mon Oct 31, 2016 8:30 am
#57435
Perhaps what we need with the Mesh is a defined Mathematical strategy.
An example could be
The solution space is asynchronous.
No device has a timing preference above any other.
( The original EasyMesh code imposes a master timer synchonization.)
Every device is equal
( All devices need to know the mesh structure and the list of devices active in the mesh.)
( messages have the freedom to be sent to any specific device and broadcast to all devices)
Each device needs to know its spacial position in the Mesh.
( Every device knows the radio strength (RSSI) it has with its neighbors)
Half duplex
esp8266 radio component can't receive its own signal.
Principal of Least Action
A message is delivered with the least radio action.
( if the RSSI permits a direct path between device the message goes direct otherwise the most efficient relay path is used)
( if a device isn't within radio range a broadcast is sent to devices in range to see if they might have that device within their range
if so an intermediate relay path is constructed)
With respect to a message a device is either an originator , recipient or a re-layer of a message
Confidence
With respect to a message the originator needs confidence the message was received by the recipient.
Compatability
Protocols UDP or TCP are required to retain Wifi compatability.