osd-contiki/examples/osd
Ralf Schlatterbeck d5284eebe1 Factor resources, fix time
Now there is a generic resource that can generate and parse
application/json as well as text/plain. It can be re-used, only the
from_string and to_string routines have to be written and the resource
properly set up. A new resource format is specified, see
GENERIC_RESOURCE in, e.g., examples/osd/pwm-example. This is now used in
all my examples, namely pwm-example, arduino-sketch, wallclock-time.

There was an off by one error for the month in time formatting (in
gmtime and localtime). And the leap-year computation was broken. Both
fixed now, so we get a correct date. For localtime we are still 2 hours
off because daylight saving isn't implemented yet.

Also renamed gmtime to utc.
2014-11-19 13:53:12 +01:00
..
6lowpan-tk Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
arduino-merkurboard add Arduino pin definition and commands 2014-11-19 13:42:57 +01:00
arduino-sketch Factor resources, fix time 2014-11-19 13:53:12 +01:00
climate Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
dual-rgbw-actor Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
embedd-vm-merkurboard Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
er-rest-example-merkurboard Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
light-actor Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
light-shutter-control initial upload 2014-11-19 13:43:19 +01:00
merkurboard Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
native-border-router added run.sh and flash.sh 2014-11-19 12:13:09 +01:00
pingtheplug initial upload 2014-11-19 13:43:12 +01:00
pir-sensor Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
powerbox Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
pwm-example Factor resources, fix time 2014-11-19 13:53:12 +01:00
rpl-border-router Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
servo-sensor Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
slip-radio Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
wallclock-time Factor resources, fix time 2014-11-19 13:53:12 +01:00
wirelessplug Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +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 compile all osd-examples 2014-11-19 13:38:38 +01:00

OSDOMOTIS

www.osdomotics.com

Plattform: osd-merkur