Ok thanks guys. I managed to successfully compile the example code with the development libraries, but the board doesnt seem to boot with it properly.
mbed_lib_rev116-19-g1f34044
I tried cloning mbed again to the latest version, but all my environment is broken now.
I am totally missing my workspace_tools, which was there before.
EDIT:
Wait I see workspace_tools is now tools. The manual should be updated!
#define MBED_LIBRARY_VERSION 116
Cant find the RTOS version easily? Any hints where to find it?
The issue is that it goes into deepsleep, but more like a deep coma as it never wakes up 🙁
So I tried the old libmDot-0.0.9-1 library with same code and it works there.
Something seems broken in the libmDot-1.0.8-1 libraries or I must be missing something?
The manual doesnt say that the sleep command has changed at all?
Does anybody have a working example code for deep sleep? Since the upgrade to the latest libraries it seems broken for me. Using below code…
uint32_t sleep_time = 30;
dot->sleep(sleep_time, mDot::RTC_ALARM);