All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Проклов Александр Валерьевич" <ProklovAV@mail.zabtrans.ru>
To: linux-bluetooth@vger.kernel.org
Subject: Problem with StopDiscovery() via dbus-send
Date: Wed, 26 Jul 2017 07:51:30 +0800	[thread overview]
Message-ID: <5977D982.5070808@mail.zabtrans.ru> (raw)

  Hello All,

I'm trying to manage Bluetooth using dbus-send command,

I send command for start discovery:
dbus-send --system --reply-timeout=5000 --type=method_call 
--dest=org.bluez /org/bluez/hci0 org.bluez.Adapter1.StartDiscovery

I see that the scan started, the status is true:
dbus-send --system --print-reply --dest=org.bluez --type=method_call 
/org/bluez/hci0 org.freedesktop.DBus.Properties.Get 
string:org.bluez.Adapter1 string:Discovering

But I can not stop scanning by a command:
dbus-send --system --reply-timeout=5000 --type=method_call 
--dest=org.bluez /org/bluez/hci0 org.bluez.Adapter1.StopDiscovery

"Discovering" status true.

Bluez version 5.45

---------------------
Best regards,
Aleksandr Proklov

             reply	other threads:[~2017-07-25 23:51 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-25 23:51 Проклов Александр Валерьевич [this message]
2017-07-26  8:05 ` Problem with StopDiscovery() via dbus-send Luiz Augusto von Dentz
2017-07-27  0:50   ` Проклов Александр Валерьевич
2017-07-27 11:33     ` Luiz Augusto von Dentz
  -- strict thread matches above, loose matches on Subject: below --
2017-09-15  3:25 Проклов Александр Валерьевич
2017-09-15  6:27 ` Luiz Augusto von Dentz
2017-09-15  8:35   ` Проклов Александр Валерьевич
2017-09-15  8:46     ` Luiz Augusto von Dentz
2017-09-18  2:50       ` Проклов Александр Валерьевич
2017-09-18  6:53         ` Luiz Augusto von Dentz
2017-09-18  8:59           ` Проклов Александр Валерьевич
2017-09-19 23:58           ` Проклов Александр Валерьевич
2017-09-25  1:26           ` Проклов Александр Валерьевич
2018-08-24  1:58 Проклов Александр Валерьевич
2018-08-24  8:19 ` Luiz Augusto von Dentz
2018-08-24 14:36   ` Luiz Augusto von Dentz
2018-08-26 23:58   ` Проклов Александр Валерьевич
2018-08-27  7:24     ` Luiz Augusto von Dentz
2018-08-28  2:41       ` Проклов Александр Валерьевич
2018-09-06  0:43   ` Проклов Александр Валерьевич

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5977D982.5070808@mail.zabtrans.ru \
    --to=proklovav@mail.zabtrans.ru \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.