[Tinyos-help] localization of tiny os motes

2011-01-04 Thread Shamali Gunawardena
Is it possible to set the x,y,z coordinates in Tossim.

Thankyou,
regards,



  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Tossim noise

2011-01-23 Thread Shamali Gunawardena
hi all,

this is regarding the basic RADIOt LEDS simulation. a noice trace is added in 
the given example. and the simulation is run. packets are sent and received 
repetedly. when the noise trace is removed from the simulation the packet are 
just sent once and never received. Can someone please tell me why this happens.

Thanks and Regards,


  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TOSSIM HELP

2011-02-02 Thread Shamali Gunawardena
Hi Akash,

Please follow the link 
http://docs.tinyos.net/index.php/TOSSIM

It gives you a step by step guide in running the tossim simulator. follow all 
the steps. 

you probably might think where you are heading  with all this stuff, but in the 
end they do give you the python code to run so just do it however boring it 
gets.

regards 

Shamali







From: Kartik Siddhabathula 
To: akash rvs 
Cc: TinyoS help 
Sent: Tue, February 1, 2011 9:09:40 PM
Subject: Re: [Tinyos-help] TOSSIM HELP


Hi Akash,

Please send your questions to the tinyos forum. I have never worked with 
TOSSIM. 
I have tested all my code on real sensor motes. I will check it out how it 
works 
though, also, posting your question to the forum. 

NOTE: Hi all, Please look at the question and if possible help this guy.

Thanks in advance,
Kartik



--- On Tue, 2/1/11, akash rvs  wrote:


>From: akash rvs 
>Subject: TOSSIM HELP
>To: siddhabathulakar...@yahoo.com
>Date: Tuesday, February 1, 2011, 8:11 AM
>
>
>Hi,
>
>
>I am Akash, an engineering student. I am new to TOSSIM and  TinyOS.
>I was trying to run the blink application in the examples provided.
>But i couldnt figure out how to write the appropiate code in python to 
>simulate 
>the app.
>I am attaching all the three files :
>BlinkC - module file
>BlinkAppC - configuration file
>to.py -python file
>
>
>Do help me out with this.
>Thanking you in advance. 



  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] noise in tossim

2011-02-02 Thread Shamali Gunawardena
Hello,

Is it possible to remove the noise trace simulation in TOSSIM.  I have tries 
removing the mayer_heavy noise trace but I have a problem generating errors.

thanks in Advance

Shamali



  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] routing tables in tossim.

2011-02-18 Thread Shamali Gunawardena


Hello,

Does anyone know how to set a routing table in tossim.  and how do you decide 
what the sink is.

Thanks in advance.

Regards,

Shamali



  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] routing tables in tossim.

2011-02-22 Thread Shamali Gunawardena
Thanks,
I was not specific on what I wanted. I can set up  a  small network and 
broadcast packets at subsequent intervals. how do I set a packet to transmit 
from node A to node B.

Regards,

shamali





From: Omprakash Gnawali 
To: Shamali Gunawardena 
Cc: tinyos-help@millennium.berkeley.edu
Sent: Mon, February 21, 2011 2:02:13 AM
Subject: Re: [Tinyos-help] routing tables in tossim.

On Fri, Feb 18, 2011 at 3:41 AM, Shamali Gunawardena  wrote:
>
> Hello,
>
> Does anyone know how to set a routing table in tossim.  and how do you
> decide what the sink is.

TOSSIM is a simulator. It does not have a routing table. You should
look into the data structures used by the routing protocols and set
them to static values if you don't want a dynamic routing protocol.

- om_p



  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] sending a string from tinyos

2011-02-22 Thread Shamali Gunawardena
Hi, 

This is a pretty basic question. I need to know how I can send a string (eg 
Hello) in nesC. I know how to send integers (unit_16_t and etc)
How do I specify the data type and how do I assign the value.

thanks

Regards,

Shamali


  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] sending a string from tinyos

2011-02-23 Thread Shamali Gunawardena
Ok so everything transmitted will be received in its decimal format and I  have 
to convert it. Am I correct? In that case I would run into another  problem. 
say 
I get a combination of integers and strings (eg Hello123)  then how can I 
decide 
on what to convert and what not to for example 72  could mean its H or the 
number 72. unless I know the length or the type  of the data received I will 
not 
be able to interpret it. 

and why doesn't the char work ? how can I declare an array with  nx_uint8_t.

I am sorry for the repeated mail. but am desperate to go past this point.

Regards,

Shamali




From: 崔晓宗 
To: Shamali Gunawardena ; 
Tinyos-help@millennium.berkeley.edu
Sent: Wed, February 23, 2011 2:38:21 PM
Subject: Re: [Tinyos-help] sending a string from tinyos

0x48 is equal to 72 in decimal,  if you receive them on PC, you can turn them 
into 'H'.


2011/2/23 Shamali Gunawardena 

thanks for the reply. How do you define it. 
>
>I tried with just sending one character first. (the variable name is character)
>
>1. char charcter; (doesn't work) - compilation problem
>
>2. nx_uint8_t character- assigned the value 'H' and 0x48  to the message. In 
>both cases the received value was 72 (the decimal value) 
>
>
>How do I get around that.
>
>regards,
>
>Shamali
>
>

From: 崔晓宗 
>To: Shamali Gunawardena ; 
>Tinyos-help@millennium.berkeley.edu
>Sent: Wed, February 23, 2011 1:49:36 PM
>Subject: Re: [Tinyos-help] sending a string from tinyos
>
>
>you can send the string as a char array, which is similar to sending integers.
>
>
>2011/2/23 Shamali Gunawardena 
>
>Hi, 
>>
>>This is a pretty basic question. I need to know how I can send a string (eg 
>>Hello) in nesC. I know how to send integers (unit_16_t and etc)
>>How do I specify the data type and how do I assign the value.
>>
>>thanks
>>
>>Regards,
>>
>>Shamali 
>>
>>
>>
>>
>>___
>>Tinyos-help mailing list
>>Tinyos-help@millennium.berkeley.edu
>>https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
>-- 
>Regards,
>Xiaozong Cui
>
>


-- 
Regards,
Xiaozong Cui



  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Tosssim packet transmission question

2011-02-24 Thread Shamali Gunawardena
Hi,

I have set up a small network in TOSSIM nodes 1, 2,3 and run 100 and then 1000 
events. (eg RadioCountToLCD in the tossim tutorial)

 Node 1 and 3 has a large attenuation and will usually not communicate
 Node 1,2 and 3 first transmit when I receive (eg node 2 receives packet from 
node 1, node 1 receives packet from node 2 etc) 

Question 1
Although the transmissions are done in a fixed order (1,2,3) reception is in 
different orders. (node 2 receives first and in the next cycle node 3 receives 
first etc.) what causes this irregularities.   I guess there is something in 
the 
mac layer causing these irregularities. but what exactly is that.

Question 2
 
When the network is simulated for around 1000 events some packets are not 
received at all. Is there to trace a way of all these packet losses.

Thanks & regards,

Shamali


  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Tossim noise modeling

2011-02-24 Thread Shamali Gunawardena
Hi,

I am fairly new to tossim so maybe i am wrong. I have tried removing the noise 
from the simulation (remove the line add noise trace) Then transmission is not 
done or rather packets are not received (its probably because transmission is 
not done ) 


It says its the hardware noise so maybe there is no way of removing. Hopefully 
you get a better answer.



Regards





From: Newlyn Erratt 
To: tinyos-help@millennium.berkeley.edu
Sent: Thu, February 24, 2011 2:52:05 AM
Subject: [Tinyos-help] Tossim noise modeling

All:

I have a couple of questions regarding the noise modeling in TOSSIM:

1) Are there any noise traces available that aren't included in the standard 
tinyos install?  I saw in the CPM paper that they did several other traces 
(Grand Canyon, Lake Lagunita, Meyer Library on other channels/lower traffic). 
 Is this data available somewhere to be used with TOSSIM?

2)  Is there some easy way to disable the noise modeling for a given 
simulation? 
 When I didn't do the noise generation I end up with an error but it would be 
beneficial in my simulations to remove the noise modeling altogether.

3)  I have looked around but can't find this information.  If I were to 
generate 
a noise trace, how often should my RSSI samples be in the tracefile and is 
anything additional required to get a good noise trace?



Thank you,
Newlyn


  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] random number generator

2011-03-03 Thread Shamali Gunawardena
Hi,


How can I get the random number generator in tossim.

Regards,

Shamali


  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] random number generator

2011-03-03 Thread Shamali Gunawardena
Sorry I wasnt specific What I want to know is if tossim is using randomized 
seed 
for its random number generator. How can I check that.
Regards,





From: Alex Chih Hu 
To: Shamali Gunawardena 
Cc: Tinyos-help@millennium.berkeley.edu
Sent: Fri, March 4, 2011 7:46:29 AM
Subject: Re: [Tinyos-help] random number generator

you may use "components RandomC", interface is Random.

you may refer to /opt/tinyos-2.x/apps/tests/TestNetwork.

Hope this can help you.



2011/3/3 Shamali Gunawardena 

Hi,
>
>
>How can I get the random number generator in tossim.
>
>Regards,
>
>Shamali
>
>
>
>
>
>
>___
>Tinyos-help mailing list
>Tinyos-help@millennium.berkeley.edu
>https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] CCA value or threshold value in TOSSIM

2011-03-17 Thread Shamali Gunawardena


How do you get the CCA value or threshold value in TOSSIM.

although the tutorial says type  threshold()  when type it gives the message 
threshold is not defined. also this does not show in the dir(r) mode 


Can someone please help me with this.

Regards,

Shamali



  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Routing protocols in tossim

2011-04-18 Thread Shamali Gunawardena
Hello, 

I am looking at the routing protocols available in TOSSIM. I have  come across 
TYMO in their tutorial. I am looking at it. but it is a reactive protocols. are 
their any other protocols that are available. A protocol that we can have more 
control of.

Regards,

shamali
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TYMO

2011-06-28 Thread Shamali Gunawardena
Hi,

I was trying to use the TYMO example as in teh tutorials and realized that I do 
not have DymoNetworkC interface. nor a dymo or tymo folder inside lib do I have 
to get them and install them separately. If so how can I get about with this. 


Thanks in advance.

Shamali
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TYMO

2011-06-29 Thread Shamali Gunawardena
Hi, thanks for the feed back. In my case it is /tiny0s-2.1.0/to/lib/net/ 
but that is it there is no tymo folder. 

Does that mean I have installed wrong. I am using the vmware.
regards,
Shamali






From: "vinh.p...@ffi.no" 
To: shama...@yahoo.com; tinyos-help@millennium.berkeley.edu
Sent: Tue, June 28, 2011 5:58:54 PM
Subject: SV: [Tinyos-help] TYMO


Hi.
 
If you have installed correctly, the DymoNetworkC should be under the 
 /tinyos-2.x/tos/lib/net/tymo/dymo folder.
 
Fra:tinyos-help-boun...@millennium.berkeley.edu 
[mailto:tinyos-help-boun...@millennium.berkeley.edu] På vegne av Shamali 
Gunawardena
Sendt: 28. juni 2011 13:08
Til: tinyos-help@millennium.berkeley.edu
Emne: [Tinyos-help] TYMO
 
Hi,

I was trying to use the TYMO example as in teh tutorials and realized that I do 
not have DymoNetworkC interface. nor a dymo or tymo folder inside lib do I have 
to get them and install them separately. If so how can I get about with this. 


Thanks in advance.

Shamali ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TYMO

2011-06-30 Thread Shamali Gunawardena
Thanks,

Ill try that. My current version is by installing xubuntos in windows using 
VMWARE. 







From: Omprakash Gnawali 
To: Shamali Gunawardena 
Cc: vinh.p...@ffi.no; tinyos-help@millennium.berkeley.edu
Sent: Thu, June 30, 2011 10:14:38 PM
Subject: Re: [Tinyos-help] TYMO

You should check out the code from Google svn. Details on tinyos.net.

- om_p

On Wed, Jun 29, 2011 at 1:01 AM, Shamali Gunawardena  wrote:
> Hi, thanks for the feed back. In my case it is /tiny0s-2.1.0/to/lib/net/
> but that is it there is no tymo folder.
>
> Does that mean I have installed wrong. I am using the vmware.
> regards,
> Shamali
>
>
> 
> From: "vinh.p...@ffi.no" 
> To: shama...@yahoo.com; tinyos-help@millennium.berkeley.edu
> Sent: Tue, June 28, 2011 5:58:54 PM
> Subject: SV: [Tinyos-help] TYMO
>
> Hi.
>
>
>
> If you have installed correctly, the DymoNetworkC should be under the
>  /tinyos-2.x/tos/lib/net/tymo/dymo folder.
>
>
>
> Fra: tinyos-help-boun...@millennium.berkeley.edu
> [mailto:tinyos-help-boun...@millennium.berkeley.edu] På vegne av Shamali
> Gunawardena
> Sendt: 28. juni 2011 13:08
> Til: tinyos-help@millennium.berkeley.edu
> Emne: [Tinyos-help] TYMO
>
>
>
> Hi,
>
> I was trying to use the TYMO example as in teh tutorials and realized that I
> do not have DymoNetworkC interface. nor a dymo or tymo folder inside lib do
> I have to get them and install them separately. If so how can I get about
> with this.
>
> Thanks in advance.
>
> Shamali
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TYMO

2011-07-01 Thread Shamali Gunawardena
Hi Tried installing with svn. I think what you mean is SVN/GIT when you mena by 
google svn am I correct. 


If I am the first step is to install HINRG tinyos repository. but have a 
problem 
there. 



when clicking the link 

http://hinrg.cs.jhu.edu/tinyos

in 
sudo apt-add-repository "deb http://hinrg.cs.jhu.edu/tinyos karmic main"
the link times out.

what do you think the problem might be.

Hope you can help me with this.

Thanks 
Regards

Shamali



From: Omprakash Gnawali 
To: Shamali Gunawardena 
Cc: vinh.p...@ffi.no; tinyos-help@millennium.berkeley.edu
Sent: Thu, June 30, 2011 10:14:38 PM
Subject: Re: [Tinyos-help] TYMO

You should check out the code from Google svn. Details on tinyos.net.

- om_p

On Wed, Jun 29, 2011 at 1:01 AM, Shamali Gunawardena  wrote:
> Hi, thanks for the feed back. In my case it is /tiny0s-2.1.0/to/lib/net/
> but that is it there is no tymo folder.
>
> Does that mean I have installed wrong. I am using the vmware.
> regards,
> Shamali
>
>
> 
> From: "vinh.p...@ffi.no" 
> To: shama...@yahoo.com; tinyos-help@millennium.berkeley.edu
> Sent: Tue, June 28, 2011 5:58:54 PM
> Subject: SV: [Tinyos-help] TYMO
>
> Hi.
>
>
>
> If you have installed correctly, the DymoNetworkC should be under the
>  /tinyos-2.x/tos/lib/net/tymo/dymo folder.
>
>
>
> Fra: tinyos-help-boun...@millennium.berkeley.edu
> [mailto:tinyos-help-boun...@millennium.berkeley.edu] På vegne av Shamali
> Gunawardena
> Sendt: 28. juni 2011 13:08
> Til: tinyos-help@millennium.berkeley.edu
> Emne: [Tinyos-help] TYMO
>
>
>
> Hi,
>
> I was trying to use the TYMO example as in teh tutorials and realized that I
> do not have DymoNetworkC interface. nor a dymo or tymo folder inside lib do
> I have to get them and install them separately. If so how can I get about
> with this.
>
> Thanks in advance.
>
> Shamali
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TYMO example

2011-07-05 Thread Shamali Gunawardena
Hi I was trying the TYMO example. In APPC file the component DymoNetworkC is 
used. where is this file.

I didnt have the DYMo folder in my insatllation , but I got hold of a DYMO 
folder and copied it. I am not sure this will work but i ma trying. 


Please help me with the DymoNetworkC.

Regards,

Shamali___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] DymoNetworkC not fount

2011-07-07 Thread Shamali Gunawardena


Hi,

I am trying to run the Tymo/Dymo protocol. when I include component 
DymoNetworkC 
in the APPC file and make the file. itsays component DymoNetworkC not found. Do 
you know why I get this. do I have to do anything in the Maklefile.


Regards

Shamali
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinyos instation fail

2011-07-27 Thread Shamali Gunawardena

Hi all,


I am trying to install tiny os through SVN/GIT

after including in the source.list file 
deb http://hinrg.cs.jhu.edu/tinyos karmic main

runt apt-get-update 

This is ok for the first 98%

Then a load of errors.

the error list starts at 

Ign http://mv.archive.ubuntu.com jaunty-updates/restricted Packages 
Err http://security.ubuntu.com jaunty-security/main Packages 
404 Not Found


and just goes on. 

how can I sort this out.

Regards,___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] using tYMO with windows VM ware

2011-07-29 Thread Shamali Gunawardena


Hi,

TYMO package is not available in windows VMware. I manged to get hold of the 
folder from the ubuntu tinyos setup. Now how to I set it up in the windows 
VMware.

Regards,

Shamali
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] tinyos instation fail

2011-07-29 Thread Shamali Gunawardena
estricted Translation-en
Ign http://us.archive.ubuntu.com natty/universe Translation-en_US
Ign http://us.archive.ubuntu.com natty/universe Translation-en
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en
W: Failed to fetch 
http://hinrg.cs.jhu.edu/tinyos/dists/natty/main/source/Sources  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones 
used instead.







From: Romain Bornet 
To: Shamali Gunawardena 
Cc: TinyOS 
Sent: Wednesday, July 27, 2011 9:13 AM
Subject: Re: [Tinyos-help] tinyos instation fail

Hi,

Given your short description I think that your problem is not related
to the TinyOS repository but to some weird package repository sources
in your sources.list...

First, from your error messages, it seems you are running Ubuntu 9.04
(jaunty) so you should set "deb http://hinrg.cs.jhu.edu/tinyos jaunty
main" in your sources.list and not the one for karmic (Ubuntu 9.10).
It is probably not an issue but it's always better to point to the
correct package repositories when they exist.

Second you have repositories in your sources.list for which there are
no packages for jaunty (http://mv.archive.ubuntu.com
jaunty-updates/restricted).

You should update your repositories to valid links. The easiest way to
do this is through Synaptic Package Manager GUI in "Settings >
Repositories".

Hope this helps,
     Romain

On Wed, Jul 27, 2011 at 12:18 PM, Shamali Gunawardena
 wrote:
>
> Hi all,
>
>
> I am trying to install tiny os through SVN/GIT
>
> after including in the source.list file
>  deb http://hinrg.cs.jhu.edu/tinyos karmic main
>
> runt apt-get-update
>
> This is ok for the first 98%
>
> Then a load of errors.
>
> the error list starts at
>
> Ign http://mv.archive.ubuntu.com jaunty-updates/restricted Packages
> Err http://security.ubuntu.com jaunty-security/main Packages
>   404 Not Found
>
>
> and just goes on.
>
> how can I sort this
>  out.
>
> Regards,
>
>
>
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] tinyos instation fail

2011-07-31 Thread Shamali Gunawardena
Thanks Eric. 


You have no idea how long I have been struggling with it. now I manage to 
install without any issues. 
 


But I still can make even the simple make file I get a load of errors.   

I have copied  just the first few lines.

I still get some errors from the command

make all make install 
But the document says that will happen.  Is it my previous attempts to install 
causing me all this problems. 



Regards,

Shamali



mkdir -p build/micaz
    compiling BlinkAppC to a micaz binary
ncc -o build/micaz/main.exe  -Os -fnesc-separator=__ -Wall -Wshadow -Wnesc-all 
-target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb 
-DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=10 
-DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"shamali\" 
-DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0xbf63327dL 
-DIDENT_TIMESTAMP=0x4e362b91L -DIDENT_UIDHASH=0xf234bcfaL -fnesc-dump=wiring 
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, 
components)' -fnesc-dumpfile=build/micaz/wiring-check.xml BlinkAppC.nc -lm 
/usr/lib/ncc/nesc_nx.h:16:22: error: inttypes.h: No such file or directory
/usr/lib/ncc/nesc_nx.h:235: syntax error before `__nesc_ntoh_uint8'
/usr/lib/ncc/nesc_nx.h:240: syntax error before `__nesc_hton_uint8'
/usr/lib/ncc/nesc_nx.h:242: warning: type defaults to `int' in declaration of 
`base'
/usr/lib/ncc/nesc_nx.h:242: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:242: warning: data definition has no type or storage 
class
/usr/lib/ncc/nesc_nx.h:243: syntax error before `return'
/usr/lib/ncc/nesc_nx.h:246: syntax error before `__nesc_ntoh_leuint8'
/usr/lib/ncc/nesc_nx.h:251: syntax error before `__nesc_hton_leuint8'
/usr/lib/ncc/nesc_nx.h:253: warning: type defaults to `int' in declaration of 
`base'
/usr/lib/ncc/nesc_nx.h:253: redefinition of `base'
/usr/lib/ncc/nesc_nx.h:242: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:253: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:253: warning: data definition has no type or storage 
class
/usr/lib/ncc/nesc_nx.h:254: syntax error before `return'
/usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_ntoh_int8'
/usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_hton_int8'
/usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_ntoh_leint8'
/usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_hton_leint8'
/usr/lib/ncc/nesc_nx.h:258: syntax error before `__nesc_bf_decode8'
/usr/lib/ncc/nesc_nx.h:258: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:258: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:258: syntax error before `if'
/usr/lib/ncc/nesc_nx.h:258: warning: type defaults to `int' in declaration of 
`x'
/usr/lib/ncc/nesc_nx.h:258: `uint8_t' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:258: `msg' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:258: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:258: `length' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:258: warning: data definition has no type or storage 
class
/usr/lib/ncc/nesc_nx.h:258: syntax error before `++'
/usr/lib/ncc/nesc_nx.h:258: syntax error before `|='
/usr/lib/ncc/nesc_nx.h:258: syntax error before `*'
/usr/lib/ncc/nesc_nx.h: In function `__nesc_bf_encode8':
/usr/lib/ncc/nesc_nx.h:258: warning: declaration of `byte_offset' shadows 
global declaration
/usr/lib/ncc/nesc_nx.h:258: warning: location of shadowed declaration
/usr/lib/ncc/nesc_nx.h:258: `offset' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:258: (Each undeclared identifier is reported only once
/usr/lib/ncc/nesc_nx.h:258: for each fu




From: Eric Decker 
To: Shamali Gunawardena 
Cc: Romain Bornet ; TinyOS 

Sent: Saturday, July 30, 2011 3:20 PM
Subject: Re: [Tinyos-help] tinyos instation fail



The tinyos tools repositories (Stanford is the primary, HINRG at John Hopkins 
is the backup) host tool debian archives that are the same across the different 
Debian/Ubuntu distributions.

However only up through lucid have been configured in.   So instead of natty, 
specifiy lucid.

eric



On Fri, Jul 29, 2011 at 3:51 AM, Shamali Gunawardena  wrote:


>
>Hi, thanks for the reply. yes you are right. I was using the jaunty version. 
>but changing that didn't help.
>
>
>so what I did was put a new installation of the latest ubuntu natty version 
>(11.04)
>
>
>
>
>so when I put deb http://hinrg.cs.jhu.edu/tinyos natty main
>I still get the same problem.Err http://hinrg.cs.jhu.edu natty/main Sources 
>  404  Not Found
>But the only difference is I am allowed to ignore this and continue.
>The rest is Ok without much incidence.
&

Re: [Tinyos-help] using tYMO with windows VM ware

2011-08-01 Thread Shamali Gunawardena
No it is not available. what is available to be downloaded is the tinyos 2.1 
(http://docs.tinyos.net/tinywiki/index.php/Running_a_XubunTOS_Virtual_Machine_Image_in_VMware_Player)

Its probably available in tinyos 2.1.1

Regards,

Shamali



From: Fajar Lab 
To: TinyOS ; Shamali Gunawardena 

Sent: Saturday, July 30, 2011 7:17 AM
Subject: Re: [Tinyos-help] using tYMO with windows VM ware


Hi, 
maybe TyMo protocol is provided in the latest version of TinyOS (TinyOS-2x),
please refers to google code of TinyOs

Fjr.


Dari: Shamali Gunawardena 
>Judul: [Tinyos-help] using tYMO with windows VM ware
>Kepada: "TinyOS" 
>Tanggal: Jumat, 29 Juli, 2011, 10:32 AM
>
>
>
>
>Hi,
>
>TYMO package is not available in windows VMware. I manged to get hold of the 
>folder from the ubuntu tinyos setup. Now how to I set it up in the
 windows VMware.
>
>Regards,
>
>Shamali 
>
>
>___
>Tinyos-help mailing list
>Tinyos-help@millennium.berkeley.edu
>https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] accessing mac layer parameters in tossim

2011-10-10 Thread Shamali Gunawardena
Hello,

Is it possible to access the maclayer parameters from TOSSIM. ?


Thanks in advance,

Regards,

Shamali___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] RSSI value in tossim

2011-10-10 Thread Shamali Gunawardena


Is it possible to extract the RSSI value in tossim 

Thanks

Regards,

Shamali___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] simulation code downloading

2011-12-15 Thread Shamali Gunawardena
Hi,
I need to find a code that will do a simple network clustering. Where can I get 
code is of this available in the internet for free(legal)  and what are the 
sources of getting them. 

for example if I need a tree view say in java for my application then I could 
download that code from source forge or something. I am referring to a code 
like that. where it is available free and others are allowed to use it as long 
as the credentials are not erased from the code.  

Thanks and regards,
Shamali___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Tinyos clustering algorithm

2012-02-23 Thread Shamali Gunawardena
Does anyone know of a clustering algorithm for tinyos 2.x. (I am reading on 
LEACH and HEAD but they are both on tinyos 1.x

Really appreciate any help rendered.


Thanks & Regards,


Shamali___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinyos clustering algorithm

2012-02-23 Thread Shamali Gunawardena
Does anyone know of a clustering algorithm for tinyos 2.x. (I am reading on 
LEACH and HEAD but they are both on tinyos 1.x

Really appreciate any help rendered.


Thanks & Regards,

Shamali___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help