Basic xdot code to check how many memory is available for user APP after initializing libxdot lorawan stack
Diff: examples/inc/RadioEvent.h
- Revision:
- 41:67feacfab49c
- Parent:
- 40:3cb0ed329c6e
- Child:
- 42:20f6b29a9903
--- a/examples/inc/RadioEvent.h Mon May 18 09:57:44 2020 -0500 +++ b/examples/inc/RadioEvent.h Mon May 18 13:12:47 2020 -0500 @@ -82,6 +82,14 @@ } } } + +#if ACTIVE_EXAMPLE == FOTA_EXAMPLE + virtual void ServerTime(uint32_t seconds, uint8_t sub_seconds) { + mDotEvent::ServerTime(seconds, sub_seconds); + + Fota::getInstance()->setClockOffset(seconds); + } +#endif }; #endif