Commit graph

25 commits

Author SHA1 Message Date
adamdunkels 2c5964ef55 Changed default transmission behaviour to be to send without checking for channel activity first (in anticipation of radio API change that adds a CCA function to the radio API). General code cleanup. Added optional timetable profiling. Added simple_cc2420_get_channel() function, changed simple_cc2420_set_chan_pan to simple_cc2420_set_pan since we now have a dedicated simple_cc2420_set_channel 2008-01-23 14:57:19 +00:00
fros4943 0c21c8893a bugfix: wait while *either* transmitting or unvalid rssi 2008-01-17 15:38:45 +00:00
nvt-se 8a38ffea87 added declaration for simple_cc2420_get_txpower. 2008-01-15 08:53:52 +00:00
nvt-se 057cd5ac05 no ENERGEST_ON_* macro needed for levels. 2008-01-15 08:52:16 +00:00
nvt-se c3653b96ce check if ENERGEST_CONF_LEVELDEVICE_LEVELS is set.
call ENERGEST_ON_LEVEL.
2008-01-15 08:33:02 +00:00
thiemovoigt 21c690ecae energy measurement support for TX power levels 2008-01-14 16:19:25 +00:00
adamdunkels 02ee418313 Moving timesynch.[ch] from sys/ to core/net/rime as they have more to do with Rime than with the kernel 2008-01-14 14:22:16 +00:00
adamdunkels d8e84abaae Made estimation of departure time better by locally measuring the average time per byte and adding this to the incoming timestamp. 2008-01-07 14:08:02 +00:00
adamdunkels c948c97b4f Fixed timestamping to support the simple implicit network time synchronization mechanism 2007-12-16 14:30:36 +00:00
adamdunkels d8617c7879 Added API for setting 802.15.4 channel and for measuring RSSI 2007-12-05 13:21:05 +00:00
adamdunkels 5e7cbff22a Fixed compiler warnings 2007-11-17 10:12:19 +00:00
adamdunkels c5d79e8aea Added contentiondrop rimestats when a packet couldn't be sent because of failing CCA check 2007-11-12 22:26:03 +00:00
adamdunkels 127503e2a6 waiting for valid RSSI bugfix, minor cleanup 2007-10-25 13:29:21 +00:00
adamdunkels 349274cb81 Turn off listen energy accounting when transmitting 2007-10-25 09:38:15 +00:00
adamdunkels a9e4287cbe Changed the energy estimation type ENERGEST_TYPE_RECEIVE to ENERGEST_TYPE_LISTEN to highlight that energy is spent on idle listening, not just the actual reception of packets 2007-10-25 09:30:39 +00:00
nifi ccf6bc4d9d moved ENERGEST_ON to actual transmission 2007-09-18 10:36:31 +00:00
nifi c12af56ad0 Turn off ENERGEST_TYPE_TRANSMIT if send error 2007-09-18 10:32:00 +00:00
adamdunkels f373c63532 Removed __ prefixes on symbols, which are reserved for C implementation; updated to new radio.h types 2007-05-25 08:06:15 +00:00
adamdunkels b8d586b210 Enabled dropping of packets with bad CRC. Added statistics gathering. Bugfix when packets where shorter than 2 bytes 2007-05-22 20:51:30 +00:00
adamdunkels af997a93e0 Moved a much code as possible away from interrupt handler; main thread code now do not need to disable interrupts. Added energy estimation code. Added radio driver structure. 2007-05-15 07:53:09 +00:00
adamdunkels 7ce8d3920a Added radio_on() and radio_off() functions 2007-04-03 19:05:44 +00:00
adamdunkels 96d8967673 Should subtract two bytes from the length to account for the two-bytes footer 2007-03-25 17:15:30 +00:00
adamdunkels bc25633fd9 Removed blinking LEDs 2007-03-22 23:55:48 +00:00
adamdunkels 1ab044e319 Corrected sending of two bytes footer 2007-03-21 23:19:15 +00:00
adamdunkels 638640113e A very simple CC2420 driver that can only send and receive raw packets. No extra CC2420 functionality is enabled or used. 2007-03-15 21:26:00 +00:00