hello,
I have a problem when simulating a code that send successive message only the
last one is received.
if a use a busy variable the program plant
did any body know how to solve this problem?
===========code=========
//wait until canal is not busy
while(radioBusy);
//send the message
res=call AMSend.send(nextHop[gid], &pkt, sizeof(riseg_msg_t));
and radioBusy is made true in each success send and false in AMsend.senddone().
thanks in advance
**********************************************
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 - 3099 El Bustan Sfax Telephone : (+216)74 237425 Poste : 437
Fax: : (+216)74 431 386
Ph.D @ CES Lab (Computer and Embedded System)-University of Sfax, National
School of Engineers BP W, Sfax, 3038, Tunisia , Fax:(+216)74665369
Home page: http://www.ceslab.org/eng/perso.php?id=46
Coordinator C2i @ ISET Sfax (Certified C2i since 2008)
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help