---------- Forwarded message ---------- From: jagan nath <[EMAIL PROTECTED]> Date: Jun 11, 2006 5:22 AM Subject: Re: [Tinyos-help] interface BaresendMsg in Boomerang To: Joe Polastre <[EMAIL PROTECTED]>
well, I built this application in boomerang which is using various SendMsg and receivemsg iinterfaces(parameterised). The application has various nodes connected to accelerometers and measure vibration. These nodes send the data to a base station via single/multihop. Each node will RTS to the BS and upon receipt of a CTS the node transfers data.and I want the Base station to send all packets to the PC Now im facing a strange problem with the base station, The RTS/CTS and data transfer part are happening correctly( can see with blinking LEDs) but the Uart send task ( coded similar to the TOS Base) that is supposed to send all packets to the PC connected to the BS. is not sending any packets to the Uart. I have observed that the command Uartsend.send is returning a FAIL. But however if I run a TOS base seperately while the nodes communicate with the BS, It is showing all packets on the screen. I also observed that Im not able to use Baresendmsg and SendMsg in the same application( comilation error)and If I try to use the TOSMsg packet that comes from the Receive.receive(Msg) to pass it to UartSend.send(&Msg) it is returning a FAIL.( Since TOSBase is showing the packets on the screen, I tried to use BaresendMsg) -jagan On 6/11/06, Joe Polastre <[EMAIL PROTECTED]> wrote:
TOSBase wires directly to the radio. Why would you use BareSendMsg? It is not intended to be used except within the raido stack. Can you describe what you're trying to build rather than the interfaces you think you should be using? -Joe On 6/10/06, jagan nath <[EMAIL PROTECTED]> wrote: > Hi all, > Im trying to use the interface Baresendmsg in my application( variant > of TOSBase). > when Im compiling Im getting the following error, > > C:/PROGRA~1/UCB/cygwin/opt/moteiv/tos/lib/CC2420Radio/RadioCRCPacket.nc:49:2: > warning: #warning Using old communication interfaces; recommend switch > to SP > C:/PROGRA~1/UCB/cygwin/opt/moteiv/tos/lib/CC2420Radio/TranslateBareSendMsgC.nc:29:2: > warning: #warning Using old communication interfaces; recommend switch > to SP > In component `GenericComm': > C:/PROGRA~1/UCB/cygwin/opt/moteiv/tinyos-1.x/tos/system/GenericComm.nc:87: > cannot find `Control' > make: *** [exe0] Error 1 > > PS I m making the same makefile that is used for TOSBase, > > When TOSBase is compiling with above warnings, how is it that my > application is throwing errors > any workaround........ > > TIA > -jagan > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@Millennium.Berkeley.EDU > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help