ravi | 28 Mar 20:00 2013
Picon

Multi hop problem

Hi all,

I am currently working on Multi Hop networking protocol. Can anyone help me with the code to forward a message, i.e., retransmit the same message that has been recived by one mote. Its sort of urgent so please revert back to this mail.

Thanks in advance.

Cheers,
S. Ravindra Naik
<div><div dir="ltr">
<div>
<div>
<div>
<div>Hi all,<br><br>
</div>I am currently working on Multi Hop networking protocol. Can anyone help me with the code to forward a message, i.e., retransmit the same message that has been recived by one mote. Its sort of urgent so please revert back to this mail.<br><br>
</div>Thanks in advance.<br><br>
</div>Cheers,<br>
</div>S. Ravindra Naik<br>
</div></div>
Sindhu Snesi | 28 Mar 19:18 2013
Picon

help regarding coding

I am trying to interface analog PIR sensor with TelosB mote using 10 > pin connector on TelosB, but i don't know to which pin should i > connect the output of the sensor. > > Also please tell what r the changes that i should make in > RadioSenseToLeds application to read the value of PIR sensor. >and as there is no in built Led in the sensor how can we know that the output is coming r the sensor is sensing. > kindly help on it.
<div>I am trying to interface analog PIR sensor with TelosB mote using 10
&gt; pin connector on TelosB, but i don't know to which pin should i
&gt; connect the output of the sensor.
&gt;
&gt; Also please tell what r the changes that i should make in
&gt; RadioSenseToLeds application to read the value of PIR sensor.
&gt;and as there is no in built Led in the sensor how can we know that the output is coming r the sensor is sensing.
&gt; kindly help on it.</div>
ravi | 27 Mar 20:38 2013
Picon

Multi Hop

Hi,

I am currently working on a project which implements Multi hop network in TinyOS. Can anyone help me with the code to transmit or forward the same message that has been recieved by mote or give me the interfaces that would enable me to forward the same message that has been recieved from some other mote. Its kind of urgent so do revert back to this message if you know answer.

Thanks in advance.

Regards,
--
S.Ravindra Naik,
B.tech 4th year,
Mathematics & Computing,
India
<div><div dir="ltr">
<div>
<div>
<div>Hi,<br><br>
</div>I am currently working on a project 
which implements Multi hop network in TinyOS. Can anyone help me with 
the code to transmit or forward the same message that has been recieved 
by mote or give me the interfaces that would enable me to forward the 
same message that has been recieved from some other mote. Its kind of urgent so do revert back to this message if you know answer.<br><br>
</div>Thanks in advance.<br><br>
</div>Regards,<br><div>--<br>S.Ravindra Naik,<br>B.tech 4th year,<br>Mathematics &amp; Computing,<br>
</div>India
</div></div>
mjmohiuddin | 27 Mar 15:58 2013
Picon

tos-bsl 2.12/2.13


if anyone has tos-bsl2.12/2.13 file. please mail me or send me the link
where i can download

-------------------------------------------------------------------------------------------------------------------------------

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------

wasif masood | 27 Mar 15:15 2013
Picon

Looking for RBS Time synchronization algo code!


Dear All,

I am looking for the tinyos code of "Fine-Grained Network Time Synchronization using Reference Broadcasts" aka RBS protocol. Can someone help me with that!

Regards,
Wasif Masood
<div><div dir="ltr">
<div><br></div>Dear All,<div><br></div>
<div>I am looking for the tinyos code of "Fine-Grained Network Time Synchronization using Reference Broadcasts" aka RBS protocol. Can someone help me with that!<div>

<br>
</div>Regards,<br>Wasif Masood<br>
</div>
</div></div>
mjmohiuddin | 27 Mar 10:48 2013
Picon

tos-bsl problem


Iam getting the tos-bsl problem whenever iam installing Blink program on
telosb mote...

 MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Mass Erase...
MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Mass Erase...
Traceback (most recent call last):
  File "/usr/bin/tos-bsl", line 1927, in <module>
    main(0);
  File "/usr/bin/tos-bsl", line 1842, in main
    for f in toinit: f()
  File "/usr/bin/tos-bsl", line 1101, in actionMassErase
    0xa506)             #Required setting for mass erase!
  File "/usr/bin/tos-bsl", line 761, in bslTxRx
    rxFrame = self.comTxRx(cmd, dataOut, len(dataOut))  #Send frame
  File "/usr/bin/tos-bsl", line 443, in comTxRx
    rxHeader, rxNum = self.comRxHeader()        #receive header
  File "/usr/bin/tos-bsl", line 349, in comRxHeader
    if not hdr: raise BSLException("Timeout")
__main__.BSLException: Timeout
make: *** [program] Error 1

can i get the solution of it

-------------------------------------------------------------------------------------------------------------------------------

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------

mjmohiuddin | 27 Mar 10:47 2013
Picon

(no subject)


Iam getting the tos-bsl problem whenever iam installing Blink program on
telosb mote...

 MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Mass Erase...
MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Mass Erase...
Traceback (most recent call last):
  File "/usr/bin/tos-bsl", line 1927, in <module>
    main(0);
  File "/usr/bin/tos-bsl", line 1842, in main
    for f in toinit: f()
  File "/usr/bin/tos-bsl", line 1101, in actionMassErase
    0xa506)             #Required setting for mass erase!
  File "/usr/bin/tos-bsl", line 761, in bslTxRx
    rxFrame = self.comTxRx(cmd, dataOut, len(dataOut))  #Send frame
  File "/usr/bin/tos-bsl", line 443, in comTxRx
    rxHeader, rxNum = self.comRxHeader()        #receive header
  File "/usr/bin/tos-bsl", line 349, in comRxHeader
    if not hdr: raise BSLException("Timeout")
__main__.BSLException: Timeout
make: *** [program] Error 1

can i get the solution of it

-------------------------------------------------------------------------------------------------------------------------------

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------

Sean Dekker | 26 Mar 14:06 2013
Picon

Check if a packet is being received after a given time.

Hi all,
 
It seems that I can't figure out the logic for the following scenario:
 
I have 2 TelosB nodes. and they sending packet to each other every 500 ms. Now if any of the nodes goes out of radio range, I want to light up an led on TelosB to indicate that there was no packet received after like 500 ms.
 
I understand that I might use timers and set a boolean in received() event. But I have difficulties figuring out the logic. Is there a component or interface that takes care of this case by default in TinyOS? If not can you give me some help/hints?
 
Sean.
<div><span><span><div>
<span><span>Hi all,</span></span><div><span><span>&nbsp;</span></span></div>
<span><span> </span></span><div><span><span>It seems that I can't figure out the logic for the following scenario:</span></span></div>
<span><span> </span></span><div><span><span>&nbsp;</span></span></div>
<span><span> </span></span><div><span><span>I have 2 TelosB nodes. and they sending packet to each other every 500 ms. Now if any of the nodes goes out of radio range, I want to light up an led on TelosB to indicate that there was no packet received after like 500 ms.</span></span></div>
<span><span> </span></span><div><span><span>&nbsp;</span></span></div>
<span><span> </span></span><div><span><span>I understand that I might use timers and set a boolean in received() event. But I have difficulties figuring out the logic. Is there a component or interface that takes care of this case by default in TinyOS? If not can you give me some help/hints?</span></span></div>
</div>
<div>&nbsp;</div>
<div>Sean.</div></span></span></div>
mamzh | 26 Mar 12:47 2013
Picon

about I2C on atmega128

Hi, anyone who cares

      I'm using Tinyos 2.x to integrate MMA8451 with micaz nodes. MMA8451 is a sensor using I2C protocol. I2C has some flags such as I2C_START, I2C_ACK_END, I2C_STOP, but no flags for Repeat start. What if I use a sensor which using  I2C this way, just like the picture attached?  

       It signal a repeat start flag after sending Device Address and Register Address. Should I call I2C write command just with I2C_START,(no I2C_STOP), and then call I2C read 1 byte command to get slave device's data? like this:

call I2CPacket.write(I2C_START, MMA8451_I2C_ADDR, 1, i2cBuff)

call I2CPacket.read(I2C_START|I2C_STOP, MMA8451_I2C_ADDR, 1, i2cBuff)


      It should have the same sequence as the picture described.

      Any comment will be appreciated.

Best regards.
<div><div dir="ltr">Hi, anyone who cares<div><br></div>
<div>&nbsp; &nbsp; &nbsp;<span>&nbsp;I'm using Tinyos 2.x to integrate MMA8451 with micaz nodes. MMA8451 is a sensor using&nbsp;</span><span>I2C protocol</span><span>. I2C has some flags such as&nbsp;I2C_START,&nbsp;I2C_ACK_END,&nbsp;I2C_STOP, but no flags for Repeat start. What if I use a sensor which using &nbsp;I2C this way, just like the picture attached?</span><span>&nbsp;</span><span>&nbsp;</span>
</div>
<div><br></div>
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;It signal a repeat start flag after sending Device Address and Register Address. Should I call I2C write command just with I2C_START,(no I2C_STOP), and then call I2C read 1 byte command to get slave device's data? like this:</div>
<div><br></div>
<div>
<p class="MsoNormal" align="left"><span lang="EN-US">call I2CPacket.write(I2C_START, MMA8451_I2C_ADDR, 1, i2cBuff)</span><span>&#65307;</span></p>
<p class="MsoNormal" align="left"><span lang="EN-US">call I2CPacket.read(I2C_START|I2C_STOP, MMA8451_I2C_ADDR, 1, i2cBuff)</span><span>&#65307;</span></p>
<p class="MsoNormal" align="left"><span><br></span></p>
</div>
<div>&nbsp; &nbsp; &nbsp; It should have the same sequence as the picture described.</div>
<div><br></div>
<div>&nbsp; &nbsp; &nbsp; Any comment will be appreciated.</div>
</div>
<div><br></div>
<div>Best regards.</div> 		 	   		  </div></div>
mjmohiuddin | 26 Mar 04:37 2013
Picon

Fwd: error in creating a new platform


> 
> Error while creating a new platform. i have added all the files required
> to create a new platform...
> iam getting an error like this
> 
> root <at> Jamal:/opt/tinyos-main/apps/Null# make iwise
> mkdir -p build/iwise
>     compiling NullAppC to a iwise binary
> 
>     WARNING: Minimum recommended msp430-gcc version for this TinyOS
> release is 4.6.3!!!
> 
> ncc -o build/iwise/main.exe  -Os -fnesc-separator=__ -Wall -Wshadow
> -Wnesc-all -target=iwise -fnesc-cfile=build/iwise/app.c -board=
> -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"NullAppC\"
> -DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"Jamal\"
> -DIDENT_USERHASH=0xe00c9accL -DIDENT_TIMESTAMP=0x51509d42L
> -DIDENT_UIDHASH=0xcb4338afL  NullAppC.nc -lm 
> In file included from /opt/tinyos-main/tos/system/TinySchedulerC.nc:52:
> In component `McuSleepC':
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc: In function
> `getPowerState':
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:81: `ME1' undeclared (first
> use in this function)
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:81: (Each undeclared
> identifier is reported only once
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:81: for each function it
> appears in.)
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:81: `UTXE0' undeclared
> (first use in this function)
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:81: `URXE0' undeclared
> (first use in this function)
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:81: `U0TCTL' undeclared
> (first use in this function)
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:81: `SSEL1' undeclared
> (first use in this function)
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:82: `ME2' undeclared (first
> use in this function)
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:82: `UTXE1' undeclared
> (first use in this function)
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:82: `URXE1' undeclared
> (first use in this function)
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:82: `U1TCTL' undeclared
> (first use in this function)
> make: *** [exe0] Error 1
> 
> 
> can i know what changes we have to make to remove this....???

--

-- 

-------------------------------------------------------------------------------------------------------------------------------

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------

ravi | 25 Mar 21:46 2013
Picon

Multi Hop, Message Forwarding


Hi,

I am currently working on a project which implements Multi hop network in TinyOS. Can anyone help me with the code to transmit or forward the same message that has been recieved by mote or give me the interfaces that would enable me to forward the same message that has been recieved from some other mote.

Thanks in advance.

Regards,
--
S.Ravindra Naik,
B.tech 4th year,
Mathematics & Computing,
India
<div><div dir="ltr">
<br clear="all"><div>
<div>
<div>Hi,<br><br>
</div>I am currently working on a project 
which implements Multi hop network in TinyOS. Can anyone help me with 
the code to transmit or forward the same message that has been recieved 
by mote or give me the interfaces that would enable me to forward the 
same message that has been recieved from some other mote.<br><br>
</div>Thanks in advance.<br><br>
</div>Regards,<br><div>--<br>S.Ravindra Naik,<br>B.tech 4th year,<br>Mathematics &amp; Computing,<br>
</div>India<br>
</div></div>

Gmane