[Tinyos-help] Can one nesC file call the functions in another nesC file?

Chan kenniel kennielchan at gmail.com
Mon May 21 01:45:21 PDT 2007


Dear all,

I am new to nesC, can nesC do the same  calls like the followings in java?

Suppose two java classes:

Class A{
function  sendMsg(int d, string str);
}

Class B{
function test()
{
        int a=10;
        string s = "Helloworld";
        A.sendMsg(a,s);
}

I am wondering how to do this in nesC? Could anyone please give me some
guide? With examples would be great.

-- 
Best wishes,
Kenneth Chan

------------------------
Wish you have a good day!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070521/0085c6e7/attachment-0001.htm


More information about the Tinyos-help mailing list