Not sure if the error is ever FAIL.  It's generated from the underlying
platform's SPI driver, not the CC2420 chip.  The error code is always
SUCCESS in writeDone() from my experience.

 

-David

 

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paolo
Sent: Friday, May 16, 2008 9:15 AM
Cc: [email protected]
Subject: Re: [Tinyos-help] About TXFIFO.writeDone

 

Explaining better.......

the error_t == FAIL  When can occur (What could have happened in FIFO) ? 

Paolo wrote: 

Hello
A question about TXFIFO.writedone provided by CC2420TransmitP.

async event void TXFIFO.writeDone( uint8_t* tx_buf, uint8_t tx_len, error_t
error ) 

What values can take the error_t variable ?

Thanks 

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

Reply via email to