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>
Xiaohui Liu | 25 Mar 19:43 2013

does shadow fading change if obstacles are fixed?

Hello everybody,

I have a generic question regarding shadowing effect and hope somebody in the mailing list can give me a hint, even though it is not TinyOS-specific.

Given a RF sender and a receiver, suppose the obstacles between them are fixed, both their material and dielectric properties, does the path loss caused by their shadowing vary? If yes, what causes the variation? If not, why is it generally modeled as a log-normal random variable? We can assume there is only one path between the sender and receiver if this simplifies the question.

Thanks and look forward to your reply.

--
-Xiaohui Liu
TelosB
<div>
<div class="gmail_quote">Hello everybody,<br><div><br></div>
<div>I have a generic question regarding shadowing effect and hope somebody in the mailing list can give me a hint, even though it is not TinyOS-specific.</div>
<div>
<br>
</div>
<div>Given a RF sender and a receiver, suppose the obstacles between them are fixed, both their material and dielectric properties, does the path loss caused by their shadowing vary? If yes, what causes the variation? If not, why is it generally modeled as a log-normal random variable? We can assume there is only one path between the sender and receiver if this simplifies the question.</div>

<div>
<div><br></div>
<div>Thanks and look forward to your reply.</div>
<span class="HOEnZb"><div><br></div></span>
</div>
</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>
Suresh Kumar Das | 25 Mar 13:56 2013
Picon

make micaz sim error


When I compile my program it's showing the following error. From last couple of days I am trying to solve the error but unable to succeed.
Please help me.

In component `SMACAppC.AMSenderC.SenderC.AMQueueEntryP':
/opt/tinyos-2.1.1/tos/system/AMQueueEntryP.nc: In function `Send.sendDone':
/opt/tinyos-2.1.1/tos/system/AMQueueEntryP.nc(SMACAppC.AMSenderC.SenderC.AMQueueEntryP):58: AMSend.sendDone not connected
In component `TossimPacketModelC':
/opt/tinyos-2.1.1/tos/lib/tossim/TossimPacketModelC.nc: In function `startDoneTask.runTask':
/opt/tinyos-2.1.1/tos/lib/tossim/TossimPacketModelC.nc:96: Control.startDone not connected
/opt/tinyos-2.1.1/tos/lib/tossim/TossimPacketModelC.nc: In function `stopDoneTask.runTask':
/opt/tinyos-2.1.1/tos/lib/tossim/TossimPacketModelC.nc:101: Control.stopDone not connected


Thanks in advance
--
Best regards,
Suresh Kumar Das
M Tech , Computer Science
University of Hyderabad
Mob-8500862609
Mail id-das.suresh008 <at> gmail.com
<div>
<br clear="all">When I compile my program it's showing the following error. From last couple of days I am trying to solve the error but unable to succeed.<br>Please help me. <br><br>In component `SMACAppC.AMSenderC.SenderC.AMQueueEntryP':<br>
/opt/tinyos-2.1.1/tos/system/AMQueueEntryP.nc: In function `Send.sendDone':<br>/opt/tinyos-2.1.1/tos/system/AMQueueEntryP.nc(SMACAppC.AMSenderC.SenderC.AMQueueEntryP):58: AMSend.sendDone not connected<br>In component `TossimPacketModelC':<br>
/opt/tinyos-2.1.1/tos/lib/tossim/TossimPacketModelC.nc: In function `startDoneTask.runTask':<br>/opt/tinyos-2.1.1/tos/lib/tossim/TossimPacketModelC.nc:96: Control.startDone not connected<br>/opt/tinyos-2.1.1/tos/lib/tossim/TossimPacketModelC.nc: In function `stopDoneTask.runTask':<br>
/opt/tinyos-2.1.1/tos/lib/tossim/TossimPacketModelC.nc:101: Control.stopDone not connected<br><br><br>Thanks in advance<br>-- <br>Best regards,<br>Suresh Kumar Das<br>M Tech , Computer Science<br>University of Hyderabad<br>
Mob-8500862609<br>Mail <a href="mailto:id-das.suresh008 <at> gmail.com" target="_blank">id-das.suresh008 <at> gmail.com</a><br>
</div>
He Dajiang (I2R | 25 Mar 03:56 2013
Picon

Block Read/Write issue in 2.1.x

Hi,

I am trying to do a Block Write to the internal flash memory, but it alway hang at the write sync command on
tinyos 2.1.x.  But when I change to the newest version 2.1.2, it is ok. Can anyone tell what is the driver
difference between 2.1.2 and earlier versions? Thx.

Best Regard

Institute for Infocomm Research disclaimer:  "This email is confidential and may be privileged. If you are
not the intended recipient, please delete it and notify us immediately. Please do not copy or use it for any
purpose, or disclose its contents to any other person. Thank you."

Jhon James | 24 Mar 16:37 2013
Picon

Help Regarding Increasing Heap Size

Dear all,

I want to increase the heap size in my Z1 platform to allow great pings can anyone tell how I can achieve that?? If you have experience with telos even then that is not a problem. I just need a hint

Regard's
<div><div dir="ltr">Dear all,<div><br></div>
<div>I want to increase the heap size in my Z1 platform to allow great pings can anyone tell how I can achieve that?? If you have experience with telos even then that is not a problem. I just need a hint</div>
<div><br></div>
<div>Regard's</div>
</div></div>
Jhon James | 24 Mar 14:28 2013
Picon

Help Regarding Ping Command size

Dear all

I have installed the Blip on Z1 motes and I was trying to ping the node. I saw that I can ping till 699 bytes. I cannot ping with 700 bytes to the node. Can anyone tell me how can I increase the payload size. The maximum payload size for Ipv6 is 1280. How can i achieve that??

Regard's
<div><div dir="ltr">Dear all <br><br>I have installed the Blip on Z1 motes and I was trying to ping the node. I saw that I can ping till 699 bytes. I cannot ping with 700 bytes to the node. Can anyone tell me how can I increase the payload size. The maximum payload size for Ipv6 is 1280. How can i achieve that??<br><br>Regard's<br>
</div></div>
Jhon James | 24 Mar 14:12 2013
Picon

Re: Help Regarding the Border Router On Z1 motes

Hello Anotniio,

I just wanted to tell you that I fixed the problem. I think my compiler was compiling in some wrong directory but now the problem is fix. I want to thank you for your help. I was just wondering that since we have 90KB ROM available then why not move the code to ROM as much as we can and try to achieve the efficiency. I hope that will help.



On Fri, Mar 22, 2013 at 3:11 PM, Jhon James <softtronix <at> gmail.com> wrote:
Hello TinyOS Community 

I am trying to compile PppRouter for z1 motes and getting error below. I used the tinyos release code can any one tell what is problem . i attahed modify code.


Can you please kindly donwload and place it in your tinyos release and try to compile it??

I tried both release version and simple tinyos but the ram still overflows. I tried the msp430-47 as well which saves only 6 more bytes.


Can you try to compile it and see what is the problem?? I think I did all the steps but it is still failing.

Please help out. Here is the error


/opt/msp430-47/bin/../lib/gcc/msp430/4.7.0/../../../../msp430/bin/ld: region `ram' overflowed by 400 bytes
collect2: error: ld returned 1 exit status

make: *** [exe0] Error 1



On Thu, Mar 21, 2013 at 8:47 AM, Antonio Linan <alinan <at> zolertia.com> wrote:
No idea, I replicated on my box and as said already in the previous email, it compiled for both msp430-46/47, here's my environment:

a-linan <at> zolertia:~/Desktop/TinyOS/tinyos-github$ git log --oneline
85de51d CC2420X driver fixes

a-linan <at> zolertia:~/Desktop/TinyOS/tinyos-github$ msp430-gcc --version
msp430-gcc (GCC) 4.7.0 20120322 (mspgcc dev 20120716)


Makefile:

COMPONENT=PppRouterC
# PFLAGS += -DENABLE_SPI0_DMA
# PFLAGS += -DCC2420_DEF_CHANNEL=21

CFLAGS += -DMAX_PARENT=1
CFLAGS += -DROUTE_TABLE_SZ=3

# use rpl
PFLAGS += -DRPL_ROUTING -DRPL_STORING_MODE -I$(LOWPAN_ROOT)/tos/lib/net/rpl
# PFLAGS += -DRPL_OF_MRHOF

# and ppp
PFLAGS += -I$(TOSDIR)/lib/ppp
PFLAGS += -I$(TOSDIR)/lib/fragpool

# this works around fragmentation in the RX buffer pool
PFLAGS += -DPPP_HDLC_RX_FRAME_LIMIT=1 -DPPP_HDLC_TX_FRAME_LIMIT=8

# if you set this, the stack won't use dhcp to assign addresses -- it
# will use this prefix combined with TOS_NODE_ID
PFLAGS += -DIN6_PREFIX=\"fec0::\"

# derive short address from the dhcp address assignment, if possible
PFLAGS += -DBLIP_DERIVE_SHORTADDRS

Commented in PppRouterC.nc:


  // UDP shell on port 2000
  //components UDPShellC;


  // prints the routing table
  // components RouteCmdC;

"make z1 blip" with msp430-47 yields in:


compiled PppRouterC to build/z1/main.exe
37350 bytes in ROM
8134 bytes in RAM

For msp430-46:

compiled PppRouterC to build/z1/main.exe
39572 bytes in ROM
8170 bytes in RAM

Regards,

--Antonio



On Wed, Mar 20, 2013 at 3:16 PM, Jhon James <softtronix <at> gmail.com> wrote:
Now the size of the code reduced from 1218 bytes overflow to 436 check this error


/root/top/t2_cur/tinyos-release/tos/lib/ppp/LcpAutomatonP.nc:543:93: warning: variable ‘in_actions’ set but not used [-Wunused-but-set-variable]
/usr/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: build/z1/main.exe section `.bss' will not fit in region `ram'
/usr/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: region `ram' overflowed by 436 bytes

collect2: ld returned 1 exit status
make: *** [exe0] Error 1


This can be because of msp430-46 you think??? Now the overflowed by 436



On Wed, Mar 20, 2013 at 2:11 PM, Jhon James <softtronix <at> gmail.com> wrote:
I can switch to that as well if that is more efficient not a problem. Thanks for helping out I will try and will get back to you if it works well. Thanks once again


On Wed, Mar 20, 2013 at 2:10 PM, Antonio Linan <alinan <at> zolertia.com> wrote:
BTW, I'm using msp430-47, code size is a little smaller than msp430-46 but nevertheless it compiles for both.

--Antonio


On Wed, Mar 20, 2013 at 3:08 PM, Antonio Linan <alinan <at> zolertia.com> wrote:
Makefile:
COMPONENT=PppRouterC
# PFLAGS += -DENABLE_SPI0_DMA
# PFLAGS += -DCC2420_DEF_CHANNEL=21

CFLAGS += -DMAX_PARENT=1
CFLAGS += -DROUTE_TABLE_SZ=3

Results:

warning: variable ‘in_actions’ set but not used [-Wunused-but-set-variable]
    compiled PppRouterC to build/z1/main.exe
           37350 bytes in ROM
            8134 bytes in RAM
msp430-objcopy --output-target=ihex build/z1/main.exe build/z1/main.ihex
    writing TOS image
a-linan <at> zolertia:~/Desktop/TinyOS/tinyos-github/apps/PppRouter$

--Antonio


On Wed, Mar 20, 2013 at 2:57 PM, Jhon James <softtronix <at> gmail.com> wrote:
defined them in makefile and commented the lines as instructed here is the error




/usr/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: build/z1/main.exe section `.bss' will not fit in region `ram'
/usr/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: region `ram' overflowed by 1218 bytes

collect2: ld returned 1 exit status
make: *** [exe0] Error 1

Regard's


On Wed, Mar 20, 2013 at 1:29 PM, Antonio Linan <alinan <at> zolertia.com> wrote:
Add those defines to the Makefile, if you want to know where are defined by default use something like grep/find.

--Antonio


On Wed, Mar 20, 2013 at 2:23 PM, Jhon James <softtronix <at> gmail.com> wrote:
Hello Antonio,


// UDP shell on port 2000 // components UDPShellC;   // prints the routing table // components RouteCmdC;

It is not mentioned in which file you need to comment these files. PppRouterC.nc is the file in which I found these links to comment

http://zolertia.sourceforge.net/wiki/index.php/Blip_v2.0

You can update that link. Also I want to ask that those defines

#define MAX_PARENT 1
#define ROUTE_TABLE_SZ 3

where we have to define them?? I mean in the same PppRouter.nc file? Moreover

his is test code not committed to trunk (not will ever be), when we manage to get a final solution that makes us feel comfortable and gets accepted by the core we will bring these changes to main trunk, at the moment all the testing can be found referenced here, and soon at My GitHub in a test branch

by 'referenced here' you mean this page (http://zolertia.sourceforge.net/wiki/index.php/Blip_v2.0) or some other??  



On Wed, Mar 20, 2013 at 11:15 AM, Jhon James <softtronix <at> gmail.com> wrote:
> Hello Antonio,
>
> Thanks for the pointer. I just scrolled the page down. and read
> further. I thought that page was quite an old one. That is why I asked
> whether that implementation is included in the latest release or not.
> I will change the code and will get back to you if I will need any
> further help.
>
> Thanks once again.
>
> Regard's
>
> On Wed, Mar 20, 2013 at 11:00 AM, Antonio Linan <alinan <at> zolertia.com> wrote:
>> Examples are self explanatory:
>>
>> make z1 blip install,2 bsl,/dev/ttyUSB1
>>
>>
>> Replace ttyUSB1 for whatever port the mote is assigned.
>>
>> --Antonio
>>
>>
>> On Wed, Mar 20, 2013 at 11:58 AM, Antonio Linan <alinan <at> zolertia.com> wrote:
>>>
>>> Read the wiki, again but carefully, it shows the files you need to change
>>> for the applications to compile, and the code examples already points out
>>> how to set the node id on compilation (install,X where X is the desired ID).
>>>
>>> --Antonio
>>>
>>>
>>> On Wed, Mar 20, 2013 at 11:54 AM, Jhon James <softtronix <at> gmail.com> wrote:
>>>>
>>>> Hello Help Desk, Antonio and Eric,
>>>>
>>>> I was trying to install 6LowPAN Blip implementation on Z1 motes using
>>>> the following link
>>>>
>>>> http://zolertia.sourceforge.net/wiki/index.php/Blip_v2.0
>>>>
>>>>
>>>> I have the latest release of the TinyOs and the problem that I am
>>>> currently having is that when I try to install the Ppp_Router example
>>>> I get the following error
>>>>
>>>>  make z1 blip install,1
>>>>
>>>> /root/top/t2_cur/tinyos-release/tos/lib/ppp/LcpAutomatonP.nc: In
>>>> function ‘LcpAutomatonP__0__processEventActions_’:
>>>> /root/top/t2_cur/tinyos-release/tos/lib/ppp/LcpAutomatonP.nc:543:93:
>>>> warning: variable ‘in_actions’ set but not used
>>>> [-Wunused-but-set-variable]
>>>> /usr/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld:
>>>> build/z1/main.exe section `.bss' will not fit in region `ram'
>>>> /usr/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: region
>>>> `ram' overflowed by 1534 bytes
>>>> collect2: ld returned 1 exit status
>>>> make: *** [exe0] Error 1
>>>>
>>>>
>>>> Now I believe that the latest tinyos-release does not contain the
>>>> compressed implementation of the blip for z1 motes. Is that right???
>>>>
>>>>
>>>> Also how we know from here that the node id is 1?? I mean I did not
>>>> burn the node id. The motes are new motes that I recieved almost a
>>>> month ago. I only burnt the LED blink code just to blink the LED's and
>>>> they work perfectly okay.
>>>>
>>>>
>>>>
>>>> Also I want to ask that when I do
>>>>
>>>> make z1 install
>>>>
>>>> it installs the firmware in ttyUSB0 device and i believe that MOTECOM
>>>> variable tell which one to program. Now I have a 3 nodes one is
>>>> ttyUSB0, other is ttyUSB1 and the third is ttyUSB2. What argument to
>>>> pass in order to access the particular node??
>>>>
>>>>
>>>> Regard's
>>>
>>>
>>>
>>>
>>> --
>>> --
>>> Antonio Liñan Colina
>>> R+D+I Engineer
>>> <at> : alinan <at> advancare.com
>>> <at> : alinan <at> zolertia.com
>>> ------------------------------
>>> Advancare
>>> T: +34 93 582 02 70
>>> http://www.advancare.com
>>> http://www.zolertia.com
>>> http://zolertia.sourceforge.net
>>> http://webshop.zolertia.com
>>
>>
>>
>>
>> --
>> --
>> Antonio Liñan Colina
>> R+D+I Engineer
>> <at> : alinan <at> advancare.com
>> <at> : alinan <at> zolertia.com
>> ------------------------------
>> Advancare
>> T: +34 93 582 02 70
>> http://www.advancare.com
>> http://www.zolertia.com
>> http://zolertia.sourceforge.net
>> http://webshop.zolertia.com




--
--
Antonio Liñan Colina
R+D+I Engineer
<at> : alinan <at> advancare.com
<at> : alinan <at> zolertia.com
------------------------------




--
--
Antonio Liñan Colina
R+D+I Engineer
<at> : alinan <at> advancare.com
<at> : alinan <at> zolertia.com
------------------------------



--
--
Antonio Liñan Colina
R+D+I Engineer
<at> : alinan <at> advancare.com
<at> : alinan <at> zolertia.com
------------------------------





--
--
Antonio Liñan Colina
R+D+I Engineer
<at> : alinan <at> advancare.com
<at> : alinan <at> zolertia.com
------------------------------



<div><div dir="ltr">Hello Anotniio,<br><br>I just wanted to tell you that I fixed the problem. I think my compiler was compiling in some wrong directory but now the problem is fix. I want to thank you for your help. I was just wondering that since we have 90KB ROM available then why not move the code to ROM as much as we can and try to achieve the efficiency. I hope that will help.<br><br><br><br><div class="gmail_quote">On Fri, Mar 22, 2013 at 3:11 PM, Jhon James <span dir="ltr">&lt;<a href="mailto:softtronix <at> gmail.com" target="_blank">softtronix <at> gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<div dir="ltr">Hello TinyOS Community&nbsp;<div><br></div>
<div>I am trying to compile PppRouter for z1 motes and getting error below. I used the tinyos release code can any one tell what is problem . i attahed modify code.<div>
<div class="h5">
<br><div class="gmail_quote">
<div dir="ltr">
<br>Can you please kindly donwload and place it in your tinyos release and try to compile it??<br><br>I tried both release version and simple tinyos but the ram still overflows. I tried the msp430-47 as well which saves only 6 more bytes.<br><br><br>Can you try to compile it and see what is the problem?? I think I did all the steps but it is still failing.<br><br>Please help out. Here is the error<br><br><br>/opt/msp430-47/bin/../lib/gcc/msp430/4.7.0/../../../../msp430/bin/ld: region `ram' overflowed by 400 bytes<br>

collect2: error: ld returned 1 exit status<div>
<br>make: *** [exe0] Error 1<br><br><br><br>
</div>
<div><div>
<div class="gmail_quote">On Thu, Mar 21, 2013 at 8:47 AM, Antonio Linan <span dir="ltr">&lt;<a href="mailto:alinan <at> zolertia.com" target="_blank">alinan <at> zolertia.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">No idea, I replicated on my box and as said already in the previous email, it compiled for both msp430-46/47, here's my environment:<br><br>a-linan <at> zolertia:~/Desktop/TinyOS/tinyos-github$ git log --oneline<br>85de51d CC2420X driver fixes<br><br>a-linan <at> zolertia:~/Desktop/TinyOS/tinyos-github$ msp430-gcc --version<br>msp430-gcc (GCC) 4.7.0 20120322 (mspgcc dev 20120716)<div>
<br><br>Makefile:<br><br>COMPONENT=PppRouterC<br># PFLAGS += -DENABLE_SPI0_DMA<br>
# PFLAGS += -DCC2420_DEF_CHANNEL=21<br><br>CFLAGS += -DMAX_PARENT=1<br>CFLAGS += -DROUTE_TABLE_SZ=3<br><br>
</div># use rpl<br>PFLAGS += -DRPL_ROUTING -DRPL_STORING_MODE -I$(LOWPAN_ROOT)/tos/lib/net/rpl<br># PFLAGS += -DRPL_OF_MRHOF<br><br># and ppp<br>PFLAGS += -I$(TOSDIR)/lib/ppp<br>

PFLAGS += -I$(TOSDIR)/lib/fragpool<br><br># this works around fragmentation in the RX buffer pool<br>PFLAGS += -DPPP_HDLC_RX_FRAME_LIMIT=1 -DPPP_HDLC_TX_FRAME_LIMIT=8<br><br># if you set this, the stack won't use dhcp to assign addresses -- it<br>

# will use this prefix combined with TOS_NODE_ID<br>PFLAGS += -DIN6_PREFIX=\"fec0::\"<br><br># derive short address from the dhcp address assignment, if possible<br>PFLAGS += -DBLIP_DERIVE_SHORTADDRS<br><br>Commented in PppRouterC.nc:<div>

<br><br>&nbsp; // UDP shell on port 2000<br>
</div>&nbsp; //components UDPShellC;<div>
<br><br>&nbsp; // prints the routing table<br>&nbsp; // components RouteCmdC;<br><br>
</div>"make z1 blip" with msp430-47 yields in:<div>
<br><br>compiled PppRouterC to build/z1/main.exe<br>
37350 bytes in ROM<br>8134 bytes in RAM<br><br>
</div>For msp430-46:<br><br>compiled PppRouterC to build/z1/main.exe<br>39572 bytes in ROM<br>8170 bytes in RAM<br><br>Regards,<br><br>--Antonio<div><div>
<br><br><br><div class="gmail_quote">
On Wed, Mar 20, 2013 at 3:16 PM, Jhon James <span dir="ltr">&lt;<a href="mailto:softtronix <at> gmail.com" target="_blank">softtronix <at> gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">

<div dir="ltr">Now the size of the code reduced from 1218 bytes overflow to 436 check this error<div>
<br><br>/root/top/t2_cur/tinyos-release/tos/lib/ppp/LcpAutomatonP.nc:543:93: warning: variable &lsquo;in_actions&rsquo; set but not used [-Wunused-but-set-variable]<br>

/usr/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: build/z1/main.exe section `.bss' will not fit in region `ram'<br>
</div>/usr/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: region `ram' overflowed by 436 bytes<div>

<br>

collect2: ld returned 1 exit status<br>make: *** [exe0] Error 1<br><br><br>
</div>This can be because of msp430-46 you think??? Now the overflowed by 436<div><div>
<br><br><br><div class="gmail_quote">On Wed, Mar 20, 2013 at 2:11 PM, Jhon James <span dir="ltr">&lt;<a href="mailto:softtronix <at> gmail.com" target="_blank">softtronix <at> gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<div dir="ltr">I can switch to that as well if that is more efficient not a problem. Thanks for helping out I will try and will get back to you if it works well. Thanks once again<div>

<div>
<br><br><div class="gmail_quote">On Wed, Mar 20, 2013 at 2:10 PM, Antonio Linan <span dir="ltr">&lt;<a href="mailto:alinan <at> zolertia.com" target="_blank">alinan <at> zolertia.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">BTW, I'm using msp430-47, code size is a little smaller than msp430-46 but nevertheless it compiles for both.<span><br><br>--Antonio</span><div><div>
<br><br><div class="gmail_quote">On Wed, Mar 20, 2013 at 3:08 PM, Antonio Linan <span dir="ltr">&lt;<a href="mailto:alinan <at> zolertia.com" target="_blank">alinan <at> zolertia.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">Makefile:<br>COMPONENT=PppRouterC<br># PFLAGS += -DENABLE_SPI0_DMA<br># PFLAGS += -DCC2420_DEF_CHANNEL=21<br><br>CFLAGS += -DMAX_PARENT=1<br>

CFLAGS += -DROUTE_TABLE_SZ=3<br><br>Results:<div>
<br>warning: variable &lsquo;in_actions&rsquo; set but not used [-Wunused-but-set-variable]<br>
</div>
&nbsp;&nbsp;&nbsp; compiled PppRouterC to build/z1/main.exe<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 37350 bytes in ROM<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8134 bytes in RAM<br>msp430-objcopy --output-target=ihex build/z1/main.exe build/z1/main.ihex<br>&nbsp;&nbsp;&nbsp; writing TOS image<br>a-linan <at> zolertia:~/Desktop/TinyOS/tinyos-github/apps/PppRouter$ <br><span>
<br>--Antonio</span><div><div>
<br><br><div class="gmail_quote">On Wed, Mar 20, 2013 at 2:57 PM, Jhon James <span dir="ltr">&lt;<a href="mailto:softtronix <at> gmail.com" target="_blank">softtronix <at> gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<div dir="ltr">defined them in makefile and commented the lines as instructed here is the error<div>
<br><br><br><br>/usr/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: build/z1/main.exe section `.bss' will not fit in region `ram'<br>
</div>
/usr/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: region `ram' overflowed by 1218 bytes<div>
<br>collect2: ld returned 1 exit status<br>make: *** [exe0] Error 1<br><br>
</div>Regard's<div><div>
<br><br><div class="gmail_quote">
On Wed, Mar 20, 2013 at 1:29 PM, Antonio Linan <span dir="ltr">&lt;<a href="mailto:alinan <at> zolertia.com" target="_blank">alinan <at> zolertia.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">

Add those defines to the Makefile, if you want to know where are defined by default use something like grep/find.<span><br><br>--Antonio</span><div><div>
<br><br><div class="gmail_quote">On Wed, Mar 20, 2013 at 2:23 PM, Jhon James <span dir="ltr">&lt;<a href="mailto:softtronix <at> gmail.com" target="_blank">softtronix <at> gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<div dir="ltr">Hello Antonio,<br><br><br><span>//</span> UDP shell on port <span>2000</span>
<span>//</span> components UDPShellC;
&nbsp;
<span>//</span> prints the routing table
<span>//</span> components RouteCmdC;<br><br>It is not mentioned in which file you need to comment these files. PppRouterC.nc is the file in which I found these links to comment<br><br><a href="http://zolertia.sourceforge.net/wiki/index.php/Blip_v2.0" target="_blank">http://zolertia.sourceforge.net/wiki/index.php/Blip_v2.0</a><br><br>You can update that link. Also I want to ask that those defines <br><br>#define MAX_PARENT 1<br>#define ROUTE_TABLE_SZ 3<br><br>where we have to define them?? I mean in the same PppRouter.nc file? Moreover <br><br>his is test code not committed to trunk (not will ever be), when we manage to get a final solution that makes us feel comfortable and gets accepted by the core we will bring these changes to main trunk, at the moment all the testing can be found referenced here, and soon at My GitHub in a test branch<br><br>by 'referenced here' you mean this page (<a href="http://zolertia.sourceforge.net/wiki/index.php/Blip_v2.0" target="_blank">http://zolertia.sourceforge.net/wiki/index.php/Blip_v2.0</a>) or some other?? &nbsp;<br><br><br><br>On Wed, Mar 20, 2013 at 11:15 AM, Jhon James &lt;<a href="mailto:softtronix <at> gmail.com" target="_blank">softtronix <at> gmail.com</a>&gt; wrote:<br>
&gt; Hello Antonio,<br>&gt;<br>&gt; Thanks for the pointer. I just scrolled the page down. and read<br>&gt; further. I thought that page was quite an old one. That is why I asked<br>&gt; whether that implementation is included in the latest release or not.<br>

&gt; I will change the code and will get back to you if I will need any<br>&gt; further help.<br>&gt;<br>&gt; Thanks once again.<br>&gt;<br>&gt; Regard's<br>&gt;<br>&gt; On Wed, Mar 20, 2013 at 11:00 AM, Antonio Linan &lt;<a href="mailto:alinan <at> zolertia.com" target="_blank">alinan <at> zolertia.com</a>&gt; wrote:<br>

&gt;&gt; Examples are self explanatory:<br>&gt;&gt;<br>&gt;&gt; make z1 blip install,2 bsl,/dev/ttyUSB1<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Replace ttyUSB1 for whatever port the mote is assigned.<br>&gt;&gt;<br>&gt;&gt; --Antonio<br>

&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; On Wed, Mar 20, 2013 at 11:58 AM, Antonio Linan &lt;<a href="mailto:alinan <at> zolertia.com" target="_blank">alinan <at> zolertia.com</a>&gt; wrote:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Read the wiki, again but carefully, it shows the files you need to change<br>

&gt;&gt;&gt; for the applications to compile, and the code examples already points out<br>&gt;&gt;&gt; how to set the node id on compilation (install,X where X is the desired ID).<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; --Antonio<br>

&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; On Wed, Mar 20, 2013 at 11:54 AM, Jhon James &lt;<a href="mailto:softtronix <at> gmail.com" target="_blank">softtronix <at> gmail.com</a>&gt; wrote:<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Hello Help Desk, Antonio and Eric,<br>

&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; I was trying to install 6LowPAN Blip implementation on Z1 motes using<br>&gt;&gt;&gt;&gt; the following link<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; <a href="http://zolertia.sourceforge.net/wiki/index.php/Blip_v2.0" target="_blank">http://zolertia.sourceforge.net/wiki/index.php/Blip_v2.0</a><br>

&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; I have the latest release of the TinyOs and the problem that I am<br>&gt;&gt;&gt;&gt; currently having is that when I try to install the Ppp_Router example<br>&gt;&gt;&gt;&gt; I get the following error<br>

&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &nbsp;make z1 blip install,1<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; /root/top/t2_cur/tinyos-release/tos/lib/ppp/LcpAutomatonP.nc: In<br>&gt;&gt;&gt;&gt; function &lsquo;LcpAutomatonP__0__processEventActions_&rsquo;:<br>

&gt;&gt;&gt;&gt; /root/top/t2_cur/tinyos-release/tos/lib/ppp/LcpAutomatonP.nc:543:93:<br>&gt;&gt;&gt;&gt; warning: variable &lsquo;in_actions&rsquo; set but not used<br>&gt;&gt;&gt;&gt; [-Wunused-but-set-variable]<br>&gt;&gt;&gt;&gt; /usr/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld:<br>

&gt;&gt;&gt;&gt; build/z1/main.exe section `.bss' will not fit in region `ram'<br>&gt;&gt;&gt;&gt; /usr/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: region<br>&gt;&gt;&gt;&gt; `ram' overflowed by 1534 bytes<br>

&gt;&gt;&gt;&gt; collect2: ld returned 1 exit status<br>&gt;&gt;&gt;&gt; make: *** [exe0] Error 1<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Now I believe that the latest tinyos-release does not contain the<br>

&gt;&gt;&gt;&gt; compressed implementation of the blip for z1 motes. Is that right???<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Also how we know from here that the node id is 1?? I mean I did not<br>&gt;&gt;&gt;&gt; burn the node id. The motes are new motes that I recieved almost a<br>

&gt;&gt;&gt;&gt; month ago. I only burnt the LED blink code just to blink the LED's and<br>&gt;&gt;&gt;&gt; they work perfectly okay.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Also I want to ask that when I do<br>

&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; make z1 install<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; it installs the firmware in ttyUSB0 device and i believe that MOTECOM<br>&gt;&gt;&gt;&gt; variable tell which one to program. Now I have a 3 nodes one is<br>

&gt;&gt;&gt;&gt; ttyUSB0, other is ttyUSB1 and the third is ttyUSB2. What argument to<br>&gt;&gt;&gt;&gt; pass in order to access the particular node??<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Regard's<br>

&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; --<br>&gt;&gt;&gt; --<br>&gt;&gt;&gt; Antonio Li&ntilde;an Colina<br>&gt;&gt;&gt; R+D+I Engineer<br>&gt;&gt;&gt;  <at> : <a href="mailto:alinan <at> advancare.com" target="_blank">alinan <at> advancare.com</a><br>

&gt;&gt;&gt;  <at> : <a href="mailto:alinan <at> zolertia.com" target="_blank">alinan <at> zolertia.com</a><br>&gt;&gt;&gt; ------------------------------<br>&gt;&gt;&gt; Advancare<br>&gt;&gt;&gt; T: <a href="tel:%2B34%2093%20582%2002%2070" value="+34935820270" target="_blank">+34 93 582 02 70</a><br>

&gt;&gt;&gt; <a href="http://www.advancare.com" target="_blank">http://www.advancare.com</a><br>
&gt;&gt;&gt; <a href="http://www.zolertia.com" target="_blank">http://www.zolertia.com</a><br>&gt;&gt;&gt; <a href="http://zolertia.sourceforge.net" target="_blank">http://zolertia.sourceforge.net</a><br>&gt;&gt;&gt; <a href="http://webshop.zolertia.com" target="_blank">http://webshop.zolertia.com</a><br>

&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<span><br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; --<br>&gt;&gt; Antonio Li&ntilde;an Colina<br>&gt;&gt; R+D+I Engineer<br>&gt;&gt;  <at> : <a href="mailto:alinan <at> advancare.com" target="_blank">alinan <at> advancare.com</a><br>

&gt;&gt;  <at> : <a href="mailto:alinan <at> zolertia.com" target="_blank">alinan <at> zolertia.com</a><br>
&gt;&gt; ------------------------------<br>&gt;&gt; Advancare<br>&gt;&gt; T: <a href="tel:%2B34%2093%20582%2002%2070" value="+34935820270" target="_blank">+34 93 582 02 70</a><br>&gt;&gt; <a href="http://www.advancare.com" target="_blank">http://www.advancare.com</a><br>

&gt;&gt; <a href="http://www.zolertia.com" target="_blank">http://www.zolertia.com</a><br>
&gt;&gt; <a href="http://zolertia.sourceforge.net" target="_blank">http://zolertia.sourceforge.net</a><br>&gt;&gt; <a href="http://webshop.zolertia.com" target="_blank">http://webshop.zolertia.com</a><br><br></span>
</div>

</blockquote>
</div>
<br><br clear="all"><br>-- <br>--<br>
Antonio Li&ntilde;an Colina<br>
R+D+I Engineer<br>
 <at> : <a href="mailto:alinan <at> advancare.com" target="_blank">alinan <at> advancare.com</a><br>
 <at> : <a href="mailto:alinan <at> zolertia.com" target="_blank">alinan <at> zolertia.com</a><br>
------------------------------<br><div>
Advancare<br>
T: <a href="tel:%2B34%2093%20582%2002%2070" value="+34935820270" target="_blank">+34 93 582 02 70</a><br><a href="http://www.advancare.com/" target="_blank">http://www.advancare.com</a><br><a href="http://www.zolertia.com/" target="_blank">http://www.zolertia.com</a><br><a href="http://zolertia.sourceforge.net" target="_blank">http://zolertia.sourceforge.net</a><br><a href="http://webshop.zolertia.com" target="_blank">http://webshop.zolertia.com</a><br>
</div>
</div></div>
</blockquote>
</div>
<br>
</div></div>
</div>
</blockquote>
</div>
<br><br clear="all"><br>-- <br>--<br>
Antonio Li&ntilde;an Colina<br>
R+D+I Engineer<br>
 <at> : <a href="mailto:alinan <at> advancare.com" target="_blank">alinan <at> advancare.com</a><br>
 <at> : <a href="mailto:alinan <at> zolertia.com" target="_blank">alinan <at> zolertia.com</a><br>
------------------------------<br><div>
Advancare<br>
T: <a href="tel:%2B34%2093%20582%2002%2070" value="+34935820270" target="_blank">+34 93 582 02 70</a><br><a href="http://www.advancare.com/" target="_blank">http://www.advancare.com</a><br><a href="http://www.zolertia.com/" target="_blank">http://www.zolertia.com</a><br><a href="http://zolertia.sourceforge.net" target="_blank">http://zolertia.sourceforge.net</a><br><a href="http://webshop.zolertia.com" target="_blank">http://webshop.zolertia.com</a><br>
</div>
</div></div>
</blockquote>
</div>
<br><br clear="all"><br>-- <br>--<br>
Antonio Li&ntilde;an Colina<br>
R+D+I Engineer<br>
 <at> : <a href="mailto:alinan <at> advancare.com" target="_blank">alinan <at> advancare.com</a><br>
 <at> : <a href="mailto:alinan <at> zolertia.com" target="_blank">alinan <at> zolertia.com</a><br>
------------------------------<br><div>
Advancare<br>
T: <a href="tel:%2B34%2093%20582%2002%2070" value="+34935820270" target="_blank">+34 93 582 02 70</a><br><a href="http://www.advancare.com/" target="_blank">http://www.advancare.com</a><br><a href="http://www.zolertia.com/" target="_blank">http://www.zolertia.com</a><br><a href="http://zolertia.sourceforge.net" target="_blank">http://zolertia.sourceforge.net</a><br><a href="http://webshop.zolertia.com" target="_blank">http://webshop.zolertia.com</a><br>
</div>
</div></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div></div>
</div>
</blockquote>
</div>
<br><br clear="all"><br>-- <br>--<br>
Antonio Li&ntilde;an Colina<br>
R+D+I Engineer<br>
 <at> : <a href="mailto:alinan <at> advancare.com" target="_blank">alinan <at> advancare.com</a><br>
 <at> : <a href="mailto:alinan <at> zolertia.com" target="_blank">alinan <at> zolertia.com</a><br>
------------------------------<br><div>
Advancare<br>
T: <a href="tel:%2B34%2093%20582%2002%2070" value="+34935820270" target="_blank">+34 93 582 02 70</a><br><a href="http://www.advancare.com/" target="_blank">http://www.advancare.com</a><br><a href="http://www.zolertia.com/" target="_blank">http://www.zolertia.com</a><br><a href="http://zolertia.sourceforge.net" target="_blank">http://zolertia.sourceforge.net</a><br><a href="http://webshop.zolertia.com" target="_blank">http://webshop.zolertia.com</a><br>
</div>
</div></div>
</blockquote>
</div>
<br>
</div></div>
</div>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div></div>
He Dajiang (I2R | 24 Mar 02:36 2013
Picon

tinyos efficiency

Hi,

There are two points:

1, performance

I had a very simple I2C reading application, in which my micaz jusst read one register value from a sensor
through I2C connection. I found that the elapsed time between I2C read/write and read/writeDone is 3
millisecond. That means it takes at least 6 ms to read register values from I2C interface since first you
need to issue write command to write register value to I2C bus, then issue read command. That 3 ms delay is
too long, which slows down the whole application significantly. I wonder where the bottleneck is.
In a real situation, I have a motion sensor, which consistes of two I2C devices. In order to read all the
motion data (accel + gyro + magnet), I must do the following:
(1) read accel + gyro/12 bytes from one I2C device: requiring I2C write + read. 6ms
(2) enable I2C bypass: requiring I2C write one byte. 3ms
(3) read magnet/6 bytes from another I2C device: requiring I2C write + read. 6ms
(4) disable I2C bypass: requiring I2C write one byte. 3ms

That adds up to a big delay, and the coding trouble, which I will point out.

2, trouble in coding
Use the above case as an example, let us assume you don't use sub-module to perform the above 4 steps. In one
application, the writeDone are triggered four times, readDone two: in which you must have state
varirable to track which step it is now and which step to perform next. Moreover, if you want to cater the I2C
read/write FAIL case, your code becomes more messy. This is a point I miss the procedure function call.

Best Regards

Institute for Infocomm Research disclaimer:  "This email is confidential and may be privileged. If you are
not the intended recipient, please delete it and notify us immediately. Please do not copy or use it for any
purpose, or disclose its contents to any other person. Thank you."

Sean Dekker | 23 Mar 23:00 2013
Picon

Question about global variables in nesC and TinyOS

Hi all,
 
I want to create a packet and each time that the packet is being created I want to send it to a specific sensor board knowing the TOS_NODE_ID of the nodes.
 
I have 3 telosb boards. I assign node ids of 1,2 and 3 to them when uploading the program. But for giving the address (switching between 2 addresses in "AMSend.send()" method, the compiler gives some errors. Here is part of my code:
 
bool _radioBusy = FALSE;
message_t _packet;
uint16_t _address = 2;
 
event void Boot.booted()
{
call Notify.enable();
call AMControl.start();
}
 
event void Notify.notify(button_state_t val)
{
if(_radioBusy == FALSE)
{
if(_address == 2)
{
_address = 3;
}
else
{
_address = 2;
}
 
//Creating the packet
MoteToMoteMsg_t* msg = call Packet.getPayload(& _packet , sizeof(MoteToMoteMsg_t));
 
msg->NodeId = TOS_NODE_ID;
msg->Data = (uint8_t) val; 
 
//Sending the packet
if(call AMSend.send(_address,& _packet ,  sizeof(MoteToMoteMsg_t)) == SUCCESS)
{
_radioBusy = TRUE;
}
}
}
 
And here is the error :
 
In file included from MoteToMoteAppC.nc:9:
In component `MoteToMoteC':
MoteToMoteC.nc: In function `Notify.notify':
MoteToMoteC.nc:56: syntax error before `*'
MoteToMoteC.nc:58: `msg' undeclared (first use in this function)
MoteToMoteC.nc:58: (Each undeclared identifier is reported only once
MoteToMoteC.nc:58: for each function it appears in.)
 
 
I found if I remove the if/else statement for checking for "_address" inside the Notify event, the progam compiles...but then I will only be able to send to node with ID of 2.
 
Can you please tell me how to solve this problem? I was following the guide here on youtube: http://youtu.be/CBhVPXpTz_Q
 
Thanks,
Sean.
 
<div><span><span>Hi all,<div>&nbsp;</div>
<div>I want to create a packet and each time that the packet is being created I want to send it to a specific sensor board knowing the TOS_NODE_ID of the nodes.</div>
<div>&nbsp;</div>
<div>I have 3 telosb boards. I assign node ids of 1,2 and 3 to them when uploading the program. But for giving the address (switching between 2 addresses in "AMSend.send()" method, the compiler gives some errors. Here is part of my code:</div>
<div>&nbsp;</div>
<div>
<div><span>bool _radioBusy = FALSE;</span></div>
<div><span>message_t _packet;</span></div>
<div><span>uint16_t _address = 2;</span></div>
<div>&nbsp;</div>
<div><span>event void Boot.booted()</span></div>
<div><span>{</span></div>
<div><span>call Notify.enable();</span></div>
<div><span>call AMControl.start();<span class="Apple-tab-span"> </span></span></div>
<div><span>}</span></div>
<div>&nbsp;</div>
<div><span>event void Notify.notify(button_state_t val)</span></div>
<div><span>{</span></div>
<div><span>if(_radioBusy == FALSE)</span></div>
<div><span>{</span></div>
<div><span>if(_address == 2)</span></div>
<div><span>{</span></div>
<div><span>_address = 3;</span></div>
<div><span>}</span></div>
<div><span>else</span></div>
<div><span>{</span></div>
<div><span>_address = 2;</span></div>
<div><span>}</span></div>
<div>&nbsp;</div>
<div><span>//Creating the packet</span></div>
<div><span>MoteToMoteMsg_t* msg = call Packet.getPayload(&amp; _packet , sizeof(MoteToMoteMsg_t));</span></div>
<div>&nbsp;</div>
<div><span>msg-&gt;NodeId = TOS_NODE_ID;</span></div>
<div><span>msg-&gt;Data = (uint8_t) val;&nbsp;</span></div>
<div>&nbsp;</div>
<div><span>//Sending the packet</span></div>
<div><span>if(call AMSend.send(_address,&amp; _packet , &nbsp;sizeof(MoteToMoteMsg_t)) == SUCCESS)</span></div>
<div><span>{</span></div>
<div><span>_radioBusy = TRUE;</span></div>
<div><span>}</span></div>
<div><span>}<span class="Apple-tab-span"> </span></span></div>
<div><span>}</span></div>
</div>
<div>&nbsp;</div>
<div><span>And here is the error :</span></div>
<div>&nbsp;</div>
<div>
<div><span><span>In file included from MoteToMoteAppC.nc:9:</span></span></div>
<div><span><span>In component `MoteToMoteC':</span></span></div>
<div><span><span>MoteToMoteC.nc: In function `Notify.notify':</span></span></div>
<div><span><span>MoteToMoteC.nc:56: syntax error before `*'</span></span></div>
<div><span><span>MoteToMoteC.nc:58: `msg' undeclared (first use in this function)</span></span></div>
<div><span><span>MoteToMoteC.nc:58: (Each undeclared identifier is reported only once</span></span></div>
<div><span><span>MoteToMoteC.nc:58: for each function it appears in.)</span></span></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><span>I found if I remove the if/else statement for checking for "_address" inside the Notify event, the progam compiles...but then I will only be able to send to node with ID of 2.</span></div>
<div>&nbsp;</div>
<div><span>Can you please tell me how to solve this problem? I was following the guide here on youtube:&nbsp;http://youtu.be/CBhVPXpTz_Q</span></div>
<div>&nbsp;</div>
<div><span>Thanks,</span></div>
<div><span>Sean.</span></div>
<div>&nbsp;</div>
</div></span></span></div>
Jhon James | 23 Mar 22:58 2013
Picon

Help Regarding BLIP which hardware to chose

Dear all,

I am trying to run the BLIP implementation for 6LowPAN in TinyOS for the Z1 motes I have a problem and the following error appears.

/opt/msp430-47/bin/../lib/gcc/msp430/4.7.0/../../../../msp430/bin/ld: region `ram' overflowed by 400 bytes
collect2: error: ld returned 1 exit status

make: *** [exe0] Error 1

Now I followed this link to reduce the size of the BLIP for Z1 motes here (http://zolertia.sourceforge.net/wiki/index.php/Blip_v2.0)

but still the compiler gives above error. Can anyone tell what modifications were there to run that on TELOS ?? Is there any better hardware to support this??? I don't know what is the problem. As indicated on the page (http://zolertia.sourceforge.net/wiki/index.php/Blip_v2.0) I did modifications as 

// UDP shell on port 2000 // components UDPShellC;   // prints the routing table // components RouteCmdC;in PppRouterC.nc file and added defines in make #define MAX_PARENT 1 #define ROUTE_TABLE_SZ 3Still having same problem. Can anyone please help out??

<div><div dir="ltr">Dear all,<div><br></div>
<div>I am trying to run the BLIP&nbsp;implementation&nbsp;for 6LowPAN in TinyOS for the Z1 motes I have a problem and the following error appears.</div>
<div><br></div>
<div>
<span>/opt/msp430-47/bin/../lib/gcc/≤/span><span>msp430/4.7.0/../../../../≤/span><span>msp430/bin/ld: region `ram' overflowed by 400 bytes</span><br><span>collect2: error: ld returned 1 exit status</span><div>
<br>make: *** [exe0] Error 1</div>
</div>
<div><br></div>
<div>
Now I followed this link to reduce the size of the BLIP for Z1 motes here (<a href="http://zolertia.sourceforge.net/wiki/index.php/Blip_v2.0">http://zolertia.sourceforge.net/wiki/index.php/Blip_v2.0</a>)</div>
<div>
<br>
</div>
<div>but still the compiler gives above error. Can anyone tell what modifications were there to run that on TELOS ?? Is there any better hardware to support this??? I don't know what is the problem. As indicated on the page (<a href="http://zolertia.sourceforge.net/wiki/index.php/Blip_v2.0">http://zolertia.sourceforge.net/wiki/index.php/Blip_v2.0</a>) I did modifications as&nbsp;</div>
<div><br></div>
<div>
<span class="sy0">//</span> UDP shell on port <span class="nu0">2000</span>
<span class="sy0">//</span> components UDPShellC;
&nbsp;
<span class="sy0">//</span> prints the routing table
<span class="sy0">//</span> components RouteCmdC;in PppRouterC.nc file and added defines in make 
<span class="co0">#define MAX_PARENT 1</span>
<span class="co0">#define ROUTE_TABLE_SZ 3</span><span class="co0">Still having same problem. Can anyone please help out??</span>
<br>
<br>
</div>
</div></div>
amrita ghosal | 23 Mar 07:08 2013
Picon

help in xubontos

I am working in Xubontos. Can anyone please let me know how to see the output of any program? (without the use of motes) Till compilation I am able to do but after that not able o proceed further on how to see the result. You can explain with the blink example.

Thanks & Regards
Amrita
<div><table cellspacing="0" cellpadding="0" border="0"><tr><td valign="top">I am working in Xubontos. Can anyone please let me know how to see the output of any program? (without the use of motes) Till compilation I am able to do but after that not able o proceed further on how to see the result. You can explain with the blink example.<br><br>Thanks &amp; Regards<br>
Amrita</td></tr></table></div>

Gmane