ObexFTP killing the Local SDP server
Hi,
I have a blueZ [version 3.35, wrongly claimed as 3.36] hcid daemon running on a machine, and I have put on it an ObexFTP daemon application [openobex + obexftp] which is statically linked with [bluez-libs-3.36].
The problem I face is, when I start obexftpd it says cannot register with SDP server, register to SDP Server failed, and comes out & then waits for a connecttion.
When I looked into it, it was failing in the function "sdp_connect_local" in bluez-libs/src/sdp.c & it also caused the SDP server to kill, So I cannot even do an sdptool browse local after this. [I checked sdptool browse local before running obexftpd & it is fine...]
Is it a problem with permissions given to unix domain sockets on platform ? Or something to do with the version mis-match ? Or something totally different ?
regards,
Pavan
--
"KLUB MJ Hunt, Search for India's First Movie Jockey" For more details log on to http://www.zeecinema.com
Marcel Holtmann
maintainerHi Pavan,
Quoted 9 lines
I have a blueZ [version 3.35, wrongly claimed as 3.36] hcid daemon running on a machine, and I have put on it an ObexFTP daemon application [openobex + obexftp] which is statically linked with [bluez-libs-3.36].
The problem I face is, when I start obexftpd it says cannot register with SDP server, register to SDP Server failed, and comes out & then waits for a connecttion.
When I looked into it, it was failing in the function "
sdp_connect_local" inbluez-libs/src/sdp.c& it also caused the SDP server to kill, So I cannot even do an sdptool browse local after this. [I checked sdptool browse local before running obexftpd & it is fine...]Is it a problem with permissions given to unix domain sockets on platform ? Or something to do with the version mis-match ? Or something totally different ?
I don't know. Your system seems to be screwed up. Why don't you start using something more recent like 4.22.
Regards
Marcel
Quoted 7 lines · Marcel Holtmann
Hi Pavan,
Quoted 5 lines
I have a blueZ [version 3.35, wrongly claimed as 3.36] hcid daemon running on a machine, and I have put on it an ObexFTP daemon application [openobex + obexftp] which is statically linked with [bluez-libs-3.36].
The problem I face is, when I start obexftpd it says cannot register with SDP server, register to SDP Server failed, and comes out & then waits for a connecttion.
Quoted 7 lines
Quoted 4 lines
When I looked into it, it was failing in the function "
sdp_connect_local" inbluez-libs/src/sdp.c& it also caused the SDP server to kill, So I cannot even do an sdptool browse local after this. [I checked sdptool browse local before running obexftpd & it is fine...]Is it a problem with permissions given to unix domain sockets on platform ? Or something to do with the version mis-match ? Or something totally different ?
I don't know. Your system seems to be screwed up. Why don't you start using something more recent like 4.22.
If you are on Fedora, there was an security update of dbus a couple of days ago that screwed up bluetooth (and a couple of other things) for most users. Maybe that is the problem.
http://forums.fedoraforum.org/showthread.php?t=207069
Signature · 2 lines
Cheers Per Thomas