Basic xdot code to check how many memory is available for user APP after initializing libxdot lorawan stack
Diff: examples/src/manual_example.cpp
- Revision:
- 16:a3832552dfe1
- Parent:
- 14:19fae4509473
- Child:
- 17:d4f82e16de5f
diff -r 364df461110f -r a3832552dfe1 examples/src/manual_example.cpp --- a/examples/src/manual_example.cpp Tue Oct 11 16:33:45 2016 -0500 +++ b/examples/src/manual_example.cpp Wed Oct 19 11:53:17 2016 -0500 @@ -46,6 +46,8 @@ dot->setEvents(&events); if (!dot->getStandbyFlag()) { + logInfo("mbed-os library version: %d", MBED_LIBRARY_VERSION); + // start from a well-known state logInfo("defaulting Dot configuration"); dot->resetConfig();