br101 commented on issue #1509:
URL: https://github.com/apache/mynewt-nimble/issues/1509#issuecomment-1567028340

   Yes, I agree that IO capabilities in general are global per device, so in a 
normal case the design choice of NimBLE is sensible, although not flexible.
   
   In my case I am implementing an automatic passkey algorithm between devices 
from the same manufacturer, based on some shared secret, and in order for the 
passkey exchange to happen I have to use matching capabilities e.g. display on 
one side and keyboard on the other side. May not be the best way, but I need it 
for compatibility with already existing devices.
   
   I assume that the capabilities are negotiated on a connection basis, so if 
the capabilities were stored by connection, or asked by callback from the 
application (like passkey) then we could implement more flexible schemes...


-- 
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: commits-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to