Basic xdot code to check how many memory is available for user APP after initializing libxdot lorawan stack
Diff: examples/src/dot_util.cpp
- Revision:
- 4:93579eb88fcd
- Parent:
- 2:ffac7b141b72
- Child:
- 5:97ed5f2f099e
diff -r 0e3e776e2862 -r 93579eb88fcd examples/src/dot_util.cpp --- 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("------------------------");