need help with bluez pairing/connecting device

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

 



I am writing some new software that talks to bluez-4.96.

I have some how gotten a device into a weird state. When I make
a dbus call to org.bluez.Adapter.GetProperties
I see my target device in the list:

       dict entry(
         string "Devices"
         variant             array [
               object path "/org/bluez/8090/hci0/dev_00_22_48_85_50_1D"
            ]
      )


When a device is listed here - what does it mean? I am guessing that
at this point the pairing process is over. Or does it mean something else?

However the device is not yet connected. So I next try to connect:

dbus-send --system --type=method_call --print-reply --dest=org.bluez
/org/bluez/8090/hci0/dev_00_22_48_85_50_1D org.bluez.Input.Connect

This fails with a cryptic:

Error org.bluez.Error.Failed: Host is down (112)

Any help is appreciated.
-Ram
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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