[Tinyos-help] how to slove the aggregation part ?

2006-01-18 Thread Xing Jin
Hi ,   I am a beginner in this field. When I complied my code, it says that      TestTempM.nc:82: warning: passing argument 1 of `Send.send' makes pointer from integer without a castTestTempM.nc:82: too many arguments to function `Send.send'TestTempM.nc: In function `ReceiveMsg.receive':TestTempM.nc:148: warning: passing argument 1 of `Send.send' makes pointer frominteger without a castTestTempM.nc:148: too many arguments to function `Send.send'     But I do not know which caused this. Does anyone have the same experience ? I will appreciate it very much if someone helps me.  Thanks.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] about the multihop application

2006-01-19 Thread Xing Jin
Hi, everyone,     Does anyone who knows some samples using multihop like Surge ??  I plan to make a simple one based on the Surge part.  The motes need to sense the temperature , and do some aggregation on the packet and send it again. If some anormal event happen, the alarm is needed.  Does anyone have some suggestions for it ??    Thanks.   Jin Xing ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] about surge_reliable test on xbow

2006-04-10 Thread Xing Jin
Hi everyone,     I am new to tinyos. I am doing a test on surge_reliable.I use Xbow to do this test.Does anyone tell me what the result looks like? I download the program on the mote using "make mica2 install, 0 mib510,com1" and "export [EMAIL PROTECTED], java net.tinyos.tools.Listen" to listen.But no data is received. And after I take the mote off the programming broad, d0/d1/d2(the red ,green yellow leds), none of them is on.No ligth to show the mote is in work. I  do not know which step is wrong. I did not change any line in the code. Please help me !!! I appreciate it.    Thanks in advance. 
         Xing Jin
		Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! Messenger with Voice.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Surge-Reliable Running problem!???

2006-04-13 Thread Xing Jin
bytes in ROM    2142 bytes
 in RAMavr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srecset-mote-id build/mica2/main.srec build/mica2/main.srec.out 1    installing mica2 binary using mib510uisp -dprog=mib510 -dserial=com1 -dpart=ATmega128 --wr_fuse_e=ff  --erase --uplad if=build/mica2/main.srec.outFirmware Version: 2.1Atmel AVR ATmega128 is found.Uploading: flash  Fuse Extended Byte set to 0xff     can anyone tell me what happened ? and How to slove this problem?     Thanks a lot.      Xing Jin
		Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] mote to mote communication /mote to base communicaton

2006-05-05 Thread Xing Jin
Hi everyone,    I am new to tinyos. I wanna ask sth about the mote to mote communication /mote to base communicaton. Is the ToBase file a guide to let mote which senses the info communicate with the base station? And if I want to make several layer application, like:     first, let the motes on the bottem sense the data and transfer them to the aggregation mote nodes and then aggregation mote nodes transfer info to the base station . How to construct? In the whole process, I need to use radio to communicate with each other?  And from motes to motes, I need to broadcast? from the mote to the base , I need to use UART? And if I need to consider the info sensed by the aggregation nodes on the aggregation points with the info from the lower layer? What should I do??  Set a periodical timer and insert them together??     Thanks a lot. 
   Xing Jin
	
		Yahoo! Mail goes everywhere you do.  Get it on your phone.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] specify receive mote?

2006-05-08 Thread Xing Jin
Hi, everyone!   I wanna make sure one problem___how to specify the receive mote? Like mote 2 sends info to mote 3 always. Is it ok to follow the reply in the helplist: sepecify the 1st parameter.send( TOS_BCAST_ADDR, sizeof(Msg), msgp)So I just put the 1st one as 3??? Is it ok??Thanks.   Xing Jin [Tinyos-help] How to specify recipient's mote??? Michael Schippling  schip at santafe.edu Tue Sep 13 22:36:44 PDT 2005 Previous message: [Tinyos-help] How to specify recipient's mote??? Next message: [Tinyos-help] Encryption in tinysec  Messages sorted by:[ date ]   [ thread ]   [ subject ]   [ author ]   ummm...sorry if I misconstrue this...but I think you want to send to
 a specific Mote ID?But in anycase, the first arg insend( TOS_BCAST_ADDR, sizeof(Msg), msgp)is the Mote ID of the destination.BCAST means everyone and UART means the serial port.is that what you were asking?SM
		Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1¢/min.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] print problem

2006-05-30 Thread Xing Jin
Hi, everyone,    I am trying to print some value statement on PC to in order to make sure the program is on the correct way. For example, base station receives three values from other motes and get the average, then do some other calculation. I want to print out the average value on the pc when I am doing the experiment. But I do not know how. I thought DBG display was just for simulation.(or I am wrong???) Is there any statement that can print out the value, or write the value into a file??? Can anyone tell me?    Thanks a lot.    
 Xing Jin   
	
		Sneak preview the  all-new Yahoo.com. It's not radically different. Just radically better. 
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] modification on TOSBase and show them on Xlisten

2006-06-05 Thread Xing Jin
Hi ,     I am collecting  data info using XSensorMDA500 on 3 different mote nodes and send them to a base station. And on base staion , I changed the TOSBase to calculate the average value of each three. But the average can not been successfully gotten and shown throught Xlisten. Take temerature for example, my thought is just pick the thermistor value of each packet and add three of them together and get 1/3 of the sum. Is this a correct way to get the average value of temperature? However, what I care more is how to display the average value continously on the pc? I set a index which range from 0~2 and make it return to 0 after it arrives at 2. Everytime ,when it is 2, call the UARTSend to send the info. But it can not get info to display through Xlisten.  Can anyone give me some hint?I appreciate it very much. 
  Xing Jin        __Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] delay time and memory calculation

2006-06-10 Thread Xing Jin
Hi everyone ,  If I wanna get the time and memory cost on some paragragh of the code(ex, a function call), what  should  I do ?  For  real expriment, not for simulation. Does tinyos offer some system call to get the real time value or memory cost value at some time point?    Thanks a lot .    Xing Jin __Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] the range of the mica2 temperature readings

2006-06-29 Thread Xing Jin
Hi everyone,     Would someone  tell me the range of the mica2 thermistor readings?     Or the ceilus temperature reading range (format like :0~30C)?      Thanks a lot.      Xing Jin 
		Yahoo! Music Unlimited - Access over 1 million songs.
Try it free. ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] energy cost

2006-08-28 Thread Xing Jin
Spam detection software, running on the system "mail.Millennium.Berkeley.EDU", 
has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  Hi everyone, Does anyone know how to calculate the 
  energy cost to send a packet from one mote to another one? Does the 
  TinyOS offer some function or call to get it ?? Thanks a lot. Xing Jin 
  How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call 
  rates. [...] 

Content analysis details:   (5.0 points, 5.0 required)

 pts rule name  description
 -- --
 0.5 FROM_ENDS_IN_NUMS  From: ends in numbers
 2.2 FORGED_YAHOO_RCVD  'From' yahoo.com does not match 'Received' headers
 0.0 HTML_MESSAGE   BODY: HTML included in message
 0.1 HTML_50_60 BODY: Message is 50% to 60% HTML
 0.4 DNS_FROM_RFC_ABUSE RBL: Envelope sender in abuse.rfc-ignorant.org
 0.5 DNS_FROM_RFC_WHOIS RBL: Envelope sender in whois.rfc-ignorant.org
 1.4 DNS_FROM_RFC_POST  RBL: Envelope sender in postmaster.rfc-ignorant.org

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.

--- Begin Message ---
Hi everyone,     Does anyone know how to calculate the energy cost to send a packet from one mote to another one? Does the TinyOS offer some function or call to get it ??     Thanks a lot.   Xing Jin  
		How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.--- End Message ---
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help