Publish on embed
Dependencies: libmDot-mbed5 ISL29011
Fork of Dot-Examples by
Revision 4:93579eb88fcd, committed 2016-10-06
- 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("------------------------");