From owner-freebsd-bluetooth@FreeBSD.ORG Thu Apr 2 02:48:42 2015 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF98B556 for ; Thu, 2 Apr 2015 02:48:42 +0000 (UTC) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 68013206 for ; Thu, 2 Apr 2015 02:48:42 +0000 (UTC) Received: by wixm2 with SMTP id m2so47073242wix.0 for ; Wed, 01 Apr 2015 19:48:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=J0+FKMCXzu9sNRMTvxDumzFuUdo5TweH9BYsCHYIzbk=; b=czcrWxeFerAFJUK2HR41YHo2fNwIM2xsfxzTJVSX37jqUpQSHdJVO4haIlTUnvtOOo e7thxwhzAYzFm6t3mMjcOD0vMcp9ajdygXIwMCWAEXlLuOvyFJNNEPF3VCtAdDdJ8lNh w4lusAwb+iZYhU1uZ501ee+hX80L4hXw7u+m1DSDj1vP9CcYGL/l1w6s1uf4k8I0Ukz2 K/WDQpHIlapQL+BLI1lufjc/9whzOZrJRxu+DmpfUTOlpDbVGaac32gtjHbhiRGQL3hS VOWuOrF2p9Jk1jDcj5UV/xxTw+CTxHp8jvR3mwE7B+iA8Do734+MOrrpiLnEwUbWETAp Wmng== MIME-Version: 1.0 X-Received: by 10.195.12.35 with SMTP id en3mr86025647wjd.129.1427942920946; Wed, 01 Apr 2015 19:48:40 -0700 (PDT) Received: by 10.27.91.75 with HTTP; Wed, 1 Apr 2015 19:48:40 -0700 (PDT) In-Reply-To: References: <67671012-52EF-49FA-8820-954E99601210@ogmig.net> Date: Wed, 1 Apr 2015 19:48:40 -0700 Message-ID: Subject: Re: register HID with SDP error From: Waitman Gobble To: Iain Hibbert Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-bluetooth@freebsd.org" 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: Thu, 02 Apr 2015 02:48:43 -0000 >> 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) ie, # ./hcidump HCI sniffer - Bluetooth packet analyzer ver 2.5 Can't open device: Protocol not supported but this works: # ./hcidump -r /xj/waitman/andbin When I get a chance I'll see about working out the issues. Thanks, -- Waitman Gobble Los Altos California USA 510-830-7975