Commit graph

7222 commits

Author SHA1 Message Date
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 14e06a0f42 Added some code to avoid the generation of pcap files starting directly with a
payload
2011-06-02 07:27:21 -04: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
Mariano Alvira 0becce7f00 adc data.
Documents about 2.7% gain error and 8 code offset.

Also documents flattening out at the region near VrefH.
2011-05-25 10:50:59 -04:00
Mariano Alvira be19096937 add index option to burn-mac and changes burn-macs to use burn-mac. 2011-05-23 13:46:41 -04: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
Mariano Alvira 0d1cc63b04 add xtal trimming program 2011-05-17 16:26:03 -04:00
Mariano Alvira e9ddca37e2 set UART function without clobbering the entire func_sel register. 2011-05-14 21:14:43 -04:00
Mariano Alvira 20bb355edd add GPIO defs for all the boards. 2011-05-06 19:58:44 -04:00
Mariano Alvira 1f99a4cdd6 Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x 2011-05-06 12:13:41 -04:00
Mariano Alvira 942590a840 don't call usleep when the delays are zero 2011-05-06 12:13:34 -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
Mariano Alvira b79cba9d7f don't do the autoack delay on RX if promiscuous --- this allows a
sniffer to catch 802.15.4 acks.
2011-04-30 15:24:10 -04: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