Pgeorge wrote:So, in conclusion, with my gps model the best mode is LCP (i know, i should use RAW), but is faster.
It's not a matter of what is faster and what is not. RAW is correct, LCP is wrong due to the additional two byte header that it requires. None of the GPS devices will send that two byte header. Or did you see any two byte headers when sniffing the data using hyperterminal? I bet you didn't
It's purely an accident that this works with LCP enabled. If updates in RAW mode are slower, there is probably another problem in some area of leJOS that needs to be discovered. Using LCP, you should (and probably will) see errors at some point. It is already the case, that internally, without you noticing, broken/wrong lines are being processes. Basically, using LCP will result in character loss. For example, instead of "030212" the date could become "0312". Probably you're not interested in the date. But I bet you'd care if some digits were missing from the value of the longitude?