I am not familiar with the xbow version of tinyos. Miklos On Mon, Mar 22, 2010 at 3:16 PM, lena psara <[email protected]> wrote: > Hi, > > Also i would like to ask...the message structure sent and received using the > SendMsg and ReceiveMsg interfaces is a TOS_Msg ?? > In order to get the data region of the received packet I should just return > it for example...?? > Or if it is not that, how is it the message structure and how can I get the > data region of the received packet using from the ReceiveMsg interface?? > > > event TOS_MsgPtr RadioDataReceive.receive(TOS_MsgPtr m) > { > > TOS_MsgPtr tmp; > tmp = buffer; > buffer = m; > > atomic { temp = (Msg_temp*)buffer; > ptr_uart->datapacket=0x6A; > for (i=0; i<22; i++) > { > ptr_uart -> datachar[i] = temp -> datachar[i]; > ptr_uart -> end_character = 0x0D; > } > > post SendData_uart(); > > return m; > } > > Thanks a lot > > Best Regards, > Lena > > > ________________________________ > From: Miklos Maroti <[email protected]> > To: lena psara <[email protected]> > Cc: [email protected] > Sent: Mon, March 22, 2010 2:27:07 PM > Subject: Re: [Tinyos-help] nesc1 warnings > > Both (via cygwin). Use the tinyos wiki. Miklos > > On Mon, Mar 22, 2010 at 2:25 PM, lena psara <[email protected]> wrote: >> Hi, >> >> I would also like to ask, the tinyos-2.x official tree runs also in >> Windows >> Vista or only in XP?? >> >> Best Regards, >> Lena >> >> ________________________________ >> From: Miklos Maroti <[email protected]> >> To: Arik Sapojnik <[email protected]> >> Cc: lena psara <[email protected]>; [email protected] >> Sent: Mon, March 22, 2010 1:59:32 PM >> Subject: Re: [Tinyos-help] nesc1 warnings >> >> This is a completely different problem, probably you use the TELOS >> platform and not the IRIS one. Also, probably you use the AMReceiverC >> and also directly connect to the ActiveMessageC (or >> CC2420ActiveMessageP). I do not know what causes your compiler error, >> but it says that you connected two Receive interfaces to the same one >> provided by CC2420ActiveMessageP. Miklos >> >> On Mon, Mar 22, 2010 at 1:55 PM, Arik Sapojnik <[email protected]> wrote: >>> Hey, >>> >>> I'm using the official tree, but I still get this: >>> >>> nesc1: warning: calls to Receive.receive in CC2420ActiveMessageP fan out, >>> but there is no combine function specified for the return type >>> >>> Arik >>> >>> >>> On Mon, Mar 22, 2010 at 14:31, Miklos Maroti <[email protected]> >>> wrote: >>>> >>>> Hi Lena, >>>> >>>> Use the official tinyos-2.x tree instead of the XBow environment. >>>> >>>> Miklos >>>> >>>> On Mon, Mar 22, 2010 at 1:10 PM, lena psara <[email protected]> >>>> wrote: >>>> > Dear all, >>>> > >>>> > In my application for Zigbee Iris to send and receive messages I am >>>> > having >>>> > the following two warnings: >>>> > >>>> > nesc1: warning: calls to Recv.receive in RF230RadioM fan out, but >>>> > there >>>> > is >>>> > no combine function specified for the return type. >>>> > nesc1: warning: calls to ReceiveCombined.receive in FramerAckM fan >>>> > out, >>>> > but >>>> > there is no combine function specified for the return type. >>>> > >>>> > Does anyone know how can I fix it?? >>>> > >>>> > Best Regards, >>>> > Lena >>>> > >>>> > >>>> > _______________________________________________ >>>> > Tinyos-help mailing list >>>> > [email protected] >>>> > >>>> > >>>> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >>>> > >>>> _______________________________________________ >>>> Tinyos-help mailing list >>>> [email protected] >>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >>> >>> >>> >>> -- >>> Best Regards, >>> Arik Sapojnik >>> >> >> > >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
