[Tinyos-devel] Patches to FTSP and CC2420 for 32kHz sync and LPL functionality

Miklos Maroti mmaroti at math.u-szeged.hu
Wed Jun 17 15:41:09 PDT 2009


On Thu, Jun 18, 2009 at 12:37 AM, Thomas Schmid<thomas.schmid at ucla.edu> wrote:
> Hi Miklos,
>
> On Wed, Jun 17, 2009 at 3:25 PM, Miklos Maroti<mmaroti at math.u-szeged.hu> wrote:
>> Hi Thomas,
>>
>> One more thing:
>>
>>> - I added a eventTime field to the cc2420 metadata structure. This is
>>> necessary for LPL mode, since else the event time would get
>>> decremented every time a message gets sent out. we separately have to
>>> store this value in the metadata and can't reuse the eventtime field at
>>> the end of the data section (current implementation)
>>
>> That is not necessary. The radio driver should restore the event time
>> after it has sent it.
>>
>> Miklos
>>
>
> If that is the case, then the current CC2420 driver has to be fixed.
> It does definitely not restore the event time to the old value.

Agreed, it should be. (The RF230 does restore it, so you do not have
to "waste" 4 extra bytes in metadata).

Miklos


More information about the Tinyos-devel mailing list