[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/rf2xx/rf230 README, 1.2, 1.3 RF230ActiveMessageP.nc, 1.9, 1.10
Miklos Maroti
mmaroti at users.sourceforge.net
Fri May 8 09:44:17 PDT 2009
Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/rf2xx/rf230
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2654/rf230
Modified Files:
README RF230ActiveMessageP.nc
Log Message:
make the software ack timeout configurable
Index: README
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/rf2xx/rf230/README,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** README 27 Mar 2009 13:22:12 -0000 1.2
--- README 8 May 2009 16:44:15 -0000 1.3
***************
*** 47,49 ****
instead of the RSSI value for eahc incoming message. This value can be
obtained with the PacketRSSI interface.
-
--- 47,48 ----
Index: RF230ActiveMessageP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/rf2xx/rf230/RF230ActiveMessageP.nc,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** RF230ActiveMessageP.nc 10 Apr 2009 08:33:20 -0000 1.9
--- RF230ActiveMessageP.nc 8 May 2009 16:44:15 -0000 1.10
***************
*** 119,125 ****
}
async command uint16_t SoftwareAckConfig.getAckTimeout()
{
! return (uint16_t)(800 * RADIO_ALARM_MICROSEC);
}
--- 119,129 ----
}
+ #ifndef SOFTWAREACK_TIMEOUT
+ #define SOFTWAREACK_TIMEOUT 1000
+ #endif
+
async command uint16_t SoftwareAckConfig.getAckTimeout()
{
! return (uint16_t)(SOFTWAREACK_TIMEOUT * RADIO_ALARM_MICROSEC);
}
More information about the Tinyos-2-commits
mailing list