[Tinyos Core WG] TEP105: LowPowerListening Duty Cycles
Janos Sallai
sallai at isis.vanderbilt.edu
Wed May 14 13:38:26 PDT 2008
>> I think TEP 105 should redefine the semantics of cancel, without the
>> clause that requires that the packet is not transmitted yet (or with
>> an error code different than ECANCEL in sendDone?).
>[..]
>If it
>is using XMAC-style cyclic sending, then it must return FAIL on
>cancel(), but can signal an early sendDone() with SUCCESS. The packet
>did go out over the air; the chances the receiver got it are much
>lower than if the complete send cycle occurred, but they are non-zero.
Yes, this is in sync with TEP 116. But this implies that a cancel that
returns FAIL does have an effect on the behavior of the radio stack,
which is a bit counterintuitive. Anyway, this appears to be the best
solution so far.
Janos
More information about the Tinyos-2.0wg
mailing list