-----Original Message-----
From: Aaron Greene [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 7:50 AM
To: TinyOS (E-mail)
Subject: [Tinyos-users] serial GPSHi all,
I am attempting to use a GPS unit plugged in through a serial port on my mote. My main concern is over the format of packets. The GPS unit I am using does not respond to queries, but continuously sends out messages, according to the NMEA protocol. I am only concerned with specific messages (RMC), so I have to do a bit of parsing. I am curious as to how the messages from the unit will be handled at the lower levels by TinyOS. Since the messages I am receiving are larger than the expected message size in TinyOS, will the packets from the GPS unit then be broken up into multiple TOS_Msgs? Also, is there any sort of timeout that will allow different messages from the unit to be separated between messages? It will make parsing a lot easier if this is the way things are handled. Specifically, if the last 5 characters of a GPS packet fill up the first 5 places in the TOS_Msg data buffer, will a certain time delay cause the next packet to be received to be placed in a new TOS_Msg? Maybe there is a module that parses GPS already, but I couldn't find it in the repository. Any help is appreciated. If necessary, I can write my own module to deal with GPS, but I just wanted to make sure I'm not rewriting code that's already been written.Aaron Greene
_______________________________________________ Tinyos-users mailing list [EMAIL PROTECTED] http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
