Smart supermarket toy implementation for Networked Embedded Systems exam on Launchpad CC2650 with contiki-ng
Go to file
adamdunkels 5585d72c86 A simple but substantial change: uIP used the htons()/HTONS() macro
functions for converting between host and network byte order. These
names are the de facto standard names for this functionality because
of the original BSD TCP/IP implementation. But they cause problems for
uIP/Contiki: some platforms define these names themselves (Mac OS,
most notably), causing compilation problems for Contiki on those
platforms.

This commit changes all htons to uip_htons instead. Same goes for
htonl, ntohs, and ntohl. All-caps versions as well.
2010-10-19 18:29:03 +00:00
apps A simple but substantial change: uIP used the htons()/HTONS() macro 2010-10-19 18:29:03 +00:00
backyard A simple but substantial change: uIP used the htons()/HTONS() macro 2010-10-19 18:29:03 +00:00
core A simple but substantial change: uIP used the htons()/HTONS() macro 2010-10-19 18:29:03 +00:00
cpu A simple but substantial change: uIP used the htons()/HTONS() macro 2010-10-19 18:29:03 +00:00
doc A simple but substantial change: uIP used the htons()/HTONS() macro 2010-10-19 18:29:03 +00:00
examples A simple but substantial change: uIP used the htons()/HTONS() macro 2010-10-19 18:29:03 +00:00
platform A simple but substantial change: uIP used the htons()/HTONS() macro 2010-10-19 18:29:03 +00:00
tools A simple but substantial change: uIP used the htons()/HTONS() macro 2010-10-19 18:29:03 +00:00
Makefile.include Moved the modules packetbuf, queuebuf, and packetqueue from net/rime to net/, since they are not Rime-specific 2010-06-14 19:19:16 +00:00
README README 2007-03-29 23:42:18 +00:00
README-BUILDING Add some info on the DEFINES= / savedefines mechanism. 2008-06-12 22:13:59 +00:00
README-EXAMPLES Added CTK standalone FTP client example. 2010-10-16 10:36:20 +00:00

README

Contiki is an open source, highly portable, multi-tasking operating
system for memory-constrained networked embedded systems written by
Adam Dunkels at the Networked Embedded Systems group at the Swedish
Institute of Computer Science.

Contiki is designed for embedded systems with small amounts of
memory. A typical Contiki configuration is 2 kilobytes of RAM and 40
kilobytes of ROM. Contiki consists of an event-driven kernel on top of
which application programs are dynamically loaded and unloaded at
runtime. Contiki processes use light-weight protothreads that provide
a linear, thread-like programming style on top of the event-driven
kernel. Contiki also supports per-process optional preemptive
multi-threading, interprocess communication using message passing
through events, as well as an optional GUI subsystem with either
direct graphic support for locally connected terminals or networked
virtual display with VNC or over Telnet.

Contiki contains two communication stacks: uIP and Rime. uIP is a
small RFC-compliant TCP/IP stack that makes it possible for Contiki to
communicate over the Internet. Rime is a lightweight communication
stack designed for low-power radios. Rime provides a wide range of
communication primitives, from best-effort local area broadcast, to
reliable multi-hop bulk data flooding.

Contiki runs on a variety of platform ranging from embedded
microcontrollers such as the MSP430 and the AVR to old
homecomputers. Code footprint is on the order of kilobytes and memory
usage can be configured to be as low as tens of bytes.

Contiki is written in the C programming language and is freely
available as open source under a BSD-style license. More information
about Contiki can be found at the Contiki home page:
http://www.sics.se/contiki/