[Tinyos-help] help sending data to serial port.

2011-06-06 Thread Khouloud Masmoudi
can you tell m ewhat does this command do?
 call AMSend.Send(0,payload) AMSend is an interface from the component 
/SerialActiveMessageC./

please, all i need to know is how to send data from a telosb mote to the serial 
port to which it is connected ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] help sending data to serial port.

2011-06-06 Thread Khouloud Masmoudi

sorry but i've seen toturial lesson 4 but i can't really understand how does 
the mote send data to his usb port!!! i'm new on tinyos.please help me.

--- En date de : Lun 6.6.11, Eric Decker cire...@gmail.com a écrit :

De: Eric Decker cire...@gmail.com
Objet: Re: [Tinyos-help] help sending data to serial port.
À: Khouloud Masmoudi khouloud.masmo...@yahoo.fr
Cc: Tinyos-help@millennium.berkeley.edu
Date: Lundi 6 juin 2011, 7h31

It depends on how it is wired.   And what the context is.
In other words you aren't asking a very useful question.
Now.   you should work through the tutorials.   They explain a bunch of what 
you are asking.

you should start there.
docs.tinyos.net.   you might have to use the cached pages from google.

On Mon, Jun 6, 2011 at 12:19 AM, Khouloud Masmoudi khouloud.masmo...@yahoo.fr 
wrote:

can you tell m ewhat does this command do?

 call AMSend.Send(0,payload) AMSend is an interface from the component 
/SerialActiveMessageC./

please, all i need to know is how to send data from a telosb mote to the serial 
port to which it is connected 

___

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] Control.start() doesn't work well

2011-06-03 Thread Khouloud Masmoudi
hello, i have a strange problem and it's the first time i see it!!! here is my 
application code which is supposed to receive data from the network and send it 
back to the usb port, but there is a problem with the startDone event which i 
can't understand.


#include TestSerial.h
module TestSerialC {  uses {    interface SplitControl as Control;    interface 
Leds;    interface Boot;    interface Receive;    interface AMSend;    
interface Packet;  }}implementation {
  message_t packet;
  bool locked = FALSE; event void Boot.booted() {call Leds.led1Toggle();    
call Control.start();  }  

  event message_t* Receive.receive(message_t* bufPtr, void* payload, uint8_t 
len) {
call Leds.led2Toggle();locked = TRUE;          return bufPtr;      }
  event void AMSend.sendDone(message_t* bufPtr, error_t error) {    if (packet 
== bufPtr) {      locked = FALSE;    }  }
  event void Control.startDone(error_t err) {if (err == SUCCESS) {    call 
Leds.led0Toggle();    }    else {      call Control.start();call 
Leds.led0Off();    }      }  event void Control.stopDone(error_t err) {}}



#include TestSerial.h
configuration TestSerialAppC {}implementation {  components TestSerialC as App, 
LedsC, MainC;  components SerialActiveMessageC as AM;   components new 
AMReceiverC(AM_TEST_SERIAL_MSG);components ActiveMessageC;   App.Boot - 
MainC.Boot;  App.Control - ActiveMessageC;  App.Receive - 
AMReceiverC;  App.AMSend - AM.AMSend[AM_TEST_SERIAL_MSG];  App.Leds - 
LedsC;  App.Packet - AM;}

please if any one had faced this problem helps me.thanks a lot.___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] how to know the usb port adress

2011-06-02 Thread Khouloud Masmoudi
hello , i want to know how to send data from a telosb mote to the usb port it's 
connected to in order to send a message receive from the newtork to the PC
please help me___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] retrieve data from a sensor telosb

2011-05-31 Thread Khouloud Masmoudi
hello every body,I'm new on using tinyos and telosb motes.So, my question is 
how can I get data recieved from a telosb mote connected to my PC.I want to use 
this data to stoke it into my sql server 2005 Data Base.Please if any one could 
help me that will be very nice
thanks.

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

[Tinyos-help] help

2011-05-19 Thread Khouloud Masmoudi
hello, could any one help me please i got this error while trying te install a 
telosb node when i wrote make telosb installi have this message : No suche file 
or directory /support/make/Makerules Stop no rule to make target 
/opt/tinyos-2.x/support/make/Makerules
Please did any one face this problem help me.___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] motelist doesn't show anything

2011-05-18 Thread Khouloud Masmoudi
hello every body, I have installed tinyos with Cygwin on my PC (system windows 
7) in order to work with telosb nodes, the installation goes well and the 
command tos-check-env went perfect with no errors but when I write the command 
'motelist' it doesn't show anything despite I have already onenode connected to 
my PC.Please help me if you had face this problem because I have no much 
time.Thanks for help.___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help