Re: [Tinyos-help] Stanford Ubuntu TinyOS Tools repo down

2011-05-09 Thread Philip Levis

On May 6, 2011, at 8:30 PM, Eric Decker wrote:

> 
> The Stanford repository has been down for at least two days.  Not sure what 
> is going on.  Have tried to communicate with the folks in charge.  
> 
> In the meantime, a few of us have collaborated to bring up a mirror at John 
> Hopkins.
> 
> Try "deb http://hinrg.cs.jhu.edu/tinyos karmic main"

Funny -- when I saw the original message I tested the repository myself and was 
able to access it with no problem, so assumed it was a momentary glitch. I 
admittedly tried only from a machine inside Stanford, but given the error 
message didn't think this should have changed anything. Sorry for the 
disruption.

Eric -- your message on the 4th went into my -help folder (because of the 
subject line) which is why I didn't see it immediately.

Phil


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


[Tinyos-help] Problems with SPI

2011-05-09 Thread Prasanna Karthik V
hi,
Here is an experiment that i performed to compare the idle voltages i
get at pins SO,SI and SCLK.

telosb(tmote-sky) platform {SO=2.4V, SI=2.4V, SCLK = 2.4V}

I attached an external radio to the original telosb platform (disabled the
radio that comes with the tmote-sky) and tried measuring the same.

New platform {SO=2.4V, SI=2.4V, SCLK = 0.7V}

As SCLK is just an input to the radios, attaching a different radio to the
SPI pins should not make any difference to SCLK.


Any idea why this happens?

P.S: In the MotePlatformC.nc file, the initial values of the pins(S),SI
and SCLK) are specified to be the same in both platforms.

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


[Tinyos-help] Urgent Help Required about TOSSIM

2011-05-09 Thread Saif Ahmad
Dear All,

I am a newbie to the TOSSIM and am working on a term project that involves
simulating the CTP protocol on TOSSIM. Can somebody please provide a
step-by-step procedure on how I should go about accomplishing my task. I
have already installed TOSSIM on my laptop and am able to compile it for
Blink but how to go about running CTP is my real problem. I have also gone
through the TOSSIM tutorial.

Any quick assistance regarding the above matter is highly appreciated.

Thank You

Saif Ahmad
MS in Computer Networks
King Fahd University of Petroleum and Minerals
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] [Researchers] [CFP] ACM* MSWiM 2011, Extended Submission Deadline May 22, 2011.

2011-05-09 Thread IEEE Mirela
Apologies if you receive multiple postings
--
EXTENDED PAPER SUBMISSION DEADLINE !
Call for Papers
ACM* MSWiM 2011

14th ACM* International Conference on Modeling Analysis
and Simulation of Wireless and Mobile Systems

October 31 - November 4, 2011, Miami, USA

http://mswimconf.com/2011/

Paper Registration Deadline (Mandatory): May 15, 2011
NEW Paper Submission deadline (only for registered papers): May 22, 2011
[*ACM Sponsorship pending upon Approval]

Note: Extended versions of selected papers will be considered for
publication in a Fast Track issue of Elsevier's Computer Communications.

--

MSWiM is an international forum dedicated to high level discussion of
Wireless and Mobile systems, networks, algorithms and applications,
with an emphasis on rigorous performance evaluation. MSWiM is a
highly selective conference with a long track record of publishing
innovative ideas and breakthroughs.

Authors are encouraged to submit full papers presenting new research
related to the theory or practice of all aspects of modeling,
analysis and simulation of mobile and wireless systems. Submitted
papers must not have been published elsewhere nor currently be under
review by another conference or journal.

--
Topics of Interests
--

Papers related to wireless and mobile network Modeling, Analysis,
Design, and Simulation are solicited on, but not limited to, the
following topics in mobile and wireless systems:

* Performance evaluation and modeling
* Analytical Models
* Simulation languages and tools for wireless systems
* Wireless measurements tools and experiences
* Formal methods for analysis of wireless systems
* Correctness, survivability and reliability evaluation
* Mobility modeling and management
* Models and protocols for cognitive radio networks
* Models and protocols for autonomic, or self-* networks
* Capacity, coverage and connectivity modeling and analysis
* Wireless network algorithms and protocols
* Wireless PANs, LANs
* Ad hoc networks
* Sensor and actuator networks
* Vehicular ad hoc networks
* Integration of wired and wireless systems
* Pervasive computing and emerging models
* Wireless multimedia systems
* QoS provisioning in wireless and mobile networks
* Security and privacy of mobile/wireless systems
* Algorithms and protocols for energy-efficiency and power control
* Mobile applications, system software and algorithms
* RF channel modeling and analysis
* Design methodologies, tools, prototype and testbeds
* Parallel and distributed simulation of wireless systems

--
Organizing Commitee:
--

General Chair:
Ahmed Helmy (University of Florida, USA)

TPC Co-Chairs:
Bjorn Landfeldt (The University of Sydney, Australia)
Luciano Bononi (University of Bologna, Italy)

--
Paper Submission, Publication and Important Dates:
--

High-quality original papers are solicited. Papers must be unpublished
and must not be submitted for publication elsewhere.
All papers will be reviewed by Technical Program Committee members
and other experts active in the field to ensure high quality and
relevance to the conference.
Short papers will be included in the technical program to complement
mature results and foster discussion and exchange of novel ideas at
an early stage.
Accepted papers will appear in the conference proceedings to be
published by ACM Press.

Extended versions of selected papers will be considered for publication
in a Fast Track issue of Elsevier's Computer Communications Journal.

EXTENDED PAPER SUBMISSION DEADLINE:
Paper Registration Deadline (Mandatory): May 15, 2011
NEW Paper Submission deadline (only for registered papers): May 22, 2011
Notification of Acceptance: July 15, 2011

Conference Dates: October 31 - November 04, 2011

For more information about the conference, organizing committee,
submission instructions, and venue please see the conference website:
http://mswimconf.com/2011/

-
Profa Dra Mirela Sechi Moretti Annoni Notare
http://lattes.cnpq.br/8224632340074096 mir...@ieee.org 
USJ – Sao Jose Municipal University www.usj.edu.br 
UFSC - Distributed Mobile Computing & Network Security CNPq Research Group 
(co-leader) 
http://dgp.cnpq.br/buscaoperacional/detalhegrupo.jsp?grupo=00431033AKW5DM 
IEEE Latin America Transactions, Editor-in-chief 
http://www.ewh.ieee.org/reg/9/etrans  
___
Researcher

Re: [Tinyos-help] Floating point communication between telosb motes

2011-05-09 Thread Mayank Gupta
Hi,

Turns out that I was having problems with size of the packet and AM
type of the packet.

Thanks for the hint.

Regards,
Mayank

On Mon, May 9, 2011 at 7:15 PM, Eric Decker  wrote:
>
>
> On Mon, May 9, 2011 at 12:10 PM, Mayank Gupta  wrote:
>>
>> Hello everybody,
>>
>> I am trying to develop an application that sends floating point number
>> between two telosb motes. I referred to BlinkToRadio application and
>> saw that it could send integer numbers between motes. I tried to use
>> nx_float in the nx_struct message structure but it didn't work . I
>
> First just saying something doesn't work doesn't give us a whole lot to work
> on.
> You want to look at how the packets are layed out on each end.  Basically
> you need to dig into what is happening and figure it out.
>
>>
>> also tried using normal float. Since communication is between two
>> telosb motes I do not think there could be platform problems. But i
>> was not able to send data correctly. Can someone guide me in the right
>> direction for the same.
>>
>> Thanking you in anticipation.
>>
>> With best Regards,
>> Mayank Gupta
>> ___
>> 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] cc2420 security questions

2011-05-09 Thread Viktor Zsoldos
Hi,

I'm trying to use the CC2420 security features 
(http://docs.tinyos.net/index.php/CC2420_Security_Tutorial), and have some 
questions.

- I've installed the BaseStation from apps/tests/cc2420/TestSecurity, and 
trying to read the secured traffic with net.tinyos.tools.Listen, but only 
ordinary headers are showing (dst, src, len, gID, hID), I can't see any CC2420 
or security related headers. They must be there, since I can read out 
e.g. the frameCounter field from security_header_t with a mote, and put the 
value to LEDs. What's the trick?
- With CBC-MAC mode if I change the key value of the sender mote, the receiver 
will still happily accept the packet with the wrong MAC. Do I have to 
generate the MAC at the receiver manually to check if it equals to the received 
one?

Thanks for your help!

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


Re: [Tinyos-help] Boadcasting packets once at a time!!

2011-05-09 Thread Sergio Valcarcel
Regarding the noise floor, you can directly look at the "receiver
sensitivity" on the radio specifications. That is the minimum level
that you will be able to get. I think that is all, unless you mean
about interferences...
But anyway, I would say that you can not measure interference from
other service since I guess the rssi measurement is computed from some
pilot bits of the packet.

Cheers,
Sergio



2011/5/10 Eric Decker :
>
>
> On Mon, May 9, 2011 at 8:12 AM, Lyubomir Ivanov  wrote:
>>
>> Hi Eric,
>>
>> Yes I want to do exactly this.
>
> What you should do is figure out how to send single packets,   This is done
> using various Send interfaces.  This is split phase so will be signalled by
> SendDone.   Then you can send out the next packet.   Start with the
> tutorials, then take a look at real code that does something similar to what
> you are trying to do.   A good programmer copies and makes things better.
>>
>> One more thing is that I can not find something for measuring the noise
>> floor. I know that this can be possible if a particular mote is an idle
>> mode, just ready for receiving packets. In this case, can be get the Rssi,
>> which will correspond to the background noise. But all I know is how to get
>> Rssi when receiving packets. If you can help with that issue, it will be
>> really nice.
>
> No clue on this end.  Haven't messed with that so haven't looked at it.
> What I would do is start with the chip documentation and figure out whether
> the chip can provide this information when not actively receiving a packet.
>  Then work up through the driver to figure out a good way to present this
> information in a platform independent fashion.
>>
>> Thanks in advance!!!
>>
>>  Оригинално писмо 
>> От: Eric Decker
>> Относно: Re: [Tinyos-help] Boadcasting packets once at a time!!
>> До: Lyubomir Ivanov
>> Изпратено на: Понеделник, 2011, Май 9 11:26:46 EEST
>>
>>
>> On Mon, May 9, 2011 at 1:13 AM, Lyubomir Ivanov  wrote:
>>>
>>> Hello,
>>>
>>>  Is someone can tell me how to send a stream of packets once at a time,
>>> using broadcast. Am I supposed to create some special code, or just small
>>> modification in the message type will be enough? I am using tiny os 2
>>
>> I'm not understanding what you are trying to do.   Can you please try
>> again and be more succinct.
>> Are you trying to send a packet stream (one packet, then another packet,
>> then an another) to the broadcast address?
>> Work through the tutorials that help you understand how to use the
>> networking interfaces.   That will probably give
>> you the insight needed to do what you want.
>>
>>>
>>> -
>>> Дизайнерски обувки с до -70%. Регистрирай се и пазарувай.
>>> ___
>>> 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
>>
>>
>>
>
>
> --
> 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] Boadcasting packets once at a time!!

2011-05-09 Thread Eric Decker
On Mon, May 9, 2011 at 8:12 AM, Lyubomir Ivanov  wrote:

>
> Hi Eric,
>
> Yes I want to do exactly this.
>

What you should do is figure out how to send single packets,   This is done
using various Send interfaces.  This is split phase so will be signalled by
SendDone.   Then you can send out the next packet.   Start with the
tutorials, then take a look at real code that does something similar to what
you are trying to do.   A good programmer copies and makes things better.

> One more thing is that I can not find something for measuring the noise
> floor. I know that this can be possible if a particular mote is an idle
> mode, just ready for receiving packets. In this case, can be get the Rssi,
> which will correspond to the background noise. But all I know is how to get
> Rssi when receiving packets. If you can help with that issue, it will be
> really nice.
>
No clue on this end.  Haven't messed with that so haven't looked at it.

What I would do is start with the chip documentation and figure out whether
the chip can provide this information when not actively receiving a packet.
 Then work up through the driver to figure out a good way to present this
information in a platform independent fashion.

> Thanks in advance!!!
>
>
>  Оригинално писмо 
> От: Eric Decker
> Относно: Re: [Tinyos-help] Boadcasting packets once at a time!!
> До: Lyubomir Ivanov
> Изпратено на: Понеделник, 2011, Май 9 11:26:46 EEST
>
>
> On Mon, May 9, 2011 at 1:13 AM, Lyubomir Ivanov  wrote:
>
>> Hello,
>>
>>  Is someone can tell me how to send a stream of packets once at a time,
>> using broadcast. Am I supposed to create some special code, or just small
>> modification in the message type will be enough? I am using tiny os 2
>>
>
> I'm not understanding what you are trying to do.   Can you please try again
> and be more succinct.
>
> Are you trying to send a packet stream (one packet, then another packet,
> then an another) to the broadcast address?
>
> Work through the tutorials that help you understand how to use the
> networking interfaces.   That will probably give
> you the insight needed to do what you want.
>
>
>
>>
>>
>> -
>> Дизайнерски обувки с до -70%. Регистрирай се и пазарувай.
>> 
>>
>> ___
>> 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
>
>
>
>



-- 
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] Floating point communication between telosb motes

2011-05-09 Thread Eric Decker
On Mon, May 9, 2011 at 12:10 PM, Mayank Gupta  wrote:

> Hello everybody,
>
> I am trying to develop an application that sends floating point number
> between two telosb motes. I referred to BlinkToRadio application and
> saw that it could send integer numbers between motes. I tried to use
> nx_float in the nx_struct message structure but it didn't work . I
>

First just saying something doesn't work doesn't give us a whole lot to work
on.

You want to look at how the packets are layed out on each end.  Basically
you need to dig into what is happening and figure it out.


> also tried using normal float. Since communication is between two
> telosb motes I do not think there could be platform problems. But i
> was not able to send data correctly. Can someone guide me in the right
> direction for the same.
>
> Thanking you in anticipation.
>
> With best Regards,
> Mayank Gupta
> ___
> 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] receive error for BlinkToRadioMsg (AM type 6): invalid length message received (too short)

2011-05-09 Thread Eric Decker
what error?

On Mon, May 9, 2011 at 12:11 PM, Mayank Gupta  wrote:

> Can anybody tell me why am I receiving this error when I try to send
> floating point number from BlinkToRadio app to Base station app. And
> how can i rectify it.??
>
>
> Regards,
> Mayank
> ___
> 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] Help me to Run "Surge" application in Micaz

2011-05-09 Thread Nazmul Hossain
I was trying to run the "Surge" application but was not successful. Using 
MIB520 programming board I programmed surge program onto two micaz motes. To 
program these two micaz motes I used the following commands.

make micaz install.0 mib510,/dev/ttyS3
make micaz install.1 mib510,/dev/ttyS3

Then according to the instruction, I tried to run java application by keeping 
the mode of ID 0 at programming board and other mote of ID 1 far from the board 
(uses batteries in this mote) and using the command

java net.tinyos.net.tinyos.surge.MainClass 

but it asks for groupID. I found groupID "0x7d" in the 
"opt\tinyos1.x\tools\make\Makedefaults" file. 

But if I use this groupID it gives me error in java. 

Can anyone please tell me what I am doing wrong? or how can I run it correctly.
 
Thanks.
Nazmul


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

[Tinyos-help] receive error for BlinkToRadioMsg (AM type 6): invalid length message received (too short)

2011-05-09 Thread Mayank Gupta
Can anybody tell me why am I receiving this error when I try to send
floating point number from BlinkToRadio app to Base station app. And
how can i rectify it.??


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


[Tinyos-help] Floating point communication between telosb motes

2011-05-09 Thread Mayank Gupta
Hello everybody,

I am trying to develop an application that sends floating point number
between two telosb motes. I referred to BlinkToRadio application and
saw that it could send integer numbers between motes. I tried to use
nx_float in the nx_struct message structure but it didn't work . I
also tried using normal float. Since communication is between two
telosb motes I do not think there could be platform problems. But i
was not able to send data correctly. Can someone guide me in the right
direction for the same.

Thanking you in anticipation.

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


Re: [Tinyos-help] Stanford Ubuntu TinyOS Tools repo down

2011-05-09 Thread Omprakash Gnawali
The repository is up now.

- om_p

On Fri, May 6, 2011 at 8:30 PM, Eric Decker  wrote:
>
> The Stanford repository has been down for at least two days.  Not sure what
> is going on.  Have tried to communicate with the folks in charge.
> In the meantime, a few of us have collaborated to bring up a mirror at John
> Hopkins.
> Try "deb http://hinrg.cs.jhu.edu/tinyos karmic main"
>
> On Fri, May 6, 2011 at 4:03 AM, 5 TOUMI Meriem  wrote:
>>
>> hi,
>> i went to install tinyos-2.X but when i try to this deb
>> http://tinyos.stanford.edu/tinyos/dists/ubuntu i've this error
>>
>> The requested URL /tinyos/dists/ubuntu was not found on this server.
>>
>> 
>> Apache/2.2.16 (Ubuntu) Server at tinyos.stanford.edu Port 80
>>
>>
>> is there an other deb ??
>> thanks
>>
>> ___
>> 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] Wireless Sensor Networks Simulation

2011-05-09 Thread Michael Schippling
GA == Genetic Algorithm

Pareto (wave) front == In game theory a Pareto move is one that
gives one or more players a higher payoff without reducing the
payoff to the others. A Pareto optimum is where all the players
are at a point where none can increase their benefit without
reducing that of another. This may (is probably) not a stable
Nash equilibrium point...the Prisoner's Dilemma is a good
example.

In TOS a list of apparently random (phone) numbers is par
for the course...so probably a Nash.

I am not much of an optimizer myself.

MS

Eric Decker wrote:
> 
> What is a GA?   
> 
> my background is in computer architecture, network architecture, 
> embedded systems, applied information theory.   So don't have a clue.
> 
> On Sun, May 8, 2011 at 12:45 PM, Chris Brooks  > wrote:
> 
> Sure, it`s widely used in multiobjective optimisation be it GAs or
> other evolutionary algorithms. I read the table of numbers as being
> two columns for the 2 objectives, and 11 rows for best GA results so
> far? Just trying to understand the optimisation problem, as my
> background is in optimisation :-)
> 
> Chris Brooks
> 
> Sent from my ASUS Eee Pad
> 
> Michael Schippling mailto:sc...@santafe.edu>> wrote:
> 
> 
> 
>  > OK, this is for my own amusement only...
>  >
>  > What the heck are you guys talking about?
>  >
>  > By "pareto front" do you mean the, slowly,
>  > improving set of values discovered by the GA?
>  > I've only heard pareto optimum in game theory,
>  > not GA's, but it seems to fit.
>  >
>  > If that list of numbers is meant to represent
>  > X-Y locations for nodes, they plot out to be
>  > along the two axes. That doesn't seem to be
>  > very optimal for coverage of a 2-D area.
>  >
>  > I will be of no use in testing, but I believe
>  > TOSSIM allows one to specify locations in its
>  > setup files, so you should be able to plug them
>  > in with appropriate scaling.
>  >
>  > And I guess the insertion of telephone # links
>  > was a feature of someone's iPhone having a little
>  > fun with it's users?
>  >
>  > MS
>  >
>  > Not sent from no iPone or nuthin like it
>  >
>  >
>  > Chris Brooks wrote:
>  >> So are those values lying on the pareto front found by the GA? I
>  >> think we need more info to figure out what you are trying to
>  >> accomplish! For a start, what were the design variables of your
>  >> optimisation?
>  >>
>  >>
>  >>
>  >>
>  >> Chris Brooks
>  >>
>  >> Sent from my ASUS Eee Pad
>  >>
>  >> Michael Schippling  > wrote:
>  >>
>  >>
>  >>
>  >>> uh... what are those values of? secondarily, why do some of them
>  >>> seem to show as telephone numbers?
>  >>>
>  >>> MS
>  >>>
>  >>> T O wrote:
>   Hi,
>  
>   I have a Multi-objective Genetic Algorithm that i am optimising,
>   the algorithm outputs the values below. The first objective is
>   maximising the efficiency of the network by lowering energy
>   depletion(minimising energy depletion) and the second is
>   maximising the number of nodes to achieve full coverage.
>  
>   0.943164 0.000163251  0.000346453
>    0.254052 0.583485 0.000419807 
>    0.289261 0.000633636  0.896291 0.000314365
>    0.100863 0.000900134 
>   0.000730138  0.179723 0.0010259 0.0163291
>   0.0509728 0.00154449 0.000590426  0.248574
>   0.00175349 0.001788
>  
>   So from the output values above I wanted to simulate a wireless
>   sensor network.
>  
>   If you could help me with this it would be greatly appreciated.
>  
>   Regards
>  
>   Thomas
>  
>  
>  
> 
>  
>  
>   ___ 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 mailing
>  >> list Tinyos-help@millennium.berkeley.edu
> 
>  >>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
> __

Re: [Tinyos-help] Injecting packets for tiny OS 2

2011-05-09 Thread Sergio Valcarcel
Hi Lyubomir,
Please, could you explain further what you mean with sending more than
one packet at a time? I am sure to be missing something, otherwise
could it be as simple as to make a for-loop?

For setting the power I am only familiar with the CC2420 radio. In
such a case you only have to load the right module.

In your config file...
// Receiver calibration
typedef nx_struct SerialRxMsg {
        nx_uint8_t id;
        nx_uint8_t rssi;
} SerialRxMsg;


In your module...
module CalTxC{
        uses {
                        interface SplitControl as RadioSplitControl;
                        interface SplitControl as SerialSplitControl;
                        interface CC2420Packet as RadioPacket;
                         etc...
        }

        implementation {
        RadioMsg * pointerRadio;
        SerialTxMsg * pointerSerial;
        event void RadioSplitControl.startDone(error_t error){
                if (error != SUCCESS) {
                        call Leds.set(6);
                        call RadioSplitControl.start();
                }
                else {
                        call SerialSplitControl.start();
                }
        }
        event void SerialSplitControl.startDone(error_t error){
                if (error != SUCCESS) {
                        call Leds.set(7);
                        call SerialSplitControl.start();
                }
                else {
                        call Leds.set(0);
                        pointerRadio = call
RadioAMSend.getPayload(&pkt, (uint8_t) NULL);
                        call Timer.startPeriodic(PERIOD_0);
                }
        }
         event message_t * SerialReceive.receive(message_t *msg, void
*payload, uint8_t len){
                call Leds.set(7);
                pointerRadio = (RadioMsg*) payload;
                call RadioPacket.setPower(&pkt ,pointerSerial->rssi);
                return msg;
        }
}

In your configuration...
implementation {
        components ActiveMessageC;
        components new AMSenderC (AM_RADIOMSG);
        components CC2420PacketC;

        components SerialActiveMessageC;
        components new SerialAMReceiverC (AM_SERIALTXMSG);
        ... etc 
}
I assume you know the rest :-)
Cheers!!
Sergio
On Sat, May 7, 2011 at 10:34 PM, Lyubomir Ivanov  wrote:
>
> Hi Sergio,
>
> Thank you for your response. I want to broadcast from the pc to other motes. 
> Yes I am familiar with the AM sender, and broadcasting, but I can not find 
> how to change the code in order to send more than one packet once at a time, 
> for example, 20 packets, each time I am transmitting from the pc.  I have 
> already made the some of the tutorials, like BlinkToRadio, BaseStation, 
> and RssiDemo, but I wasn't acquainted with the command send power. If it is 
> possible can you send me a link with a proper tutorial or turorials. I will 
> be very grateful.
>
> Thanks in advance.
>
> /Lyubomir
>
>
>  Оригинално писмо 
> От: Sergio Valcarcel
> Относно: Re: [Tinyos-help] Injecting packets for tiny OS 2
> До: Lyubomir Ivanov
> Изпратено на: Събота, 2011, Май 7 21:18:47 EEST
>
> Hi Lyubomir
> You mean broadcasting from the PC or from another mote?
> Are you familiar with AM_Sender, the constant AM_BROADCAST, and with the 
> module CC2420 and its commands set_power or get_rssi (sorry I am using my 
> memory to mention them but the real names should be quite similar)?
> If not, I recommend you start from the beginning with the tutorials till 
> being able to transmit between motes and from PC to mote.
> Cheers!
> Sergio
> On Sat, May 7, 2011 at 11:54 AM, Lyubomir Ivanov  wrote:
>>
>> Hello,
>>
>> I'm writing to you because I want to find out how to inject broadcasting 
>> packets for tiny OS 2.  Also, when broadcasting, for example 20 packets, I 
>> want ot be able to change the power transmission. Thank you.
>>
>> Best regards,
>>
>> Lyubomir
>>
>> ___
>> 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] help-for seting random seed

2011-05-09 Thread jiasheng yao
Thank you very much for your help.I solved my problem successfully by your
way.

在 2011年5月8日 下午10:05,jiasheng yao 写道:

> Hello,
> I'm writing to you because I want to find out how to set random seed for
> tinyOS 1.x.I look at Random interface file, only the init function in it ,
>  not with theparameters. So I do not how to set the seed and hope to get
> your help.Thank you.
> Best regards,
> jsyao
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] help UART

2011-05-09 Thread Eric Decker
There is a packetizing protocol that is used for communications on the
serial line between the mote and the PC.

You have to have that there for the communications to succeed.   You should
work through the tutorials to understand better what is involved there.  You
will also have to do your homework and try to understand how this works
rather then saying please help me.

Check out the serial forwarder.   It already implements the protocol for
communicating.   You should be able to figure out what is needed from
examining how that works.

On Mon, May 9, 2011 at 3:07 AM, Edoardo Patti  wrote:

> Hi, I try to develop an application in C# (under windows) to comunicate
> with the root-node (telosB) through the serial port. I can read the messages
> sent from root-node to PC, but when I try to send some messages from my PC
> to the root-node, it does not received the message.
>
> On the root-node runs the antitheft application.
> The message, sent from PC, is a byte array.
> The PC-UART configuration, to open the communication,  is:
>
>- baudrate = 115200,
>- dataBits = 8,
>- parity = none,
>- stopBit = one,
>- RTSenable = true
>
>
> Please help me.
> Thanks in advance
>
> --
> Ph.D. Student Edoardo Patti
> Politecnico di Torino
> Dipartimento di Automatica e Informatica - EDA Group
> C.so Duca degli Abruzzi 24, 10129 Torino (ITALY)
> Phone: (+39) 011 564 7072
> Fax: (+39) 011 564 7099
> E-mail: edoardo.pa...@polito.it
>
> ___
> 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] Heat problem with TelosB

2011-05-09 Thread Deeksha G Rao Sahib
Hi all,

Just came across this and thought would be helpful to others as well.

http://www.youtube.com/watch?v=nfge6jEsNIU&feature=player_embedded

Cheers,
Deeksha

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


[Tinyos-help] help UART

2011-05-09 Thread Edoardo Patti
Hi, I try to develop an application in C# (under windows) to comunicate with
the root-node (telosB) through the serial port. I can read the messages sent
from root-node to PC, but when I try to send some messages from my PC to the
root-node, it does not received the message.

On the root-node runs the antitheft application.
The message, sent from PC, is a byte array.
The PC-UART configuration, to open the communication,  is:

   - baudrate = 115200,
   - dataBits = 8,
   - parity = none,
   - stopBit = one,
   - RTSenable = true


Please help me.
Thanks in advance

-- 
Ph.D. Student Edoardo Patti
Politecnico di Torino
Dipartimento di Automatica e Informatica - EDA Group
C.so Duca degli Abruzzi 24, 10129 Torino (ITALY)
Phone: (+39) 011 564 7072
Fax: (+39) 011 564 7099
E-mail: edoardo.pa...@polito.it
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Boadcasting packets once at a time!!

2011-05-09 Thread Eric Decker
On Mon, May 9, 2011 at 1:13 AM, Lyubomir Ivanov  wrote:

> Hello,
>
>  Is someone can tell me how to send a stream of packets once at a time,
> using broadcast. Am I supposed to create some special code, or just small
> modification in the message type will be enough? I am using tiny os 2
>

I'm not understanding what you are trying to do.   Can you please try again
and be more succinct.

Are you trying to send a packet stream (one packet, then another packet,
then an another) to the broadcast address?

Work through the tutorials that help you understand how to use the
networking interfaces.   That will probably give
you the insight needed to do what you want.



>
>
> -
>  Дизайнерски обувки с до -70%. Регистрирай се и пазарувай.
> 
>
> ___
> 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] Boadcasting packets once at a time!!

2011-05-09 Thread Lyubomir Ivanov
 
Hello, 


Is someone can tell me how to send a stream of packets once at a time, using 
broadcast. Am I supposed to create some special code, or just small 
modification in the message type will be enough? I am using tiny os 2 

-
Дизайнерски обувки с до -70%. Регистрирай се и пазарувай.
http://clk.tradedoubler.com/click?p=191500&a=1875689&g=19425934___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] How to program Micaz without MDA300 how to use radio to program it?

2011-05-09 Thread srsini srsini
Hi,
i haven't the MDA to program my micaz node . how can i use radio to program it?
Bests___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help