[gnome-bluetooth/wip/hadess/more-agent-caps] agent: Add "keyboard" input capability when pairing




commit f86eea28f38b3f14906aaf64da4a12cecc2f3573
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]