[Tinyos-help] Tinyos

2010-08-16 Thread salvador mercader pellicer
Hi, I have a few questions about porting code by 1-x to 2-x: First, I want to know if I can use the functions outp and sbi in 2-x. And if I can't, to kwon which functions replace them. And the other question is the use of ADC (for example, ADC.dataReady()) in 1-x. I think this class asks

[Tinyos-help] problem with make rules

2010-08-16 Thread Hamidreza Ghafghazi
dear all, I have a problem with makeruls. I am new in tinyos and I want to test blinktoradio on a telosb mote. when in the path I write make telosb install the answer is no make rules for the target . would you please help me toward this problem.what should I do? best regards

[Tinyos-help] Send to UART and Radio at a time

2010-08-16 Thread Xavi Colomer
Hello, I need to send to UART and Radio at a time, but only one of SendMsg calls works... What is the problem? Parameterized interfaces solves the problem? * * *MyApp.nc* [...] MyAppM.SendMsg - Comm.SendMsg[AM_XSXMSG]; //AM_XSXMSG=0 MyAppM.UARTMsg - Comm.SendMsg[AM_XSYMSG];//AM_XSYMSG=1 [...]

Re: [Tinyos-help] Send to UART and Radio at a time

2010-08-16 Thread Michael Schippling
You basically need to send messages in sequence, one from the sendDone() of the other. I have in my config file: // Status replies to send RoboMsgM.RStatusMsg - RComm.SendMsg[AM_ROBOSTATUSMSG]; In RoboMsgM.nc, a method that does the first, radio, send: call RStatusMsg.send( TosBaseId,

Re: [Tinyos-help] Send to UART and Radio at a time

2010-08-16 Thread Peter Stalling
Hello, for what i know there is no problem sending over uart and radio at the same time. But be aware of the task sheduling. You do not send at the same time, the tasks are processed one after another ... I can not help you here, please provide a minimal example that compiles. Maybe you are

Re: [Tinyos-help] Send to UART and Radio at a time

2010-08-16 Thread Philip Levis
This looks like TinyOS 1.x; in 1.x you can't send to the radio and serial port simultaneously. In 2.x you can. Phil On Aug 16, 2010, at 8:45 AM, Xavi Colomer wrote: Hello, I need to send to UART and Radio at a time, but only one of SendMsg calls works... What is the problem?

[Tinyos-help] CSMA in TOSSIM

2010-08-16 Thread Hassan Abid
Dear All, Is the CSMA protocol by default working in TOSSIM ? Like I am using TestNetwork application, so can i assume that CSMA protocol is working ? Thanks in advance Regards -- Hassan Abid MS EE Student ___ Tinyos-help mailing list