Thanks for your kind pointer. So there is no concept of high/low-level in
this issue; both B and C will receive event signaled by A, right?
p.s. I think in the manual p.63, there is a section number 5.1.1 missing
before "Multiple Wirings"?
Rgds,
Tie
On 11/22/06, Philip Levis <[EMAIL PROTECTED]> wrote:
On Nov 21, 2006, at 5:54 AM, Tie Luo wrote:
> Dear All,
>
> If component A signals an event, and component B (which uses an
> interface implemented by A) defines an event handler as follows:
> async event void interfaceA.eventName(...) {} //void body
>
> Another component C users interfaceA and interfaceB (implemented by
> A and B respectively), and C also defines an event handler as follows:
> async event void interfaceA.eventName(...) {..........} //has some
> code
>
> Then can C receive this event? (A, B are two lower-level componets
> and C is at higher level)
> In my program the component C never gets this event, and I am
> wondering if B "intercepts" this event.
>
> Thanks for any help!
I suggest you read the TinyOS programming manual. Section 5.1.1 goes
into this.
Phil
--
Regards,
Tie
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help