From: Max Lapshin Date: 2007-05-09T17:48:57+09:00 Subject: Re: NMEA , request for real live sample Bino Oetomo wrote: > [root@kannel test]# ruby ./miniterm.rb 1 4800 8 1 > $GPRMC,135444,A,3815.4477,N,02349.5804,E,10412.9,243.3,090507,5,E,A*B > $GPRMC,135446,A,3810.5221,N,02344.4003,E,11501.1,219.6,090507,5,E,A*B > $GPRMC,135448,A,3803.9503,N,02341.4152,E,12561.9,199.7,090507,5,E,A*B You see, this NMEA sentence differ from what I assumed to be standard. There is unknown checksum in the end. I can modify parser so, that it would accept such unnatural sentences, but it is very, very strange for me. What GPS device do You use? I wish to look at it documentation, perhaps I've missed something in standart. Regarding NMEA.scan, it will never return anything. It can only call method rmc on NMEAHandler. -- Posted via http://www.ruby-forum.com/.