Perhaps you are sending to the incorrect com port (do you have several motes
attached)?
Did you try the tutorial Mote-PC communication
http://docs.tinyos.net/index.php/Mote-PC_serial_communication_and_SerialForwarder
?

Arik


On Fri, Apr 9, 2010 at 06:05, Xiaodong Wang <[email protected]> wrote:

> Hi all,
>
> I try to TestSerial to receive pacekt from PC. However, while the PC is
> running "java testserial -comm ....." and sendin packet, the mote receives
> nothing. It appears to me that the below function in TestSerialC.nc
>
> event message_t* Receive.receive(message_t* bufPtr,
>        void* payload, uint8_t len) {
> call Leds.set(7);
> .......
> }
>
> is never executed. The LED never light up.
>
> Any idea what the problem is?
>
> Thanks,
> Xiaodong Wang
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Best Regards,
Arik Sapojnik
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to