mcci-catena / Catena-Arduino-Platform

Arduino platform library for MCCI Catena IoT Systems
MIT License
12 stars 11 forks source link

Add methods for setting the time #280

Closed terrillmoore closed 3 years ago

terrillmoore commented 3 years ago

The STM32 variants can't access the RTC to set the clock (key method is private).

The SAMD variants don't even have the private method.

Add bool SetTime(const CalendarTime *pNow; to both CatenaRTC and CatenaStm32L0Rtc.