[Tinyos-help] problem in programming telosb

2006-07-10 Thread mothanna alkubeily
hi all ,  i use tinyos.1-x, i am trying to program the telosb with a very simple application whichis my first trying; this application does the following:   when the value of ADC is more of 3 ,the redled is on if no the redled is off.but the problem is when i try to compile this application to main.exe by using  ncc -o main.exe -target=telosb PeriodicValue.nc  i have always the error as following:PeriodicValueM.nc:9: syntax error befor 'display'  PeriodicValueM.nc: StdControl isnot implemented  PeriodicValueM.nc: StdControl isnot implemented  PeriodicValueM.nc: StdControl isnot implemented  PeriodicValue.nc:8: too many argumentsMy application is the following( note: i am very new in this , i think i have some errors and i need to your help, if any body has a doc.)   
   PeriodicValueM.nc  module PeriodicValueM {  provides interface StdControl;  uses interface Timer;  uses interface ADC;  uses interface Leds;  }  implementation {  result_t display(uint16_t value)  {  if (value 1) call Leds.redOn();  else call Leds.redOff();  return SUCCESS;  }  command result_t StdControl.init() {  return call Leds.init();  }  command result_t StdControl.start() {  return call Timer.start(TIMER_REPEAT,1000);  }  command result_t StdControl.stop() {  return call Timer.stop();  }  command result_t Timer.fired() {  return call ADC.getData();  }  async event result_t ADC.dataReady(uint16_t data) { 
 display(7-((data7) 0x7));  return SUCCESS;  }  }  PeriodicValue.ncconfiguration PeriodicValue {  }  implementation{  components Main,LedsC,TimerC,PeriodicValueM;  Main.StdControl - PeriodicValueM;  Main.StdControl - TimerC;  PeriodicValueM.Leds - LedsC;  PeriodicValueM.Timer - TimerC.Timer[unique("Timer")];  }i wait your help,thank you.   
		Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] what is the role of fcflo and fcfhi

2006-07-03 Thread mothanna alkubeily
hi  i want to know what is the roles exact of fcfhi and fcflo , and if any body has any thing helps me to getting the any thing about the AM type.  thank you all. 
	
		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] AM_OSCOPERESETMSG = 32

2006-06-30 Thread mothanna alkubeily
hiwhat is excatly the AM_OSCOPERESETMSG = 32 ?  iget always36bytes in the format of Oscilliscope message .  anybody know what is this?thanks __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] Re to re :AM_OSCOPERESETMSG = 32 ?

2006-06-30 Thread mothanna alkubeily
Matt:my question maybe wasnot clear.  i just did this steps:  programming one telosb as senderby apps/OscilliscopeRF and the another by TOSBase as base station,  when i applied the java net.tinyos.tools.Listen in tools/java  i got as example this raw of data:  [EMAIL PROTECTED]:57600:resynchronising  1A 01 08 16 FF FF FF FF 0A 7D 01 00 DC 00 01 00 0A 0B 17 0B2B 0B 0E 0B 2A 0B 22 0B 0A 0B 2B 0B 0B 0B 0A 0B  when i tried to analyze this raw as i found in tutorial tinyos/Lesson 6/e.g.the destination address(2bytes), Active Message handlerID(1byte),..etc  i found that there are more than10 ADCdata readings.  because i am new in tinyos , i do not know if this right or wrong.  i wait your answer  goodbye   
		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] Re te oscilliscopeRF code/Matte/

2006-06-30 Thread mothanna alkubeily
hi Matte:  yes,this is my question;and i thank you very much, now i shall analyze my resultes and i shall informe you if i get any thing new for this code.  bye __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] Tmote-sky/telosb

2006-06-29 Thread mothanna alkubeily
hi  i want to know if the Tmote-skyand the telosb are the same.  thanks 
	
		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] (no subject)

2006-06-29 Thread mothanna alkubeily
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:  Do you Yahoo!? Next-gen email? Have it all with the 
  all-new Yahoo! Mail Beta. thanks to you Chalermphol Do you Yahoo!? 
  Next-gen email? Have it all with the all-new Yahoo! Mail Beta. [...] 

Content analysis details:   (5.2 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.6 MISSING_SUBJECTMissing Subject: header

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.

---BeginMessage---
thanks to you Chalermphol 
		Do you Yahoo!? Next-gen email? Have it all with the  all-new Yahoo! Mail Beta.---End Message---
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Re to Re :tmote/telosb

2006-06-29 Thread mothanna alkubeily
thank you very much Matt.  however,i can use the tmote's way of calcuing the temp.and humidity for telosb? 
	
		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] problem in Oscilliscope

2006-06-26 Thread mothanna alkubeily
when i program the telosb with Oscilliscope application and  cd to tools/java   make  then   export [EMAIL PROTECTED]:38400  i have a problem when i try to display the packet of data by using   java net.tinyos.tools.Listen  ialways the message   packet too long and sometimes bad packet   i also have the same message when i use SerialForwarder. __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] Problem in SenseLightToLog

2006-06-26 Thread mothanna alkubeily
When i try to compile SenseLightToLog to tinyosb, i always have a problem in EEPROM and in function StdControl.init.  __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