Hamidreza Hosseini | 1 Sep 19:20 2014
Picon

MultiHop app in tinyos-1.x (SurgeTelos) does not work for TelosB motes

Hi all,

I want to send messages using LQIMultiHop library in tinyos-1.x on TelosB motes. I programmed motes with app/SurgeTelos, but the motes does not forward received messages. I checked MultiHopEngineM.nc and found that in ReceiveMsg.receive() function, there is a line that contains 

"if (pMsg->addr == TOS_LOCAL_ADDRESS)" 

and when the condition is true, mote will forward the received message. 
But I am a bit confused now! Why this condition should be true? If pMsg->addr equals to mote local address, doesn't it mean that the message is for that specific mote which received the message and should not be forwarded?

Please help. It's urgent :(

--
Regards,
Hamidreza Hosseini
<div><div dir="ltr">Hi all,<div><br></div>
<div>I want to send messages using LQIMultiHop library in tinyos-1.x on TelosB motes. I programmed motes with app/SurgeTelos, but the motes does not forward received messages. I checked MultiHopEngineM.nc and found that in ReceiveMsg.receive() function, there is a line that contains&nbsp;</div>
<div><br></div>
<div>"if (pMsg-&gt;addr == TOS_LOCAL_ADDRESS)"&nbsp;</div>
<div><br></div>
<div>
<div>and when the condition is true, mote will forward the received message.&nbsp;</div>
<div>But I am a bit confused now! Why this condition should be true? If pMsg-&gt;addr equals to mote local address, doesn't it mean that the message is for that specific mote which received the message and should not be forwarded?</div>
<div><br></div>
<div>Please help. It's urgent :(</div>
<div><br></div>-- <br><div dir="ltr">Regards,<br>Hamidreza Hosseini<br>
</div>
</div>
</div></div>
Alessandro Sivieri | 1 Sep 10:51 2014
Picon

Efficient ways to dump LogStorage

Hi all,

I'm quite effectively using the LogStorage to store sample data in a deployment. As of today, whenever I have to extract the data from the storage, I simply seek to the beginning and then read each entry, printing it out in a CSV-like format and collecting the printouts from a terminal. The problem here is that, depending on the hardware device I'm using, I need to add a certain delay between reads in TinyOS (between 25 and 50 ms), otherwise the output from the serial line becomes garbled (basically, printfs overlap each other). This means that it takes about 20 to 40 minutes to download a month of data (sampling once per minute).

Because of this, I think this is one of the less efficient ways I can do this: do you know which would be a more efficient (i.e., faster) way? One idea could be to use the SerialAM interface and a corresponding program (in Java, for example) on the computer side to interpret each message, but I wonder if the same problem of overlapping printfs would appear also in this case, thus rendering the messages corrupted.

<div><div dir="ltr">Hi all,<div><br></div>
<div>I'm quite effectively using the LogStorage to store sample data in a deployment. As of today, whenever I have to extract the data from the storage, I simply seek to the beginning and then read each entry, printing it out in a CSV-like format and collecting the printouts from a terminal. The problem here is that, depending on the hardware device I'm using, I need to add a certain delay between reads in TinyOS (between 25 and 50 ms), otherwise the output from the serial line becomes garbled (basically, printfs overlap each other). This means that it takes about 20 to 40 minutes to download a month of data (sampling once per minute).</div>

<div><br></div>
<div>Because of this, I think this is one of the less efficient ways I can do this: do you know which would be a more efficient (i.e., faster) way? One idea could be to use the SerialAM interface and a corresponding program (in Java, for example) on the computer side to interpret each message, but I wonder if the same problem of overlapping printfs would appear also in this case, thus rendering the messages corrupted.</div>

<div><br></div>
<div>Any idea?<br clear="all"><div><br></div>-- <br>Sivieri Alessandro<br><a href="mailto:alessandro.sivieri <at> gmail.com" target="_blank">alessandro.sivieri <at> gmail.com</a><br><a href="http://sivieri.wordpress.com/" target="_blank">http://sivieri.wordpress.com/</a><br>
</div>
</div></div>
汪亮 | 1 Sep 10:39 2014

iris mote 3d accelerometer

Hi, 

I found mts420 and mts310 sensor boards for iris mote only contain 2D acceleromters. Any idea on how to get a 3D accelerometer work on iris? Thanks a lot!

Regards,

Liang Wang
<div><div dir="ltr">Hi,&nbsp;<div><br></div>
<div>I found mts420 and mts310 sensor boards for iris mote only contain 2D acceleromters. Any idea on how to get a 3D accelerometer work on iris? Thanks a lot!</div>
<div><br></div>
<div>Regards,</div>
<div><br></div>
<div>Liang Wang</div> 		 	   		  </div></div>
Nahr Elk | 29 Aug 14:18 2014
Picon

New topics in WSN

Hello,

Dear researchers,
I would like to start a new research work on WSN. Please can you list me some interesting and novel topics.

Many thanks in advance.

--
Nahr Elk
<div><div dir="ltr">Hello,<div><br></div>
<div>Dear researchers,</div>
<div>I would like to start a new research work on WSN. Please can you list me some interesting and novel topics.</div>
<div><br></div>
<div>Many thanks in advance.</div>
<div><br></div>
<div>--</div>
<div>Nahr Elk</div>
</div></div>
KMote | 28 Aug 09:24 2014
Picon

Flash Errors in tos-bsl

Hello everyone,

when i am compiling and flashing my program throgh the "make telosb install"
command i am getting often the error:

 compiled SampleArrayFFTMiddleAppC to build/telosb/main.exe
           27382 bytes in ROM
            1326 bytes in RAM
msp430-objcopy --output-target=ihex build/telosb/main.exe
build/telosb/main.ihex
    writing TOS image
tos-set-symbols --objcopy msp430-objcopy --objdump msp430-objdump --target
ihex build/telosb/main.ihex build/telosb/main.ihex.out-2 TOS_NODE_ID=2
ActiveMessageAddressC__addr=2
    installing telosb binary using bsl
tos-bsl --telosb -c /dev/ttyUSB1 -r -e -I -p build/telosb/main.ihex.out-2
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 1918, in <module>
    main(0);
  File "/usr/bin/tos-bsl", line 1833, in main
    for f in toinit: f()
  File "/usr/bin/tos-bsl", line 1098, in actionMassErase
    0xa506)             #Required setting for mass erase!
  File "/usr/bin/tos-bsl", line 758, in bslTxRx
    rxFrame = self.comTxRx(cmd, dataOut, len(dataOut))  #Send frame
  File "/usr/bin/tos-bsl", line 451, in comTxRx
    raise BSLException(self.ERR_RX_NAK)
__main__.BSLException: NAK received (wrong password?)
make: *** [program] Error 1

Why ist that happening? This is very disturbing all the time...

Regards,
KMote

--
View this message in context: http://tinyos-help.10906.n7.nabble.com/Flash-Errors-in-tos-bsl-tp24555.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.
Jisha Mary Jose | 28 Aug 08:20 2014
Picon

attacks in tossim

Hi,

Can anyone help me and tell me how to do an attack in TOSSIM?? i want to show a pollution attack in TOSSIM at a node and prevent it using my technique.. please help me..

Also i have to do a prevention of denial of service attack prevention in TOSSIM. so i have to flood a node with many bogus packets, but correctly receive a valid packet.. how to do this???

help me..

Regards,

Jisha Mary Jose
......jMj......
<div><div dir="ltr">
<div class="gmail_default">Hi,</div>
<div class="gmail_default"><br></div>
<div class="gmail_default">
Can anyone help me and tell me how to do an attack in TOSSIM?? i want to show a pollution attack in TOSSIM at a node and prevent it using my technique.. please help me..</div>
<div class="gmail_default">
<br>
</div>
<div class="gmail_default">Also i have to do a prevention of denial of service attack prevention in TOSSIM. so i have to flood a node with many bogus packets, but correctly receive a valid packet.. how to do this???</div>
<div class="gmail_default"><br></div>
<div class="gmail_default">help me..</div>
<div class="gmail_default">
<br>
</div>
<div><div dir="ltr">Regards,<br><br>Jisha Mary Jose<br>......jMj......</div></div>
</div></div>
Alex | 28 Aug 05:16 2014
Picon

Blip packet parse


Hi, all

    I used UDPEcho and IPBaseStation in tinyos 2.x with BLIP (I guess it is blip 1). The node and the base communicates, while a sniffer node is nearby. There is some data sniffer catched:

7E 42 FF FF 64 00 40 03 94 3A FF 00 64 A4 01 86 00 20 09 40 00 00 00 00 00 00 00 00 00 00 00 03 04 40 C0 00 27 8D 00 00 09 3A 80 00 00 00 00 FE C0 00 00 00 00 00 00 00 00 00 00 00 00 00 64 11 01 00 00 00 00 00 00 E3 00 BE F3 7E
7E 42 09 00 64 00 12 04 D4 40 00 64 00 09 80 D0 28 00 46 5C A3 68 65 6C 70 E3 00 BF 9D 7E
7E 42 64 00 09 00 1C 04 94 3C 41 00 09 00 64 11 0A 0A 08 C0 8C 0A 08 00 64 00 46 D0 28 00 0A 2B 7B 06 02 C5 00 58 C4 7E 

The above is 3 types of data catched. I tried to parse them, the result is below

7E 42 // Start flag and 42
FF FF 64 00 40 03 94 // Tinyos header, destination addr, source addr , length,  am type and group.
3A FF 00 64 A4 01 86 00 20 09 40 00 00 00 00 00 00 00 00 00 00 00 03 04 40 C0 00 27 8D 00 00 09 3A 80 00 00 00 00 
FE C0 00 00 00 00 00 00 00 00 00 00 00 00 00 64 11 01 00 00 00 00 00 00 E3 00 // the red letter are source IPv6 addr in full format.(it's wired I do not find destin)
BE F3 7E // crc and stop flag
(I configure it as a broadcast msg)
7E 42 // Start flag and 42
09 00 64 00 12 04 D4 // tinyos header
40 00 64 00 09 80 D0 28 00 46 5C A3 68 65 6C 70 E3 00 // the red letter are 70 in decimal which I opened as a UDP port
BF 9D 7E // crc and stop flag
(It is a request)
7E 42 // Start flag and 42
64 00 09 00 1C 04 94 // tinyos header
3C 41 00 09 00 64 11 0A 0A 08 C0 8C 0A 08 00 64 00 46 D0 28 00 0A 2B 7B 06 02 C5 00 // the red letter are my payload data.
58 C4 7E // crc and stop flag
(this is a answer)

I tried my best, and the above is all I could parse. What the other part mean? Is there any document? I had read some docs about 6lowpan which told me dispatch, next header, but I could not see any accordance with the packets I catched. Are they 6lowpan packets?

And another thing, when I pinged the node through base, the sniffer could catch nothing which ping6 got responses.


    Anyone who knows about it?

--

Best regards,
Alex.


<div>
<div>
<br><div>Hi, all</div>
<div><br></div>
<div>&nbsp; &nbsp; I used UDPEcho and IPBaseStation in tinyos 2.x with BLIP (I guess it is blip 1). The node and the base communicates, while a sniffer node is nearby. There is some data sniffer catched:</div>
<div><br></div>
<div>
<div>7E 42 FF FF 64 00 40 03 94 3A FF 00 64 A4 01 86 00 20 09 40 00 00 00 00 00 00 00 00 00 00 00 03 04 40 C0 00 27 8D 00 00 09 3A 80 00 00 00 00 FE C0 00 00 00 00 00 00 00 00 00 00 00 00 00 64 11 01 00 00 00 00 00 00 E3 00 BE F3 7E</div>
<div>7E 42 09 00 64 00 12 04 D4 40 00 64 00 09 80 D0 28 00 46 5C A3 68 65 6C 70 E3 00 BF 9D 7E</div>
<div>7E 42 64 00 09 00 1C 04 94 3C 41 00 09 00 64 11 0A 0A 08 C0 8C 0A 08 00 64 00 46 D0 28 00 0A 2B 7B 06 02 C5 00 58 C4 7E&nbsp;</div>
</div>
<div><br></div>
<div>The above is 3 types of data catched. I tried to parse them, the result is below</div>
<div><br></div>
<div>7E 42 // Start flag and 42</div>
<div>
<span>FF FF</span><span> 64 00</span> <span>40</span> <span>03</span> 94 // Tinyos header, destination addr, source addr , length, &nbsp;am type and group.</div>
<div>3A FF 00 64 A4 01 86 00 20 09 40 00 00 00 00 00 00 00 00 00 00 00&nbsp;03 04 40 C0 00 27 8D 00 00 09 3A 80 00 00 00 00&nbsp;</div>
<div>
<span>FE C0 00 00 00 00 00 00 00 00 00 00 00 00 00 64</span> 11 01 00 00 00 00 00 00 E3 00 // the red letter are source IPv6 addr in full format.(it's wired I do not find destin)</div>
<div>BE F3 7E // crc and stop flag</div>
<div>(I configure it as a broadcast msg)</div>
<div>7E 42&nbsp;// Start flag and 42</div>
<div>09 00 64 00 12 04 D4&nbsp;// tinyos header</div>
<div>40 00 64 00 09 80 D0 28 <span>00 46 </span>5C A3 68 65 6C 70 E3 00 // the red letter are 70 in decimal which I opened as a UDP port</div>
<div>BF 9D 7E&nbsp;// crc and stop flag</div>
<div>(It is a request)</div>
<div>7E 42&nbsp;// Start flag and 42</div>
<div>64 00 09 00 1C 04 94 // tinyos header</div>
<div>3C 41 00 09 00 64 11 0A 0A 08 C0 8C 0A 08 00 64 00 46 D0 28 00 0A 2B 7B <span>06 02</span> C5 00 // the red letter are my payload data.</div>
<div>58 C4 7E&nbsp;// crc and stop flag</div>
<div>(this is a answer)</div>
<div><br></div>
<div>I tried my best, and the above is all I could parse. What the other part mean? Is there any document? I had read some docs about 6lowpan which told me dispatch, next header, but I could not see any accordance with the packets I catched. Are they 6lowpan packets?</div>
<div><br></div>
<div>And another thing, when I pinged the node through base, the sniffer could catch nothing which ping6 got responses.</div>
<div><br></div>
<div><br></div>
<div>&nbsp; &nbsp; Anyone who knows about it?</div>
<div><br></div>
<div>--<br><div><br></div>
<div>Best regards,</div>
<div>Alex.</div>
</div>
</div>
<br><br><span title="neteasefooter"><span><span title="neteasefooter"><span><a href="#" target="_blank"></a></span></span>
</span></span>
</div>
Alex | 26 Aug 03:36 2014
Picon

blip with iris

Hi, anyone who cares

    Have you ever used blip with iris mote? I compiled the source in the folder tinyos-2.x/support/sdk/c/blip, and it works well with micaz, but not with iris. Has anyone transplanted the code to iris? or any solutions for the problem below?

user <at> user:/opt/tinyos-2.x/support/sdk/c/blip$ sudo driver/ip-driver /dev/ttyUSB1 iris
2014-08-05T15:47:12.778CST: INFO: Read config from 'serial_tun.conf'
2014-08-05T15:47:12.778CST: INFO: Using channel 25
2014-08-05T15:47:12.778CST: INFO: Retries: 5
2014-08-05T15:47:12.779CST: INFO: telnet console server running on port 6106
2014-08-05T15:47:12.798CST: INFO: created tun device: tun0
2014-08-05T15:47:18.085CST: FATAL: configuring interface failed!  aborting!

--

Best regards,
Alex.




<div>
<div>
<div>Hi, anyone who cares<br><br>&nbsp; &nbsp; Have you ever used blip with iris mote? I compiled the source in the folder&nbsp;tinyos-2.x/support/sdk/c/blip, and it works well with micaz, but not with iris. Has anyone transplanted the code to iris? or any solutions for the problem below?<br><br><div>user <at> user:/opt/tinyos-2.x/support/sdk/c/blip$ sudo driver/ip-driver /dev/ttyUSB1 iris</div>
<div>2014-08-05T15:47:12.778CST: INFO: Read config from 'serial_tun.conf'</div>
<div>2014-08-05T15:47:12.778CST: INFO: Using channel 25</div>
<div>2014-08-05T15:47:12.778CST: INFO: Retries: 5</div>
<div>2014-08-05T15:47:12.779CST: INFO: telnet console server running on port 6106</div>
<div>2014-08-05T15:47:12.798CST: INFO: created tun device: tun0</div>
<div><span>2014-08-05T15:47:18.085CST: FATAL: configuring interface failed! &nbsp;aborting!</span></div>
<div><br></div>
<div>--<br><div><br></div>
<div>Best regards,</div>
<div>Alex.</div>
</div>
</div>
<br><br><span title="neteasefooter"><span><span title="neteasefooter"><span><a href="#" target="_blank"></a></span></span>
</span></span>
</div>
<br><br><span title="neteasefooter"><span></span></span>
</div>
Abinaya Inbamani | 20 Aug 11:41 2014
Picon

moteview -reg

hi,
i am using moteview 2.1.. i am able to view the data in server messages but i am not able to see the packets in node list and visualisation tabs.what can be the issue?
can anyone pls help?

--
- Regards,
  Abinaya.
<div><div dir="ltr">
<span>hi,</span><div>i am using moteview 2.1.. i am able to view the data in server messages but i am not able to see the packets in node list and visualisation tabs.what can be the issue?</div>
<div>can anyone pls help?</div>
<div><br></div>-- <br><div dir="ltr">- Regards,<div>&nbsp; Abinaya.</div>
</div>
</div></div>
Abinaya Inbamani | 20 Aug 11:40 2014
Picon

export the packet to file in raw format

hi,
i read the xserve manual... in cygwin when i give the command 
xserve -device =com4 -xr
i was not able to export the packet to file in raw format...
though i give this command i am getting the same output which i got for 
xserve -device=com4 ....
what is the use of this export? Thanks!!!

--
- Regards,
  Abinaya.
<div><div dir="ltr">hi,<div>i read the xserve manual... in cygwin when i give the command&nbsp;</div>
<div>xserve -device =com4 -xr</div>
<div>i was not able to export the packet to file in raw format...</div>
<div>though i give this command i am getting the same output which i got for&nbsp;</div>
<div>xserve -device=com4 ....</div>
<div>what is the use of this export? Thanks!!!<br clear="all"><div><br></div>-- <br><div dir="ltr">- Regards,<div>&nbsp; Abinaya.</div>
</div>
</div>
</div></div>
Abinaya Inbamani | 19 Aug 13:28 2014
Picon

xserve -reg


hello sir..
i am using iris motes with mda100..
i received all the packets using the command
xserve -device=com4
now when i read the manual i found that 
xserve -r will help in displaying the raw packets..
but i was not able to receive the packets..what is the issue ?
have i made a mistake in declaration Thanks!!!
--
- Regards,
  Abinaya.
<div><div dir="ltr">
<br clear="all"><div>hello sir..</div>
<div>i am using iris motes with mda100..</div>
<div>i received all the packets using the command</div>
<div>xserve -device=com4</div>
<div>now when i read the manual i found that&nbsp;</div>
<div>xserve -r will help in displaying the raw packets..</div>
<div>but i was not able to receive the packets..what is the issue ?</div>
<div>have i made a mistake in declaration Thanks!!!</div>-- <br><div dir="ltr">- Regards,<div>
&nbsp; Abinaya.</div>
</div>
</div></div>

Gmane