Thanks for the suggestion. I will try and send the result here.

Best of Regards!
Lasa323


On Thu, Oct 16, 2008 at 5:13 PM, Philip Levis <[EMAIL PROTECTED]> wrote:

>
> On Oct 14, 2008, at 10:12 AM, lasa323 wrote:
>
>  Hi all,
>> I am trying to simulate a WSN in TinyOS 2.0.1 and TOSSIM. So, my first
>> step was specifying the topology and I was able to do that.
>> i generated a topology file using the java class "LinkLayerModel" . it
>> gave the topology in the format of "source-destination-gain" and i added
>> them to the radio model. I guess i have created and specified the topology
>> correctly.
>>
>> Then, I want to specify the data to be sensed by nodes because I wants
>> track the first time that a mote reads a valid information from the
>> phenomenon.
>>
>> I studied  the tutorial with the title "Lesson 5: Sensing ". the first
>> example shows how to sense phenomenon in specific time intervals. but my
>> problem is, who specify those data to be read? and how do i relate them with
>> nodes? Suppose we sense the temperate.We can sense the temperature
>> periodically, but different motes may read different temperatures. So, how
>> do i give these details? Does anybody have any idea or any references that i
>> can read and get understand?.
>>
>> I am looking forward to hearing from you. Please direct me, I am new to
>> TinyOS and TOSSIM.
>>
>> Thanks and best regards!
>>
>
> I'd suggest that you write a simulation component which implements the Read
> interface and produces the readings you want. E.g., it could open a file,
> accept input from a script, etc.
>
> Phil
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to