Hi~ everyone~!
I've programmed some embedded solution in nesC v 1.1. 
I have one question about interface parameter.
 
Actually, I need to use interface parameter on my work.
So, I read nesC manual again carefully. The manual says that 
 
interface SendMsg S[uint_t id] that is possible expression within specification 
range.
 
But when I coded like below
 
module A1 {
.
.
. 
 
 uses interface SendMsg Send[(uint8_t) 4]; // Actually I need four 
parameterized interface instance.
 
}
 
then I just see complie error related to syntax .
parse error before 'Send'
 
What should I do with this?
 
The definition of single interface instance is working well.(e.g. uses 
interface X as Y;)
 
How can I use parameterized interface instance ??
 
If you can help me with this problem, Plz let me know 
 
Thanks in advance.
 
 
with regards
 
Jung
 
 
 
 
_________________________________________________________________
MSN 메신저의 차세대 버전, Windows Live Messenger!
http://windowslive.msn.co.kr/wlm/messenger/
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to