You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i had the same problem! ensure your are using the right bluez version and that you've activated experimental switch on bluetoothd (read carefully setup instructions in readme file of this repository)!
-> setup instruction is referencing bluez version 5.45!
i'm using 5.41 and got the same error message when starting. after modifing advertising.py, code is running well! i replaced some lines of "get_properties" and "add_*" functions. i took them from tests directory of bluez 5.41 source code (kernel.og). for me it seems that the dbus interface/structures has changed and therefore example codes are very tighten to the correct bluez version.
i'm already playing around since two weeks day and night and now i'm starting to understand dbus ble! very big thanks to dansheme for providing this repo!
Hello:
I like very much your solution is very simple and straightforward, however I was not able to run in raspberry pi.
This is the message on terminaL.
checking adapter /org/bluez/test, keys: [dbus.String(u'org.bluez.SimAccessTest1'), dbus.String(u'org.freedesktop.DBus.Introspectable')]
checking adapter /org/bluez/hci0, keys: [dbus.String(u'org.bluez.SimAccess1'), dbus.String(u'org.bluez.GattManager1'), dbus.String(u'org.bluez.Media1'), dbus.String(u'org.freedesktop.DBus.Introspectable'), dbus.String(u'org.bluez.NetworkServer1'), dbus.String(u'org.bluez.LEAdvertisingManager1'), dbus.String(u'org.bluez.Adapter1'), dbus.String(u'org.freedesktop.DBus.Properties')]
found adapter /org/bluez/hci0
returning adapter /org/bluez/hci0
adapter: /org/bluez/hci0
checking adapter /org/bluez/test, keys: [dbus.String(u'org.bluez.SimAccessTest1'), dbus.String(u'org.freedesktop.DBus.Introspectable')]
checking adapter /org/bluez/hci0, keys: [dbus.String(u'org.bluez.SimAccess1'), dbus.String(u'org.bluez.GattManager1'), dbus.String(u'org.bluez.Media1'), dbus.String(u'org.freedesktop.DBus.Introspectable'), dbus.String(u'org.bluez.NetworkServer1'), dbus.String(u'org.bluez.LEAdvertisingManager1'), dbus.String(u'org.bluez.Adapter1'), dbus.String(u'org.freedesktop.DBus.Properties')]
found adapter /org/bluez/hci0
returning adapter /org/bluez/hci0
Registering GATT application...
Failed to register advertisement: org.bluez.Error.Failed: Failed to parse advertisement.
The text was updated successfully, but these errors were encountered: