[Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/TestSerial
TestSerialC.nc, 1.5, 1.6
Phil Levis
scipio at users.sourceforge.net
Thu Sep 13 16:10:53 PDT 2007
Update of /cvsroot/tinyos/tinyos-2.x/apps/tests/TestSerial
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv27056/apps/tests/TestSerial
Modified Files:
TestSerialC.nc
Log Message:
The big interface switchover for Packet, Send, Receive, and AMSend.
Index: TestSerialC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tests/TestSerial/TestSerialC.nc,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** TestSerialC.nc 12 Dec 2006 18:22:50 -0000 1.5
--- TestSerialC.nc 13 Sep 2007 23:10:21 -0000 1.6
***************
*** 72,76 ****
}
else {
! test_serial_msg_t* rcm = (test_serial_msg_t*)call Packet.getPayload(&packet, NULL);
if (call Packet.maxPayloadLength() < sizeof(test_serial_msg_t)) {
return;
--- 72,77 ----
}
else {
! test_serial_msg_t* rcm = (test_serial_msg_t*)call Packet.getPayload(&packet, sizeof(test_serial_msg_t));
! if (rcm == NULL) {return;}
if (call Packet.maxPayloadLength() < sizeof(test_serial_msg_t)) {
return;
More information about the Tinyos-2-commits
mailing list