Ivan Ribakov | 20 Feb 02:41 2013
Picon

Receive.receive event is signaled multiple times but processed only once

Hi all,

I'm using AODV implementation for TinyOS from here
(http://www2.engr.arizona.edu/~junseok/AODV.html). Problem I'm having
is that all but first messages don't get propagated to the application
layer.

Below are bits of code I'm running and some debug output to illustrate
what is going on:

>Test application code:

    event void MilliTimer.fired() {
        call Leds.led0Toggle();
        ctr = ctr + 1;
        test_pkt = (test_msg*)(call Packet.getPayload(p_pkt, sizeof
(test_msg)));
        test_pkt->counter = ctr;
        call AMSend.send(dest, p_pkt, sizeof(test_msg));
    }
    event void AMSend.sendDone(message_t * bufPtr, error_t error) {
        test_pkt = (test_msg*)(call Packet.getPayload(p_pkt, sizeof
(test_msg)));
        dbg("APPS", "%s\t APPS: sendDone!! (error=%d) ctr=%u\n",
sim_time_string(), error, test_pkt->counter);
    }
    event message_t* Receive.receive(message_t * bufPtr, void *
payload, uint8_t len) {
        rcv_pkt = (test_msg * ) payload;
        dbg("APPS", "%s\t APPS: receive!! %u\n", sim_time_string(),
(Continue reading)

Jan Egil Vestbø | 2 Mar 00:48 2013
Picon

Tossim: Strange behavior with Asymmetric links and Acks

Hi

I was simulating and found this weird behavior while using Tossim. I am sending AM packets from node 1 to node 0, which is requested for acks, and checking whether the ack is returned. When there is bidirectional connection between the nodes, acks are received. If there is no connection between the nodes, acks are not received. However, if there is a link 1->0, but not 0->1, acks are still received. (See code output below)

I assumed that the ack messages sent by 0 to 1 would be lost and no ack received. Is this a bug, is it likely I've done something wrong or misunderstanding tinyos's/tossim ack behavior?

Code: 
components ActiveMessageC;
DataSendP.PacketAcknowledgements -> ActiveMessageC;
DataSendP.Packet -> AMSenderC;

sendDone(...) {
if (call PacketAcknowledgements.wasAcked(msg)) 
dbg("DATAACK", "Message was acked\n");
else dbg("DATAACK", "Message was NOT acked\n")
}
AMSend.send(…) {
call Packet.clear(msg);
if(call PacketAcknowledgements.requestAck(msg) !=SUCCESS) {
dbg("DATAACK", "Could not set ack bit in msg\n");
}

When both links are active acks are received like intended:
DEBUG (1): AM: Sending packet (id=132, len=18) to 0
DEBUG (0): Received active message (0x10f78367b) of type 132 and length 18 for me <at> 0:5:0.336532667.
...
DEBUG (1): Message was acked

When removing both links, no ack is received:
radio.remove(1,0)
radio.remove(0,1)
DEBUG (1): AM: Sending packet (id=132, len=18) to 0
DEBUG (1): Message was NOT acked

However, when removing the link from node 0 to node 1 I assumed no ack would be returned
radio.remove(0,1)
DEBUG (1): AM: Sending packet (id=132, len=18) to 0
DEBUG (0): Received active message (0x1046d567b) of type 132 and length 18 for me <at> 0:5:0.336532667.
...
DEBUG (1): Message was acked

Regards
Jan Egil
<div>Hi<div><br></div>
<div>I was simulating and found this weird behavior while using Tossim. I am sending AM packets from node 1 to node 0, which is requested for acks, and checking whether the ack is returned. When there is bidirectional connection between the nodes, acks are received. If there is no connection between the nodes, acks are not received. However, if there is a link 1-&gt;0, but not 0-&gt;1, acks are still received. (See code output below)</div>
<div><br></div>
<div>I assumed that the ack messages sent by 0 to 1 would be lost and no ack received. Is this a bug, is it likely I've done something wrong or misunderstanding tinyos's/tossim ack behavior?</div>
<div><br></div>
<div>Code:&nbsp;<span class="Apple-tab-span">	</span>
</div>
<div>
<span class="Apple-tab-span">		</span><span>components</span><span> ActiveMessageC;</span>
</div>
<div>
<span class="Apple-tab-span">	</span>DataSendP.PacketAcknowledgements -&gt; ActiveMessageC;</div>
<div>
<span class="Apple-tab-span">	</span>DataSendP.Packet -&gt; AMSenderC;</div>
<div><br></div>
<div>
<span class="Apple-tab-span">	</span>sendDone(...) {<span class="Apple-tab-span">	</span>
</div>
<div>
<span><span class="Apple-tab-span">	</span>if</span><span> (</span><span>call</span><span> PacketAcknowledgements.wasAcked(msg))</span><span>&nbsp;</span>
</div>
<div>
<span><span class="Apple-tab-span">		</span>dbg(</span>"DATAACK"<span>, </span>"Message was acked\n"<span>);</span>
</div>
<div>
<span><span class="Apple-tab-span">		</span></span><span>else</span><span> dbg(</span>"DATAACK"<span>, </span>"Message was NOT acked\n"<span>)</span>
</div>
<div><span><span class="Apple-tab-span">	</span>}</span></div>
<div><span class="Apple-tab-span">	</span></div>
<div>
<span class="Apple-tab-span">	</span>AMSend.send(&hellip;) {</div>
<div>
<span class="Apple-tab-span">	</span><span>call</span> Packet.clear(msg);</div>
<div>
<span class="Apple-tab-span">	</span>i<span>f</span>(<span>call</span> PacketAcknowledgements.requestAck(msg) !=SUCCESS) {</div>
<div>
<span><span class="Apple-tab-span">		</span>dbg(</span>"DATAACK"<span>, </span>"Could not set ack bit in msg\n"<span>);</span>
</div>
<div>
<span class="Apple-tab-span">	</span>}</div>
<div><br></div>
<div>When both links are active acks are received like intended:</div>
<div>
<div>DEBUG (1): AM: Sending packet (id=132, len=18) to 0</div>
<div>DEBUG (0): Received active message (0x10f78367b) of type 132 and length 18 for me  <at>  0:5:0.336532667.</div>
<div>...</div>
<div>DEBUG (1): Message was acked</div>
</div>
<div><br></div>
<div>When removing both links, no ack is received:</div>
<div>radio.remove(1,0)</div>
<div><div>radio.remove(0,1)</div></div>
<div>DEBUG (1): AM: Sending packet (id=132, len=18) to 0</div>
<div><div>DEBUG (1): Message was NOT acked</div></div>
<div><br></div>
<div>However, when removing the link from node 0 to node 1 I assumed no ack would be returned</div>
<div>radio.remove(0,1)</div>
<div>DEBUG (1): AM: Sending packet (id=132, len=18) to 0</div>
<div>
<div>DEBUG (0): Received active message (0x1046d567b) of type 132 and length 18 for me  <at>  0:5:0.336532667.</div>
<div>...</div>
<div>DEBUG (1): Message was acked</div>
</div>
<div><br></div>
<div>Regards</div>
<div>Jan Egil</div>
</div>
Muhammad Tayyeb | 28 Feb 18:50 2013
Picon

BasestationAppC.nc:41: component DelugeC not found

Hello,
I am running the Deluge T2 tutorial from tinyos wiki tutorials using
Xubuntos 2.0 on VMware workstation on Windows 7. I copied the folder
of Basestation from TinyOS cvs
(http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x/apps/tests/deluge/Basestation/)
When i run the command to install it on a Telosb connected mote i get
the following error.

 xubuntos <at> xubuntos-tinyos:/opt/tinyos-2.x/apps/tests/deluge/Basestation$
make telosb install bsl,/dev/ttyUSB0
mkdir -p build/telosb
    compiling BasestationAppC to a telosb binary
ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
-fnesc-cfile=build/telosb/app.c -board= -Ibuild/telosb
-DDELUGE_BASESTATION -DIDENT_PROGRAM_NAME=\"BasestationAppC\"
-DIDENT_USER_ID=\"xubuntos\" -DIDENT_HOSTNAME=\"xubuntos-tinyos\"
-DIDENT_USER_HASH=0x00f95284L -DIDENT_UNIX_TIME=0x512f3527L
-DIDENT_UID_HASH=0xb0b38851L  BasestationAppC.nc -lm
In component `BasestationAppC':
BasestationAppC.nc:41: component DelugeC not found
make: *** [exe0] Error 1

Kindly share what to do to make it run.

thanks a lot.

regards,
Tayyeb 10mscsemtayyeb <at> seecs.edu.pk

--
Muhammad Tayyeb | 28 Feb 17:05 2013
Picon

Missing files in Xubuntos 2.1

Hello,

I am using VMware Workstation in Windows 7 to run Xubuntos 2.0. There is also Xubuntos 2.1 but it doesn't contain the folder $tinyos-2.x/tools/tinyos/misc as mentioned in the tutorial about Deluge T2 from where I have to install the python scripts. The tutorial states that "On the CVS, the scripts are located in tinyos-2.x/tools/tinyos/misc." I searched google and found "http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x/" and downloaded but it gives an error when it is extracted.

"An error occurred! 
tar: Skipping to next header
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors "

Interestingly this folder tinyos-2.x is present in Xubuntos 2.0. So please share if I should switch back to Xubuntos 2.0 or is there any other alternative which I can run in Vmware just like xubuntos. 

P.S I am not expert in Linux so kindly keep that in mind in your replies.

Thank you.

regards,


<div><div dir="ltr">
<span>Hello,</span><div><br></div>
<div>I am using VMware Workstation in Windows 7 to run Xubuntos 2.0. There is also Xubuntos 2.1 but it doesn't contain the folder $tinyos-2.x/tools/tinyos/misc as mentioned in the tutorial about Deluge T2 from where I have to install the python scripts. The tutorial states that "On the CVS, the scripts are located in tinyos-2.x/tools/tinyos/misc." I searched google and found "<a href="http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x/" target="_blank">http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x/</a>" and downloaded but it gives an error when it is extracted.</div>
<div><br></div>
<div>"An error occurred!&nbsp;</div>
<div>tar: Skipping to next header<br>
</div>
<div>gzip: stdin: unexpected end of file<br>
</div>
<div>tar: Child returned status 1</div>
<div>
tar: Error exit delayed from previous errors "</div>
<div><br></div>
<div>Interestingly this folder tinyos-2.x is present in Xubuntos 2.0. So please share if I should switch back to Xubuntos 2.0 or is there any other alternative which I can run in Vmware just like xubuntos.&nbsp;</div>
<div><br></div>
<div>P.S I am not expert in Linux so kindly keep that in mind in your replies.</div>
<div>
<br>
</div>
<div>Thank you.</div>
<div><br></div>
<div>regards,</div>
<div>Tayyeb,&nbsp;<a href="mailto:10mscsemtayyeb <at> seecs.edu.pk" target="_blank">10mscsemtayyeb <at> seecs.edu.pk</a>
</div>
<div><br></div>
<br>
</div></div>
Picon

Entra nella mia rete su LinkedIn

 
 
Davide,
 
 
 
 
 
 
 
 
 
 
 
 
 
Nelson Rosario desidera collegarsi con te su LinkedIn.
 
 
Nelson Rosario
VoIP Senior Support Engineer- BPOpen AM Telephony at Capgemini Visualizza profilo »
 
 
 
 
 
 
 
 
Stai ricevendo email di Invitation. Annulla l'iscrizione.
 
Questa email era destinata a Davide Pacifico (Network Consulting Engineer presso Cisco Systems). Scopri perché queste informazioni sono incluse. © 2013, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA
 
<div>

  

  
    <table border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="#F4F4F4"><tr><td align="center">

<table border="0" cellspacing="0" cellpadding="0" bgcolor="#f4f4f4" width="100%" class=""><tr><td width="98%" valign="top" align="center">
  <table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" width="590" class="responsive"><tr><td width="98%" valign="top" align="">
    <table border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="#f4f4f4" class="responsive"><tr>
<td align="right" width="590" class="responsive">
          <table cellspacing="0" cellpadding="0" border="0"><tr>
<td height="15"></td>
              </tr></table>
<div>
            <a href="http://www.linkedin.com/">
              </a>
          </div>
        </td>
      </tr></table>
<table border="0" cellspacing="0" cellpadding="0" width="100%" class="responsive"><tr>
<td bgcolor="#ffffff" class="responsive" align="left">
            <table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff" width="100%"><tr>
<td width="15"><table width="15" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table></td>
                <td>
                  Davide,
                </td>
                <td width="15"><table width="15" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table></td>
              </tr></table>
<table bgcolor="#f2faff" width="100%">
<tr>
<td height="15">
                    <table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
                  <td height="15">
                    <table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
                  <td height="15">
                    <table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
                  <td height="15">
                    <table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
                </tr>
<tr><table border="0" cellspacing="0" cellpadding="0" width="100%"><tr>
<td width="15">
                        <table width="15" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
                      <td>
                        <table border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="#f2faff">
<tr>
<td height="10">
                              <table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
                            <td height="10">
                              <table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
                            <td height="10">
                              <table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
                            <td height="10">
                              <table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
                            <td height="10">
                              <table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
                          </tr>
<tr>
<td width="10">
                              <table width="10" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
                              <td valign="top" width="60">
                                  </td>
                              <td width="10">
                                <table width="10" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
                            <td valign="top">
                              <div>
                                Nelson Rosario desidera collegarsi con te su LinkedIn.
                              </div>
                              <div>
                                <table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</div>
                              <table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
<div>Nelson Rosario</div>
                              <table border="0" cellspacing="0" cellpadding="0" width="100%"><tr>
<td>
                                    <table border="0" cellspacing="0" cellpadding="0" width="50%" class="responsive-50per" align="left"><tr>
<td>VoIP Senior Support Engineer- BPOpen AM Telephony at Capgemini</td>
                                        <td>
                                          <a href="http://www.linkedin.com/e/-528s01-hdpwcaok-69/rso/75796571/qj8O/name/46387319_I311180629_45/eml-comm_invm-b-pro_txt-inv28/?hs=false&amp;tok=31ybU7FM5PoRE1">
                                            <span>
                                              Visualizza profilo &raquo;
                                            </span>
                                          </a>
                                        </td>
                                      </tr></table>
</td>
                                </tr></table>
</td>
                            <td width="10">
                              <table width="10" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
                          </tr>
<tr>
<td height="10">
                              <table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
                          </tr>
</table>
</td>
                      <td width="15">
                        <table width="15" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
                    </tr></table></tr>
<tr>
<td>
                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td height="10">
                          <table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
                      </tr>
<tr>
<td>
                          <div>
                            <table border="0" cellspacing="1" cellpadding="3" align="left"><tr>
<td width="5">
                                  <table width="5" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
                                <td colspan="3" align="left">
                                    <table border="0" cellpadding="6" cellspacing="1" align=""><tr><td align="center" valign="middle" bgcolor="#FFE86C"><div><a href="http://www.linkedin.com/e/-528s01-hdpwcaok-69/DQCGT3GB9z4raacyxHEZ6GwS_HFHC0dZ_bJG6UZ99BqwCW9clJdr/blk/I311180629_45/0UcDpKqiRzolZKqiRybmRSrCBvrmRLoORIrmkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYRd5YVczoMe34Ncjd9bP1OmCJflCpNbPkMdzAMcP8Uc3cLrCBxbOYWrSlI/eml-comm_invm-b-in_ac-inv28/?hs=false&amp;tok=3gJ9XbwqBPoRE1"><span>Accetta</span></a></div></td></tr></table>
</td>
                              </tr></table>
</div>
                        </td>
                      </tr>
<tr>
<td height="10">
                          <table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
                      </tr>
</table>
</td>
                </tr>
</table>
<table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>
</td>
        </tr></table>
</td></tr></table>
</td></tr></table>
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#f4f4f4" width="100%" class=""><tr><td width="98%" valign="top" align="center">

<table border="0" cellspacing="0" cellpadding="0" width="580" class="responsive">
<tr><td><table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table></td></tr>
<tr>
<td align="left">
            Stai ricevendo email di Invitation. <a href="https://www.linkedin.com/e/-528s01-hdpwcaok-69/DQCGT3GB9z4raacyxHEZ6GwS_HFHC0dZ_bJG6UZ99BqwCW9clJdr/uns/20008/46387319/ph7ih08iqp84j3u/tinyos-help%40millennium%2Eberkeley%2Eedu/-528s01-hdpwcaok-69/eml-comm_invm-f-unsub-inv28/?hs=false&amp;tok=2-bJbYWphPoRE1">Annulla l'iscrizione</a>.
        <table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table>

                Questa email era destinata a Davide Pacifico (Network Consulting Engineer presso Cisco Systems). <a href="http://www.linkedin.com/e/-528s01-hdpwcaok-69/plh/http%3A%2F%2Fhelp%2Elinkedin%2Ecom%2Fapp%2Fanswers%2Fdetail%2Fa_id%2F4788/-GXI/?hs=false&amp;tok=0ntyg7QJZPoRE1">Scopri perch&eacute; queste informazioni sono incluse</a>. &copy; 2013, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA
    </td>
  </tr>
<tr><td><table width="1" border="0" cellspacing="0" cellpadding="0" class=""><tr><td><div>&nbsp;</div></td></tr></table></td></tr>
</table>
</td></tr></table>
</td></tr></table>
</div>
Eric Decker | 28 Feb 00:49 2013
Picon

Re: [Shimmer-users] Shimmer blip compilation error



On Wed, Feb 27, 2013 at 9:28 AM, Yared Berhanu <yaruda <at> gmail.com> wrote:
Greetings all,

I am new member and it my first time to post on this mailing list. My problem is, I want to install blip on shimmer2r devices and I have downloaded the recent tinyos-main and tinyos-2.x-contrib OS using svn from goodlecode repo.

The SVN repository at Google has been Deprecated.   You want to get the current release from https://github.com/tinyos/tinyos-release and the development tree from https://github.com/tinyos/tinyos-main.

Blip 2.0 has been added to the trunk.   But changes were made prior to the 2.1.2 release that removed support/sdk/c/blip/lib6lowpan/devconf.h

And the developer seems to be no longer active.

I'm not sure what to tell you.

I've CC'd others to see if they might no of anything.

 
I have followed all the steps on the tinyos wiki for installation but I could go through it, here were the command I used to compile and the error I found 

tiny2 <at> tiny1:~/tinyos-main/tinyos-2.x-contrib/berkeley/blip-2.0/apps/IPBaseStation$ make shimmer2r blip install bsl,/dev/ttyUSB0
mkdir -p build/shimmer2r
    compiling BaseStationC to a shimmer2r binary
ncc -o build/shimmer2r/main.exe  -Os -O -DCC2420_HW_ACKNOWLEDGEMENTS -DCC2420_HW_ACKNOWLEDGEMENTS  -DCC2420_HW_ADDRESS_RECOGNITION -DPACKET_LINK -DTOSH_DATA_LENGTH=125 -I/home/tiny2/tinyos-main/tos/lib/net/ -I/home/tiny2/tinyos-main/tos/lib/printf/ -I/home/tiny2/tinyos-main/support/sdk/c/blip/ -I/home/tiny2/tinyos-main/tos/lib/net/blip/ -I/home/tiny2/tinyos-main/tos/lib/net/blip/interfaces/  -I/home/tiny2/tinyos-main/tos/lib/net/blip/nwprog/ -I/home/tiny2/tinyos-main/tos/lib/net/blip/shell/ -I/home/tiny2/tinyos-main/tos/lib/net/blip/serial/ -I/home/tiny2/tinyos-main/tos/lib/net/blip/platform/ -I/home/tiny2/tinyos-main/tos/lib/net/blip/icmp/ -I/home/tiny2/tinyos-main/tos/lib/net/blip/dhcp/ /home/tiny2/tinyos-main/support/sdk/c/blip/lib6lowpan/iovec.c /home/tiny2/tinyos-main/support/sdk/c/blip/lib6lowpan/in_cksum.c /home/tiny2/tinyos-main/support/sdk/c/blip/lib6lowpan/ip_malloc.c /home/tiny2/tinyos-main/support/sdk/c/blip/lib6lowpan/utility.c /home/tiny2/tinyos-main/tos/lib/net/blip/table.c -mdisable-hwmul -fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=shimmer2r -fnesc-cfile=build/shimmer2r/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22 -DCC2420_DEF_CHANNEL=15 -DPACKET_LINK -I/home/tiny2/tinyos-main/support/sdk/c/blip/interface -I/home/tiny2/tinyos-main/tos/lib/serial -DIDENT_APPNAME=\"BaseStationC\" -DIDENT_USERNAME=\"tiny2\" -DIDENT_HOSTNAME=\"tiny1\" -DIDENT_USERHASH=0x543ca1f9L -DIDENT_TIMESTAMP=0x512e41afL -DIDENT_UIDHASH=0x8d39b1c1L  BaseStationC.nc -lm
BaseStationC.nc:88:21: error: devconf.h: No such file or directory
BaseStationP.nc:72:21: error: devconf.h: No such file or directory
In file included from BaseStationC.nc:100:
In component `BaseStationP':
BaseStationP.nc: In function `SerialControl.startDone':
BaseStationP.nc:192: `config_reply_t' undeclared (first use in this function)
BaseStationP.nc:192: (Each undeclared identifier is reported only once
BaseStationP.nc:192: for each function it appears in.)
BaseStationP.nc:192: `reply' undeclared (first use in this function)
BaseStationP.nc:199: syntax error before `)'
BaseStationP.nc:202: `CONFIG_ERROR_BOOTED' undeclared (first use in this function)
BaseStationP.nc: In function `ConfigureReceive.receive':
BaseStationP.nc:375: `config_cmd_t' undeclared (first use in this function)
BaseStationP.nc: In function `doConfigure.runTask':
BaseStationP.nc:386: `config_cmd_t' undeclared (first use in this function)
BaseStationP.nc:386: `cmd' undeclared (first use in this function)
BaseStationP.nc:387: syntax error before `error'
BaseStationP.nc:388: `config_reply_t' undeclared (first use in this function)
BaseStationP.nc:388: `reply' undeclared (first use in this function)
BaseStationP.nc:388: syntax error before `)'
BaseStationP.nc:390: syntax error before `)'
BaseStationP.nc:393: `CONFIG_ECHO' undeclared (first use in this function)
BaseStationP.nc:393: case label does not reduce to an integer constant
BaseStationP.nc:395: `CONFIG_SET_PARM' undeclared (first use in this function)
BaseStationP.nc:395: case label does not reduce to an integer constant
BaseStationP.nc:406: `CONFIG_REBOOT' undeclared (first use in this function)
BaseStationP.nc:406: case label does not reduce to an integer constant
BaseStationP.nc:409: `CONFIG_KEEPALIVE' undeclared (first use in this function)
BaseStationP.nc:409: case label does not reduce to an integer constant
BaseStationP.nc:413: `error' undeclared (first use in this function)
BaseStationP.nc: In function `configureReply.runTask':
BaseStationP.nc:424: `config_reply_t' undeclared (first use in this function)
BaseStationP.nc:424: `reply' undeclared (first use in this function)
BaseStationP.nc:427: syntax error before `)'
BaseStationP.nc: In function `ConfigureTimer.fired':
BaseStationP.nc:453: `config_reply_t' undeclared (first use in this function)
/home/tiny2/tinyos-main/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning "*** LOW POWER COMMUNICATIONS DISABLED ***"
/home/tiny2/tinyos-main/tos/chips/cc2420/link/PacketLinkC.nc:38:2: warning: #warning "*** USING PACKET LINK LAYER"
Reset.h:56:2: error: #error "Reset.h not defined/supported for your platform, aborting..."
make: *** [exe0] Error 1


Could you help me please,

Sincerely,

--
Yared Berhanu Woldegiorgis
Økern torgvei 92
N-0589 Oslo, Norway
tel. 004746263024
yaredbw <at> ifi.uio.no


_______________________________________________
Shimmer-users mailing list
Shimmer-users <at> eecs.harvard.edu
https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users




--
Eric B. Decker
Senior (over 50 :-) Researcher

<div>
<br><br><div class="gmail_quote">On Wed, Feb 27, 2013 at 9:28 AM, Yared Berhanu <span dir="ltr">&lt;<a href="mailto:yaruda <at> gmail.com" target="_blank">yaruda <at> gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
Greetings all,<br><br>I am new member and it my first time to post on this mailing list. My problem is, I want to install blip on shimmer2r devices and I have downloaded the recent tinyos-main and tinyos-2.x-contrib OS using svn from goodlecode repo.</blockquote>
<div><br></div>
<div>The SVN repository at Google has been Deprecated. &nbsp; You want to get the current release from <a href="https://github.com/tinyos/tinyos-release">https://github.com/tinyos/tinyos-release</a> and the development tree from <a href="https://github.com/tinyos/tinyos-main">https://github.com/tinyos/tinyos-main</a>.</div>
<div><br></div>
<div>Blip 2.0 has been added to the trunk. &nbsp; But changes were made prior to the 2.1.2 release that removed support/sdk/c/blip/lib6lowpan/devconf.h</div>
<div><br></div>
<div>And the developer seems to be no longer active.</div>
<div><br></div>
<div>I'm not sure what to tell you.</div>
<div><br></div>
<div>I've CC'd others to see if they might no of anything.</div>
<div><br></div>
<div>&nbsp;</div>
<blockquote class="gmail_quote">
 I have followed all the steps on the tinyos wiki for installation but I could go through it, here were the command I used to compile and the error I found&nbsp; <br><br clear="all">tiny2 <at> tiny1:~/tinyos-main/tinyos-2.x-contrib/berkeley/blip-2.0/apps/IPBaseStation$ make shimmer2r blip install bsl,/dev/ttyUSB0<br>mkdir -p build/shimmer2r<br>&nbsp;&nbsp;&nbsp; compiling BaseStationC to a shimmer2r binary<br>

ncc -o build/shimmer2r/main.exe&nbsp; -Os -O -DCC2420_HW_ACKNOWLEDGEMENTS -DCC2420_HW_ACKNOWLEDGEMENTS&nbsp; -DCC2420_HW_ADDRESS_RECOGNITION -DPACKET_LINK -DTOSH_DATA_LENGTH=125 -I/home/tiny2/tinyos-main/tos/lib/net/ -I/home/tiny2/tinyos-main/tos/lib/printf/ -I/home/tiny2/tinyos-main/support/sdk/c/blip/ -I/home/tiny2/tinyos-main/tos/lib/net/blip/ -I/home/tiny2/tinyos-main/tos/lib/net/blip/interfaces/&nbsp; -I/home/tiny2/tinyos-main/tos/lib/net/blip/nwprog/ -I/home/tiny2/tinyos-main/tos/lib/net/blip/shell/ -I/home/tiny2/tinyos-main/tos/lib/net/blip/serial/ -I/home/tiny2/tinyos-main/tos/lib/net/blip/platform/ -I/home/tiny2/tinyos-main/tos/lib/net/blip/icmp/ -I/home/tiny2/tinyos-main/tos/lib/net/blip/dhcp/ /home/tiny2/tinyos-main/support/sdk/c/blip/lib6lowpan/iovec.c /home/tiny2/tinyos-main/support/sdk/c/blip/lib6lowpan/in_cksum.c /home/tiny2/tinyos-main/support/sdk/c/blip/lib6lowpan/ip_malloc.c /home/tiny2/tinyos-main/support/sdk/c/blip/lib6lowpan/utility.c /home/tiny2/tinyos-main/tos/lib/net/blip/table.c -mdisable-hwmul -fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=shimmer2r -fnesc-cfile=build/shimmer2r/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22 -DCC2420_DEF_CHANNEL=15 -DPACKET_LINK -I/home/tiny2/tinyos-main/support/sdk/c/blip/interface -I/home/tiny2/tinyos-main/tos/lib/serial -DIDENT_APPNAME=\"BaseStationC\" -DIDENT_USERNAME=\"tiny2\" -DIDENT_HOSTNAME=\"tiny1\" -DIDENT_USERHASH=0x543ca1f9L -DIDENT_TIMESTAMP=0x512e41afL -DIDENT_UIDHASH=0x8d39b1c1L&nbsp; BaseStationC.nc -lm <br>

BaseStationC.nc:88:21: error: devconf.h: No such file or directory<br>BaseStationP.nc:72:21: error: devconf.h: No such file or directory<br>In file included from BaseStationC.nc:100:<br>In component `BaseStationP':<br>

BaseStationP.nc: In function `SerialControl.startDone':<br>BaseStationP.nc:192: `config_reply_t' undeclared (first use in this function)<br>BaseStationP.nc:192: (Each undeclared identifier is reported only once<br>

BaseStationP.nc:192: for each function it appears in.)<br>BaseStationP.nc:192: `reply' undeclared (first use in this function)<br>BaseStationP.nc:199: syntax error before `)'<br>BaseStationP.nc:202: `CONFIG_ERROR_BOOTED' undeclared (first use in this function)<br>

BaseStationP.nc: In function `ConfigureReceive.receive':<br>BaseStationP.nc:375: `config_cmd_t' undeclared (first use in this function)<br>BaseStationP.nc: In function `doConfigure.runTask':<br>BaseStationP.nc:386: `config_cmd_t' undeclared (first use in this function)<br>

BaseStationP.nc:386: `cmd' undeclared (first use in this function)<br>BaseStationP.nc:387: syntax error before `error'<br>BaseStationP.nc:388: `config_reply_t' undeclared (first use in this function)<br>BaseStationP.nc:388: `reply' undeclared (first use in this function)<br>

BaseStationP.nc:388: syntax error before `)'<br>BaseStationP.nc:390: syntax error before `)'<br>BaseStationP.nc:393: `CONFIG_ECHO' undeclared (first use in this function)<br>BaseStationP.nc:393: case label does not reduce to an integer constant<br>

BaseStationP.nc:395: `CONFIG_SET_PARM' undeclared (first use in this function)<br>BaseStationP.nc:395: case label does not reduce to an integer constant<br>BaseStationP.nc:406: `CONFIG_REBOOT' undeclared (first use in this function)<br>

BaseStationP.nc:406: case label does not reduce to an integer constant<br>BaseStationP.nc:409: `CONFIG_KEEPALIVE' undeclared (first use in this function)<br>BaseStationP.nc:409: case label does not reduce to an integer constant<br>

BaseStationP.nc:413: `error' undeclared (first use in this function)<br>BaseStationP.nc: In function `configureReply.runTask':<br>BaseStationP.nc:424: `config_reply_t' undeclared (first use in this function)<br>

BaseStationP.nc:424: `reply' undeclared (first use in this function)<br>BaseStationP.nc:427: syntax error before `)'<br>BaseStationP.nc: In function `ConfigureTimer.fired':<br>BaseStationP.nc:453: `config_reply_t' undeclared (first use in this function)<br>

/home/tiny2/tinyos-main/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning "*** LOW POWER COMMUNICATIONS DISABLED ***"<br>/home/tiny2/tinyos-main/tos/chips/cc2420/link/PacketLinkC.nc:38:2: warning: #warning "*** USING PACKET LINK LAYER"<br>

Reset.h:56:2: error: #error "Reset.h not defined/supported for your platform, aborting..."<br>make: *** [exe0] Error 1<br><br><br>Could you help me please, <br><br>Sincerely, <br><span class="HOEnZb"><br>
-- <br>Yared Berhanu Woldegiorgis<br>

&Oslash;kern torgvei 92<br>
N-0589 Oslo, Norway<br>
tel. <a href="tel:004746263024" value="+4746263024" target="_blank">004746263024</a><br><a href="mailto:yaredbw <at> ifi.uio.no" target="_blank">yaredbw <at> ifi.uio.no</a><br><br></span><br>_______________________________________________<br>
Shimmer-users mailing list<br><a href="mailto:Shimmer-users <at> eecs.harvard.edu">Shimmer-users <at> eecs.harvard.edu</a><br><a href="https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users" target="_blank">https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users</a><br><br>
</blockquote>
</div>
<br><br clear="all"><div><br></div>-- <br>Eric B. Decker<br>Senior (over 50 :-) Researcher<br><br>
</div>
pirusaez | 27 Feb 22:24 2013

forwarding packets through nodes

Does anyone know how can I forward a packet from a node to another and then
receive both packets in my gateway from the second node?

--
View this message in context: http://tinyos-help.10906.n7.nabble.com/forwarding-packets-through-nodes-tp22739.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.
Farzad Samie | 27 Feb 14:16 2013
Picon

Activities before sending a packet

Hi,
I'm using tinyos-2.1.0 and telosb (with cc2420 radio). I wand to just 
send one packet periodically (don't use receiver). I use Low Power 
Listening to reduce the power consumption as much as possible. I've also 
disabled CCA check.

After measuring the current drawn for sending packet, I saw that there 
is a time interval before sending packet in which the power consumption 
is too much (near 22mA). In this figure I marked that period with 
question mark. https://www.dropbox.com/s/sxphioa3xhs66ms/wave3.bmp

After digging the code, I found some possible reasons for that.
1) Before sending a packet, STXON.strobe is called. This will enable TX 
after calibration (if not already performed). So maybe this power 
consumption is because of turning on the radio.

2) CC2420 is capable of doing in-line encryption. So maybe this power 
consumption is because of encrypting the packet before sending that.

Now, can any one tell me which of aforementioned options is the reason?
And if it is because of encryption, how can I disable it?
Thanks
Farzad
kh sabrine | 27 Feb 09:54 2013
Picon

externel sensor

Hello,

I will connect an externel sensor  to TelosB .
So i ask if someone know What are the type of available port which can i connect to the telosb(USB,Ethernet,....)????

Thanks in advance!!
<div><div dir="ltr">Hello,<div><br></div>
<div>I will connect an externel sensor &nbsp;to TelosB .</div>
<div>So i ask if someone know What are the type of available port which can i connect to the telosb(USB,Ethernet,....)????</div>
<div><br></div>
<div>Thanks in advance!!</div>
</div></div>
kh sabrine | 26 Feb 14:47 2013
Picon

Suitable sensors

Hello,

I'm new in the use of Telosb,I would integrate some sensors in order to mesure the parameters(ph,salinity,water's level,temperature) of water in telosb.
So i will choice the suitables sensors.
I ask you please if someone can help me :
On what criteria i will play to successfully choose the suitable sensors in my application?

Best regards and sweety day!!!
<div><div dir="ltr">Hello,<div><br></div>
<div>I'm new in the use of Telosb,I would integrate some sensors in order to mesure the parameters(ph,salinity,water's level,temperature) of water in telosb.</div>
<div>
So i will choice the suitables sensors.</div>
<div>I ask you please if someone can help me :</div>
<div>On what criteria i will play to successfully choose the suitable sensors in my application?<br>
</div>
<div><br></div>
<div>Best regards and sweety day!!!</div>
</div></div>
Xiaohui Liu | 25 Feb 22:25 2013

Alarm fire before expiration

Hi everyone,


When I set an alarm at d0 to fire dt microseconds later, it quite often fires by tens or hundreds of microseconds earlier than d0 + dt (based on Alarm.fired() event). My understanding is that the underlying interrupt will be generated at (d0 + dt). But because of ISR handling delay, fired() event should be signaled no later than d0 + dt. So the above phenomena should not occur. Can anyone please give me a hint?

--
-Xiaohui Liu
TelosB
<div>
<p>Hi everyone,</p>
<div><br></div>
<div>When I set an alarm at d0 to fire dt microseconds later, it quite often fires by tens or hundreds of microseconds earlier than d0 + dt (based on Alarm.fired() event). My understanding is that the underlying interrupt will be generated at (d0 + dt). But because of ISR handling delay, fired() event should be signaled no later than d0 + dt. So the above phenomena should not occur. Can anyone please give me a hint?</div>
<div>
<div><br></div>-- <br>-Xiaohui Liu<div>TelosB</div>
<div>TinyOS 2.1.2<br><div><a href="http://www.cs.wayne.edu/xliu/" target="_blank">www.cs.wayne.edu/xliu/</a></div>
</div>
</div>
</div>

Gmane