Re: [Tinyos-help] Pls help me - Help on Multihop

2009-01-31 Thread Omprakash Gnawali
On Sat, Jan 31, 2009 at 10:59 PM, Brandon Fu  wrote:
> Hi all,
>  I am currently, doing a project on data collection and i doing the last
> part of the project. The last part of my project is to transmit a packet
> from child node to a parent node to the base station. To implement this i
> knw i would have to use the multihop protocol. But I m not really sure how
> do i implement it.
>
>  May I know what shld i use CTP or dymo protocol? In order to create the
> parent nodes do i have to treat the nodes as one of the root collector
> besides the base station? Currently, what i have done is just forward the
> packets (from the 3 motes which i am given to work on for my proj) to a base
> station. How do i treat a node as a parent and do the forwarding to another
> parent and eventually forward to the base station?
>
> Anyone can provide me with enlightments?
>

CTP already does what you want to do. You should read the code for CTP
to understand how it determines the parent node and forwards packets
to the root. You can find the code at tos/lib/net/ctp. You can look at
apps/MultihopOscilloscope to understand how to use CTP.

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


[Tinyos-help] Pls help me - Help on Multihop

2009-01-31 Thread Brandon Fu

Hi all,
 I am currently, doing a project on data collection and i doing the last part 
of the project. The last part of my project is to transmit a packet from child 
node to a parent node to the base station. To implement this i knw i would have 
to use the multihop protocol. But I m not really sure how do i implement it.
 
 May I know what shld i use CTP or dymo protocol? In order to create the parent 
nodes do i have to treat the nodes as one of the root collector besides the 
base station? Currently, what i have done is just forward the packets (from the 
3 motes which i am given to work on for my proj) to a base station. How do i 
treat a node as a parent and do the forwarding to another parent and eventually 
forward to the base station?
 
Anyone can provide me with enlightments?
 
yours sincerely 
Brandon
_
Join the Fantasy Football club and win cash prizes here!
http://fantasyfootball.sg.msn.com___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Pls help on PrinfC and Rssi

2009-01-31 Thread Brandon Fu

Hi all,
 
 May I know if the how to download the Rssi demo mentioned in wiki, isit dl 
from this link? - 
http://mythicalcomputer.blogspot.com/2008/11/tracking-using-rssi-application-in.html.
 I would like to ask, if i have -15 rssi value is equal to hw many dbm?
 
 Second qn is on the printf. May i know how to patch the my printf library to 
my tinyos-2.x. I followed the instruction as mentioned in wiki - 
http://docs.tinyos.net/index.php/The_TinyOS_printf_Library_%282.0.2_Release%29. 
I m not using the cvs to dl the latest patch so i copied the patch into a text 
file and place it in my cygwin folder. After which i copied entered the command 
patch -p0 < tinyos-2.0-printf.patch to patch them. I seems to have patched 
them, but i cannot use the components PrintfC and its interface in my program. 
Did i patch correctly? anyone Can guide me?
 
Thks a million
 
yours sincerely,
Brandon
_
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Unable to load Debug Messages & Radio Model plugins

2009-01-31 Thread Group
Hi All,

I have successfully installed TinyOS-1.x on my vista machine. I ran
the Blink application on TinyViz (using 'tinyviz -run
build/pc/main.exe 2' command in opt/tinyos-1.x/apps/Blink directory)
and it was running perfectly. When i enabled Debug Messages and Radio
Model options on TinyViz, I'm unable to view those plugins (Debug
Messages and Radio Model tabs is not getting highlighted). Could you
please let me know what could be the issue.

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


Re: [Tinyos-help] multihop routing

2009-01-31 Thread Omprakash Gnawali
On Sat, Jan 31, 2009 at 10:36 AM, Adeel Akhtar
 wrote:
> Hi All, in tinyos1.x while running surge application the nodes starts
> sending packets after long delay why and up to that time they are getting
> the parent address as 65535 the broad cast address. any help about the
> multihop routing algo used in surge application?

Sounds like it is taking time to find the parent. You might consider
using CTP with TinyOS 2.x which finds parents quickly (in a matter of
seconds).

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


[Tinyos-help] Re : MultihopOscilloscope application issues: no...

2009-01-31 Thread Alireza pourranjbar
Dear Paolo

This is my first response in this mailing list , so 

I changed your topology file (i started the number of nodes from ZERO) and
the problem that only root's sendDone event occurs,   was solved
.every node tries to send and sendDone event occurs for any.
i wrote a program more simpler that multihopOsc... and here is the result :

http://rapidshare.com/files/192160387/result.txt.html

and here is the topology file , try it , i think 50% i am wrong ,
http://rapidshare.com/files/192161026/topo.txt.html

let me know what happens.

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


[Tinyos-help] multihop routing

2009-01-31 Thread Adeel Akhtar
Hi All, in tinyos1.x while running surge application the nodes starts
sending packets after long delay why and up to that time they are getting
the parent address as 65535 the broad cast address. any help about the
multihop routing algo used in surge application?

-- 


Thanks & Best Regards

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

Re: [Tinyos-help] help needed in Blink

2009-01-31 Thread Razvan Musaloiu-E.
Hi!

On Sat, 31 Jan 2009, mahendra nimishakavi wrote:

> Hello iam very new to TinyOS. I have been struggling to run the Blink
> application. I have used tinyos-1.x and tinyos-2.x. But did not work. Please
> help me. I work on Ubuntu-8.04 system.
>

Can you give some more details about the error you get?

A good starting point in getting a tinyos-2.x to work are the 
'Getting started' section from wiki:
http://docs.tinyos.net/index.php/Getting_started#Installing_TinyOS_2.1

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


[Tinyos-help] help needed in Blink

2009-01-31 Thread mahendra nimishakavi
Hello iam very new to TinyOS. I have been struggling to run the Blink
application. I have used tinyos-1.x and tinyos-2.x. But did not work. Please
help me. I work on Ubuntu-8.04 system.



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

[Tinyos-help] iris mote 420cc and gps. Changing from high power to low power

2009-01-31 Thread stanza
ref :iris mote 420cc and gps. Changing from high power to low power

Has anyone made a program for the 420cc GPS to start them up take the  GPS 
reading in high power mode then after initial reading go into low power mode.  
If you have done this could you help me. Some pointers on how to  do this?

or...Have you made the code available?

Currently my 15 mote network only lasts one day with GPS attached before power 
runs out in High power mode. I need them to last at least a month. 
Any ideas.

thanks

stanza

Sensity.
http://www.stanza.co.uk/sensity/index.html


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


Re: [Tinyos-help] b6lowpan: tunnel problems

2009-01-31 Thread Ansar Jamil
HiSteve,

I just tried you suggestions but i got the same error.

Thanks
Best Regards
Ansar


--- On Sat, 1/31/09, Stephen Dawson-Haggerty  wrote:

> From: Stephen Dawson-Haggerty 
> Subject: Re: [Tinyos-help] b6lowpan: tunnel problems
> To: ansa...@yahoo.com
> Cc: "alessandro ludovici" , 
> tinyos-help@millennium.berkeley.edu
> Date: Saturday, January 31, 2009, 12:55 AM
> This is a sign that the driver can't talk to the
> interface mote-- thatis,
> the mote running IPBaseStation.
> 
> Be sure that the mote you're using for this purpose has
> the latest version
> of IPBaseStation, is connected to the device referenced
> (/dev/ttyUSB0 in
> this case) and has the correct baud rate (you might try
> putting in 57600 and
> 115200 manually, if you're unsure about which is
> correct).
> 
> What happens when the interface boots up and the driver
> starts is the driver
> sends a message to the interface mote configuring several
> parameters; the
> interface replys with an ack.  If the driver doesn't
> get the ack, it
> aborts.  However, I think that if the serial stack replies
> too quickly the
> ack sometimes gets dropped; that's why there's a
> timeout.  If you do a 'cvs
> up', I've increased the timeout from 50 ->
> 200ms; that may fix the problem
> and seems worth a try...
> 
> Steve
> 
> On Fri, Jan 30, 2009 at 7:54 PM, Ansar Jamil
>  wrote:
> 
> > Hi,
> >
> > I face following problem when try to do interfacing
> between the mote and
> > PC.
> >
> >
> r...@ansar-desktop:/svn/code/b6lowpan/support/sdk/c/lib6lowpan/tunnel#
> > ./serial_tun /dev/ttyUSB0 telosb
> > 11:46:46.190634: INFO: Read config from
> 'serial_tun.conf'
> > 11:46:46.190759: INFO:  Proxying neighbor
> advertisements to eth3
> > 11:46:46.190781: INFO:  Using channel 13
> > 11:46:46.194440: INFO: created tunnel device: tun0
> > 11:46:46.243787: INFO: send me SIGUSR1 to dump the
> topology to a
> > 'nwgraph.dot' in the cwd
> > 11:46:52.243927: FATAL: configuring interface failed! 
> aborting!
> >
> > I tried solution given by Alessandro by changing the
> flag however the same
> > error happened. I need some advice to solve this
> problem?
> >
> > Thanks
> > Best Regards
> > Ansar
> >
> >
> > --- On Thu, 1/29/09, Stephen Dawson-Haggerty
> 
> > wrote:
> >
> > > From: Stephen Dawson-Haggerty
> 
> > > Subject: Re: [Tinyos-help] b6lowpan: tunnel
> problems
> > > To: "alessandro ludovici"
> 
> > > Cc: tinyos-help@millennium.berkeley.edu
> > > Date: Thursday, January 29, 2009, 11:54 AM
> > > Changing the config_stated flag is a workaround;
> you should
> > > try reflashing
> > > the interface mote with a new version of
> IPBaseStation.
> > > Basically, the
> > > driver sends a packet to the interface mote to
> set its
> > > channel and address,
> > > and waits for a reply; the fatal error means
> you're not
> > > getting it.  If it
> > > still works after you change that flag, you may
> have an
> > > older version
> > > installed.
> > >
> > > Other then that, the behavior you describe is
> normal.
> > > Basically, the router
> > > needs to wait until it hears from a mote to add a
> routing
> > > table entry so it
> > > can route to it.
> > >
> > > If you update to the latest verion in contrib,
> there's
> > > a scheme for
> > > generating traffic that will improve convergence
> time and
> > > you can usually
> > > ping motes immediate after they boot.
> > >
> > > Steve
> > >
> > > On Thu, Jan 29, 2009 at 3:52 AM, alessandro
> ludovici <
> > > alessandro.ludov...@gmail.com> wrote:
> > >
> > > >  Hi,
> > > > I have the following problem with b6lowpan.
> When I
> > > give the command "sudo
> > > > ./serial_tun /dev/ttyUSB0 telosb", I
> get the
> > > following:
> > > >
> > > > 12:29:46.785336: INFO: Read config from
> > > 'serial_tun.conf'
> > > > 12:29:46.785611: INFO:  Proxying neighbor
> > > advertisements to eth1
> > > > 12:29:46.785702: INFO:  Using channel 13
> > > > 12:29:46.897116: INFO: created tunnel
> device: tun0
> > > > 12:29:46.930991: INFO: send me SIGUSR1 to
> dump the
> > > topology to a
> > > > 'nwgraph.dot' in the cwd
> > > > 12:29:50.302466: INFO: interface device
> successfully
> > > initialized
> > > > 12:30:15.556531: WARN: tun_input: dropping
> packet with
> > > IPv6 options
> > > > 12:30:22.843423: WARN: tun_input: dropping
> packet with
> > > IPv6 options
> > > >
> > > > and till here everything seems to be ok, but
> when I
> > > give a ping6 command I
> > > > receive a "connect: Network is
> unreachable".
> > > After a while I receive the
> > > > followings:
> > > >
> > > > Cannot find device "eth1"
> > > > Cannot find device "eth1"
> > > > 12:30:42.512530: INFO: nw_get_route:
> computing new
> > > routes
> > > >
> > > > The I ping the devices and everything works
> fine. The
> > > serial_tun.con has
> > > > "proxy eth1" as default entry. I
> give in the
> > > terminal the ifconfig command
> > > > and no eth1 device is found so I've
> changed the
> > > serial_tun.conf to "proxy
> > > > eth0" (eth0 is the only Ethernet device
> > >