Skip to content

Instantly share code, notes, and snippets.

@costyn
Created July 27, 2017 05:21
Show Gist options
  • Save costyn/42fbe33936868ab6e494669a7be1adbd to your computer and use it in GitHub Desktop.
Save costyn/42fbe33936868ab6e494669a7be1adbd to your computer and use it in GitHub Desktop.
painlessMesh debugging output
MASTER 66322448: Sent broadcast message: {"currentBPM":120,"currentPattern":0}
0x40 meshRecvCb(): data={"dest":2140081748,"from":2146419207,"type":5,"subs":[]} fromId=2146419207
0x40 sendMessage(conn): conn-nodeId=2146419207 destId=2146419207 type=6 msg=[]
0x40 Sending to 2146419207-->{"dest":2146419207,"from":2140081748,"type":6,"subs":[]}<--
0x40 sendPackage(): Package sent -> {"dest":2146419207,"from":2140081748,"type":6,"subs":[]}
0x40 meshRecvCb(): lastRecieved=69913683 fromId=2146419207 type=5
0x40 sendBroadcast(): msg={"currentBPM":120,"currentPattern":0}
0x40 broadcastMessage(): from=2140081748 type=8, msg={"currentBPM":120,"currentPattern":0} exclude=NULL
0x40 sendMessage(conn): conn-nodeId=2146419207 destId=2146419207 type=8 msg={"currentBPM":120,"currentPattern":0}
0x40 Sending to 2146419207-->{"dest":2146419207,"from":2140081748,"type":8,"msg":"{\"currentBPM\":120,\"currentPattern\":0}"}<--
0x40 sendPackage(): Package sent -> {"dest":2146419207,"from":2140081748,"type":8,"msg":"{\"currentBPM\":120,\"currentPattern\":0}"}
MASTER 71322554: Sent broadcast message: {"currentBPM":120,"currentPattern":0}
0x40 meshRecvCb(): data={"dest":2140081748,"from":2146419207,"type":5,"subs":[]} fromId=2146419207
0x40 sendMessage(conn): conn-nodeId=2146419207 destId=2146419207 type=6 msg=[]
0x40 Sending to 2146419207-->{"dest":2146419207,"from":2140081748,"type":6,"subs":[]}<--
0x40 sendPackage(): Package sent -> {"dest":2146419207,"from":2140081748,"type":6,"subs":[]}
0x40 meshRecvCb(): lastRecieved=74912681 fromId=2146419207 type=5
0x40 sendMessage(conn): conn-nodeId=2146419207 destId=2146419207 type=5 msg=[]
0x40 Sending to 2146419207-->{"dest":2146419207,"from":2140081748,"type":5,"subs":[]}<--
0x40 sendPackage(): Package sent -> {"dest":2146419207,"from":2140081748,"type":5,"subs":[]}
0x40 meshRecvCb(): data={"dest":2140081748,"from":2146419207,"type":6,"subs":[]} fromId=2146419207
0x40 meshRecvCb(): lastRecieved=75122559 fromId=2146419207 type=6
0x8 stationScan(): LEDforge.com LEDswarm
0x8 scanComplete():-- > scan finished @ 75551558 < --
0x8 found : LEDforge.com LEDswarm, -39dBm0x8 MESH< ---0x8
0x8 Found 1 nodes
0x8 connectToAP():0x8 connectToAP(): No unknown nodes found scan rate set to normal
0x40 sendBroadcast(): msg={"currentBPM":120,"currentPattern":0}
0x40 broadcastMessage(): from=2140081748 type=8, msg={"currentBPM":120,"currentPattern":0} exclude=NULL
0x40 sendMessage(conn): conn-nodeId=2146419207 destId=2146419207 type=8 msg={"currentBPM":120,"currentPattern":0}
0x40 Sending to 2146419207-->{"dest":2146419207,"from":2140081748,"type":8,"msg":"{\"currentBPM\":120,\"currentPattern\":0}"}<--
0x40 sendPackage(): Package sent -> {"dest":2146419207,"from":2140081748,"type":8,"msg":"{\"currentBPM\":120,\"currentPattern\":0}"}
MASTER 76322456: Sent broadcast message: {"currentBPM":120,"currentPattern":0}
0x40 sendBroadcast(): msg={"currentBPM":120,"currentPattern":1}
0x40 broadcastMessage(): from=2140081748 type=8, msg={"currentBPM":120,"currentPattern":1} exclude=NULL
0x40 sendMessage(conn): conn-nodeId=2146419207 destId=2146419207 type=8 msg={"currentBPM":120,"currentPattern":1}
0x40 Sending to 2146419207-->{"dest":2146419207,"from":2140081748,"type":8,"msg":"{\"currentBPM\":120,\"currentPattern\":1}"}<--
0x40 sendPackage(): Package sent to queue end -> 1 , FreeMem: 32080
MASTER 76395168: Sent broadcast message: {"currentBPM":120,"currentPattern":1}
0x40 meshRecvCb(): data={"dest":2140081748,"from":2146419207,"type":5,"subs":[]} fromId=2146419207
0x40 sendMessage(conn): conn-nodeId=2146419207 destId=2146419207 type=6 msg=[]
0x40 Sending to 2146419207-->{"dest":2146419207,"from":2140081748,"type":6,"subs":[]}<--
0x40 sendPackage(): Package sent -> {"dest":2146419207,"from":2140081748,"type":6,"subs":[]}
0x40 meshRecvCb(): lastRecieved=79911967 fromId=2146419207 type=5
0x40 sendBroadcast(): msg={"currentBPM":120,"currentPattern":1}
0x40 broadcastMessage(): from=2140081748 type=8, msg={"currentBPM":120,"currentPattern":1} exclude=NULL
0x40 sendMessage(conn): conn-nodeId=2146419207 destId=2146419207 type=8 msg={"currentBPM":120,"currentPattern":1}
0x40 Sending to 2146419207-->{"dest":2146419207,"from":2140081748,"type":8,"msg":"{\"currentBPM\":120,\"currentPattern\":1}"}<--
0x40 sendPackage(): Package sent to queue end -> 1 , FreeMem: 31960
MASTER 81379038: Sent broadcast message: {"currentBPM":120,"currentPattern":1}
0x8 wifiEventCb(): EVENT_SOFTAPMODE_STADISCONNECTED
0x8 stationScan(): LEDforge.com LEDswarm
0x8 scanComplete():-- > scan finished @ 85683488 < --
0x8 Found 0 nodes
0x8 connectToAP():0x8 connectToAP(): No unknown nodes found scan rate set to normal
0x40 sendBroadcast(): msg={"currentBPM":120,"currentPattern":1}
0x40 broadcastMessage(): from=2140081748 type=8, msg={"currentBPM":120,"currentPattern":1} exclude=NULL
0x40 sendMessage(conn): conn-nodeId=2146419207 destId=2146419207 type=8 msg={"currentBPM":120,"currentPattern":1}
0x40 Sending to 2146419207-->{"dest":2146419207,"from":2140081748,"type":8,"msg":"{\"currentBPM\":120,\"currentPattern\":1}"}<--
0x40 sendPackage(): Package sent to queue end -> 2 , FreeMem: 28784
MASTER 86379014: Sent broadcast message: {"currentBPM":120,"currentPattern":1}
0x8 meshDisconCb(): 0x8 findConnection(espconn): Did not Find
0x1 meshDisconCb(): Invalid state
0x8 ~meshConnectionType():
0x8 closingTask():
0x8 closingTask(): dropping 2146419207 now= 89808234
MASTER 89815129: Changed connections []
Node list: 2140081748 (1 nodes)
MASTER 89824635: checkMastership(); I am MASTER
0x40 sendBroadcast(): msg={"currentBPM":120,"currentPattern":2}
0x40 broadcastMessage(): from=2140081748 type=8, msg={"currentBPM":120,"currentPattern":2} exclude=NULL
MASTER 91273544: Sent broadcast message: {"currentBPM":120,"currentPattern":2}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment