Hello, a quick question. What is the return value of STXON.strobe() if radio is currently receiving a message?
The CC2420 datasheet says that it causes radio to enter TX state and can send, but seen from my experiments it does not.
Rgds,
Tie
On 11/6/06, Tie Luo <[EMAIL PROTECTED]> wrote:
Thank you.That is exactly what I thought, and hence I read the datasheet to confirm that. However the datasheet does not say so (pp26 of v1.2, pp28 of v1.4).If this is true, I wish chipcon to state this point clearly in their next datasheet release.I also noticed that in T1, only the second returned status is checked; the first returned status is ignored.So, if the radio is receiving a message prior to STXON.strobe() (no CCA), what happens?
Thanks a lot.Tie--On 11/6/06, Jonathan Hui <[EMAIL PROTECTED] > wrote:The status byte returned is the state just prior to the command
strobe. Thus, we are first checking first that the radio was not
transmitting, and then checking if the command strobe cause the radio
to begin transmitting.
--
Jonathan W. Hui
[EMAIL PROTECTED]
http://www.cs.berkeley.edu/~jwhui/
On 11/4/06, Tie Luo < [EMAIL PROTECTED]> wrote:
> I have been confused for a long time. Can anybody help?
>
> T2: CC2420TransmitP.nc void attemptSend():
>
> 1 status = m_cca ? call STXONCCA.strobe() : call STXON.strobe();
>
>
> 2 if ( !( status & CC2420_STATUS_TX_ACTIVE ) ) {
>
> 3 status = call SNOP.strobe();
>
> 4 if ( status & CC2420_STATUS_TX_ACTIVE ) congestion = FALSE;
> }
>
>
> My question is: Why read status twice?
>
> I have read the datasheet, and it does not tell the reason.
>
> Many thanks!
> --
> Regards,
> Tie
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>
Regards,
Tie
--
Regards,
Tie
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
