PWR.deepSleep

Everything about programming the platform and using the Waspmote API
Post Reply
swe
Posts: 24
Joined: Tue Dec 11, 2018 12:29 am
Company: -

PWR.deepSleep

Post by swe » Wed Jul 10, 2019 1:15 am

Hi,

There is only one API for PWR.deepSleep with ‘time2wake’ input specifying the time at which the RTC alarm will be activated. It must follow the format: “DD:HH:MM:SS”.
void WaspPWR::deepSleep(const char* time2wake, uint8_t offset, uint8_t mode, uint8_t option);


In waspmote-rtc-programming_guide.pdf, there are two APIs:
uint8_t WaspRTC::setAlarm1(const char* time, uint8_t offset, uint8_t mode);
uint8_t WaspRTC::setAlarm1(uint8_t day_date, uint8_t _hour, uint8_t _minute, uint8_t _second, uint8_t offset, uint8_t mode);

Could you please also provide the following version of PWR.deepSleep()? Or do I miss anything?
void WaspPWR::deepSleep(uint8_t day_date, uint8_t _hour, uint8_t _minute, uint8_t _second, uint8_t offset, uint8_t mode, uint8_t option);

Thanks.

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: PWR.deepSleep

Post by libelium-dev » Wed Jul 10, 2019 8:52 am

Hi,

We are sorry but we haven't developed that version of the deepSleep function.

Regards

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest