Hi Folks!

for one of my projects I would very much like to implement parametrized interfaces like the ones used in timer, send and receive. We have a component (custom mac layer) which acts as a multiplex/demultiplex. If it receives a packet it should call the component which has registered to receive said message (via the parameter in the interface) and vice cersa.

Unfortunately there is no tutorial on how to code something like that in TinyOS. In theory it is similar to the execute or publisher/subscriber pattern but rather than coding my own I would very much like to use the TinyOS syntax.

The RF-Stack in TinyOS does something similar to that, every send command may send TOSMsg but somehow these messages have to be serialized in order to get them on the medium. So before I read the code has anyone already done something like this and has any hints for me?

Regards

Christian
_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to