-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file descriptorsto a client that doesn't support #42
Comments
I tried 3.0.2-snapshot and realy I can exportObject with Filedescriptor. But bluetoothd Still write same log error. Maybee same connect flags? |
I need more information, otherwise I'm unable to help. |
I try create rfcomm connection from raspberry(bluez) to remote speaker. This must be solved by connect profile and handle socket FileDescriptor's Profile1.NewConnection. here is my code.
my version of bluez is 5.43 here is log: 08:15:14.390 [main] DEBUG o.f.dbus.connections.Transport - Connecting to UNIX: {path=/var/run/dbus/system_bus_socket} 08:15:14.645 [DBus Sender Thread-1] DEBUG org.freedesktop.dbus.MessageWriter - <= MethodCall(0,1) { Path=>/org/freedesktop/DBus, Interface=>org.freedesktop.DBus, Member=>Hello, Destination=>org.freedesktop.DBus } { } 08:15:14.684 [DBus Sender Thread-1] DEBUG org.freedesktop.dbus.MessageWriter - <= MethodCall(0,3) { Path=>/org/bluez, Interface=>org.bluez.ProfileManager1, Member=>RegisterProfile, Destination=>org.bluez, Signature=>osa{sv} } { /, 00001101-0000-1000-8000-00805F9B34FB, {} } 08:15:14.706 [DBus Sender Thread-1] DEBUG org.freedesktop.dbus.MessageWriter - <= MethodCall(0,4) { Path=>/org/bluez/hci0/dev_28_11_A5_8E_CC_13, Interface=>org.bluez.Device1, Member=>ConnectProfile, Destination=>org.bluez, Signature=>s } { 00001101-0000-1000-8000-00805F9B34FB } |
I can't see any issue in the log you've posted. Also I'm unable to reproduce the problem, as I don't have a bluetooth device which accepts the usage of the serial port profile. Syslog reports: Anyways, I found a small bug in bluez-dbus where |
Issue is only in syslog: "bluetoothd[306]: Serial Port replied with an error: org.freedesktop.DBus.Error.NotSupported, Tried to send message with Unix file descriptorsto a client that doesn't support that." You can try this https://play.google.com/store/apps/details?id=at.rtcmanager&hl=en_US for create rfcomm server Bug in bluez-dbus I know, I replaced Object by Filedescriptor. In syslog i see then bluetoothd tried fire NewConnection handler but it couse error and NewConnection desn't call. |
Nope, this is not reproducible this way.. I still get 'Already in use' error, even when running this strange app. |
Issue si only in syslog. Bug in profile1.java I know. I Replaced object |
Important part filedescriptor is not implement. You can't handle many actions, for example org.bluez.Profile1.NewConnection
/var/log/syslog
bluetoothd[306]: Serial Port replied with an error: org.freedesktop.DBus.Error.NotSupported, Tried to send message with Unix file descriptorsto a client that doesn't support that.
The text was updated successfully, but these errors were encountered: