[Tinyos-help] Additional info about the interface parameter
JungDoyeong
sunny_yuki at hotmail.com
Mon Apr 7 01:45:14 PDT 2008
Hi~ All~! This is just additional infomation about previous question.
configuration A1 {
}
{ components TimerC, ... , ... ,;
.
.
.
A1M.Ack[AckOne] -> TimerC.Timer[unique("Timer")]; A1M.Ack[AckTwo] -> TimerC.Timer[unique("Timer")]; A1M.Ack[AckThree] -> TimerC.Timer[unique("Timer")]; A1M.Ack[AckFour] -> TimerC.Timer[unique("Timer")];
.
.
.
}
module A1{
.
.
.
uses interface Timer Ack[4]; // as a parameterized interface instance
.
.
.
}
This is partial code of whole program to use parameterized interface instance.
When it has been compling, There is an error message.
Parse error before 'Ack'
Where am I wrong?? I just followed what the manual present.
Please Let me know. how to fix it.
Thanks in advance
with regards
Jung
_________________________________________________________________
°·ÂÇØÁø º¸¾È¼º, ¾Æ¿ô·èÀ» ´à¾Æ Æí¸®ÇØÁø ±â´Éµé·Î ¹«ÀåÇÑ Windows Live Hotmail! Áö±Ý ·Î±×ÀÎÇØ º¸¼¼¿ä!
http://www.hotmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080407/114f9cc1/attachment.htm
More information about the Tinyos-help
mailing list