Hi!

The rxFrameLength is the first byte of buf[] as specified in event RXFIFO.readDone() of CC2420ReceiveP.nc. m_p_rx_buf is a message_t* that points to the address of the received data. Packets are read out of the TXFIFO with respect to the current state of the "m_state" value. I am sure this is clear if you follow the CC2420ReceiveP.nc code from beginReceive() to RXFIFO.readDone() and finally, receiveDoneTask()

-John


Hi John,

Can you tell me how rxFrameLength is getting filled in CC2420ReceiveP. And what is the initial value of 'm_p_rx_buf ' when RXFIFO.readDone was happen and how it is getting filled for the first time when packet is received into RXFIFO.

Thank you.

One peek at MSN India brings you up to speed with what's hot in the world today Drag n' drop_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

------
JeongGil Ko (John)
Ph.D. Student
Department of Computer Science
Johns Hopkins University
http://www.cs.jhu.edu/~jgko

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to