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

Reply via email to