Commit Graph

14 Commits

Author SHA1 Message Date
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
joxe
365db27f92 moved CC2420 configuration into the conf file 2010-06-22 06:48:43 +00:00
ksb
292e69a468 Missing file 2009-07-11 15:23:24 +00:00
ksb
3c3714c178 Use IP over Rime 2009-07-11 15:07:59 +00:00
ksb
88669e1675 Test application for USB mass storage 2009-07-11 14:53:02 +00:00
ksb
6441821fc3 Forgot to add this file 2007-09-01 11:17:25 +00:00
ksb
73dfa52324 Changes IP address so it won't collide with the Tmote. 2007-09-01 10:09:11 +00:00
ksb
2bbf074f39 Added a gateway application the routes between SLIP on USB and the radio. 2007-09-01 10:06:05 +00:00
ksb
e55dbe433b Build system improvements. 2007-08-21 09:06:23 +00:00
oliverschmidt
e7bc74a9d0 Changed packet drivers from services to plain processes.
Now tcpip_output() is a function pointer that is supposed to be set via the macro tcpip_set_outputfunc(). Packet drivers do so on process startup.

Thus if there are several packet drivers in a Contiki system the one started last is the one actually used. This behaviour is especially useful for the 'IP forwarding' "meta" packet driver.
2007-05-26 23:12:56 +00:00
ksb
7c8665fb89 Padded struct codeprop_tcphdr to 4 bytes, to get around different
alignment on different platforms.
2007-03-18 13:15:00 +00:00
ksb
6a184e0897 Added codeprop loading to RAM.
Moved some stepper code to Thumb so it could be dynamically linked to.
2007-03-07 16:15:00 +00:00
ksb
5af5a5a9a5 Fixed error in calculation of future speed 2007-02-24 15:26:02 +00:00
ksb
20eaa31eff Platform specific code for a robot using stepper motors. 2007-02-24 00:21:16 +00:00