From owner-freebsd-bluetooth@FreeBSD.ORG Fri Apr 3 06:34:51 2015 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 55483845 for ; Fri, 3 Apr 2015 06:34:51 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [IPv6:2001:4b98:c:538::197]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 034EFA00 for ; Fri, 3 Apr 2015 06:34:50 +0000 (UTC) Received: from mfilter40-d.gandi.net (mfilter40-d.gandi.net [217.70.178.171]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id 5446A41C06D for ; Fri, 3 Apr 2015 08:34:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter40-d.gandi.net Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by mfilter40-d.gandi.net (mfilter40-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id Gv2F65XCA6ed for ; Fri, 3 Apr 2015 08:34:46 +0200 (CEST) X-Originating-IP: 84.13.245.18 Received: from galant.ogmig.net (host-84-13-245-18.opaltelecom.net [84.13.245.18]) (Authenticated sender: plunky@ogmig.net) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id C014941C064 for ; Fri, 3 Apr 2015 08:34:46 +0200 (CEST) Received: by galant.ogmig.net (Postfix, from userid 1000) id 686112600C5; Fri, 3 Apr 2015 07:34:50 +0100 (BST) Date: Fri, 3 Apr 2015 07:34:50 +0100 (BST) From: Iain Hibbert To: "freebsd-bluetooth@freebsd.org" Subject: Re: register HID with SDP error In-Reply-To: Message-ID: References: <67671012-52EF-49FA-8820-954E99601210@ogmig.net> User-Agent: Alpine 2.11 (NEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Apr 2015 06:34:51 -0000 On Wed, 1 Apr 2015, Waitman Gobble wrote: > >> Y'all were right, the syntax error is something related to continuation > >> and MTU.. but the error is probably just in the ancient version of hcidump > >> that FreeBSD uses. > > Here's hcidump from the latest BlueZ release, that runs on FreeBSD. > > https://github.com/waitman/hcidump25 > > I got rid of the GNU configure/makefile stuff and wrote a BSD Makefile. > > It needs more work, at the moment it will parse the binary dump from > the hcidump in the FreeBSD ports tree. (without syntax errors) that is probably good, though I think you committed the changed version so its difficult to see the changes you made? github seems to lock up my firefox for some reason.. anyway the version I have is based on the BlueZ 5.27 release (they integrated hcidump finally) and the patches against that can be found in http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/sysutils/netbt-hcidump/patches/ and the general scheme is make only the parts of BlueZ lib that we need to build as libbt.a patch the parser to actually build as libparser.a modify the hcidump source to handle the differences in device access I guess you would find that the FreeBSD changes would be largely similar I guess, and the device access you could find about from the old hcidump. regards, iain