![](/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/CommProtocolPeerBrute.cpp
- Revision:
- 91:8196900df6fe
- Parent:
- 89:edfe5d376e55
- Child:
- 95:aa9908d459c2
--- a/xDotBridge/src/CommProtocolPeerBrute.cpp Sat Nov 18 22:58:20 2017 +0000 +++ b/xDotBridge/src/CommProtocolPeerBrute.cpp Sat Nov 18 18:01:43 2017 -0700 @@ -556,13 +556,17 @@ myLogInfo("network join mode -------- %s", mDot::JoinModeStr(dot->getJoinMode()).c_str()); if (dot->getJoinMode() == mDot::MANUAL || dot->getJoinMode() == mDot::PEER_TO_PEER) { myLogInfo("network address ---------- %s", mts::Text::bin2hexString(dot->getNetworkAddress()).c_str()); +#if SHOW_SECRETS myLogInfo("network session key------- %s", mts::Text::bin2hexString(dot->getNetworkSessionKey()).c_str()); myLogInfo("data session key---------- %s", mts::Text::bin2hexString(dot->getDataSessionKey()).c_str()); +#endif } else { myLogInfo("network name ------------- %s", dot->getNetworkName().c_str()); myLogInfo("network phrase ----------- %s", dot->getNetworkPassphrase().c_str()); +#if SHOW_SECRETS myLogInfo("network EUI -------------- %s", mts::Text::bin2hexString(dot->getNetworkId()).c_str()); myLogInfo("network KEY -------------- %s", mts::Text::bin2hexString(dot->getNetworkKey()).c_str()); +#endif } myLogInfo("========================"); myLogInfo("communication parameters"); @@ -574,7 +578,7 @@ } myLogInfo("TX datarate -------------- %s", mDot::DataRateStr(dot->getTxDataRate()).c_str()); myLogInfo("TX power ----------------- %lu dBm", dot->getTxPower()); - myLogInfo("atnenna gain ------------- %u dBm", dot->getAntennaGain()); + myLogInfo("antenna gain ------------- %u dBm", dot->getAntennaGain()); } // NvmProtocolObj