osd-contiki/examples/osd
Ralf Schlatterbeck 0068611b4d Implement localtime
Now we manage a timezone and daylight-savings aware version of
localtime. We parse UNIX timezone strings. The default (active after the
first call to localtime or localtime_r) is CET/CEST, the timezone of
Europe/Vienna. The wallclock-time osd-example demonstrates how to set a
different timezone via the timezone resource.

Note: After startup no timezone is set. So in this state querying the
timezone resource will return an empty string. After first call to
localtime (if not timezone has been set via the timezone resource) a
query to timezone will return the default timezone string for CET/CEST.

The string returned by the localtime and utc timezones now also includes
the timezone name.

New fields tm_gmtoff and tm_zone were added to the tm structure. These
are available in BSD systems and when setting special compiler
definitions on Linux.

Note: the timezone offset information in the tm structure (tm_gmtoff)
as well as in the tz structure returned by gettimeofday (tz_minuteswest)
may be wrong sign, this code is largely untested.
2016-02-18 09:55:07 +01:00
..
arduino-climate3 bugfix dallas coap resource 2016-01-06 21:39:35 +01:00
arduino-dallastemp add index and struct for messured values 2015-10-11 15:30:30 +02:00
arduino-dooralert update coap 18 macros 2015-01-22 14:01:36 +01:00
arduino-htu21 initial upload 2015-11-29 22:34:24 +01:00
arduino-ledstrip add Test code 2016-01-28 17:08:56 +01:00
arduino-merkurboard add experimental code netstack 2016-01-22 21:46:35 +01:00
arduino-plantobserving Factor/Fix generic resources 2015-01-21 15:41:21 +01:00
arduino-roller add exponential 2016-01-25 22:39:52 +01:00
arduino-roomalert Factor/Fix generic resources 2015-01-21 15:41:21 +01:00
arduino-sketch Factor/Fix generic resources 2015-01-21 15:41:21 +01:00
arduino-wateralert at init set buzzer to low,at adc vonversion stop shedular dutycycle 2016-01-15 15:56:55 +01:00
climate move dht11 define to project.conf 2015-03-23 13:03:32 +01:00
climate2 Factor/Fix generic resources 2015-01-21 15:41:21 +01:00
dual-rgbw-actor Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
embedd-vm-merkurboard add coap18 2015-04-28 20:56:52 +02:00
er-rest-example-merkurboard update coap 18 macros 2015-01-22 14:01:36 +01:00
led-strip bugfix project conf, do not sleep git add project-conf.h 2015-09-21 16:09:28 +02:00
light-actor bugfix add status led 2015-05-21 22:14:39 +02:00
light-shutter-control simplify code, bugfixes PE3 2014-11-19 13:54:42 +01:00
merkurboard initial upload 2015-01-22 14:03:29 +01:00
native-border-router initial upload 2014-12-31 09:55:31 +01:00
pingtheplug change to coap18 2015-04-22 14:18:10 +02:00
pir-sensor update project to coap 13 2014-11-19 13:59:05 +01:00
poti Fix IP-Address output (endianness!) 2015-01-27 16:41:30 +01:00
powerbox add coap18 2015-04-28 19:53:43 +02:00
pwm-example Factor/Fix generic resources 2015-01-21 15:41:21 +01:00
resources-common Factor/Fix generic resources 2015-01-21 15:41:21 +01:00
rpl-border-router blocksize 64 2015-01-21 15:08:23 +01:00
servo-sensor move defines to servo.h 2015-11-28 18:45:15 +01:00
slip-radio bugfix no framer 2015-05-15 20:59:59 +02:00
wallclock-time Implement localtime 2016-02-18 09:55:07 +01:00
wirelessplug UNSUPPORTED_MADIA_TYPE is a typo 2014-11-19 13:55:59 +01:00
.gitignore Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
README change plattform to osd-merkur 2014-11-19 12:05:54 +01:00
runall.sh remove unused examples 2014-12-07 21:55:43 +01:00

OSDOMOTIS

www.osdomotics.com

Plattform: osd-merkur