Hi
I've been chasing my tail a bit on this. When using a sendBroadcast if you includeSelf it doesn't work?
The description states " includeSelf = true overrides this behaviour, causing the receivedCallback to be called when sending a broadcast message."
I've tested the example "basic" and changed line 28 to mesh.sendBroadcast( msg, true );
Thanks
setLogLevel: ERROR | MESH_STATUS | CONNECTION | SYNC | COMMUNICATION | GENERAL | MSG_TYPES | REMOTE |
GENERAL: encodeNodeId():
GENERAL: tcpServerInit():
GENERAL: onNewConnection():
GENERAL: onChangedConnections():
GENERAL: onNodeTimeAdjusted():
CONNECTION: stationScan(): whateverYouLike
COMMUNICATION: sendBroadcast(): msg=Hello from node 2133862235
CONNECTION: scanComplete(): Scan finished
CONNECTION: scanComplete():-- > Cleared old APs.
CONNECTION: scanComplete(): num = 12
CONNECTION: Found 0 nodes
CONNECTION: connectToAP(): No unknown nodes found scan rate set to normal
COMMUNICATION: sendBroadcast(): msg=Hello from node 2133862235
COMMUNICATION: sendBroadcast(): msg=Hello from node 2133862235
COMMUNICATION: sendBroadcast(): msg=Hello from node 2133862235
COMMUNICATION: sendBroadcast(): msg=Hello from node 2133862235
CONNECTION: stationScan(): whateverYouLike
COMMUNICATION: sendBroadcast(): msg=Hello from node 2133862235
CONNECTION: scanComplete(): Scan finished
CONNECTION: scanComplete():-- > Cleared old APs.
CONNECTION: scanComplete(): num = 13
CONNECTION: Found 0 nodes
CONNECTION: connectToAP(): No unknown nodes found scan rate set to normal
COMMUNICATION: sendBroadcast(): msg=Hello from node 2133862235
COMMUNICATION: sendBroadcast(): msg=Hello from node 2133862235
COMMUNICATION: sendBroadcast(): msg=Hello from node 2133862235
COMMUNICATION: sendBroadcast(): msg=Hello from node 2133862235
COMMUNICATION: sendBroadcast(): msg=Hello from node 2133862235
CONNECTION: stationScan(): whateverYouLike
COMMUNICATION: sendBroadcast(): msg=Hello from node 2133862235
CONNECTION: scanComplete(): Scan finished
CONNECTION: scanComplete():-- > Cleared old APs.
CONNECTION: scanComplete(): num = 13
CONNECTION: Found 0 nodes
CONNECTION: connectToAP(): No unknown nodes found scan rate set to normal
COMMUNICATION: sendBroadcast(): msg=Hello from node 2133862235
COMMUNICATION: sendBroadcast(): msg=Hello from node 2133862235
COMMUNICATION: sendBroadcast(): msg=Hello from node 2133862235
COMMUNICATION: sendBroadcast(): msg=Hello from node 2133862235
COMMUNICATION: sendBroadcast(): msg=Hello from node 2133862235