[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/wustl/apps/Agilla/components/AgentSender SendHeapM.nc, 1.8, 1.8.2.1 SendStateM.nc, 1.13, 1.13.2.1

Chien-Liang Fok chien-liang at users.sourceforge.net
Mon Nov 20 22:55:58 PST 2006


Update of /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/components/AgentSender
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv14173/AgentSender

Modified Files:
      Tag: GroupComm
	SendHeapM.nc SendStateM.nc 
Log Message:
It works.

Index: SendHeapM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/components/AgentSender/SendHeapM.nc,v
retrieving revision 1.8
retrieving revision 1.8.2.1
diff -C2 -d -r1.8 -r1.8.2.1
*** SendHeapM.nc	18 May 2006 19:58:40 -0000	1.8
--- SendHeapM.nc	21 Nov 2006 06:55:56 -0000	1.8.2.1
***************
*** 128,131 ****
--- 128,137 ----
          #if DEBUG_AGENT_SENDER
            dbg(DBG_USR1, "SendHeapM: task doSend(): Sent heap message, nxtHpAddr = %i.\n", _nxtHpAddr);
+           if (TRUE) {
+             int i = 0;
+             for (i = 0; i < AGILLA_HEAP_MSG_SIZE; i++) {
+               dbg(DBG_USR1, "SendHeapM: SendHeapM.doSend(): \t%i: %i\n", i, hpMsg->data[i]);        
+             }
+           }
          #endif  
          _waiting = TRUE;

Index: SendStateM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/components/AgentSender/SendStateM.nc,v
retrieving revision 1.13
retrieving revision 1.13.2.1
diff -C2 -d -r1.13 -r1.13.2.1
*** SendStateM.nc	18 May 2006 19:58:40 -0000	1.13
--- SendStateM.nc	21 Nov 2006 06:55:56 -0000	1.13.2.1
***************
*** 145,148 ****
--- 145,150 ----
          sMsg->numRxnMsgs = 0;     
          sMsg->desc.value = 0;
+         sMsg->pstate = 0;
+         sMsg->rstate = 0;
        } else {
          sMsg->sp = _context->opStack.sp;    
***************
*** 152,155 ****
--- 154,159 ----
          sMsg->numRxnMsgs = call RxnMgrI.numRxns(&_context->id);        
          sMsg->desc = _context->desc;
+         sMsg->pstate = _context->pstate;
+         sMsg->rstate = _context->rstate;
        }    
      
***************
*** 165,169 ****
          dbg(DBG_USR1, "SendStateM: task doSend(): sMsg->numHpMsgs = %i\n", sMsg->numHpMsgs);        
          dbg(DBG_USR1, "SendStateM: task doSend(): sMsg->numRxnMsgs = %i\n", sMsg->numRxnMsgs);    
!         dbg(DBG_USR1, "SendStateM: task doSend(): sMsg->desc.string = %i\n", sMsg->desc.string);    
        #endif
      
--- 169,175 ----
          dbg(DBG_USR1, "SendStateM: task doSend(): sMsg->numHpMsgs = %i\n", sMsg->numHpMsgs);        
          dbg(DBG_USR1, "SendStateM: task doSend(): sMsg->numRxnMsgs = %i\n", sMsg->numRxnMsgs);    
!         dbg(DBG_USR1, "SendStateM: task doSend(): sMsg->desc = %i\n", sMsg->desc);    
!         dbg(DBG_USR1, "SendStateM: task doSend(): sMsg->pstate = %i\n", sMsg->pstate);    
!         dbg(DBG_USR1, "SendStateM: task doSend(): sMsg->rstate = %i\n", sMsg->rstate);        
        #endif
      



More information about the Tinyos-contrib-commits mailing list