[Tinyos-help] Help with "Lossy Module" again

2007-05-22 Thread eamin_winfor
hi alls I'm sorry to ask this question about "lossy module" again. But this problem is very important to me. I don't know how can i get the "lossy module" in tinyos2.x? And dear Philip have told me to use the function prr_estimate_from_snr(double SNR) in CpmModelC converts a signal to noi

[Tinyos-help] Help with "Lossy module" in tinyos2.x

2007-05-20 Thread eamin_winfor
hi all, I have a problem about the "lossy module"(or packet reception rate) in tinyos2.0.1 . In tinyos.1.x we can set the "lossy module" by ourself in topology such as : 1:21:0.015534 1:22:0.030151 1:41:0.041942 but in tinyos2.x, i read the tutorial12 and find a

[Tinyos-help] a problem about "Dissemination" in tinyos 2.0.1

2007-05-17 Thread eamin_winfor
hi all, I 'm studing tinyos2.0.1 and meet a problem about "Dissemination" . The problem is quite simple. I read the Tutorial 12, and compile the program which is similar to the program in the Tutorial 12, but it doese't work. Here is the program: #include module EasyDisseminationC {

[Tinyos-help] Help with "PRR" in TinyOS2.0.1

2007-05-16 Thread eamin_winfor
Hi ALL I'm working with TinyOS2.0.1, now a problem about PSS(packet reception rate) has puzzled me for a long time. I don't know how can i get the PRR( packet reception rate) under tinyos2.0.1, which function or interface should be used? Any helps would be really appreciated. Best Rega

[Tinyos-help] how can i get "SNR"

2007-05-15 Thread eamin_winfor
Hi Alls I'm working with tinyos2.0.1 .I have read the CpmModelC.nc, and use the function prr_estimate_from_snr( ) directly in my program.But I don't know how can I get SNR. And I think the gain between two motes in "topo.txt" such as (1 2 -70.0), -70.0dBm is a kind of senstive. How can

[Tinyos-help] A simple problem about BusyWait.

2007-05-14 Thread eamin_winfor
Hi All I 'm working with tinyos2.0, and a problem about interface "BusyWait" has puzzled me for a few days. The problem is : i want a mote sleep for a few moment, so i used the interface "BusyWait " provided by BusyWaitCounterC. but when i compile my code i got an error that: > /opt/t

[Tinyos-help] "lossy module" in tinyos 2.0.1

2007-05-11 Thread eamin_winfor
hi alls I'm working with Tinyos 2.0.1, now i meet some problems about "lossy model" in Tossim. The problems i face are: 1. My teacher tell me there is a "lossy model" in Tinyos 1.x, and this model can control the packet loss rate between two Noes. But in tinyos2.0.1, i can't find it i

[Tinyos-help] write & read problem

2007-05-07 Thread eamin_winfor
Hi all, I'm working with TinyOS 2.0.1, and have a problem about write program in Nesc to write and read file( such as xxx.txt ). If i want to read a data from a xxx.txt file and use it in my own xxx.nc file, which interface and component should be used? And if i want to export some data

[Tinyos-help] A Problem About Receive.receive() in Toss im

2007-05-04 Thread eamin_winfor
hi, i meet a problme about the event message_t* Receive.receive( ) and AMSend.sendDone( ) The problme is very simple, i want mote8 send a packet to the mote6, when mote6 receive it , mote6 will reply a packte to the mote8 and send the packet to the mote 1, when mote1 receive the packet

[Tinyos-help] About AMSend.send( ) in TinyOS2.0.1

2007-05-03 Thread eamin_winfor
hi i meet a simple problem about param "addr" in the command AMSend.send(am_addr_t addr, message_t* msg, uint8_t len). Now there are many nodes in the net , and i want the node 1 sends a packet to the node 2 , should i use the AMSend.send( ) and set the param "addr" as "2" or other par

[Tinyos-help] A problem about Timer

2007-05-01 Thread eamin_winfor
hi, in tinyos2.0.1, the "Blink", i can pass the "make micaz" and "make micaz sim" and get a _TOSSIM.dll but it seems that the event Timer.fire( ) does't been signaled. ( i use the Tossim to test the Blink) how can i do to solve this problem ? Eamin _

Re: [Tinyos-help] a problem about Tossim

2007-05-01 Thread eamin_winfor
hi i have read the new tutorial (Lesson 11) about Tossim, but i meet a problem. It seems that event Timer.fired() does't work.(i can see the "Boot",but i can't see"RadioCountToLedsC:" as expected in the "RadioCountToLeds") by the way, i use the tinyos2.0.1 Any help is appreciate

[Tinyos-help] a problem about Tossim

2007-05-01 Thread eamin_winfor
hi, i have meet a problem about Tossim, when finished the " make micaz sim " and get a "_tossim.dll" file, i use the tossim to simulate the blink, and i do as the Toturial Lesson 11, the test.py is: from TOSSIM import * import sys t = Tossim([]) r = t.radio() f = open("topo.txt", "r") lines

[Tinyos-help] I need some resource about Tossim

2007-04-24 Thread eamin_winfor
hi i have finished the tutorial 11( Tossim ), but i sitll not very clear about how to write a Script to simulate the process( in python language), so i want more resource about it , especially need the detailed information about functions which was provieded already ( in python such as functi

[Tinyos-help] About TinyOS2.0

2007-04-16 Thread eamin_winfor
hi, i have pass the "make micaz " and "make micaz sim" and get some files, what can i do to see the result visually on my pc if i only have a PC but no other hardwares. My TinyOS version is 2.0 and Cygwin Version is 5.1. All help is appriciate. Eamin __

[Tinyos-help] Problem with tinyViz

2007-04-12 Thread eamin_winfor
Hi I wanna use the "TinyViz" to see the compiled result of the Applicatiion "Blink" , but i can't find tinyViz in my TinyOS 2.0, so, how can i solved this problem Eamin ___ Tinyos-help mailing list [EMAIL PROTECTED] https://mail.millennium.

[Tinyos-help] Problem With TOSSIM

2007-04-11 Thread eamin_winfor
Hi, i meet a problem about TOSSIM, when i and use to build a TOSSIM, return a error : collect2: ld return 1 exit status. and the symptom is that i have the needed Python files and libraries, but compilation is still saying that it can't link to them ("undefined reference"), so i do as