From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752854AbdATQTt (ORCPT ); Fri, 20 Jan 2017 11:19:49 -0500 Received: from mga09.intel.com ([134.134.136.24]:26972 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752663AbdATQTp (ORCPT ); Fri, 20 Jan 2017 11:19:45 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,259,1477983600"; d="scan'208";a="1115547077" Message-ID: <1484928971.2133.273.camel@linux.intel.com> Subject: Re: GPS drivers (was Re: [PATCH v2 0/9] Serial slave device bus) From: Andy Shevchenko To: Linus Walleij , Pavel Machek Cc: Rob Herring , "linux-iio@vger.kernel.org" , Jonathan Cameron , Greg Kroah-Hartman , Marcel Holtmann , Jiri Slaby , Sebastian Reichel , Arnd Bergmann , "Dr . H . Nikolaus Schaller" , Peter Hurley , Alan Cox , Loic Poulain , NeilBrown , "linux-bluetooth@vger.kernel.org" , "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" Date: Fri, 20 Jan 2017 18:16:11 +0200 In-Reply-To: References: <20170116225436.17505-1-robh@kernel.org> <20170120142242.GC5241@amd> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.3-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2017-01-20 at 16:26 +0100, Linus Walleij wrote: > > Now, NMEA knows about some of the complexity (not AGPS), but gets > > the > > details wrong. In particular, it would be good to have error > > estimates > > and velocities from the same moment you get position estimates. > > NMEA if it is this: > https://en.wikipedia.org/wiki/NMEA_0183 > > Seems to be a high-level format such as XML or CSV or any other > $FAVOURITE_ASCII_TRANSPORT format. Not exactly. It depends on device settings. Old GPS I used to play with have AT command to switch between ASCII and binary format. Some of the devices might use non-standard binary protocols (however, representable as NMEA), etc. -- Andy Shevchenko Intel Finland Oy From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <1484928971.2133.273.camel@linux.intel.com> Subject: Re: GPS drivers (was Re: [PATCH v2 0/9] Serial slave device bus) From: Andy Shevchenko To: Linus Walleij , Pavel Machek Cc: Rob Herring , "linux-iio@vger.kernel.org" , Jonathan Cameron , Greg Kroah-Hartman , Marcel Holtmann , Jiri Slaby , Sebastian Reichel , Arnd Bergmann , "Dr . H . Nikolaus Schaller" , Peter Hurley , Alan Cox , Loic Poulain , NeilBrown , "linux-bluetooth@vger.kernel.org" , "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" Date: Fri, 20 Jan 2017 18:16:11 +0200 In-Reply-To: References: <20170116225436.17505-1-robh@kernel.org> <20170120142242.GC5241@amd> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 List-ID: On Fri, 2017-01-20 at 16:26 +0100, Linus Walleij wrote: > > Now, NMEA knows about some of the complexity (not AGPS), but gets > > the > > details wrong. In particular, it would be good to have error > > estimates > > and velocities from the same moment you get position estimates. > > NMEA if it is this: > https://en.wikipedia.org/wiki/NMEA_0183 > > Seems to be a high-level format such as XML or CSV or any other > $FAVOURITE_ASCII_TRANSPORT format. Not exactly. It depends on device settings. Old GPS I used to play with have AT command to switch between ASCII and binary format. Some of the devices might use non-standard binary protocols (however, representable as NMEA), etc. -- Andy Shevchenko Intel Finland Oy