You can do so by using the component SerialActiveMessageC. Please go through the detailed instructiions available at
http://docs.tinyos.net/index.php/Mote-PC_serial_communication_and_SerialForwarder Manjunath D ################################################################################################################ *************************************************************************************************************** On Mon, 28 Jun 2010, sofia aparicio wrote: > > Hello, > > > > I would like to send a integer value from my computer (using Matlab) to a > mica2 mote using the serial port and TinyOS-2.x. > > How can I do that? Do you know any example? With TinyOS-1.x I could do it > with the function: > > > > event result_t SerialM.Receive(char * buf, uint8_t data_len) > > > > Thank you very much. > > > > Sofia > > _________________________________________________________________ > Citas sin compromiso por Internet Te damos las claves para encontrar pareja > en la red > http://contactos.es.msn.com/?mtcmk=015352 _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help