You can see the header structure in tos/lib/net/tymo/mh/mhpacket.h

On Thu, Feb 25, 2010 at 6:18 AM, Deeksha G. Rao Salib
<[email protected]> wrote:
> Also any idea about the size of the tymo header??
>> hey..
>>
>> I tried doing both.And you are right. I found out that the message
>> contains the am type and payload length and other things. Do u think
>> extracting only the payload from received nsg and sending it to Serial
>> will be better?
>>
>>
>>> Hello,
>>>
>>> There shouldn't be any difference in serial forwarder usage.
>>> Do you extract the tymo payload from the received message and send it
>>> to Serial? Or do you directly forward the received message?
>>>
>>> In the latter case, the data sent to serial forwarder contains the
>>> tymo header, so you must take it into account while reading the
>>> packet.
>>>
>>> Hope this helps,
>>>
>>> Romain
>>>
>>> On Tue, Feb 23, 2010 at 11:15 AM, Omprakash Gnawali
>>> <[email protected]> wrote:
>>>> ---------- Forwarded message ----------
>>>> From: Deeksha G. Rao Salib <[email protected]>
>>>> Date: Tue, Feb 23, 2010 at 1:23 AM
>>>> Subject: [Tinyos-help] Processing of Tymo Packet
>>>> To: [email protected]
>>>>
>>>>
>>>> Hi,
>>>>
>>>> I want to use Tymo for sending sensor data from few nodes to the
>>>> basestation.
>>>> This seems to work fine by the Led indications.But when I try to read
>>>> the
>>>> data in the packet through serial forwarder I get only junk
>>>> values.Serial
>>>> forwarder correctly counts the number of packets.
>>>>
>>>> Is there a different method of reading the data in the packet while
>>>> using
>>>> Tymo???
>>>>
>>>>
>>>>
>>>> --
>>>> This message has been scanned for viruses and
>>>> dangerous content by MailScanner, and is
>>>> believed to be clean.
>>>>
>>>> _______________________________________________
>>>> Tinyos-help mailing list
>>>> [email protected]
>>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>>
>>>
>>> --
>>> This message has been scanned for viruses and
>>> dangerous content by MailScanner, and is
>>> believed to be clean.
>>>
>>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to