![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Fork to see if I can get working
Dependencies: BufferedSerial OneWire WinbondSPIFlash libxDot-dev-mbed5-deprecated
Fork of xDotBridge_update_test20180823 by
Diff: xDotBridge/src/main.cpp
- Revision:
- 67:2115a2f1b945
- Parent:
- 66:bcaa6dbf538a
- Child:
- 68:51c25f4f6d9a
diff -r bcaa6dbf538a -r 2115a2f1b945 xDotBridge/src/main.cpp --- a/xDotBridge/src/main.cpp Wed Mar 15 11:46:40 2017 -0600 +++ b/xDotBridge/src/main.cpp Tue Mar 21 13:04:31 2017 -0600 @@ -135,6 +135,7 @@ unsigned int loopCnt = 0; // Just a quick temp varaible to keep track of loopNums bool prevCCNormallyOpen; PairBtnState pairBtnState; + uint32_t rxMsgCnt = 0; /** * Main Loop */ @@ -253,7 +254,7 @@ uint16_t data; uint32_t msgSeqNum; protocol->recvAlert(txEui, data, msgSeqNum); - myLogInfo("Got msg num: %d", msgSeqNum); + myLogInfo("Got msg #%d, with Seqnum: %d", rxMsgCnt, msgSeqNum); bbio->relayAlert(); ledPatterns.turnOn(); myLogInfo("Holding alert for %f secs", HoldTimeSetting::rotVal2Sec(bbio->rotarySwitch1()));