[Tinyos-help] BlockWrite/BlockRead error

Tony L bjitboy at hotmail.com
Fri Aug 4 03:55:13 PDT 2006


Hi,

I use t-mot sky. I call BlockWrite.write to write some bytes to the flash. 
After some time, I call BlockRead.read to read the bytes to the packet 
payload and broadcast the packet. I got the compile errors as below. Is 
there any one who knows how to solve the problem? thanks

Best Regards
Tony



C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/beta/STM25P/BlockStorageM.nc: In 
function
`actualSignal':
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/beta/STM25P/BlockStorageM.nc:69: too 
few a
rguments to function
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/beta/STM25P/BlockStorageM.nc:70: too 
few a
rguments to function
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/beta/STM25P/BlockStorageM.nc:72: too 
few a
rguments to function
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/beta/STM25P/BlockStorageM.nc: At top 
level
:
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/beta/STM25P/BlockStorageM.nc:115: 
conflict
ing types for `BlockWrite.write'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/lib/Flash/BlockWrite.nc:32: 
previous d
eclaration of `BlockWrite.write'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/beta/STM25P/BlockStorageM.nc:164: 
conflict
ing types for `BlockRead.read'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/lib/Flash/BlockRead.nc:32: 
previous de
claration of `BlockRead.read'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/beta/STM25P/BlockStorageM.nc:257: 
conflict
ing types for `BlockWrite.writeDone'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/lib/Flash/BlockWrite.nc:33: 
previous d
eclaration of `BlockWrite.writeDone'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/beta/STM25P/BlockStorageM.nc:260: 
conflict
ing types for `BlockRead.readDone'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/lib/Flash/BlockRead.nc:33: 
previous de
claration of `BlockRead.readDone'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/beta/STM25P/BlockStorageM.nc:262: 
conflict
ing types for `BlockRead.computeCrcDone'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/lib/Flash/BlockRead.nc:39: 
previous de
claration of `BlockRead.computeCrcDone'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/beta/STM25P/BlockStorageM.nc:40: 
`BlockRea
d.getSize' not implemented

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



More information about the Tinyos-help mailing list