title: How to use dbus-send to call org.bluez.Adapter1.StartDiscovery?
body: <p>I am trying to interact with Bluez 5.44 using the <a href="https://dbus.freedesktop.org/doc/dbus-send.1.html" rel="nofollow noreferrer"><code>dbus-send</code></a> command line tool. I cannot seem to get it to start discovery properly, although it works fine when I use <code>bluetoothctl</code>'s <code>scan on</code> and <code>scan off</code> commands. I can also start and stop discovery using <code>d-feet</code>. </p>
  
  <p>I've tried powering off and on prior to issuing the command, but it doesn't seem to get discovery started.</p>
  
  <p>The command line I'm using is:</p>
  
  <pre><code>dbus-send --system --type=method_call --print-reply --dest=org.bluez \
      /org/bluez/hci0                                                  \
      org.bluez.Adapter1.StartDiscovery
  </code></pre>
  
  <p>What I usually get upon issuing this command is from <code>dbus-monitor</code> is that the <code>Discovering</code> property is <code>false</code>. </p>
  
  <p>For reference, this is what <code>d-feet</code> shows.</p>
  
  <p><a href="https://i.stack.imgur.com/fv1dy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fv1dy.png" alt=""></a>.</p>
  
  <p>What am I doing wrong with this command?</p>