[PATCH v1] bluetoothctl: fix for gatt unregister-includes option not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



unregister includes option takes two parameters service uuid and
included service uuid, since the space between them is missing,
the menu option is not working.
When two uuids separated with space is given, it is throwing error.

Signed-off-by: Naga Bhavani Akella mailto:quic_nakella@xxxxxxxxxxx
---
 client/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/main.c b/client/main.c
index 51d08a67a..c8b0f7f1c 100644
--- a/client/main.c
+++ b/client/main.c
@@ -3060,7 +3060,7 @@ static const struct bt_shell_menu gatt_menu = {
                                        "Unregister application service" },
        { "register-includes", "<UUID> [handle]", cmd_register_includes,
                                        "Register as Included service in." },
-       { "unregister-includes", "<Service-UUID><Inc-UUID>",
+       { "unregister-includes", "<Service-UUID> <Inc-UUID>",
                        cmd_unregister_includes,
                                 "Unregister Included service." },
        { "register-characteristic",
--
2.17.1





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux