xyzzy42 commented on issue #1193:
URL: https://github.com/apache/mynewt-nimble/issues/1193#issuecomment-1884119494

   You can used a (semi-)fixed passkey and print it on the device, or, as 
described in OP's original design, have some kind of enrollment mode where the 
passkey is set.
   
   The iocap of the device should be set to Display Only.  If the initiator has 
Keyboard capabilities (like a phone), this results in the authentication mode 
where the responder will display the passkey (the fixed passkey, so one doesn't 
need an actual display here) and then the initiator will request entry of the 
matching passkey.  See BT Core, Version 5.3, Vol 3, Part H, ยง2.3.5.1, 
specifically Table 2.8.
   
   The fixed passkey is not nearly as secure as a random one used for each 
pairing attempt.  But it's better than no passkey.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to