hi, I am able to verify the data being sent and received on the motes( through print statements).But the problem at the pc for which i use a c program still exists.
Does tymo use message_t structure or mhpacket_t?cos extracting data from tymo packet and putting it into normal message_t might be problem.I'm not sure.Serial sends message_t and my c prog receives message_t type packet. >>From what I understand both should work, but extracting the payload > and sending it to Serial should be easier as you have the components > to manipulate the tymo packet on the BaseStation, but not on the PC. > > On the other hand, it's probably more efficient to simply give the > received message to Serial, and write some code in your program to > read the tymo packet (shouldn't be hard to translate the nesC code > into C/Java/...) > > -Romain > > On Thu, Feb 25, 2010 at 4:57 AM, Deeksha G. Rao Salib > <[email protected]> wrote: >> 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. >> >> > > -- > 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
