[Tinyos-devel] cc2420 radio stack and deputy

Vlado Handziski handzisk at tkn.tu-berlin.de
Mon Jun 23 14:17:31 PDT 2008


Have you checked if the fixes have effects on the components involved in
transparent sending of 802.15.4 frames over serial?

Vlado

On Mon, Jun 23, 2008 at 22:48, David Gay <dgay42 at gmail.com> wrote:

> On Fri, Jun 20, 2008 at 4:01 PM, David Gay <dgay42 at gmail.com> wrote:
> > - First, in CC2420TransmitP.nc, m_msg was used in a bunch of places
> > where it could be null (just after boot). I added the obvious if's to
> > deal with that.
> >
> > - Second, the lower-levels of the CC2420 radio stack were passing the
> > total packet length (well, the value of the packet's length byte
> > actually) as the payload length, which caused a runtime error for
> > packets where payload-size + header-size > max-payload size. As I
> > couldn't see any good reason why this was being done, I propose the
> > following patch which passes the correct payload length in
> > CC2420ReceiveP. There was also a symmetric misuse of the length in the
> > send path (starting in CC2420ActiveMessageP), which this patch also
> > fixes:
>
> No objections?
>
> David
> _______________________________________________
> Tinyos-devel mailing list
> Tinyos-devel at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20080623/58a60714/attachment.htm 


More information about the Tinyos-devel mailing list