Commit graph

7021 commits

Author SHA1 Message Date
adamdunkels 69a5b67523 Updated netsim to new netstack API 2010-02-23 18:44:08 +00:00
adamdunkels 08f06d8039 Updated to new sensors API 2010-02-23 18:43:43 +00:00
adamdunkels 757ca59511 Added netstack init to native platform 2010-02-23 18:43:21 +00:00
adamdunkels ebea184116 Added netstack config for CC2420 radio driver, and also for cxmac RDC layer (which is not confirmed if it runs on real hardware, only tested in simulation) 2010-02-23 18:42:41 +00:00
adamdunkels 465125c5e7 Added support for 32-bit clock ticks: when reading the 32-bit value, make sure that it does not change between readouts to avoid reading right in the middle of it being updated 2010-02-23 18:41:20 +00:00
adamdunkels 50e1452564 Ugly workaround for internal error in mspgcc when applying the >= operator to two 32-bit values 2010-02-23 18:40:08 +00:00
adamdunkels 0c4c88ae66 Improved per-packet power profiling: if a packet is retransmitted, the new energy is added to the old energy so that it is possible to measure the full energy for all transmissions of the packet 2010-02-23 18:39:00 +00:00
adamdunkels ca0417a923 Added the MAC layer callback functionality so that the Rime network layer gets information from the MAC about the status of sent packets: were they successfully transmitted, or was there a collisions? How many retries were there? 2010-02-23 18:38:05 +00:00
adamdunkels f10eedab3e Added debug printout 2010-02-23 18:37:15 +00:00
adamdunkels 2d13fecea7 Improved backoff management: timer is now doubled on every transmission, until the using module calls the neighbor_discovery_start() function again. Don't cancel the transmission even if a lower value arrives (this fixes a problem with multi-hop ETX propagaion). 2010-02-23 18:36:50 +00:00
adamdunkels 0eade2886c Better loop handling: when a loop is detected, the neighbor to which the packet was originally sent gets an inflated ETX; made sure that collect without announcments work; increased timeouts, to work nicer in larger networks 2010-02-23 18:35:23 +00:00
adamdunkels a4d9d6651b Added the option to specify the old value to observers so that they can determine if the announcement should be sent out quicklier than otherwise 2010-02-23 18:32:44 +00:00
adamdunkels b746b7fc06 Reworked the Rime/Chameleon interface so that packets now always hit Rime before Chameleon. Chameleon is now only called by Rime. This makes packet sniffing easier, and allows for sniffing packets after their header has been processed by Chameleon, thereby making per-packet power profiling much easier to implement 2010-02-23 18:29:53 +00:00
adamdunkels d8cce42d28 Set the default radio driver to nullradio 2010-02-23 18:28:04 +00:00
adamdunkels 47578806b5 Removed semicolon from #define to allow the semicolon to be placed naturally after the macro is used 2010-02-23 18:27:04 +00:00
adamdunkels 4b04fdd328 Minor style fix 2010-02-23 18:26:26 +00:00
adamdunkels 1ee32c3074 Removed non-functional time synchronization code; added some experimental code for CCA checks (enabled CCA mode 1, a temporary development function for setting the CCA threshold); enable the possibility to switch off radio even if a packet is currently arriving 2010-02-23 18:24:49 +00:00
adamdunkels c4c4e8164d Enabled compilation without timesynch enabled 2010-02-23 18:22:44 +00:00
adamdunkels 2186d70c59 Added per-packet power profile tracing 2010-02-23 18:22:16 +00:00
adamdunkels 5292005962 A null radio driver that does not do anything - useful in the native port and as a template for new radio drivers 2010-02-23 18:18:53 +00:00
dak664 e695e4860d Allow build with original radio driver using $make RF230BB=0 2010-02-23 17:43:20 +00:00
dak664 7274f1d1ed Report operating channel with either radio driver 2010-02-23 17:40:09 +00:00
dak664 4ded42db1e Add sniffer and 802 frame reporting 2010-02-23 17:37:51 +00:00
dak664 64d57a3dd8 Update jackdaw to new radio driver interface 2010-02-23 17:35:49 +00:00
dak664 a64a8674bc Remove debug print 2010-02-23 02:22:25 +00:00
dak664 b4bc7fc3da Make RF230BB the default radio driver 2010-02-23 02:01:46 +00:00
Mariano Alvira dcc2d5299c for now you must define BOARD.
I'd like it to be though that if board isn't defined then it makes
everything.
2010-02-22 19:18:48 -05:00
Mariano Alvira cad32b268b clean up more 2010-02-22 19:01:18 -05:00
Mariano Alvira e88fad5cdd put object files in OBJDIR 2010-02-22 18:58:45 -05:00
dak664 cbb8621e30 update to new driver format 2010-02-22 22:23:18 +00:00
dak664 658c35df11 remove debug printf 2010-02-22 22:21:15 +00:00
Mariano Alvira 8c6336ab52 fix linker flags 2010-02-22 12:38:25 -05:00
Mariano Alvira afb39de8df add new base makefile 2010-02-22 12:24:56 -05:00
Mariano Alvira 4a77cb7d76 this is working kind of correctly.
need to clean it up, get the different boards going and add in the lib
build.
2010-02-22 12:19:39 -05:00
Mariano Alvira 1759ff01a0 getting there... 2010-02-21 18:47:12 -05:00
Mariano Alvira 5adb6413d7 Hi Mar. 2010-02-21 17:34:27 -05:00
fros4943 dbd1cd7b08 show contiki stack trace in error dialog, not just print to console 2010-02-21 21:50:58 +00:00
Mariano Alvira 948478193e checkpoint 2010-02-21 10:25:22 -05:00
Mariano Alvira c4f6aa459e checkpoint -- reorganizing and fixing errors 2010-02-20 09:33:28 -05:00
adamdunkels 5e6fd67213 Powertrace: a program that periodically prints out the power consumption; suitable for experiments or simulations that want to measure power consumption 2010-02-20 14:15:45 +00:00
adamdunkels 60425aa355 ESB uses tr1001 radio 2010-02-18 23:53:21 +00:00
adamdunkels 0b2b7bcdba Removed inadvertedly left-over include file 2010-02-18 23:52:34 +00:00
adamdunkels fa4d4db329 Use the common netstack_init 2010-02-18 23:19:03 +00:00
adamdunkels 5cf3b83733 Common initialization code for the netstack 2010-02-18 23:15:26 +00:00
adamdunkels 927aa821c3 Updated to new MAC api 2010-02-18 23:10:06 +00:00
adamdunkels a2664054c5 Always include netstack.h 2010-02-18 23:09:30 +00:00
adamdunkels 459c550cbd Updated to match the new netstack api 2010-02-18 23:04:54 +00:00
adamdunkels 51980f0be4 CC2420_CONF_AUTOACK is now defined in contiki-conf.h 2010-02-18 23:03:36 +00:00
adamdunkels 953a8c2015 Turn off timer before updating - needed to avoid bugs in ContikiMAC - not 100% sure why 2010-02-18 22:15:54 +00:00
adamdunkels f49ebfe1c4 Temporarily disabled rime route udp because it breaks with newest MAC interfaces 2010-02-18 21:53:08 +00:00