[gnome-bluetooth/wip/hadess/more-agent-caps: 3/3] agent: Add "keyboard" input capability when pairing
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/wip/hadess/more-agent-caps: 3/3] agent: Add "keyboard" input capability when pairing
- Date: Mon, 10 Jan 2022 13:38:54 +0000 (UTC)
commit 427c659e7ff31f3548fb968c7b3a28a47048389a
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jan 10 14:24:49 2022 +0100
agent: Add "keyboard" input capability when pairing
This better reflects the input capabilities a typical GNOME desktop has.
See the IO capabilities table in
https://www.bluetooth.com/blog/bluetooth-pairing-part-1-pairing-feature-exchange/
lib/bluetooth-agent.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/bluetooth-agent.c b/lib/bluetooth-agent.c
index 47420feb..676a86ca 100644
--- a/lib/bluetooth-agent.c
+++ b/lib/bluetooth-agent.c
@@ -272,7 +272,7 @@ register_agent (BluetoothAgent *agent)
ret = agent_manager1_call_register_agent_sync (agent->agent_manager,
agent->path,
- "DisplayYesNo",
+ "KeyboardDisplay",
NULL, &error);
if (ret == FALSE) {
g_printerr ("Agent registration failed: %s\n", error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]