
Am 21.12.19 um 07:19 schrieb Graeme Blackman:
I had a play with the Blue Dot library but it simply throws the exception "AttributeError: module 'socket' has no attribute 'AF_BLUETOOTH'", which is not surprising given the earlier comment that AF_BLUETOOTH was removed from Python on openSUSE.
I don't think anything using socket() with AF_BLUETOOTH is advisable. bluez-test package contains /usr/lib64/bluez/test/test-sap-server that does some RFCOMM stuff, it is using python-pybluez (which apparently does not need AF_BLUETOOTH). blueman definitely does setup rfcomm from python, because it somehow does dial-up-networking via bluetooth, and grepping for RFCOMM in its code gives lots of results. If you all collect some example code for achieving differnt things that were previously done using the old binaries, I'd be happy to include that as a README in the SUSE bluez package, (and also submit it upstream). -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org