Date: Sun, 22 Mar 2015 13:52:54 -0700 From: Waitman Gobble <gobble.wa@gmail.com> To: Iain Hibbert <plunky@ogmig.net> Cc: "freebsd-bluetooth@freebsd.org" <freebsd-bluetooth@freebsd.org> Subject: Re: register HID with SDP error Message-ID: <CAFuo_fw1DwUZxMtZ%2BrBFUK5im60QWnpEbw-JL4aa84UAKFVZXw@mail.gmail.com> In-Reply-To: <alpine.NEB.2.11.1503222004560.746@galant.ogmig.net> References: <CAFuo_fy9xRU2T3GUPY8116yZCUd8sL9pBQ9ixXnMwO56niJFog@mail.gmail.com> <CAFuo_fxGgWYp5x=xWbFogj8F8ZMULFQw_HOWZiJ42=vDO7tXnQ@mail.gmail.com> <CAFPOs6o7jrULqF%2BVSbZ0ckFx3MqAbO-eHyL5FfToTL4xMxSBLQ@mail.gmail.com> <CAFuo_fxocC6KhHqXf2HWpMLFNMFo2tdmv4RMv1MYYBXkC=3FJg@mail.gmail.com> <CAFuo_fwp_Nb2kOk=7qKO6VV5%2Bu_MG5GwaKYkwKFDjUuVo%2BG-aw@mail.gmail.com> <CAFPOs6rNSqS=ZyZKZDWy2T437bkoXpfKEFn_Znpo7X6UgXMNVw@mail.gmail.com> <CAFuo_fzMaRu-VgP48GqETT6AfYT20eR6Ry13J=CiC=mibSvCig@mail.gmail.com> <CAFPOs6oBd4OagKixg6NH-uWzWCc4g%2B7U-uO1VdQY-UzzcZQBPA@mail.gmail.com> <CAFuo_fz-hZ9WXX1Uvc-vEwTMrPeyakGsStTkS6RGEzwMTh%2BsUw@mail.gmail.com> <77352B43-637C-4E0D-B4CC-B42D977551F6@gmail.com> <CAFuo_fyHmY%2BO6uN4DkBoHr99=X3PN2gzL0gZ6EyrZfkRL8MWBw@mail.gmail.com> <CAFPOs6o7fSh=-Jossgo_nLLz5iPpZA%2BGX%2BvxH7bezdQSk1_j-w@mail.gmail.com> <CAFuo_fxME%2B9-bA6KWG4pjokAZhfEeMGptMw-H3z=eb%2B9KHGhug@mail.gmail.com> <CAFuo_fzYPTKHCmk9c1KbSvGUJ=dbX3Dd7jEZgenEOkEhv%2BXNEg@mail.gmail.com> <alpine.NEB.2.11.1503222004560.746@galant.ogmig.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 22, 2015 at 1:10 PM, Iain Hibbert <plunky@ogmig.net> wrote: > On Sat, 21 Mar 2015, Waitman Gobble wrote: > >> > char newpin[16]; > >> correction, should be newpin[32], or maybe more.. MS windows asks for >> a longer pincode. > > Are you sure about that? All the specifications I have seen, say that the > PIN code can be a maximum of 128 bits. (see 7.1.12 Pin Code Request Reply > Command in the Bluetooth v4.0 Core specification) > > iain I was getting garbage in the pincode with char[16] 32 is larger than needed. But also need to add the 'enter key' or the client will sit there waiting. < HCI Command: PIN Code Request Reply(0x01|0x000d) plen 23 L . . . . . . 3 2 1 6 7 6 4 2 . . . . . -- Waitman Gobble Los Altos California USA 510-830-7975
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFuo_fw1DwUZxMtZ%2BrBFUK5im60QWnpEbw-JL4aa84UAKFVZXw>