Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"bt-device --connect" does not provide any way for the caller to pass in the desired agent capability #42

Open
c0d3h4x0r opened this issue Jul 11, 2020 · 0 comments

Comments

@c0d3h4x0r
Copy link

Since bt-device --connect is the intended way to initiate a pairing operation, it needs to provide an optional --capability argument that the caller can use to specify the desired agent capability to use. For example:

  • if the caller supplies DisplayYesNo, then the agent should not prompt the user for any input other than a yes/no confirmation
  • if the caller supplies 'DisplayOnly', then the agent should not prompt the user for any input, only display things to them
  • if the caller supplies 'KeyboardDisplay', then the agent should prompt the user for any needed kind of input (PIN, passkey, or yes/no confirmation) when the agent receives the appropriate callbacks from bluez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant