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
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
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
[...]
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,
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
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?
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