Re: [Tinyos-help] Implicit declaration of function error

2010-12-28 Thread trilok i
Hi SHIVASANKAR, Try defining prototypes of the function and define functions before calling functions in your code. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] implicit declaration of function `TOSH_MAKE_BAT_MON_OUTPUT'

2008-11-02 Thread Wahid
to COMPONENT=TestUartRadio 2-I'm Running a XubunTOS Virtual Machine Image in VMware --- On Wed, 10/15/08, Michael Schippling [EMAIL PROTECTED] wrote: From: Michael Schippling [EMAIL PROTECTED] Subject: Re: [Tinyos-help] implicit declaration of function `TOSH_MAKE_BAT_MON_OUTPUT' To: [EMAIL

Re: [Tinyos-help] implicit declaration of function `TOSH_MAKE_BAT_MON_OUTPUT'

2008-11-02 Thread Michael Schippling
=TestUartRadio 2-I'm Running a XubunTOS Virtual Machine Image in VMware --- On Wed, 10/15/08, Michael Schippling [EMAIL PROTECTED] wrote: From: Michael Schippling [EMAIL PROTECTED] Subject: Re: [Tinyos-help] implicit declaration of function `TOSH_MAKE_BAT_MON_OUTPUT' To: [EMAIL PROTECTED] Cc

[Tinyos-help] implicit declaration of function `TOSH_MAKE_BAT_MON_OUTPUT'

2008-10-15 Thread Wahid
Hi, I know that TOSH functions are generated through macro mechanisms but i don't know how they are included. I'm trying to make /opt/tinyos-1.x/apps/TestUart (in the Makefile i changed COMPONENT=TestUartSimple to COMPONENT=TestUartRadio) this is what i'm getting : [EMAIL

Re: [Tinyos-help] implicit declaration of function `TOSH_MAKE_BAT_MON_OUTPUT'

2008-10-15 Thread Michael Schippling
In T1 those pin assignment macromacro-macros are usually in the hardware.h file. I found this: tos/platform/mica2/hardware.h:121:TOSH_ASSIGN_PIN(BAT_MON, A, 5); but that file (and the other matches) is not included when you make pc so you'll probably have to kludge something. There may not be a

[Tinyos-help] implicit declaration of function

2006-09-25 Thread primalfear 69
hello everybody, in my program idefined my own function as TOS_MsgPtr packet(TOS_MsgPtr msg); after receiving a complete data packet from the radio,i called for the above function as packet(data) (where data is the received TOS_MsgPtr),.when i tried to compile this file i am get error as

Re: [Tinyos-help] implicit declaration of function

2006-09-25 Thread Michael Schippling
Or you can just declare it before you use it, which is actually the usage shown in the question... TOS_MsgPtr packet(TOS_MsgPtr msg); func() { packet( msg ); } TOS_MsgPtr packet(TOS_MsgPtr msg) { //stuff return( msg ); } Pablo Gil MontaƱo