20171006

Dependencies:   INA219 ISL29125 TSL2561 libmDot-mbed5 LoRa_Miun_20171002 SmartApp_Miun

Fork of Smart_Miun by BIN WANG

Files at this revision

API Documentation at this revision

Comitter:
mfiore
Date:
Thu Oct 06 22:12:21 2016 +0000
Parent:
3:0e3e776e2862
Child:
5:97ed5f2f099e
Commit message:
display network EUI and KEY as well as name and passphrase

Changed in this revision

examples/src/dot_util.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/examples/src/dot_util.cpp	Thu Oct 06 18:32:32 2016 +0000
+++ b/examples/src/dot_util.cpp	Thu Oct 06 22:12:21 2016 +0000
@@ -15,6 +15,8 @@
     logInfo("-------------------------");
     logInfo("\tnetwork name:            %s", dot->getNetworkName().c_str());
     logInfo("\tnetwork phrase:          %s", dot->getNetworkPassphrase().c_str());
+    logInfo("\tnetwork EUI:             %s", mts::Text::bin2hexString(dot->getNetworkId()).c_str());
+    logInfo("\tnetwork KEY:             %s", mts::Text::bin2hexString(dot->getNetworkKey()).c_str());
     logInfo("\tnetwork join mode:       %s", mDot::JoinModeStr(dot->getJoinMode()).c_str());
     logInfo("communication parameters");
     logInfo("------------------------");