Commit Graph

7005 Commits

Author SHA1 Message Date
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
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
Salvatore Pitrulli
0105057c44 Removed unwanted file. 2011-04-14 08:10:58 +02:00
Salvatore Pitrulli
80605d4045 Change from DEV to PORT in login command for mb851.
DEV variable was already used in Makefile.include.
2011-04-14 08:07:15 +02:00
Salvatore Pitrulli
0a0ad39c9b Added weak symbols for STM32W exception handlers and other minor updates for the HAL. 2011-04-14 08:06:13 +02:00
Salvatore Pitrulli
57163c616d Removed some warnings. 2011-04-14 08:05:21 +02:00
Salvatore Pitrulli
774ac10bca Added Makefile.target for mb851. 2011-04-14 08:01:49 +02:00
Salvatore Pitrulli
af8e58e063 Set LED pins to output when MB851 is in sleep mode.
This reduces power consumption.
2011-04-13 18:14:12 +02:00
Adam Dunkels
74f1754d88 Bugfix: energy consumption for retransmissions was miscounted 2011-04-13 14:10:39 +02:00
Adam Dunkels
af4ce9ba9e Bugfix: idle power consumption was sometimes misestimated for transmissions, when a duty cycle rtimer fired in the middle of a transmission 2011-04-13 14:10:02 +02:00
dogan yazar
31a14c3d90 Commented periodic resource related stuff for the sake of small code print and added minimal-net configuration in README. 2011-04-13 00:07:47 +02:00
Oliver Schmidt
78f7a74689 Merge remote-tracking branch 'origin/master' 2011-04-12 14:14:45 +02:00
Oliver Schmidt
07f3df45be Converted scope-local variables into function-local variables.
The 6502-specific LC implementation doesn't allow for scope-local vaiables between PT_BEGIN/PROCESS_BEGIN/PSOCK_BEGIN and PT_BEGIN/PROCESS_END/PSOCK_END.
2011-04-12 14:12:09 +02:00
Niclas Finne
61fa812351 Added missing separators in Javascript. Fixed sensors web page to use the right Javascript function to reload sensor data. 2011-04-12 08:15:29 +02:00
Niclas Finne
6facc252a2 Updated to latest collect-neighbor API 2011-04-12 07:54:05 +02:00