Hi all,

Repost this email here. Any help is really appreciated.

Thanks,
Xiaodong Wang

On Fri, Apr 9, 2010 at 8:14 AM, Xiaodong Wang <[email protected]> wrote:

> Thanks for the reply. Yes I have tried the tutorial. That's why I found the
> problem. The tutorial uses the TestSerial to send the packet to Mote from
> PC. Upon receiving the first packet from PC at the mote, a periodic timer is
> set up and periodically fires to send packet from mote to PC. Am I
> undertanding this correctly?
>
> My problem now is the timer is never set up because the receiving event of
> mote from pc never executes, which sounds like no packet is received ever.
> But actually the PC is sending correctly.
>
> I am  using Telosb mote with correct port. Any more suggestions?
>
> Thanks,
> Xiaodong Wang
>
> On Thu, Apr 8, 2010 at 11:54 PM, Arik Sapojnik <[email protected]> wrote:
>
>> 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
>>
>
> Ye
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to