On Sun, Mar 22, 2015 at 1:10 PM, Iain Hibbert <[email protected]> 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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth To unsubscribe, send any mail to "[email protected]"
