Hi

I have a problem defining the default events for my interface.

The module implementation contains:
****************
signal Interface.Receive(msg, payload, len);
...
default async event message_t* Interface.Receive(message_t* msg, void*
payload, uint8_t len) {
        return msg;
}
****************

And the interface contains:
****************
async event message_t* Receive(message_t* msg, void* payload, uint8_t len);
****************

But When I wire an application to this Interface I always get the
following error:
****************
TestC.nc:32: `Interface.Receive' not implemented
****************

I cant see why the default does not work.
Thanks
J
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to