Linux experts: neard nfc Could not get Bluetooth default adapter Method "DefaultAdapter" why?



  • been try to solve this for a week. If anyone has any clue as to why neard doesn't work it would

    be appreciated.

    bluetooth /dev/hci0 works with bluetoothctl.

    nfcDemoApp works and there is a /dev/pn544

    neard[957]: ../neard-0.16/src/bluetooth.c:bt_connect() connection 0xe3560 with 0x4ab84
    neard[957]: ../neard-0.16/src/bluetooth.c:register_bluez()
    neard[957]: ../neard-0.16/src/bluetooth.c:bt_refresh_adapter_props() 0xe3560 0x4ab84
    neard[957]: ../neard-0.16/src/bluetooth.c:bt_generic_call() DefaultAdapter
    neard[957]: ../neard-0.16/src/bluetooth.c:bt_get_default_adapter_cb()
    bolded textneard[957]: Could not get Bluetooth default adapter Method "DefaultAdapter" with signature "" on interface "org.bluez.Manager" doesn't exist

    my source for bluetooth.c has the defaults

    here is a partial output from dbus-monitor --system when I run bluetoothctl.

    string "type='signal',sender='org.bluez',path_namespace='/org/bluez'"
    [bluetooth]# method return time=1549209068.970159 sender=org.freedesktop.DBus -> destination=:1.10 serial=7 reply_serial=6
    method call time=1549209068.970721 sender=:1.10 -> destination=org.bluez serial=7 path=/; interface=org.freedesktop.DBus.ObjectManager; member=GetManagedObjects
    method return time=1549209068.976106 sender=:1.0 -> destination=:1.10 serial=40 reply_serial=7
    array [
    dict entry(
    object path "/org/bluez"
    array [
    dict entry(
    string "org.freedesktop.DBus.Introspectable"
    array [
    ]
    )
    dict entry(
    string "org.bluez.AgentManager1"
    array [
    ]
    )
    dict entry(
    string "org.bluez.ProfileManager1"
    array [
    ]
    )
    ]
    )
    dict entry(
    object path "/org/bluez/hci0"
    array [
    dict entry(
    string "org.freedesktop.DBus.Introspectable"
    array [
    ]
    )
    dict entry(
    string "org.bluez.Adapter1"
    array [
    dict entry(
    string "Address"
    variant string "3C:A3:08:C3:12:9B"
    )
    dict entry(
    string "AddressType"


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.