From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 9 19:19:57 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 752AD16A41F for ; Tue, 9 Aug 2005 19:19:57 +0000 (GMT) (envelope-from dgilbert@daveg.ca) Received: from ox.eicat.ca (ox.eicat.ca [66.96.30.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id E810E44077 for ; Tue, 9 Aug 2005 19:19:56 +0000 (GMT) (envelope-from dgilbert@daveg.ca) Received: by ox.eicat.ca (Postfix, from userid 66) id 686DEDBCF; Tue, 9 Aug 2005 15:19:56 -0400 (EDT) Received: by canoe.dclg.ca (Postfix, from userid 101) id 66FF91A0956; Tue, 9 Aug 2005 15:19:49 -0400 (EDT) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17145.469.365833.447736@canoe.dclg.ca> Date: Tue, 9 Aug 2005 15:19:49 -0400 To: frank@exit.com In-Reply-To: <1123613910.9836.15.camel@realtime.exit.com> References: <17144.64281.705769.294109@canoe.dclg.ca> <1123613910.9836.15.camel@realtime.exit.com> X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid Cc: freebsd-hackers@freebsd.org, David Gilbert Subject: Re: Bluetooth GPS for timekeeping? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2005 19:19:57 -0000 >>>>> "Frank" == Frank Mayhar writes: Frank> On Tue, 2005-08-09 at 14:51 -0400, David Gilbert wrote: >> But ... since there are long patches of time where I'm not mobile, >> I was wondering if anyone had looked at using a Bluetooth GPS for >> timekeeping. Has anyone also ever had an ntp server sometimes use >> a GPS and othertimes use other servers ... depending on the >> availability of the GPS? Frank> The former would depend strongly on the characteristics of the Frank> Bluetooth protocols, at least when it comes to accuracy. Frank> Keeping time to the half-second or so would be pretty easy, I Frank> would guess. Frank> The latter is the way it already works. Just configure other Frank> peers in your ntp.conf along with your GPS, viz: How might you determine the accuracy of the GPS ... or the "characteristics of the Bluetooth protocols" ? The GPS docs "say" that the GPS chipset keep time to within 100ns. However (and I assume this is to save power) they also say that the position indication is only sent once per second. In my case, the Bluetooth GPS would be talking to a Bluetooth dongle hanging directly out a port of the server in question. Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can only be | |Mail: dave@daveg.ca | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================