Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Linux experts: neard nfc Could not get Bluetooth default adapter Method "DefaultAdapter" why?
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 355 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • WalterWhiteW Offline
    WalterWhiteW Offline
    WalterWhite
    wrote on last edited by WalterWhite
    #1

    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 text****neard[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"

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved