You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Make most type definitions public instead of protected, to facilitate use in composition.
- Call ResponseTransmittedHook after every response transmission attempt, instead of after every successful response transmission attempt.
- Improve documentation.
- Finalize README.md.
- Update keywords.txt.
// Makes it possible to find the node through scans, and also makes it possible to recover from an encrypted connection where only the other node is encrypted.
260
+
// Makes it possible to find the node through scans, makes it possible to recover from an encrypted connection where only the other node is encrypted, and also makes it possible to receive broadcast transmissions.
259
261
// Note that only one AP can be active at a time in total, and this will always be the one which was last activated.
Copy file name to clipboardExpand all lines: libraries/ESP8266WiFiMesh/examples/HelloMesh/HelloMesh.ino
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,9 @@
3
3
Once 28 seconds have passed, the node that has the highest AP MAC will start broadcasting benchmark messages, which will allow you to see how many messages are lost at the other nodes.
4
4
If you have an onboard LED on your ESP8266 it is recommended that you change the useLED variable below to true.
5
5
That way you will get instant confirmation of the mesh communication without checking the Serial Monitor.
6
+
7
+
If you want to experiment with reducing error rates you can use the mesh method "void setBroadcastReceptionRedundancy(uint8_t redundancy);" (default 2) at the cost of more RAM.
8
+
Or "floodingMesh.getEspnowMeshBackend().setBroadcastTransmissionRedundancy(uint8_t redundancy)" (default 1) at the cost of longer transmission times.
6
9
*/
7
10
8
11
#defineESP8266WIFIMESH_DISABLE_COMPATIBILITY// Excludes redundant compatibility code. TODO: Should be used for new code until the compatibility code is removed with release 3.0.0 of the Arduino core.
@@ -133,7 +136,7 @@ void setup() {
133
136
Serial.println(F("Setting up mesh node..."));
134
137
135
138
floodingMesh.begin();
136
-
floodingMesh.activateAP();
139
+
floodingMesh.activateAP();// Required to receive messages
0 commit comments