[Tinyos-help] WSN testbeds

2012-09-18 Thread wasif masood
Hi All,

I am looking for some online testbeds to test run my application on the
real telosb motes. I know about Indirya and Harvard Motelab, are there any
other such testbeds available for students that I can use online?

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

Re: [Tinyos-help] Tinyos-help Digest, Vol 113, Issue 36

2012-09-18 Thread Carlos Neto
50 :-) Researcher
> >>
> >>
> >>
> >
> >
> > --
> > -Xiaohui Liu
> >
>
>
>
> --
> -Xiaohui Liu
> -- next part --
> An HTML attachment was scrubbed...
> URL:
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20120917/f51b9239/attachment-0001.htm
>
> --
>
> Message: 4
> Date: Mon, 17 Sep 2012 22:10:34 -0700 (PDT)
> From: mamta_b 
> Subject: Re: [Tinyos-help] how to use IEEE 802.15.4 layer in iris
> motes in any application
> To: tinyos-help@millennium.berkeley.edu
> Message-ID: <34445665.p...@talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> ok Jan. I am studying TKN145 and if i get problem i will ask you for the
> help
> if you don't mind. thanks.
>
> Jan Hauer-2 wrote:
> >
> >> thanks Jan for your reply. is it the default tinyos 802.15.4 library and
> >> what
> >> about the zigbee library what is that?
> >
> > TKN154 is an implementation of the IEEE 802.15.4-2006 MAC, take a look
> > at tos/lib/mac/tkn154/README.txt, where the implementation status is
> > described. The MAC is not the default MAC in TinyOS 2, i.e. you have
> > to add some lines to your Makefile to use it (see README.txt which
> > points to example apps). ZigBee is not covered by TKN154.
> >
> > Jan
> >
> > On Mon, Sep 17, 2012 at 11:20 AM, mamta_b 
> > wrote:
> >>
> >> thanks Jan for your reply. is it the default tinyos 802.15.4 library and
> >> what
> >> about the zigbee library what is that?
> >>
> >> Jan Hauer-2 wrote:
> >>>
> >>> TKN154 is only available on the platforms listed in
> >>> tos/lib/mac/tkn154/README.txt (i.e. not on iris at the moment)
> >>>
> >>> Jan
> >>>
> >>> On Fri, Sep 14, 2012 at 1:25 PM, mamta_b 
> >>> wrote:
> >>>>
> >>>> hi,
> >>>> i want to use ieee 802.15.4 standard phy and mac layer in tinyos
> >>>> applications over iris mote. but there is an application given named
> >>>> tkn154
> >>>> and its library is also present but it uses only cc2420 tranceivers
> i.e
> >>>> micaz , telosb motes. but i want to use iris motes, and applications
> >>>> using
> >>>> ieee 802.15.4 layers. i am confused that how to use ieee 802.15.4 phy
> >>>> and
> >>>> mac layers in our application on iris motes. plz help. thanks.
> >>>> --
> >>>> View this message in context:
> >>>>
> http://old.nabble.com/how-to-use-IEEE-802.15.4-layer-in-iris-motes-in-any-application-tp34432532p34432532.html
> >>>> Sent from the TinyOS - Help mailing list archive at Nabble.com.
> >>>>
> >>>> ___
> >>>> 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
> >>>
> >>>
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/how-to-use-IEEE-802.15.4-layer-in-iris-motes-in-any-application-tp34432532p34441633.html
> >> Sent from the TinyOS - Help mailing list archive at Nabble.com.
> >>
> >> ___
> >> 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
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/how-to-use-IEEE-802.15.4-layer-in-iris-motes-in-any-application-tp34432532p34445665.html
> Sent from the TinyOS - Help mailing list archive at Nabble.com.
>
>
>
> --
>
> Message: 5
> Date: Tue, 18 Sep 2012 09:58:00 +0200
> From: wasif masood 
> Subject: [Tinyos-help] WSN testbeds
> To: tinyos forum 
> Message-ID:
> <
> caobidoe+wvpofl2qsczw5mlfxmhtu0nzlozkanqr3m++ewo...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi All,
>
> I am looking for some online testbeds to test run my application on the
> real telosb motes. I know about Indirya and Harvard Motelab, are there any
> other such testbeds available for students that I can use online?
>
> Regards!
> Wasif Masood
> -- next part --
> An HTML attachment was scrubbed...
> URL:
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20120918/ed4ee997/attachment.htm
>
> --
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> End of Tinyos-help Digest, Vol 113, Issue 36
> 
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Energy consumption on Telosb

2012-09-18 Thread wasif masood
You can do online Energy profiling, calculate the on and Off time of the
radio and then multiply it with the current consumed in each of that state,
and actively log  it serially. It a bit difficult to monitor all the modes
of MSP430 and CC2420, so I would suggest to monitor CC2420, for its send
and receive states, since these are the major sources of energy dissipation.

I once wrote a code for the online Energy profiling of Telosb nodes, If you
like I can share it with you.




On Mon, Sep 17, 2012 at 7:20 PM, scatram...@gmail.com
wrote:

> I'm currently facing the same problem.
>
> I've already run some tests and it seems quite difficult to correlate the
> voltage with the real consumption even having a battery model.
>
> Does TinyOS provide any energy profiling mechanism that measures where
> energy is spent, and how much energy that is consumed?
>
> This is becoming extremely important for us when optimizing for low-power
> operation
>
> BR,
> Davide
>
> On 17 Sep 2012, at 17:53, Han Bin wrote:
>
> >
> > Dear all,
> >
> > I'm working on deploying a network of 30 telosb sensor nodes. Node works
> in
> > a duty cycle (sleep and active modes) and is powered by using one pair of
> > batteries (3V). Now I want to measure the energy consumption of each
> node. I
> > use the VoltageC component to measure the actual voltage of node
> > before/after testing. So I can calculate the amount of voltage consumed.
> But
> > in my scenario, the current of node is not constant, it varies when the
> node
> > works. I'm wondering whether I can use amount of voltage that the node
> has
> > consumed to evaluate the energy consumption of node or not. Is there any
> > solution to measure the energy consumption or any command to get the
> > remaining battery level (remaining energy) of telosb motes?
> > I greatly appreciate any help on this issue.
> > Thank in advance.
> >
> > Best regards,
> > Han Bin
> > --
> > View this message in context:
> http://old.nabble.com/Energy-consumption-on-Telosb-tp34443559p34443559.html
> > Sent from the TinyOS - Help mailing list archive at Nabble.com.
> >
> > ___
> > 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
>



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

Re: [Tinyos-help] Energy consumption on Telosb

2012-09-18 Thread scatram...@gmail.com
Please, will you be so kind to share it?

Having the capability to monitor the radio is a good starting point and may be 
adding this information to the battery model I won't need anything more to do 
an energy profiling.

I'm going to use blip 2. How old is your code? i guess I will have to do a bit 
of porting, don't I
Instead of sending it serially I will try to store logs in a buffer and send 
them over aggregated in a packet 

Davide

On 18 Sep 2012, at 09:05, wasif masood wrote:

> 
> You can do online Energy profiling, calculate the on and Off time of the 
> radio and then multiply it with the current consumed in each of that state, 
> and actively log  it serially. It a bit difficult to monitor all the modes of 
> MSP430 and CC2420, so I would suggest to monitor CC2420, for its send and 
> receive states, since these are the major sources of energy dissipation.
> 
> I once wrote a code for the online Energy profiling of Telosb nodes, If you 
> like I can share it with you.
> 
> 
> 
> 
> On Mon, Sep 17, 2012 at 7:20 PM, scatram...@gmail.com  
> wrote:
> I'm currently facing the same problem.
> 
> I've already run some tests and it seems quite difficult to correlate the 
> voltage with the real consumption even having a battery model.
> 
> Does TinyOS provide any energy profiling mechanism that measures where energy 
> is spent, and how much energy that is consumed?
> 
> This is becoming extremely important for us when optimizing for low-power 
> operation
> 
> BR,
> Davide
> 
> On 17 Sep 2012, at 17:53, Han Bin wrote:
> 
> >
> > Dear all,
> >
> > I'm working on deploying a network of 30 telosb sensor nodes. Node works in
> > a duty cycle (sleep and active modes) and is powered by using one pair of
> > batteries (3V). Now I want to measure the energy consumption of each node. I
> > use the VoltageC component to measure the actual voltage of node
> > before/after testing. So I can calculate the amount of voltage consumed. But
> > in my scenario, the current of node is not constant, it varies when the node
> > works. I'm wondering whether I can use amount of voltage that the node has
> > consumed to evaluate the energy consumption of node or not. Is there any
> > solution to measure the energy consumption or any command to get the
> > remaining battery level (remaining energy) of telosb motes?
> > I greatly appreciate any help on this issue.
> > Thank in advance.
> >
> > Best regards,
> > Han Bin
> > --
> > View this message in context: 
> > http://old.nabble.com/Energy-consumption-on-Telosb-tp34443559p34443559.html
> > Sent from the TinyOS - Help mailing list archive at Nabble.com.
> >
> > ___
> > 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
> 
> 
> 
> -- 
> Wasif Masood
> 


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


Re: [Tinyos-help] Neighbor Cache

2012-09-18 Thread wasif masood
I am not sure but may be yo u can use the LinkEstimator Component from CTP,
available in the Lib folder within the net folder.


On Mon, Sep 17, 2012 at 4:40 PM, Carlos Neto  wrote:

> Dear all,
>
> Anyone knows if PppRouter app uses 6lowpan neighbor discovery? If yes, it
> is  possible access to neighbor cache?
>
> Thanks in advance.
> Cheers
>
> Carlos Neto
>
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



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

Re: [Tinyos-help] Energy consumption on Telosb

2012-09-18 Thread wasif masood
It should not be a problem to port it, well, It has been some time that I
haven't used it so I am not sure whether it is the final copy that
I evaluated, so for you, please go through it, understand it and please do
let me know if you see any anomalies.


On Tue, Sep 18, 2012 at 11:22 AM, scatram...@gmail.com  wrote:

> Please, will you be so kind to share it?
>
> Having the capability to monitor the radio is a good starting point and
> may be adding this information to the battery model I won't need anything
> more to do an energy profiling.
>
> I'm going to use blip 2. How old is your code? i guess I will have to do a
> bit of porting, don't I
> Instead of sending it serially I will try to store logs in a buffer and
> send them over aggregated in a packet
>
> Davide
>
> On 18 Sep 2012, at 09:05, wasif masood wrote:
>
> >
> > You can do online Energy profiling, calculate the on and Off time of the
> radio and then multiply it with the current consumed in each of that state,
> and actively log  it serially. It a bit difficult to monitor all the modes
> of MSP430 and CC2420, so I would suggest to monitor CC2420, for its send
> and receive states, since these are the major sources of energy dissipation.
> >
> > I once wrote a code for the online Energy profiling of Telosb nodes, If
> you like I can share it with you.
> >
> >
> >
> >
> > On Mon, Sep 17, 2012 at 7:20 PM, scatram...@gmail.com <
> scatram...@gmail.com> wrote:
> > I'm currently facing the same problem.
> >
> > I've already run some tests and it seems quite difficult to correlate
> the voltage with the real consumption even having a battery model.
> >
> > Does TinyOS provide any energy profiling mechanism that measures where
> energy is spent, and how much energy that is consumed?
> >
> > This is becoming extremely important for us when optimizing for
> low-power operation
> >
> > BR,
> > Davide
> >
> > On 17 Sep 2012, at 17:53, Han Bin wrote:
> >
> > >
> > > Dear all,
> > >
> > > I'm working on deploying a network of 30 telosb sensor nodes. Node
> works in
> > > a duty cycle (sleep and active modes) and is powered by using one pair
> of
> > > batteries (3V). Now I want to measure the energy consumption of each
> node. I
> > > use the VoltageC component to measure the actual voltage of node
> > > before/after testing. So I can calculate the amount of voltage
> consumed. But
> > > in my scenario, the current of node is not constant, it varies when
> the node
> > > works. I'm wondering whether I can use amount of voltage that the node
> has
> > > consumed to evaluate the energy consumption of node or not. Is there
> any
> > > solution to measure the energy consumption or any command to get the
> > > remaining battery level (remaining energy) of telosb motes?
> > > I greatly appreciate any help on this issue.
> > > Thank in advance.
> > >
> > > Best regards,
> > > Han Bin
> > > --
> > > View this message in context:
> http://old.nabble.com/Energy-consumption-on-Telosb-tp34443559p34443559.html
> > > Sent from the TinyOS - Help mailing list archive at Nabble.com.
> > >
> > > ___
> > > 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
> >
> >
> >
> > --
> > Wasif Masood
> >
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Wasif Masood


Analyzer.tar.gz
Description: GNU Zip compressed data
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Energy consumption on Telosb

2012-09-18 Thread scatram...@gmail.com
Many thanks it's very helpful.

I see what I come up with and i'll let you know

BR,
Davide

On 18 Sep 2012, at 10:53, wasif masood wrote:

> 
> It should not be a problem to port it, well, It has been some time that I 
> haven't used it so I am not sure whether it is the final copy that I 
> evaluated, so for you, please go through it, understand it and please do let 
> me know if you see any anomalies.
> 
> 
> On Tue, Sep 18, 2012 at 11:22 AM, scatram...@gmail.com  
> wrote:
> Please, will you be so kind to share it?
> 
> Having the capability to monitor the radio is a good starting point and may 
> be adding this information to the battery model I won't need anything more to 
> do an energy profiling.
> 
> I'm going to use blip 2. How old is your code? i guess I will have to do a 
> bit of porting, don't I
> Instead of sending it serially I will try to store logs in a buffer and send 
> them over aggregated in a packet
> 
> Davide
> 
> On 18 Sep 2012, at 09:05, wasif masood wrote:
> 
> >
> > You can do online Energy profiling, calculate the on and Off time of the 
> > radio and then multiply it with the current consumed in each of that state, 
> > and actively log  it serially. It a bit difficult to monitor all the modes 
> > of MSP430 and CC2420, so I would suggest to monitor CC2420, for its send 
> > and receive states, since these are the major sources of energy dissipation.
> >
> > I once wrote a code for the online Energy profiling of Telosb nodes, If you 
> > like I can share it with you.
> >
> >
> >
> >
> > On Mon, Sep 17, 2012 at 7:20 PM, scatram...@gmail.com 
> >  wrote:
> > I'm currently facing the same problem.
> >
> > I've already run some tests and it seems quite difficult to correlate the 
> > voltage with the real consumption even having a battery model.
> >
> > Does TinyOS provide any energy profiling mechanism that measures where 
> > energy is spent, and how much energy that is consumed?
> >
> > This is becoming extremely important for us when optimizing for low-power 
> > operation
> >
> > BR,
> > Davide
> >
> > On 17 Sep 2012, at 17:53, Han Bin wrote:
> >
> > >
> > > Dear all,
> > >
> > > I'm working on deploying a network of 30 telosb sensor nodes. Node works 
> > > in
> > > a duty cycle (sleep and active modes) and is powered by using one pair of
> > > batteries (3V). Now I want to measure the energy consumption of each 
> > > node. I
> > > use the VoltageC component to measure the actual voltage of node
> > > before/after testing. So I can calculate the amount of voltage consumed. 
> > > But
> > > in my scenario, the current of node is not constant, it varies when the 
> > > node
> > > works. I'm wondering whether I can use amount of voltage that the node has
> > > consumed to evaluate the energy consumption of node or not. Is there any
> > > solution to measure the energy consumption or any command to get the
> > > remaining battery level (remaining energy) of telosb motes?
> > > I greatly appreciate any help on this issue.
> > > Thank in advance.
> > >
> > > Best regards,
> > > Han Bin
> > > --
> > > View this message in context: 
> > > http://old.nabble.com/Energy-consumption-on-Telosb-tp34443559p34443559.html
> > > Sent from the TinyOS - Help mailing list archive at Nabble.com.
> > >
> > > ___
> > > 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
> >
> >
> >
> > --
> > Wasif Masood
> >
> 
> 
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
> 
> 
> -- 
> Wasif Masood
> 
> ___
> 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] Forcing communication between specific motes

2012-09-18 Thread Saeid Yazdani
Dear Friends,

At the moment I am experimenting radio communication between 3 TelosB 
motes. I have succesfully installed default BlinkToRadio app on these motes.

My Question is, is it possible to address only a specific mote, so that 
communication occurs between only 2 of these motes? If yes, can you tell 
me where should I look for it please?

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


Re: [Tinyos-help] Forcing communication between specific motes

2012-09-18 Thread C.
On Tue, 2012-09-18 at 14:09 +0200, Saeid Yazdani wrote:
> Dear Friends,
> 
> At the moment I am experimenting radio communication between 3 TelosB 
> motes. I have succesfully installed default BlinkToRadio app on these motes.
> 
> My Question is, is it possible to address only a specific mote, so that 
> communication occurs between only 2 of these motes? If yes, can you tell 
> me where should I look for it please?

Instead of sending to AM_BROADCAST_ADDR, replace with the ID of the mote
you wish to communicate, when compiling you can assign ID's to each
mote:

make telosb install,1
make telosb install,2

Start with the basics nevertheless, dig a little before asking :)

i.e. http://www.keally.org/tinyosRadio.php

Regards,

--Antonio


> Regards,
> Saeid Yazdani.
> ___
> 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] Backoff

2012-09-18 Thread Juan Martinez
Hello everybody,

I am reading about how to change the backoff with tinyos and I do not get
clear how to do it.

I am going to CC2420 --> interfaces --> Radiobackoff.nc but I don't know if
i have to modificate here the code or not.
My intention is to modificate, if it is possible, the initialbackoff and
the congestionbackoff to change the transmition time.

Any help?thank in advance!

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

[Tinyos-help] wsn

2012-09-18 Thread Debraj Paul
pls send me some details about leach protocal

-- 
DEBRAJ PAUL
PH. NO=9433626148
*
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Backoff

2012-09-18 Thread wasif masood
add these to one of your components:


  async event void RadioBackoff.requestCongestionBackoff(message_t *msg){
call RadioSend.cancel(msg);
call RadioBackoff.setCongestionBackoff(desiredtime);
  }

  async event void RadioBackoff.requestInitialBackoff(message_t *msg){
call RadioBackoff.setInitialBackoff(desiredtime);
  }

  async event void RadioBackoff.requestCca(message_t *msg) {
call RadioBackoff.setCca(TRUE);
  }




On Tue, Sep 18, 2012 at 3:49 PM, Juan Martinez <
juan.jose.martinez.ro...@gmail.com> wrote:

> Hello everybody,
>
> I am reading about how to change the backoff with tinyos and I do not get
> clear how to do it.
>
> I am going to CC2420 --> interfaces --> Radiobackoff.nc but I don't know
> if i have to modificate here the code or not.
> My intention is to modificate, if it is possible, the initialbackoff and
> the congestionbackoff to change the transmition time.
>
> Any help?thank in advance!
>
> Juan
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



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

Re: [Tinyos-help] Energy consumption on Telosb

2012-09-18 Thread Han Bin


wasif masood wrote:
> 
> It should not be a problem to port it, well, It has been some time that I
> haven't used it so I am not sure whether it is the final copy that
> I evaluated, so for you, please go through it, understand it and please do
> let me know if you see any anomalies.
> 

Thank you, Wasif. It's very useful for us. At this time, maybe TinyOS does
not provide any energy profiling mechanism to measure the energy
consumption. So the best way is that we calculate the duration time when
motes work in sending/receiving and idle states then multiply by the
consumed current and voltage to get energy consumption. For the sending
duration time, we can measure the time when AMSend.send() is called until
the time AMSend.SendDone is signaled. 
But how to calculate the receiving duration time for each packet? 
because I don't know what is the actual time when mote receives the packet
at physical layer, except the time mote has finished receiving the packet
(AMReceiverC.Receive() is signaled)

Thanks,
Han Bin
-- 
View this message in context: 
http://old.nabble.com/Energy-consumption-on-Telosb-tp34443559p34447722.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.

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


Re: [Tinyos-help] Energy consumption on Telosb

2012-09-18 Thread wasif masood
no don't go in that direction, just calculate the time radio itself spent
in either of these states, look into my code, in the CSMACA component, you
will see how I am using the Anlyzer component to calculate these times.


On Tue, Sep 18, 2012 at 5:13 PM, Han Bin  wrote:

>
>
> wasif masood wrote:
> >
> > It should not be a problem to port it, well, It has been some time that I
> > haven't used it so I am not sure whether it is the final copy that
> > I evaluated, so for you, please go through it, understand it and please
> do
> > let me know if you see any anomalies.
> >
>
> Thank you, Wasif. It's very useful for us. At this time, maybe TinyOS does
> not provide any energy profiling mechanism to measure the energy
> consumption. So the best way is that we calculate the duration time when
> motes work in sending/receiving and idle states then multiply by the
> consumed current and voltage to get energy consumption. For the sending
> duration time, we can measure the time when AMSend.send() is called until
> the time AMSend.SendDone is signaled.
> But how to calculate the receiving duration time for each packet?
> because I don't know what is the actual time when mote receives the packet
> at physical layer, except the time mote has finished receiving the packet
> (AMReceiverC.Receive() is signaled)
>
> Thanks,
> Han Bin
> --
> View this message in context:
> http://old.nabble.com/Energy-consumption-on-Telosb-tp34443559p34447722.html
> Sent from the TinyOS - Help mailing list archive at Nabble.com.
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



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

Re: [Tinyos-help] Routing protocol

2012-09-18 Thread Omprakash Gnawali
You should ask the researcher who wrote that protocol.

- om_p

On Tue, Sep 11, 2012 at 7:59 AM, Premkumar Arumugam  wrote:
> Hello,
>
> Can anyone please provide the source code / algorithm for MultiPath Dynamic
> Source Routing (MP-DSR).
>
> Thanks,
> Prem
> psgp...@aol.com
>
>
> ___
> 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] Fwd: errors casting int64_t to float on MSP430

2012-09-18 Thread Flemming Nyboe
Hello,

On the MSP430, all floating points types are 32 bit.
A cast from int64_t to float produces strange results:
Negative values are rounded to multiples of -256 (tested for -1 to 0)
Positive numbers smaller than 8725651e09 (8.7e15) are converted correctly,
tested at 0.1% intervals. Above this number, it sometimes, but not always,
goes wrong by many orders of magnitude. Example:
8725651e09 casts to 8725651e09 (OK)
8725738e09 casts to 837068800  (extremely wrong)
Some larger values still cast correctly.

According to standard, the cast is legal, right? 32-bit float does cover
the range of int64_t, although with some inaccuracy for large values. Or
would this have been fixed in a later msp430-gcc?

As has been pointed out before
https://www.millennium.berkeley.edu/pipermail/tinyos-help/2010-November/048878.html
FTSP TimeSyncP.nc calculateConversion() uses this cast, and it results in
wrong skew values if the points in the timesync table are spaced enough for
int64_t localSum to reach the faulty range.

Setup
msp430tools-gcc-3.2.3-20050607
nescc: 1.3.4

Best Regards
Flemming Nyboe
www.rocketscience.eu
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Fwd: errors casting int64_t to float on MSP430

2012-09-18 Thread Eric Decker
try using the 4.6.3 compiler.   3.2.3 is really old.

It isn't clear what level of support for floating point exists.  Peter (the
current msp430 gcc maintainer) will have more information.

But do try 4.6.3 first.   You can get it in the msp430-46 package at
http://tinyprod.net/repos/debian/README-46.html

Thanks for taking the time to look at this.

On Tue, Sep 18, 2012 at 12:13 PM, Flemming Nyboe
wrote:

> Hello,
>
> On the MSP430, all floating points types are 32 bit.
> A cast from int64_t to float produces strange results:
> Negative values are rounded to multiples of -256 (tested for -1 to 0)
> Positive numbers smaller than 8725651e09 (8.7e15) are converted correctly,
> tested at 0.1% intervals. Above this number, it sometimes, but not always,
> goes wrong by many orders of magnitude. Example:
> 8725651e09 casts to 8725651e09 (OK)
> 8725738e09 casts to 837068800  (extremely wrong)
> Some larger values still cast correctly.
>
> According to standard, the cast is legal, right? 32-bit float does cover
> the range of int64_t, although with some inaccuracy for large values. Or
> would this have been fixed in a later msp430-gcc?
>
> As has been pointed out before
>
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/2010-November/048878.html
> FTSP TimeSyncP.nc calculateConversion() uses this cast, and it results in
> wrong skew values if the points in the timesync table are spaced enough for
> int64_t localSum to reach the faulty range.
>
> Setup
> msp430tools-gcc-3.2.3-20050607
> nescc: 1.3.4
>
> Best Regards
> Flemming Nyboe
> www.rocketscience.eu
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] WSN testbeds

2012-09-18 Thread Roman Lim
There is for instance FlockLab @ http://www.flocklab.ethz.ch/

Cheers
Roman

On 09/18/2012 09:58 AM, wasif masood wrote:
>
> Hi All,
>
> I am looking for some online testbeds to test run my application on
> the real telosb motes. I know about Indirya and Harvard Motelab, are
> there any other such testbeds available for students that I can use
> online?
>
> Regards!
> Wasif Masood
>
>
>
> ___
> 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] Fwd: errors casting int64_t to float on MSP430

2012-09-18 Thread Michael Schippling
With a 32 bit float you get 24 bits of value and 8 bits of sign
so converting from an integer of larger than 24 bits will entail
some resolution truncation.

MS

On 9/18/2012 2:45 PM, Eric Decker wrote:
>
> try using the 4.6.3 compiler.   3.2.3 is really old.
>
> It isn't clear what level of support for floating point exists.  Peter
> (the current msp430 gcc maintainer) will have more information.
>
> But do try 4.6.3 first.   You can get it in the msp430-46 package at
> http://tinyprod.net/repos/debian/README-46.html
>
> Thanks for taking the time to look at this.
>
> On Tue, Sep 18, 2012 at 12:13 PM, Flemming Nyboe
> mailto:flemm...@rocketscience.eu>> wrote:
>
> Hello,
>
> On the MSP430, all floating points types are 32 bit.
> A cast from int64_t to float produces strange results:
> Negative values are rounded to multiples of -256 (tested for -1
> to 0)
> Positive numbers smaller than 8725651e09 (8.7e15) are converted
> correctly, tested at 0.1% intervals. Above this number, it
> sometimes, but not always, goes wrong by many orders of magnitude.
> Example:
> 8725651e09 casts to 8725651e09 (OK)
> 8725738e09 casts to 837068800  (extremely wrong)
> Some larger values still cast correctly.
>
> According to standard, the cast is legal, right? 32-bit float does
> cover the range of int64_t, although with some inaccuracy for large
> values. Or would this have been fixed in a later msp430-gcc?
>
> As has been pointed out before
> 
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/2010-November/048878.html
>
> FTSP TimeSyncP.nc calculateConversion() uses this cast, and it
> results in wrong skew values if the points in the timesync table are
> spaced enough for int64_t localSum to reach the faulty range.
>
> Setup
> msp430tools-gcc-3.2.3-20050607
> nescc: 1.3.4
>
> Best Regards
> Flemming Nyboe
> www.rocketscience.eu 
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> 
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>
>
> --
> Eric B. Decker
> Senior (over 50 :-) Researcher
>
>
>
>
> ___
> 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] How to Tunnel CTP Header Over Serial

2012-09-18 Thread kevin doran
I solved the problem. The code should have been:

event message_t* Receive.receive(message_t* msg, void* payload, uint8_t
len) {
// ctp_data_header_t* in = (ctp_data_header_t*) payload; // Wrong:
payload is the CTP payload
ctp_data_header_t* in = (ctp_data_header_t*) msg->data; // msg is the AM
packet message, who's data begins with the CTP header.
ctp_data_header_t* out;
out = (ctp_data_header_t*) call SerialSend.getPayload(&uartbuf,
sizeof(ctp_data_header_t));
memcpy(out, in, sizeof(ctp_data_header_t));
uartlen = sizeof(ctp_data_header_t);
call SerialSend.send(0x, &uartbuf, uartlen);
return msg;
 }

This may help someone else who has this issue.

Regards,

Kevin

On Wed, Sep 12, 2012 at 3:39 PM, Omprakash Gnawali wrote:

> Can you check if you are receiving the proper bytes corresponding to
> the message on the PC side using seriallisten or serialforwarder and
> sflisten? If you are receiving proper bytes, the problem is in your Java
> code. Otherwise, the problem might be on the mote side.
>
> - om_p
>
> On Sat, Sep 1, 2012 at 6:11 PM, kevin doran  wrote:
> > Hi,
> >
> > I have been struggling for days trying to tunnel a CTP header over serial
> > and receive the header in Java. I have just modified the
> > MultihopOscilloscope program. Here is my code:
> >
> > The base node of a CTP network receives packets and forwards them on
> serial
> > as follows:
> >
> > event message_t* Receive.receive(message_t* msg, void* payload, uint8_t
> len)
> > {
> > ctp_data_header_t* in = (ctp_data_header_t*) payload;
> > ctp_data_header_t* out;
> > out = (ctp_data_header_t*) call SerialSend.getPayload(&uartbuf,
> > sizeof(ctp_data_header_t));
> > memcpy(out, in, sizeof(ctp_data_header_t));
> > uartlen = sizeof(ctp_data_header_t);
> > call SerialSend.send(0x, &uartbuf, uartlen);
> > return msg;
> > }
> >
> > The Java program running on the PC tries to capture the headers as
> follows:
> >
> > public class HeaderReceiver implements MessageListener {
> >
> > MoteIF mote;
> >
> > void run() {
> > mote = new MoteIF(PrintStreamMessenger.err);
> > mote.registerListener(new CtpDataHeader(), this);
> > }
> >
> > synchronized public void messageReceived(int dest_addr, Message msg) {
> > //never called.
> > }
> > }
> >
> > The CtpDataHeader class was created with MIG.
> >
> > Any thoughts on what I am doing wrong?
> >
> > Thanks a million,
> >
> > Kevin Doran
> >
> >
> > ___
> > 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] ACM/IEEE IPSN'13 CFP: Three weeks left for abstract submission

2012-09-18 Thread IPSN'13 Publicity
[Sorry if you received multiple copies of this message]

ACM/IEEE IPSN'13 Philadelphia, Pennsylvania, USA, April 8-11, 2013

On line submission link is ready at:
URL: http://ipsn.acm.org/2013/

Important Dates

Abstract deadline: October 8, 2012, 23:59 GMT -12
Full papers due: October 15, 2012, 23:59 GMT -12
Author notification: January 25, 2013
Camera-ready papers: February 22, 2013 

The International Conference on Information Processing in Sensor Networks 
(IPSN) is a leading, single-track, annual forum on research in wireless 
embedded sensing systems. IPSN brings together researchers from academia, 
industry, and government to present and discuss recent advances in both 
theoretical and experimental research. Its scope includes signal and image 
processing, information and coding theory, databases and information 
management, distributed algorithms, networks and protocols, wireless 
communications, collaborative objects and the Internet of Things, machine 
learning, mobile and social sensing, and embedded systems design. Of special 
interest are contributions at the confluence of a multiple of these areas.
The conference features two interleaved tracks, the Information Processing (IP) 
track, and the Sensor Platforms, Tools and Design Methods (SPOTS) track. 
Authors should carefully review the intended foci of these two tracks to decide 
which track is better suited for their work, and they are encouraged to contact 
the program chairs with questions or clarifications. As an example of these 
different emphases, results focused on the analysis and processing aspects of 
data collected from deployments should be submitted to the IP track, while 
studies on the hardware and software platforms and tools used for deployment 
should be submitted to the SPOTS track.

The Information Processing (IP) track focuses on algorithms, theory, and 
systems for information processing using networks of embedded, human-operated, 
or social sensors. Topics covered in the IP track include, but are not limited 
to:
•Innovative applications and deployment experiences
•Mobile, participatory, and social sensing
•Coding, compression and information theory
•Data processing, storage and management
•Detection, classification, and tracking
•Distributed algorithms and reasoning
•Distributed and collaborative signal processing
•Fundamental bounds and formulations
•Location, time, and other network services
•Sensor tasking, control, and actuation
•Network protocols
•Programming models and languages

The Sensor Platforms, Tools, and Design Methods (SPOTS) track focuses on new 
hardware and software architectures, modeling, evaluation, deployment 
experiences, design methods, implementations, and tools for networked embedded 
sensor systems. Submissions are expected to refer to specific hardware, 
software, and implementations. Topics covered in the SPOTS track include, but 
are not limited to:
•Novel sensor network components, device platforms and architectures
•Embedded software for sensor networks
•Design tools and methodologies for sensor networks
•System modeling, simulation, measurements, and analysis
•Case studies that describe experiences, highlight challenges, and 
study/compare the performance of platforms and tools
•Network health monitoring and management
•Operating systems and runtime environments
•Simulation
•Innovative sensing platforms including crowd sourcing
•User interfaces for sensing applications and systems

Organizing Committee

General Chair:
Tarek Abdelzaher, UIUC
TPC Co-Chair (IP Track):
Kay Romer, University of Lubeck
TPC Co-Chair (SPOTS Track):
Raj Rajkumar, CMU
Demo Chair:
Luca Mottola, Politecnico di Milano (Italy) and Swedish Institute of Computer 
Science
Poster Chair:
Tian He, University of Minnesota
Workshop/Tutorial Chair:
Aman Kansal, Microsoft Research
Publications Chair:
Raghu Ganti, IBM Research
Finance/Sponsorship Chair:
Akos Ledeczi, Vanderbilt University
Web Chair:
Hengchang Liu, UIUC
Publicity Co-Chairs:
Ying Zhang, Google
Li Cui, ICT CAS
Martina Maggio, Lund
PhD Forum Co-Chairs:
Polly Huang, NTU

Steering Committee
Feng Zhao, Microsoft Research Asia (Chair)
Tarek Abdelzaher, University of Illinois at Urbana-Champaign
Deborah Estrin, University of California - Los Angeles
Leo Guibas, Stanford University
William Kaiser, University of California - Los Angeles
P.R. Kumar, Texas A&M University
Jose Moura, Carnegie Mellon University
Jack Stankovic, University of Virginia
Janos Sztipanovits, Vanderbilt University



To unsubscribe from the SENSORNET list:
write to: mailto:sensornet-signoff-requ...@listserv.acm.org
or click the following link:
http://listserv.acm.org/scripts/wa-ACMLPX.exe?SUBED1=SENSORNET&A=1

___
Tinyos-help mailing list
T

[Tinyos-help] Telosb Simulator in TinyOS.

2012-09-18 Thread Lukas.Li

Hi all,

I need to simulate a large scale of WSN. The nodes are telosb, so I want to
do a simulation at first. But TOSSIM does not support telosb. Is there any
other simulator I can use?

Thank you.
-- 
View this message in context: 
http://old.nabble.com/Telosb-Simulator-in-TinyOS.-tp34450908p34450908.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.

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