mozilla-sensorweb / sensorweb-firmware

Contains all code that runs on the SensorWeb device
Mozilla Public License 2.0
4 stars 3 forks source link

Add support for setting/getting the RTC #35

Closed dhylands closed 7 years ago

dhylands commented 7 years ago

We need a function which gets/sets the RTC. From a security standpoint, it makes sense to retrieve the time from the server.

I think that using the linux epoch (Jan 1, 1970) in UTC timezone makes the most sense.

fabricedesre commented 7 years ago

I filed https://github.com/mozilla-sensorweb/sensorweb-server/issues/29 on the server side.

dhylands commented 7 years ago

Fixed by: https://github.com/fabricedesre/cc3200-rs/commit/166dca5290aaa7e49842e82447cb2afcf917a0e5