Skip to content

Instantly share code, notes, and snippets.

@costyn
Created July 27, 2017 05:20
Show Gist options
  • Save costyn/f810bf0f592f9f857cb26456afce07ee to your computer and use it in GitHub Desktop.
Save costyn/f810bf0f592f9f857cb26456afce07ee to your computer and use it in GitHub Desktop.
Debugging output during mesh disconnect
SLAVE 66331655: BPM: 120 Pattern: 0
0x40 meshRecvCb(): lastRecieved=46189977 fromId=2140081748 type=8
0x40 sendMessage(conn): conn-nodeId=2140081748 destId=2140081748 type=5 msg=[]
0x40 Sending to 2140081748-->{"dest":2140081748,"from":2146419207,"type":5,"subs":[]}<--
0x40 sendPackage(): Package sent -> {"dest":2140081748,"from":2146419207,"type":5,"subs":[]}
0x40 meshRecvCb(): data={"dest":2146419207,"from":2140081748,"type":6,"subs":[]} fromId=2140081748
0x40 meshRecvCb(): lastRecieved=49759342 fromId=2140081748 type=6
0x40 meshRecvCb(): data={"dest":2146419207,"from":2140081748,"type":8,"msg":"{\"currentBPM\":120,\"currentPattern\":0}"} fromId=2140081748
0x40 broadcastMessage(): from=2140081748 type=8, msg={"currentBPM":120,"currentPattern":0} exclude=2140081748
SLAVE 71331622: BPM: 120 Pattern: 0
0x40 meshRecvCb(): lastRecieved=51189957 fromId=2140081748 type=8
0x40 sendMessage(conn): conn-nodeId=2140081748 destId=2140081748 type=5 msg=[]
0x40 Sending to 2140081748-->{"dest":2140081748,"from":2146419207,"type":5,"subs":[]}<--
0x40 sendPackage(): Package sent -> {"dest":2140081748,"from":2146419207,"type":5,"subs":[]}
0x40 meshRecvCb(): data={"dest":2146419207,"from":2140081748,"type":6,"subs":[]} fromId=2140081748
0x40 meshRecvCb(): lastRecieved=54758276 fromId=2140081748 type=6
0x40 meshRecvCb(): data={"dest":2146419207,"from":2140081748,"type":5,"subs":[]} fromId=2140081748
0x40 sendMessage(conn): conn-nodeId=2140081748 destId=2140081748 type=6 msg=[]
0x40 Sending to 2140081748-->{"dest":2140081748,"from":2146419207,"type":6,"subs":[]}<--
0x40 sendPackage(): Package sent -> {"dest":2140081748,"from":2146419207,"type":6,"subs":[]}
0x40 meshRecvCb(): lastRecieved=54947792 fromId=2140081748 type=5
0x40 meshRecvCb(): data={"dest":2146419207,"from":2140081748,"type":8,"msg":"{\"currentBPM\":120,\"currentPattern\":0}"} fromId=2140081748
0x40 broadcastMessage(): from=2140081748 type=8, msg={"currentBPM":120,"currentPattern":0} exclude=2140081748
SLAVE 76331518: BPM: 120 Pattern: 0
0x40 meshRecvCb(): lastRecieved=56189853 fromId=2140081748 type=8
0x40 meshRecvCb(): data={"dest":2146419207,"from":2140081748,"type":8,"msg":"{\"currentBPM\":120,\"currentPattern\":1}"} fromId=2140081748
0x40 broadcastMessage(): from=2140081748 type=8, msg={"currentBPM":120,"currentPattern":1} exclude=2140081748
SLAVE 76405848: BPM: 120 Pattern: 1
0x40 meshRecvCb(): lastRecieved=56264215 fromId=2140081748 type=8
0x40 sendMessage(conn): conn-nodeId=2140081748 destId=2140081748 type=5 msg=[]
0x40 Sending to 2140081748-->{"dest":2140081748,"from":2146419207,"type":5,"subs":[]}<--
0x40 sendPackage(): Package sent -> {"dest":2140081748,"from":2146419207,"type":5,"subs":[]}
0x40 sendMessage(conn): conn-nodeId=2140081748 destId=2140081748 type=5 msg=[]
0x40 Sending to 2140081748-->{"dest":2140081748,"from":2146419207,"type":5,"subs":[]}<--
0x40 sendPackage(): Package sent to queue beginning -> 1 , FreeMem: 32512
0x8 meshReconCb(): err=-11. Forwarding to meshDisconCb
0x1 meshReconCb(): err=-11. Closing failed connection
0x8 closeConnection(): conn-nodeId=2140081748, conn-no=1, conn-use=6
0x8 closeConnection(): done, conn-no=0, conn-use=2
0x8 ~meshConnectionType():
0x8 wifiEventCb(): EVENT_STAMODE_DISCONNECTED
0x8 connectToAP():0x8 connectToAP(): No unknown nodes found scan rate set to normal
0x8 closingTask():
0x8 closingTask(): dropping 2140081748 now= 84959216
SLAVE 84966116: Changed connections []
Node list: 2146419207 (1 nodes)
MASTER 84975501: checkMastership(); I am MASTER
0x40 sendBroadcast(): msg={"currentBPM":120,"currentPattern":1}
0x40 broadcastMessage(): from=2146419207 type=8, msg={"currentBPM":120,"currentPattern":1} exclude=NULL
MASTER 85003599: Sent broadcast message: {"currentBPM":120,"currentPattern":1}
0x40 sendBroadcast(): msg={"currentBPM":120,"currentPattern":2}
0x40 broadcastMessage(): from=2146419207 type=8, msg={"currentBPM":120,"currentPattern":2} exclude=NULL
MASTER 85035859: Sent broadcast message: {"currentBPM":120,"currentPattern":2}
0x8 wifiEventCb(): EVENT_STAMODE_DISCONNECTED
0x8 connectToAP():0x8 connectToAP(): No unknown nodes found scan rate set to normal
0x8 wifiEventCb(): EVENT_STAMODE_DISCONNECTED
0x8 connectToAP():0x8 connectToAP(): No unknown nodes found scan rate set to normal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment