python - Cannot register dbus service using Bluez interface -
i trying sample code here: https://github.com/radiusnetworks/bluez/blob/master/test/example-gatt-server
however, getting following error:
failed register service: org.freedesktop.dbus.error.noreply: did not receive reply. possible causes include: remote application did not send reply, message bus security policy blocked reply, reply timeout expired, or network connection broken i thought maybe dbus policies, went ahead , made them permissive in dbus-1/system.conf:
<policy context="default"> <!-- allow sent --> <allow send_destination="*" eavesdrop="true"/> <!-- allow received --> <allow eavesdrop="true"/> <!-- allow own --> <allow own="*"/> <!-- xxx: allow users connect --> <allow user="*"/> </policy> however, did not resolve issue. have bluetoothd running -e (experimental), , debugged code verify gattmanager1 interface found. seems fine, registerservice fails.
Comments
Post a Comment