Libelium / waspmoteapi

Tested and stable Waspmote API repository
138 stars 129 forks source link

Feature request: _4G.setTimeFrom4G set time in UTC #32

Open jdavid opened 6 years ago

jdavid commented 6 years ago

Change prototype to:

uint8_t setTimeFrom4G(bool utc=false);

So by default it keeps the current behaviour. I've used RTC.getEpochTime(...) and RTC.breakTimeAbsolute(...) to implement this.

Libelium commented 6 years ago

Sorry for our late response. Thanks for your contribution.