Commit graph

7026 commits

Author SHA1 Message Date
Niclas Finne e8a96dc202 Bug fix: update packet attributes in queued packets in CSMA instead of doing a full packetbuf copy after transmissions. The lower layers often add their own headers to packetbuf. 2011-06-15 16:10:07 +02:00
Joakim Eriksson 6a1469aeb2 Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki 2011-06-14 23:49:51 +02:00
Joakim Eriksson 1aad1e66c1 fixed bug in UDP packet handling 2011-06-14 23:46:38 +02:00
Nicolas Tsiftes ddd245ed15 Added streaming mode for page updates. Rewrote and removed some legacy code. Improved error checks and comments. 2011-06-14 17:12:15 +02:00
Nicolas Tsiftes 48e6e801c2 Removed redundant tokens at the end of preprocessor conditions 2011-06-10 17:44:48 +02:00
Nicolas Tsiftes ce909a97e6 Removed unread stack variable 2011-06-10 17:41:46 +02:00
Niclas Finne 4bac5ac7b9 updated to latest version of MSPSim with improved support for Dwarf 2011-06-09 01:29:59 +02:00
dak664 d6db9e4e86 Add project-conf.h to platform contiki-conf.h files.
Fix jackdaw comments.
2011-06-08 09:12:57 -04:00
Niclas Finne 154f971b2b collect_send() should return 0 if the packet could not be enqueued to be sent 2011-06-07 19:45:41 +02:00
Niclas Finne dc426d789b msp430.h has been merged with msp430def.h for code to compile with IAR compiler 2011-06-07 18:54:57 +02:00
Joakim Eriksson cfbcf8725c added line to parse when receiving UDP packets 2011-06-07 17:28:22 +02:00
Niclas Finne 86169177c5 Started on UDP server support for CollectView 2011-06-07 17:28:09 +02:00
Joakim Eriksson af601dfb23 improved support for IAR compiler for z1 2011-06-05 00:21:47 +02:00
Joakim Eriksson d980c0db16 added delays in CC2420 to avoid risk of configuring before CC2420 is powered on 2011-06-05 00:20:25 +02:00
Joakim Eriksson 966c21c744 Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki 2011-06-05 00:16:43 +02:00
Joakim Eriksson e511c6a930 added debug to sht11 driver and made it more configurable 2011-06-05 00:15:53 +02:00
Mariano Alvira 33b32c61e9 Only insert an ack packet if the ack request bit is set 2011-06-01 13:47:05 -04:00
Fredrik Osterlind 5636b019b3 enables sharing mote-specific properties 2011-05-31 12:51:01 +02:00
Salvatore Pitrulli 7043c25cd9 Bugfix in page layout for mb851-websense example. 2011-05-28 12:50:12 +02:00
Salvatore Pitrulli efffaac0ff Changed default size of uIP buffer and removed serial line input for mb851-websense example. 2011-05-28 12:50:10 +02:00
Salvatore Pitrulli f8b07cdf64 Added warning messages. 2011-05-28 12:50:08 +02:00
Salvatore Pitrulli dcd22c99a1 wpcapslip6 now works on Windows XP too (not only Vista or 7).
Added function for IP packet processing, that performs a translation of
link layer addresses inside IPv6 NAs from EUI-64 into EUI-48 format.
2011-05-28 12:50:06 +02:00
Mariano Alvira cb29a9c667 add leds and button capabilities to the econotag. 2011-05-27 11:01:54 -04:00
Mariano Alvira 97f70a2334 group light and leds together; use PLATFORM_HAS defines 2011-05-27 11:00:24 -04:00
Joakim Eriksson 77ec0bfa0f fixed the z1 platform and generic code used by z1 to work with IAR compiler 2011-05-25 17:21:51 +02:00
Oliver Schmidt c48f8fd39a Keep gcc 4.x from complaining about 'lvalue required as increment operand'. 2011-05-22 23:08:40 +02:00
Oliver Schmidt 4af9f534cc Added the Telnet server to the examples supported by cc65. 2011-05-21 23:24:55 +02:00
Oliver Schmidt baae42b2f8 Made DNS optional - just like the other web clients. 2011-05-21 22:33:18 +02:00
Oliver Schmidt d4f49fa204 Added explicit rejection of multiple connections.
Although a simple solution the recently introduced approach to just not listen to incoming connetions if there's already one has the downside that one doesn't know if a connection fails because the server is down or becuase there's a connection.
Therefore now connections are always accepted but after sending a message to the user and waiting a few seconds they are closed.
The appstate is used used in a somewhat unusual way here: The one and only "active" connection has an appstate of 0. For all other connections the appstate is initially set to 1. Then it is increased on every uIP poll until it reaches 10, which triggers the connection close. This somewhat hacky approach allows to keep track of the rejected sessions without any additional state variables and/or timers.
2011-05-21 21:03:04 +02:00
Oliver Schmidt 8c00be1a56 Minor beautification / optmization of prompt / banner custimization. 2011-05-21 20:52:00 +02:00
Oliver Schmidt 3d9771403e Merge remote-tracking branch 'origin/master' 2011-05-21 11:50:56 +02:00
Oliver Schmidt ff9dd0fce4 Improved shell banner / prompt customization.
Working with string-type macros on cmdlines is a pain in the nack so rather go for global string constants activated by simple flag-type macros.
2011-05-21 11:48:50 +02:00
Niclas Finne 374722b2e0 Added resource definition for leds and button 2011-05-20 14:27:53 +02:00
dak664 3cde7e58e3 Format debug packet output for Wireshark import, as default. 2011-05-18 12:48:02 -04:00
dak664 580efaa412 Fix compiler warning for unused variable 2011-05-18 11:22:25 -04:00
dak664 55c1ce6e93 Fix ip4 hello-world build 2011-05-18 11:09:16 -04:00
nvt e00508472c Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki 2011-05-03 18:18:50 +02:00
nvt 15ee0a6414 Send No-Path DAOs correctly. 2011-05-03 17:50:24 +02:00
Joakim Eriksson 3fa8da5ddf fixed IAR compilation paths 2011-05-02 15:19:28 +02:00
Adam Dunkels dfaf4afc8e Rime sniffers must be called for all transmissions, even if they failed, to get energy attribution right. This means that rime output sniffers now also must take the MAC transmission status as an argument. 2011-05-02 15:06:34 +02:00
Zhitao He cae8ef206a fixed excessive retransmissions of junk packets after runicast timeout
fixed stuck packet ID for next packet after runicast timeout
2011-04-27 19:12:46 +02:00
Salvatore Pitrulli 6e20a4c0ce Added missing include. 2011-04-27 18:12:23 +02:00
Salvatore Pitrulli 5eabf33211 Added functions for deep sleep to mbxxx platform. 2011-04-27 18:12:23 +02:00
nvt 4b5d380c74 Announce MAX_PATH_COST if we don't have a preferred parent. 2011-04-25 22:37:25 +02:00
Mariano Alvira d80449244d Merge remote branch 'libmc1322x/master' 2011-04-20 21:23:47 -04:00
Mariano Alvira 41d0c7a7da fix channels 8 and 11, VCODivI table was incorrect. 2011-04-20 21:20:55 -04:00
Salvatore Pitrulli 01a7a78a94 Fixed temperature ADC conversion bug on mbxxx.
The conversion was made from an incorrect source when
the GPIO pin was not PB7.
Added functions and macros used to select the correct
ADC channel.
2011-04-20 18:06:20 +02:00
Fredrik Osterlind faf2943e02 simplified mote selection in visualizer skins 2011-04-20 14:44:58 +02:00
Fredrik Osterlind b34e92dfba removed incorrect visualizer skin registration 2011-04-20 14:44:56 +02:00
Fredrik Osterlind 85a4265f8c unregistering visualizer skin 2011-04-20 14:44:54 +02:00