Basic xdot code to check how many memory is available for user APP after initializing libxdot lorawan stack
Diff: examples/src/auto_ota_example.cpp
- Revision:
- 1:c4915e00d2ce
- Parent:
- 0:a151a6350d7f
- Child:
- 2:ffac7b141b72
--- a/examples/src/auto_ota_example.cpp Wed Oct 05 21:07:50 2016 +0000 +++ b/examples/src/auto_ota_example.cpp Thu Oct 06 14:49:35 2016 +0000 @@ -17,7 +17,7 @@ // in sleep mode, IO state is maintained, RAM is retained, and application will resume after waking up // in deepsleep mode, IOs float, RAM is lost, and application will start from beginning after waking up // if deep_sleep == true, device will enter deepsleep mode -static bool deep_sleep = false; +static bool deep_sleep = true; mDot* dot = NULL;