That looks reasonable. Does it not work?
MS

Jim Fell wrote:
> Hello.  The last email I sent out got mangled by Outlook.  I apologize 
> for the inconvenience.  I’m new to TinyOS and nesC,  and I’m trying to 
> add some debug pulses to the stack, so that I can characterize the 
> processing overhead for a packet to be received and retransmitted.
> 
>  
> 
> Can I do something like this in the CC2420TransmitP module?
> 
>  
> 
> implementation {
> 
> …
> 
> uses GeneralIO as Twiddle -> GeneralIO.P23;
> 
> …
> 
>   command error_t StdControl.stop() {
> 
>     atomic {
> 
>       m_state = S_STOPPED;
> 
>       call BackoffTimer.stop();
> 
>       call CaptureSFD.disable();
> 
>       call SpiResource.release();   // REMOVE
> 
>       call CSN.set();
> 
>     }
> 
>    atomic {
> 
>      call Twiddle.set();
> 
>    }
> 
>     return SUCCESS;
> 
>   }
> 
>  
> 
> Or, any good examples for setting clearing pines would be good.  Any 
> suggestions would be appreciated.
> 
>  
> 
> Thanks,
> 
>  
> 
> -Jim
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to