[Tinyos-help] Re: problem with qsort

2006-09-18 Thread saadia khan
Actually, this error is generated when a function is called BEFORE its defined/declared (remember that nesC is C-based not C++).Just put the function declaration/definition at the start in the implementation body in nesC file or just above the function in which you are going to call it.On

[Tinyos-help] Warning: Uncombined Calls

2006-09-04 Thread saadia khan
Hi all,while compiling, i'm getting followig warnings. I'm using the HSN stack as the basis for my program (one of the contributed codes) and although the program runs fine, i just want to know if anyone can sort out these warnings, i.e., for what reason they are generated?nesc1: warning: calls to

[Tinyos-help] Passing Arguments at compile time

2006-08-12 Thread saadia khan
Hi all,I'm currently implementing a routing protocol in tinyos as a TOSSIM simulation. If want to set a node as source node and another as a destination node. What i need to know is that whether i should do this at compile time or run time, because for simulation i think it doesn't matter if i

Re: [Tinyos-help] Passing Arguments at compile time

2006-08-12 Thread saadia khan
PROTECTED]To: saadia khan [EMAIL PROTECTED]; tos help tinyos-help@Millennium.Berkeley.EDUSent: Saturday, August 12, 2006 12:41:18 PMSubject: RE: [Tinyos-help] Passing Arguments at compile time All you need to do is define and use a compile-time flag eg: In your application dir

[Tinyos-help] Use of C functions in nesc code

2006-07-08 Thread saadia khan
Can anyone tell me whether the C functions can be used in nesc code, e.g., using basic math functions like sqrt() or pow() or other maths functions?ThankyouS Khan___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] About Events and Commands

2006-06-28 Thread saadia khan
While going through the tutorials and apps in tinyOS, i found that the events of an interface are implemented in the modules that "use" them and the commands are "called" but not implemented in those modules, e.g., in Surge Application, the SurgeM.nc (the module) "uses" Send interface and

[Tinyos-help] Problem with upgrading TinyOS to 2.0

2006-06-14 Thread saadia khan
when upgrading to 2.x distribution, i get the following error with the tinyos-specific tools package (with both options that is -ivh and -Uvh): tos@dev-01 /cygdrive/c/tinyos/tinyos2.xrpms/tinyos-specifictools $ rpm -ivh tinyos-tools-1.2.1-3.cygwin.i386.rpm Preparing...