Hello all , can someone tell me how we can work on sending multiple msgs in TinyOS2.0 ? I tried both the SerialAmSenderC and the AMSenderAMC component for this both of them transmit just one msg and the next ones fail what I need is for a send to be done every time some function calls are executed and some processing is done
I tried giving multiple instances of the interface used as in interface SerialAmSenderC as s1, s2 and s3 for 3 sends respectively but here also the s2 and s3 calls fail while s1 executes correctly I also had a look at the TestSerialC application here a timer fires and a send is done every time a timer fires Is this the only way to implement it, for a timer to fire a send ? Is it not possible to just plainly invoke AMSend.send at several points on the code ? If thats the case , I can call multiple one-shot timers to fire after every block of processes are finished I'm also using the listen tool (Listen.java) to receive the packets transmitted Here also the listen seems to get the packet only if the program is in the form of multiple sends inside a timer-fire event as in TestSerial app for a call from anywhere else, eg : for a send call boot.booted , the listener gets nothing dont know why this strange thing happens any suggestions ? Thanks Bhuvana _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
