Commit graph

7213 commits

Author SHA1 Message Date
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
Fredrik Osterlind 85a4265f8c unregistering visualizer skin 2011-04-20 14:44:54 +02:00
Fredrik Osterlind 8fb744edb1 added clean button to compile dialog, added compilation tip tab for msp motes 2011-04-20 14:44:52 +02:00
dogan yazar 0b6f9c0e97 Bug fix by Kovatsch Matthias. 2011-04-17 22:50:28 +02:00
Oliver Schmidt d862e9dcfb Allow only one Telnet connection at a time.
As the session state management of Telnet server is a single static variable allowing more than one connection leads to inconsistencies.
2011-04-17 12:46:42 +02:00
Oliver Schmidt 831312e311 Some Telnet server enhancements:
- PETSCII sending support
- Option to customize shell prompt and banner
- Stop all running commands on shell close
- New 'exit' and 'quit' commands to close shell
2011-04-16 21:10:22 +02:00
Salvatore Pitrulli aa968309af Merge remote branch 'sf/master' 2011-04-16 16:27:10 +02:00
Niclas Finne 813489633c Added missing include 2011-04-15 15:49:43 +02:00
Salvatore Pitrulli 4ff82b76e5 Removed -fsigned-char GCC compiler options. 2011-04-14 08:12:11 +02:00
Salvatore Pitrulli 738c5dcd4b Files for platform mbxxx.
MBXXX is a fake platform that actually include
all the platforms based on STM32W108 microcontroller.
Detection of the board is made at runtime, at the
expense of code size.
2011-04-14 08:11:54 +02:00