Niclas Finne
|
63e40d195e
|
Restore packetbuf before mac callback (earlier commit was accidental reverted)
|
2011-11-15 16:59:12 +01:00 |
David Kopf
|
8e47694597
|
Add RDC_CONF_HARDWARE_CSMA, RDC_CONF_HARDWARE_ACK, RDC_CONF_MCU_SLEEP, CONTIKIMAC_CONF_SHORTEST_PACKET_SIZE for use with hardware having those modes.
Default behaviour should be unchanged.
|
2011-11-14 12:02:47 -05:00 |
Niclas Finne
|
b01cbb996d
|
Fixed to restore packetbuf before mac callback
|
2011-10-21 17:52:31 +02:00 |
simonduq
|
a2073db715
|
Removed ContikiMAC burst dependency to phase optimization
|
2011-10-04 10:29:40 +02:00 |
Joakim Eriksson
|
e0ae036a69
|
added static on the list send functions to get less compiler errors with IAR compiler
|
2011-10-03 15:17:30 +02:00 |
simonduq
|
dd8576830e
|
Added bursts support in CSMA/ContikiMAC, and CFS-swapping in
queuebuf. Exemplified in examples/udp-stream.
|
2011-09-27 16:47:03 +02:00 |
Adam Dunkels
|
61ef9b6fc3
|
Cleanup of the ContikiMAC code; removed the old an unused announcement code
|
2011-09-02 14:06:27 +02:00 |
Adam Dunkels
|
3cb42ceb10
|
Made the ContikiMAC header configurable from contiki-conf.h
|
2011-09-02 13:37:46 +02:00 |
Adam Dunkels
|
d6508cf3c0
|
Made the number of phase neighbors configurable
|
2011-08-31 20:54:21 +02:00 |
dak664
|
580efaa412
|
Fix compiler warning for unused variable
|
2011-05-18 11:22:25 -04:00 |
Salvatore Pitrulli
|
4fb433ac1f
|
'if' statement replaced by a preprocessor directive.
|
2011-05-12 21:50:47 +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 |
Adam Dunkels
|
733aaa546f
|
Made the number of MAC sequence numbers to remember configurable; fixed bug with power attribution to the idle state.
|
2011-02-21 14:11:32 +01:00 |
Adam Dunkels
|
46348d9013
|
Added the low-power streaming mode where frequent channel checks are performed when streaming is on. Enabling this will (by setting WITH_STREAMING to 1), however, significantly slow down Cooja/MSPsim simulations.
|
2011-02-08 21:57:46 +01:00 |
adamdunkels
|
d51e99a3dd
|
Updated streaming mode to use only about 20% radio. Made guard time more conservative due to problem report by Ricklef Wohlers.
|
2011-01-25 14:29:46 +00:00 |
adamdunkels
|
affba785b5
|
Enabled phase-lock only for channel check rates of 32 Hz or lower
|
2011-01-18 16:03:19 +00:00 |
adamdunkels
|
a0960154ba
|
Cleaned up parts of the code; added comments
|
2011-01-09 21:07:01 +00:00 |
adamdunkels
|
79f2c25dae
|
Rework of the phase-lock optimization mechanism. There were several bugs in the existing code, such as the phase-lock would lose synchronization when a packet was lost.
|
2010-12-16 22:43:07 +00:00 |
adamdunkels
|
af21afa750
|
Make sure that the cycle timing is exact
|
2010-12-10 13:36:06 +00:00 |
adamdunkels
|
c19a967973
|
Bugfix: with the recent bugfixes, it was no longer possible to turn duty cycling back on after it had been turned off
|
2010-12-07 23:12:54 +00:00 |
adamdunkels
|
4c9793f428
|
Let ContikiMAC remember the state that the radio should have when duty cycling is turned off. This fixes a bug in which the radio was turned on after sending, even when NETSTACK_RDC.off(0) was enabled.
|
2010-12-06 09:08:22 +00:00 |
adamdunkels
|
b7df18a96a
|
Turned off streaming by default to save code space; made guard time a little more conservative
|
2010-11-02 11:00:08 +00:00 |
adamdunkels
|
73f5535754
|
Made the guard time slightly more conservative - found an occasion where this was needed
|
2010-10-24 21:06:17 +00:00 |
adamdunkels
|
9cb830ed37
|
Timing bugfix in the waiting period between channel samples to check if the coast is clear before sending a packet.
|
2010-10-20 22:25:24 +00:00 |
adamdunkels
|
ceebd7020a
|
Bugfix: the return value sometimes was wrong when a collision was detected.
|
2010-10-03 20:39:24 +00:00 |
adamdunkels
|
3c735fcea4
|
Added a packetbuf flag that indicates if the link layer acks should be used or not
|
2010-04-30 07:25:51 +00:00 |
nifi
|
85d6f6c514
|
removed unused variable
|
2010-04-26 22:41:50 +00:00 |
nifi
|
b26f45a35b
|
code cleanup
|
2010-04-26 17:55:11 +00:00 |
nifi
|
d761b6e89a
|
Added MAC header to handle padding
|
2010-04-26 17:46:21 +00:00 |
nifi
|
14b1bb9f57
|
Fixed to only use leds when DEBUG is set
|
2010-04-20 11:41:16 +00:00 |
adamdunkels
|
3670fac618
|
Bugfix: timing fixed
|
2010-04-08 18:23:24 +00:00 |
adamdunkels
|
91ff8574ad
|
Improved handling of duplicate packets
|
2010-04-08 09:32:56 +00:00 |
adamdunkels
|
497111bcc9
|
Added an optional rate limit for broadcast transmissions
|
2010-04-06 11:57:43 +00:00 |
adamdunkels
|
e06a30fdb0
|
Added MAC-layer duplicate message suppression, which is very helpful when running with duty cycling turned off
|
2010-04-05 19:28:07 +00:00 |
adamdunkels
|
a4c328785a
|
Small timing tweaks
|
2010-04-04 21:01:24 +00:00 |
adamdunkels
|
62039a530d
|
Removed non-existant cooja-debug.h include
|
2010-04-04 12:31:47 +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
|
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
|
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
|
6ae86d001d
|
made number of phase neighbors configurable
|
2010-04-01 17:17:36 +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
|
b43f7830b3
|
Fine-tuned the timing and phase lock optimization
|
2010-03-31 20:27:15 +00:00 |
adamdunkels
|
877eb2fbe9
|
Fiddled with the timing
|
2010-03-31 11:54:38 +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
|
226abb8ec3
|
Removed non-existant include file
|
2010-03-29 22:10:03 +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
|
49009e9cbd
|
Extend the length of announcement packets if they are too short
|
2010-03-19 13:24:58 +00:00 |
adamdunkels
|
115b3a7c5c
|
Minor timing bugfix: the time between channel checks should not include the time required for the channel check itself
|
2010-03-17 18:24:06 +00:00 |
adamdunkels
|
efeb9944fa
|
Increase the required non-activity periods before turning off the radio; remove the strict phase requirement (which messes up things with low-power streaming)
|
2010-03-17 16:35:52 +00:00 |
adamdunkels
|
b1feac5a00
|
Bugfixes in low-power streaming mode, and re-added support for announcements. These now use the low-power streaming mode so that active listening for announcments have a radio duty cycle of 16% rather than 100%
|
2010-03-16 18:11:13 +00:00 |