[Tinyos-beta-commits] CVS: tinyos-1.x/beta/Drip README.txt,1.4,1.5

Gilman Tolle gtolle at users.sourceforge.net
Wed Feb 16 17:38:38 PST 2005


Update of /cvsroot/tinyos/tinyos-1.x/beta/Drip
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18457

Modified Files:
	README.txt 
Log Message:
made README clearer

Index: README.txt
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/Drip/README.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** README.txt	17 Feb 2005 01:26:12 -0000	1.4
--- README.txt	17 Feb 2005 01:38:35 -0000	1.5
***************
*** 36,42 ****
  Wire to them like this:
  
!   TestDripM.ReceiveDrip -> DripC.Receive[AM_TESTDRIPMSG];
!   TestDripM.Drip -> DripC.Drip[AM_TESTDRIPMSG];
!   DripC.DripState[AM_TESTDRIPMSG] ->
      DripStateC.DripState[unique("DripState")];
  
--- 36,42 ----
  Wire to them like this:
  
!   TestDripM.ReceiveDrip -> DripC.Receive[YOUR_MESSAGE_ID_HERE];
!   TestDripM.Drip -> DripC.Drip[YOUR_MESSAGE_ID_HERE];
!   DripC.DripState[YOUR_MESSAGE_ID_HERE] ->
      DripStateC.DripState[unique("DripState")];
  
***************
*** 97,104 ****
  From another Java app, it can be used to inject arbitrary messages. 
  
!   Drip drip = new Drip(AM_TESTDRIPMSG);
!   TestDripMsg msg = new TestDripMsg();
!   msg.set_data((short)Integer.parseInt(period));
!   drip.send(msg, TestDripMsg.DEFAULT_MESSAGE_SIZE);
  
  Known Shortcomings:
--- 97,104 ----
  From another Java app, it can be used to inject arbitrary messages. 
  
!   Drip drip = new Drip(YOUR_MESSAGE_ID_HERE);
!   YourMsg msg = new YourMsg();
!   msg.set_data(someData);
!   drip.send(msg, YourMsg.DEFAULT_MESSAGE_SIZE);
  
  Known Shortcomings:



More information about the Tinyos-beta-commits mailing list