Commit Graph

5094 Commits

Author SHA1 Message Date
adamdunkels
d7457bc340 Improved parent management: parent neighbor is retained until a better neighbor is found (with 1 ETX less than parent). Don't drop parent neighbors when loop is detected (loops are transient anyway). 2010-04-01 10:03:19 +00:00
adamdunkels
add426de4b Bugfixed stream mode: node listens 100% for 0.5 seconds in stream mode. Naming change: is_listening changed is_snooping. 2010-04-01 10:02:04 +00:00
adamdunkels
5b121b4829 Set stream bit only on non-FIN TCP segments 2010-04-01 10:01:01 +00:00
adamdunkels
b43f7830b3 Fine-tuned the timing and phase lock optimization 2010-03-31 20:27:15 +00:00
joxe
02dc04cc6a improved CC2420 emulation 2010-03-31 20:11:03 +00:00
adamdunkels
c9ca5d61e2 Rewrote the pending_packet() function to check the FIFOP pin instead of the 'pending' variable - works must better on real hardware and is now supported by the latest mspsim 2010-03-31 19:08:56 +00:00
fros4943
170e4d6a99 sky simulation bug workaround: explicit write to compare register wakes up timer scheduling again 2010-03-31 13:15:32 +00:00
adamdunkels
4e33112d3e Guard against malformed broadcast announcements 2010-03-31 12:17:24 +00:00
adamdunkels
52ad0008dc Bugfix 2010-03-31 11:55:04 +00:00
adamdunkels
877eb2fbe9 Fiddled with the timing 2010-03-31 11:54:38 +00:00
fros4943
c21ff48788 ip forwarding only for ipv4 2010-03-31 10:22:33 +00:00
fros4943
c2354a5797 changed cooja platform default uip4 configuration to use uip_over_mesh with a slip gateway 2010-03-31 09:39:46 +00:00
fros4943
3bd07ea55a bugfix: refresh correct source route
+
refreshing gateway route whenever data is received via a gateway
2010-03-31 09:38:42 +00:00
fros4943
70ab82761b test now also includes multi-hop pinging (uip_over_mesh), up to 4 hops 2010-03-31 09:35:01 +00:00
oliverschmidt
8dd2b75383 Explicitly set CBM filetypes (PRG, USR). 2010-03-31 06:05:37 +00:00
adamdunkels
4447782ab4 Print out a stack trace when a node reboots because of the watchdog 2010-03-30 23:02:23 +00:00
adamdunkels
bcfa80102d Had previously not included the waiting time that the CC2420 introduces when sending a packet. Also increased the smallest packet size, just to be on the safe side. 2010-03-30 23:01:32 +00:00
adamdunkels
4d5f112960 New return value for invidating a link-layer collision 2010-03-30 23:00:22 +00:00
adamdunkels
5e7f99a2c0 Reverted the removal of the code that checked the FIFOP pin before reading a packet - checking FIFOP is the correct way to do it. Also added TXONCCA for now, including new radio.h return values to indicate a link-layer collision. 2010-03-30 23:00:05 +00:00
adamdunkels
226abb8ec3 Removed non-existant include file 2010-03-29 22:10:03 +00:00
adamdunkels
ac172a5575 Turn off LPM mode for clock interrupts to avoid rtimer wrapping during extended LPM 2010-03-29 21:53:32 +00:00
adamdunkels
4e3268e2e2 Added function that removes the header 2010-03-29 21:53:04 +00:00
adamdunkels
4c3b69dc07 Configuration parameter for number of MAC-layer retransmissions 2010-03-29 21:52:25 +00:00
adamdunkels
9c58768b59 Extend packet size after creating 802.15.4 header; prepare radio chip with packet before waiting for neighbor phase to make phase wait time deterministic 2010-03-29 21:51:36 +00:00
adamdunkels
b4b7e942b6 Back off a guard time for every non-ack packet 2010-03-29 21:50:01 +00:00
adamdunkels
1241aa34d0 Added a function powertrace_print() that prints out the current power trace 2010-03-29 21:49:07 +00:00
oliverschmidt
315e446584 Adjusted formal parameter to single existing actual parameter. 2010-03-29 20:26:14 +00:00
fros4943
bb7944a201 workaround to survive the bad characters that are sometimes printed by mspsim-based motes + make clean before compilation 2010-03-29 14:14:09 +00:00
fros4943
6460bc1214 old compilation flag WITH_NULLMAC=1 was replaced by netstack's nullmac_driver and nullrdc_Driver 2010-03-29 13:00:15 +00:00
fros4943
e640c61b78 commented unused functions 2010-03-29 12:57:57 +00:00
fros4943
e7c6002432 neighbor.h was removed 2010-03-29 12:48:39 +00:00
fros4943
0fcbfae836 updated function: has_value argument was missing 2010-03-29 12:13:35 +00:00
fros4943
e3e69afd15 changed to ds6 module, instead of obsolete netif module 2010-03-29 11:52:08 +00:00
fros4943
671629dea0 moved packet_sent function, it was in a HC06-specific unit 2010-03-29 11:48:09 +00:00
fros4943
b952f97799 stopping watchdog during find_file 2010-03-29 11:31:35 +00:00
fros4943
f228272cfc test update: contiki shell prompt was changed 2010-03-29 10:52:22 +00:00
fros4943
9dfce4bea1 removed bad uip-netif.h include 2010-03-29 10:43:03 +00:00
fros4943
d84f84de52 bugfix: using MspMoteTimeEvent:s to ensure that MSPSim's internal clock is correct when button is clicked 2010-03-29 10:18:14 +00:00
fros4943
4d0147dd18 removed bad neighbor.h include 2010-03-29 09:50:44 +00:00
fros4943
540f30d855 improved support for checkpointing operations via serial, several minor fixes 2010-03-29 09:48:06 +00:00
nifi
8ecdb07dcf Updated to new collect router API 2010-03-29 09:33:20 +00:00
fros4943
9316b31d9a shell command 'ps' was removed from sky-shell.c, instead using 'echo' in test 2010-03-29 09:20:47 +00:00
oliverschmidt
54e19782ae Moved PFS header from Apple2 directory to 6502 directory as we're going to have other PFS implementations. 2010-03-27 15:16:57 +00:00
oliverschmidt
6769e6a99f - Moved PFS header from Apple2 directory to 6502 directory as we're going to have other PFS implementations.
- Completed declarations.
2010-03-27 14:46:08 +00:00
joxe
bd6cd03c1d moved prefix to avoid compiler warning 2010-03-26 15:12:57 +00:00
fros4943
90f174509b removed previous workaround for already fixed bug in CC2420 CRC 2010-03-26 13:33:40 +00:00
nifi
9508d2c4d7 * Added configurable default number of transmissions for CSMA to use when not specified using packetbuf attributes (CSMA_CONF_MAX_MAC_TRANSMISSIONS).
* Renamed packetbuf attribute PACKETBUF_ATTR_MAX_MAC_REXMIT to PACKETBUF_ATTR_MAX_MAC_TRANSMISSIONS where value 0 (attribute not set) means that default number of transmissions should be used.
2010-03-26 12:29:29 +00:00
fros4943
ce5d19fefd moved elf loading and debugging info to the mote type, rather than keeping a separate refence in each mote. this patch reduces both the memory usage of MSPSim-based motes, and the processing time to load them 2010-03-26 12:29:11 +00:00
joxe
bec1ccc57d added support for all UDP port compressions in hc06 2010-03-26 10:28:51 +00:00
nifi
e6a8ba41fd Added consumer thread timeout 2010-03-26 10:11:50 +00:00