[Tinyos-help] Re : send packet

2010-04-29 Thread chikh omar
use message_t pkt as a global variable and it will work... ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5 Sfax. BP 88 A -

Re: [Tinyos-help] Re : send packet

2010-04-29 Thread Roberto Pagliari
what do you mean? packet is already global. here is the code: module NodeC @safe() { uses interface TimerTMilli as Timer0; uses interface Leds; uses interface Boot; uses interface Random; uses interface ParameterInituint16_t as SeedInit; uses interface Receive; uses interface

Re: [Tinyos-help] Re : send packet

2010-04-29 Thread Roberto Pagliari
never mind. I forgot to call AMstart in the boot sequence On Thu, Apr 29, 2010 at 3:24 PM, Roberto Pagliari robertodemed...@gmail.com wrote: what do you mean? packet is already global. here is the code: module NodeC @safe() { uses interface TimerTMilli as Timer0; uses interface Leds;