Basic xdot code to check how many memory is available for user APP after initializing libxdot lorawan stack
Diff: examples/src/peer_to_peer_example.cpp
- Revision:
- 12:ec9768677cea
- Parent:
- 11:d2e31743433a
- Child:
- 14:19fae4509473
--- a/examples/src/peer_to_peer_example.cpp Tue Oct 11 11:49:56 2016 -0500 +++ b/examples/src/peer_to_peer_example.cpp Tue Oct 11 13:17:42 2016 -0500 @@ -111,6 +111,10 @@ dot = mDot::getInstance(); + // start from a well-known state + logInfo("defaulting Dot configuration"); + dot->resetConfig(); + // make sure library logging is turned on dot->setLogLevel(mts::MTSLog::INFO_LEVEL);