Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Apr 2015 07:34:50 +0100 (BST)
From:      Iain Hibbert <plunky@ogmig.net>
To:        "freebsd-bluetooth@freebsd.org" <freebsd-bluetooth@freebsd.org>
Subject:   Re: register HID with SDP error
Message-ID:  <alpine.NEB.2.11.1504030712210.658@galant.ogmig.net>
In-Reply-To: <CAFuo_fy3QUrYYsCkeoCZJFJoM5GyzAsuWeY3ORQR8Y4SHC8D8w@mail.gmail.com>
References:  <CAFuo_fy9xRU2T3GUPY8116yZCUd8sL9pBQ9ixXnMwO56niJFog@mail.gmail.com> <CAFuo_fyYyoX6rNwN6_TfB01_xp5EQHFu-CJG=_dab_Qe7x1hkA@mail.gmail.com> <alpine.NEB.2.11.1503301517330.9258@galant.ogmig.net> <CAFuo_fxuTJqdvMg7jQ4rZy8qHLpNe2nRo%2B0JftGGBG2cjQ_QZg@mail.gmail.com> <alpine.NEB.2.11.1503301614370.9398@galant.ogmig.net> <CAFuo_fyvvJkfvpGfx-0dhhAsY6i_wMwZz4wEi47kEoLfaEV4EA@mail.gmail.com> <CAFPOs6pwHSP3tDmTV4VGUr3jiP_P96W0FxAJbR6Md6Xc-yQAyg@mail.gmail.com> <CAFuo_fygrjB12LZA4Z_qU2Tfa1UpqkN-8qsqL3NG-5VUsxeW7Q@mail.gmail.com> <CAFPOs6q0Xi=R-YyTSg_0cqFuxaQYxMVnL-tAbpftHj4wXzYbkg@mail.gmail.com> <CAFuo_fx9ZzoOkZNrnyu2XmSEg4vBXZLDwsQrdxmFGp84oLmW8w@mail.gmail.com> <67671012-52EF-49FA-8820-954E99601210@ogmig.net> <CAFuo_fwiRiNP_RXwsfO1wN1nap1soXKboLE7dtHmJuSJ78wMzA@mail.gmail.com> <alpine.NEB.2.11.1504012125030.2454@galant.ogmig.net> <CAFuo_fzcYVRtyxp5J7vgj7FHhNiDFsX_qKEcXy7dFTDQxACX0Q@mail.gmail.com> <CAFuo_fy3QUrYYsCkeoCZJFJoM5GyzAsuWeY3ORQR8Y4SHC8D8w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.NEB.2.11.1504030712210.658>