Are they connected in the config file?
MS
Nicola Wegner wrote:
> Hi,
>
> I have a module that uses and provides the interface Mount:
> uses interface Mount as UsedMount;
> provides interface Mount as ProvidedMount;
>
> The implementation of ProvidedMount.mount() looks like this:
> command error_t ProvidedMount.mount() {
> return call UsedMount.mount();
> }
>
> I think this should be possible but I get the following error:
> PermConfStorageP.nc: In function `ProvidedMount.mount':
> PermConfStorageP.nc:72: UsedMount.mount not connected
>
> Without the call UsedMount.mount() it compiles. I can even call
> UsedMount.mount() somewhere else in the code and it works.
>
> Any explanations for this behavior?
>
> Thanks Nicola
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help