Commit graph

5312 commits

Author SHA1 Message Date
adamdunkels 62039a530d Removed non-existant cooja-debug.h include 2010-04-04 12:31:47 +00:00
adamdunkels 5af47a2f0c Latest SVN version of MSPsim 2010-04-04 12:31:05 +00:00
adamdunkels e60afb0888 Updated to latest collect-neighbor API 2010-04-04 12:30:39 +00:00
adamdunkels 5eb22ad289 Print out stack pointer when rebooting node 2010-04-04 12:30:10 +00:00
adamdunkels 0ed236e774 Bugfix: the clock interrupt now flushes the energy estimator to avoid overflow of the LPM mode 2010-04-04 12:29:50 +00:00
adamdunkels 7d6ff0289e Fiddled more with the timing: the phase seems stable now at least. Still bugs left though... 2010-04-04 12:28:29 +00:00
adamdunkels 1fa81eac59 Print out the name of the radio duty cycling mechanism instead of the MAC 2010-04-04 12:27:31 +00:00
adamdunkels be117afe04 After a lot of tweaking and twiddling with the timing of the ContikiMAC code and the mechanisms in the CC2420 driver, things seem to work somewhat stable now - knock on wood! 2010-04-04 07:49:30 +00:00
adamdunkels a637ddaf4e Flush the rxfifo when turning off the radio instead of when turning it on. This seems to fix a bug that was seen in mspsim and seemed to appear on real hardware too. 2010-04-03 16:01:00 +00:00
adamdunkels 83eaa70f03 Added pending flag 2010-04-03 13:34:20 +00:00
adamdunkels 121ca946e1 Improved phase lock behaviour when neighbor is not duty cycling: senders notify receivers via the 802.15.4 pending bit that they are not duty cycling. Neighbors then will start sending packets immediately and not wait for neighbors' phase. Tweaking of ContikiMAC timers to make it more reliable. 2010-04-03 13:28:30 +00:00
joxe 3a286c4f93 improved tunslip6 with support for debug printouts and configuration of IPv6 address 2010-04-02 18:17:20 +00:00
joxe df4247f0c6 slightly improved timing on CCA/RSSI in the CC2420 emulation 2010-04-01 18:15:05 +00:00
joxe 6ae86d001d made number of phase neighbors configurable 2010-04-01 17:17:36 +00:00
fros4943 2595d31367 updated collect test: bigger network (50), more hops, bugfixed duplicate detection 2010-04-01 12:22:39 +00:00
fros4943 59357e8b75 PRINTF():ed debugging output 2010-04-01 11:08:36 +00:00
adamdunkels cc11c9d3f2 Added missing #define 2010-04-01 10:56:00 +00:00
adamdunkels a8d8b6d31d 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:45:21 +00:00
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