On Apr 1, 2006, at 2:26 AM, swim_in_sky wrote:
Hi,
I find that some applications are not supported by tossim in
cygwin ?
Take RadioSenseToleds application for example , When I
compile it by typing 'make micaz sim-cygwin' , there are some
errors showed the following:
---------------- lots of lines---------------------------
In component `DemoSensorC':
C:/tinyos/cygwin/opt/tinyos-2.x/tos/lib/tossim/DemoSensorC.nc:39:
interface AcquireData not found
C:/tinyos/cygwin/opt/tinyos-2.x/tos/lib/tossim/DemoSensorC.nc:43:
component InternalVoltageC not found
C:/tinyos/cygwin/opt/tinyos-2.x/tos/lib/tossim/DemoSensorC.nc:45:
no match
C:/tinyos/cygwin/opt/tinyos-2.x/tos/lib/tossim/DemoSensorC.nc:46:
no match
In component `RadioSenseToLedsAppC':
RadioSenseToLedsAppC.nc:42: component `DemoSensorC' is not generic
---------------- lots of lines---------------------------
I go int the tos/interfaces directory but I don't find the
AcquireData.nc . Where
are AcquireData and InternalVoltageC defined ?
Looks like one that fell through the cracks.
DemoSensorC should be updated to provide the Read<> interface, and
rather than using InternalVoltageC (which does not exist in TOSSIM),
it should do something a little more intelligent.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help