My attempt at working on Contiki-OS