Open valkjsaaa opened 7 years ago
I have this same issue when using bt-obex. I put some logging into the code and discovered that it was failing to get a proxy to org.bluez.obex. I then realized that when I updated BlueZ from what I had on stock Ubuntu the obex daemon was no longer functioning. I found that obexd is built by bluez, but was not being installed for some reason (maybe its deprecated? It's hard to tell with BlueZ at times). It was still being built, so from my BlueZ src directory (after make), I copied it to /usr/bin. Instructions: $ cd bluez-5.45 // Or whatever directory where you built BlueZ $ mv ./obexd/src/obexd /usr/bin/obexd $ chmod +x /usr/bin/obexd $ obexd &
This allowed bt-obex tool to pass the assertion, so I'm confident that was the issue.
@OP Your comment does not mention what version of BlueZ you are running. Did you also update BlueZ from source?
That said, I still have an issue in bt-obex that I am looking into (transfer fails due to another assertion failure), however the above assertion does not seem to be an issue in the code.
I looked into further issues and they seemed to have been setup related as I am able to use bt-obex without the assertion given in the OP issue.
Try making sure obexd is running (I could not get systemd to load it correctly, so I just make sure obexd is running before trying anything). If that doesn't work, then I'm not sure what the issue could be as it fixed it for me.
Hi,
I have tried to use
bt-network
to create a PAN network. However, I encountered this assertion failure. What might be the problem here?Thanks a lot, Jackie