Hello, I use TOSSIM under tinyOS 2.x. And in my application I have a message exchange between 2 nodes (a client and a server). I implement the treatement of each node in the receive event"event message_t* Receive.receive(message_t* recv_packet, void* payload, uint8_t len) " . i.e When receiving a message, the node extract some data and send another message by "AMSend.send(0, &packet, sizeof(authentication_msg_t));".
The problem is that: the execution is random, sometimes only one message arrive, sometimes two messages, three messages, ... Any body can help me fixing this problem (I must assure that every sent message must be received). 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 Coordinator C2i @ ISET Sfax (Certified C2i since 2008)
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help