Manik,

I am doing this at the moment using the SendMsg and ReceiveMsg interfaces.
Both interface files include some documentation on how to make use of them.
You can use both interfaces in a single module if you need to so combine the
examples you have found :)

If you get stuck after some further reading, I am doing some work today so
email me directly and I should have some demo code that you can look at by
the end of the day (if it helps).

HTH,

Alex.


________________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Manik
Gupta
Sent: 22 November 2005 09:06
To: [email protected]
Subject: [Tinyos-help] Problem in programming a two way
communicationchannel.

Hello,
 
Well I want to write a tinyos program to communicate between a server and
multiple clients. Each of these programs need to run on different motes. The
tinyos tutorial gives examples of either sending or receiving packets in two
seperate programs. But there is no example of two way communication where
both sending and receiving is done in the same program. So can anyone please
let me know how to go about it?
 
Also, Is there a way to simulate two different executables in TOSSIM? As I
percieve,it currently just simulates a single executable.
 
Thanks,
Manik Gupta.
 


____________________________________________________________

Ms.Manik Gupta
GPON Group
CDOT Delhi
____________________________________________________________
________________________________________
Yahoo! FareChase - Search multiple travel sites in one click. 


_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to