register HID with SDP error
Waitman Gobble
gobble.wa at gmail.com
Sun Mar 22 20:52:57 UTC 2015
On Sun, Mar 22, 2015 at 1:10 PM, Iain Hibbert <plunky at 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
More information about the freebsd-bluetooth
mailing list