[Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/handhelds/tos/interfaces SD.nc, 1.2, 1.3
steve ayer
ayer1 at users.sourceforge.net
Tue Jan 22 12:22:23 PST 2008
Update of /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/tos/interfaces
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv32306
Modified Files:
SD.nc
Log Message:
added events available and unavailable, to support docking
functionality on SHIMMER2; then it's docked, the mcu can't talk to the
sd card. these do not affect other extant platforms, as they'll
always look like they're undocked.
Index: SD.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/tos/interfaces/SD.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SD.nc 7 Sep 2006 18:36:07 -0000 1.2
--- SD.nc 22 Jan 2008 20:22:21 -0000 1.3
***************
*** 64,66 ****
--- 64,73 ----
// unsupported on sdio only cards
command uint32_t readCardSize();
+
+ // the device has lost control of the sd and should cease activity
+ async event void available();
+
+ // the device has gained control over the sd card
+ async event void unavailable();
+
}
More information about the Tinyos-contrib-commits
mailing list