[Tinyos-help] a small bug in TOSSIM Live

2010-03-07 Thread Yang Peng
Hi all, I found a small bug in /tossim/sf/sim/SerialActiveMessageC.nc. If you have already found it, please just ignore this mail. In function sim_event_t* allocate_serial_deliver_event(int node, message_t* msg, sim_time_t t), the code is like evt-data = msg;, this pointer copy may not work

[Tinyos-help] when is event Send.sendDone in AMSenderC actually triggered?

2010-03-07 Thread Xiaohui Liu
Hi, I tried to track down to the point where Send.sendDone in AMSenderC is triggered, which is the component used to send AM packet. And I end up with a trace of components: AMSenderC - AMQueueEntryP - AMQueueP - AMQueueImplP - ActiveMessageC - CC2420ActiveMessageC - CC2420ActiveMessageP -

[Tinyos-help] changing channel with IPBaseStation

2010-03-07 Thread Peng Du
Hello all, I am looking at the IPBaseStation application. Since driver under $TOSROOT/support/sdk/c/blip/driver (specifically serial_tun.c) allows the channel to be changed dynamically, is there any way that I can inform the motes about change? Many thanks.