osd-contiki/examples
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
..
antelope Fix CSC & XML export to match .gitattributes 2015-10-22 16:05:40 +02:00
cc26xx Export RSSI to default parent in the CC26xx web demo 2015-08-23 20:41:12 +01:00
cc2530dk Merge pull request #1269 from tadodotcom/tmp-uip-fallback-iface 2015-10-20 11:33:14 +02:00
cc2538dk cc2538: Add crypto driver and example for AES-ECB 2016-01-04 00:28:26 +01:00
collect Fix CSC & XML export to match .gitattributes 2015-10-22 16:05:40 +02:00
econotag-ecc-test Added ECC functions on elliptic curve secp256r1 2015-09-24 14:11:20 +02:00
econotag-flash-test Added App/Tool/Example for usage of additional flash on econotag/mc1322x 2015-09-14 20:43:12 +02:00
eeprom-test Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
email Made 80 column display a cc65 application attribute. 2015-10-30 12:42:58 +01:00
er-rest-example Merge pull request #1293 from simonduq/pr/fix-warnings 2015-11-10 08:49:11 +01:00
er-rest-example-raven er-rest-example leveraging the new rave sensors. 2015-09-21 22:53:48 +02:00
example-shell Removed packetbuf references. This was a feature that is not used anymore and only made the code more complex. 2015-04-01 21:33:02 +02:00
extended-rf-api Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
ftp Made 80 column display a cc65 application attribute. 2015-10-30 12:42:58 +01:00
galileo galileo: Initialize pinmux in i2c-LSM9DS0 example 2015-12-21 08:06:14 -02:00
hello-world Fix CSC & XML export to match .gitattributes 2015-10-22 16:05:40 +02:00
http-socket HTTP socket code with support for GET and POST 2015-05-10 10:51:11 +02:00
ip64-router Code for building an IP64 router 2015-05-10 10:51:11 +02:00
ipv6 TSCH: latest update from https://github.com/EIT-ICT-RICH/contiki 2015-12-04 15:21:58 +01:00
irc Several minor adjustments. 2015-11-03 22:09:24 +01:00
irc-80col Several minor adjustments. 2015-11-03 22:09:24 +01:00
jn516x Add examples for NXP JN516x using TSCH 2016-01-05 10:44:13 +01:00
llsec/ccm-star-tests llsec: Added AEAD mode to CCM* 2015-10-14 08:22:44 -07:00
mbxxx Network layer configuration: replace UIP_CONF_* with NETSTACK_CONF_WITH_* 2014-12-01 21:02:57 +01:00
multi-threading Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
netperf Fix CSC & XML export to match .gitattributes 2015-10-22 16:05:40 +02:00
osd Implement localtime 2016-02-18 09:55:07 +01:00
ping-ipv6 Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
powertrace Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
ravenusbstick Add uip_ext_len definition in fakeuip.c for ravenusbstick 2015-06-15 15:15:59 +02:00
rime Merge pull request #1293 from simonduq/pr/fix-warnings 2015-11-10 08:49:11 +01:00
rssi-scanner Adding a gitattributes and correcting line-endings 2015-09-07 15:40:02 +02:00
seedeye/powerswitch seedeye powerswitch: update coap 2015-05-14 17:20:46 -04:00
sensinode Merge pull request #1269 from tadodotcom/tmp-uip-fallback-iface 2015-10-20 11:33:14 +02:00
servreg-hack Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
settings-example Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
sky Move MAX, MIN and ABS to sys/cc.h 2015-05-18 08:53:17 +02:00
sky-ip Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
sky-shell Removed packetbuf references. This was a feature that is not used anymore and only made the code more complex. 2015-04-01 21:33:02 +02:00
sky-shell-exec Remove unneeded headers in sky-shell-exec 2015-08-04 20:39:09 +01:00
sky-shell-webserver Fix compiler warnings 2015-10-20 10:11:37 +02:00
stm32nucleo-spirit1/sensor-demo Compilation flags update: BOARD=ids01a4/5 SENSORBOARD=iks01a1 2015-10-27 12:12:59 +01:00
tcp-socket Move MAX, MIN and ABS to sys/cc.h 2015-05-18 08:53:17 +02:00
telnet-server Made 80 column display a cc65 application attribute. 2015-10-30 12:42:58 +01:00
timers examples: Add all-timers example 2015-12-21 08:06:14 -02:00
trickle-library Fix CSC & XML export to match .gitattributes 2015-10-22 16:05:40 +02:00
udp-ipv6 Enable NA in examples that need it 2015-05-10 19:56:38 +02:00
udp-stream Fix CSC & XML export to match .gitattributes 2015-10-22 16:05:40 +02:00
webbrowser Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
webbrowser-80col Made 80 column display a cc65 application attribute. 2015-10-30 12:42:58 +01:00
webserver Made 80 column display a cc65 application attribute. 2015-10-30 12:42:58 +01:00
webserver-ipv6 Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
webserver-ipv6-raven Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
wget Fixed C&P error. 2015-12-03 09:09:21 +01:00
zolertia Refactored the example to broadcast a message to the zoul-demo example 2015-12-22 15:16:55 +01:00