Danke für den Link! Ich habe das Problem nicht lösen können aber ich habe mit den im Link genannten Tools mal versucht ein paar mehr Infos zusammen zu bringen.
sudo hcitool info 21:19:10:12:22:89
Requesting information ...
BD Address: 21:19:10:12:22:89
Device Name: irxon
LMP Version: 2.1 (0x4) LMP Subversion: 0x1735
Manufacturer: Cambridge Silicon Radio (10)
Features page 0: 0xff 0xff 0x8f 0xfe 0x9b 0xff 0x59 0x83
<3-slot packets> <5-slot packets> <encryption> <slot offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<park state> <RSSI> <channel quality> <SCO link> <HV2 packets>
<HV3 packets> <u-law log> <A-law log> <CVSD> <paging scheme>
<power control> <transparent SCO> <broadcast encrypt>
<EDR ACL 2 Mbps> <EDR ACL 3 Mbps> <enhanced iscan>
<interlaced iscan> <interlaced pscan> <inquiry with RSSI>
<extended SCO> <EV4 packets> <EV5 packets> <AFH cap. slave>
<AFH class. slave> <3-slot EDR ACL> <5-slot EDR ACL>
<sniff subrating> <pause encryption> <AFH cap. master>
<AFH class. master> <EDR eSCO 2 Mbps> <EDR eSCO 3 Mbps>
<3-slot EDR eSCO> <extended inquiry> <simple pairing>
<encapsulated PDU> <non-flush flag> <LSTO> <inquiry TX power>
<extended features>
Features page 1: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
bluetoothctl
info 21:19:10:12:22:89
Device 21:19:10:12:22:89 (public)
Name: irxon
Alias: irxon
Class: 0x00001f00
Paired: yes
Trusted: no
Blocked: no
Connected: no
LegacyPairing: yes
UUID: Serial Port (00001101-0000-1000-8000-00805f9b34fb)
RSSI: -43
sdptool spuck leider gar keine infos aus:
sudo sdptool browse 21:19:10:12:22:89
Browsing 21:19:10:12:22:89 ...
Ping scheint stabil:
sudo l2ping 21:19:10:12:22:89
Ping: 21:19:10:12:22:89 from 9C:B6:D0:BD:1D:54 (data size 44) ...
4 bytes from 21:19:10:12:22:89 id 0 time 14.70ms
4 bytes from 21:19:10:12:22:89 id 1 time 41.90ms
4 bytes from 21:19:10:12:22:89 id 2 time 12.76ms
4 bytes from 21:19:10:12:22:89 id 3 time 65.15ms
4 bytes from 21:19:10:12:22:89 id 4 time 34.45ms
4 bytes from 21:19:10:12:22:89 id 5 time 49.78ms
4 bytes from 21:19:10:12:22:89 id 6 time 49.83ms
4 bytes from 21:19:10:12:22:89 id 7 time 42.88ms
4 bytes from 21:19:10:12:22:89 id 8 time 26.78ms
4 bytes from 21:19:10:12:22:89 id 9 time 49.91ms
4 bytes from 21:19:10:12:22:89 id 10 time 43.14ms
4 bytes from 21:19:10:12:22:89 id 11 time 71.47ms
4 bytes from 21:19:10:12:22:89 id 12 time 89.79ms
4 bytes from 21:19:10:12:22:89 id 13 time 48.62ms
4 bytes from 21:19:10:12:22:89 id 14 time 41.37ms
4 bytes from 21:19:10:12:22:89 id 15 time 57.48ms
4 bytes from 21:19:10:12:22:89 id 16 time 41.31ms
4 bytes from 21:19:10:12:22:89 id 17 time 34.85ms
4 bytes from 21:19:10:12:22:89 id 18 time 19.92ms
4 bytes from 21:19:10:12:22:89 id 19 time 43.24ms
4 bytes from 21:19:10:12:22:89 id 20 time 26.77ms
4 bytes from 21:19:10:12:22:89 id 21 time 49.97ms
^C22 sent, 22 received, 0% loss
Ein Versuch per rfcomm die Verbindung herzustellen führt immer zu dem device rfcomm20, dass an die mac 00:00:00:00:00:00 gebunden ist. Allerdings kann ich auch nicht heraus finden, welcher Channel korrekt wäre...
sudo rfcomm bind 21:19:10:12:22:89 15
rfcomm
rfcomm20: 00:00:00:00:00:00 channel 1 clean
Beim Versucht den Serial Port über GUI (blueman) zu connecten kommt folgendes auf dem Terminal:
blueman-applet
blueman-applet version 2.0.8 starting
Stale PID, overwriting
_________
Load (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:60)
['StandardItems', 'SerialManager', 'ShowConnected', 'DBusService', 'KillSwitch', 'TransferService', 'PowerManager', 'PPPSupport', 'ExitItem', 'NMDUNSupport', 'NetUsage', 'DiscvManager', 'GameControllerWakelock', 'Headset', 'NMPANSupport', 'Networking', 'DhcpClient', 'AuthAgent', 'AppIndicator', 'Menu', 'RecentConns', 'StatusIcon']
_________
get_interface_version (/usr/lib/python3/dist-packages/blueman/bluez/BlueZInterface.py:13)
Detected BlueZ 5
/usr/lib/python3/dist-packages/blueman/plugins/applet/AppIndicator.py:8: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
from gi.repository import AppIndicator3 as girAppIndicator
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.StatusIcon.StatusIcon'>
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.Menu.Menu'>
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.StandardItems.StandardItems'>
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.SerialManager.SerialManager'>
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.ShowConnected.ShowConnected'>
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.DBusService.DBusService'>
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.PowerManager.PowerManager'>
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.KillSwitch.KillSwitch'>
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.TransferService.TransferService'>
_________
get_interface_version (/usr/lib/python3/dist-packages/blueman/bluez/obex/Base.py:20)
Detected BlueZ integrated obexd
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
Not loading PPPSupport because it's conflict has higher priority
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.ExitItem.ExitItem'>
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.NMDUNSupport.NMDUNSupport'>
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.DiscvManager.DiscvManager'>
_________
update_menuitems (/usr/lib/python3/dist-packages/blueman/plugins/applet/DiscvManager.py:123)
warning: Adapter is None
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.GameControllerWakelock.GameControllerWakelock'>
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.Headset.Headset'>
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.NMPANSupport.NMPANSupport'>
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.Networking.Networking'>
_________
load_nap_settings (/usr/lib/python3/dist-packages/blueman/plugins/applet/Networking.py:36)
Loading NAP settings
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
Not loading DhcpClient because it's conflict has higher priority
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.AuthAgent.AuthAgent'>
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.AppIndicator.AppIndicator'>
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.RecentConns.RecentConns'>
_________
io_event (/usr/lib/python3/dist-packages/blueman/plugins/applet/KillSwitch.py:71)
killswitch registered 1
_________
io_event (/usr/lib/python3/dist-packages/blueman/plugins/applet/KillSwitch.py:71)
State: True
_________
UpdatePowerState (/usr/lib/python3/dist-packages/blueman/plugins/applet/PowerManager.py:159)
off False
foff False
on True
current state True
new state True
_________
_on_obex_owner_changed (/usr/lib/python3/dist-packages/blueman/plugins/applet/TransferService.py:172)
obex owner changed: :1.95
_________
on_dbus_name_owner_change (/usr/bin/blueman-applet:95)
org.bluez owner changed to :1.5
_________
set_nap (/usr/lib/python3/dist-packages/blueman/plugins/applet/Networking.py:65)
set nap False
_________
register_agent (/usr/lib/python3/dist-packages/blueman/plugins/applet/AuthAgent.py:63)
Registering agent
_________
__init__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:26)
caching initial properties
_________
initialize (/usr/lib/python3/dist-packages/blueman/plugins/applet/RecentConns.py:144)
rebuilding menu
_________
enumerate_connections (/usr/lib/python3/dist-packages/blueman/plugins/applet/ShowConnected.py:53)
Found 1 existing connections
_________
on_register_failed (/usr/lib/python3/dist-packages/blueman/bluez/obex/AgentManager.py:21)
/org/blueman/obex_agent org.bluez.obex.Error.AlreadyExists: Agent already exists
_________
RequestPowerState (/usr/lib/python3/dist-packages/blueman/plugins/applet/PowerManager.py:131)
Requesting True
_________
on_power_state_change_requested (/usr/lib/python3/dist-packages/blueman/plugins/applet/KillSwitch.py:118)
True
_________
UpdatePowerState (/usr/lib/python3/dist-packages/blueman/plugins/applet/PowerManager.py:159)
off False
foff False
on True
current state True
new state True
_________
check (/usr/lib/python3/dist-packages/blueman/plugins/applet/PowerManager.py:119)
callbacks done
_________
set_adapter_state (/usr/lib/python3/dist-packages/blueman/plugins/applet/PowerManager.py:90)
True
/usr/bin/blueman-manager:67: DeprecationWarning: Gtk.Window.get_has_resize_grip is deprecated
if self.window.get_has_resize_grip():
blueman-manager version 2.0.8 starting
Stale PID, overwriting
/usr/bin/blueman-assistant:22: DeprecationWarning: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated.
Instead, use this sequence:
from dbus.mainloop.glib import DBusGMainLoop
DBusGMainLoop(set_as_default=True)
import dbus.glib
/usr/bin/blueman-assistant:80: DeprecationWarning: Gtk.Assistant.set_page_header_image is deprecated
self.assistant.set_page_header_image(pages[PAGE_INTRO], get_icon("blueman", 32))
_________
__init__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:26)
caching initial properties
_________
__del__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:73)
deleting device /org/bluez/hci0/dev_20_18_12_03_17_88
_________
Destroy (/usr/lib/python3/dist-packages/blueman/main/Device.py:95)
invalidating device /org/bluez/hci0/dev_20_18_12_03_17_88
_________
RequestPinCode (/usr/lib/python3/dist-packages/blueman/main/applet/BluezAgent.py:162)
Agent.RequestPinCode
(blueman-applet:3783): Gdk-CRITICAL **: 17:35:18.432: gdk_window_get_origin: assertion 'GDK_IS_WINDOW (window)' failed
_________
__new__ (/usr/lib/python3/dist-packages/blueman/gui/Notification.py:126)
Got bad x 6078009 or y 0 value
[<blueman.services.SerialPort.SerialPort object at 0x7fee87aab9d0>]
/usr/bin/blueman-assistant:273: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
rbs.append(Gtk.RadioButton(service.name))
/usr/bin/blueman-assistant:280: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
rbs.append(Gtk.RadioButton(_("Don't connect")))
_________
__init__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:26)
caching initial properties
_________
__del__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:73)
deleting device /org/bluez/hci0/dev_20_18_12_03_17_88
_________
Destroy (/usr/lib/python3/dist-packages/blueman/main/Device.py:95)
invalidating device /org/bluez/hci0/dev_20_18_12_03_17_88
_________
__init__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:26)
caching initial properties
_________
__del__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:73)
deleting device /org/bluez/hci0/dev_20_18_12_03_17_88
_________
Destroy (/usr/lib/python3/dist-packages/blueman/main/Device.py:95)
invalidating device /org/bluez/hci0/dev_20_18_12_03_17_88
connect
_________
__init__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:26)
caching initial properties
_________
notify (/usr/lib/python3/dist-packages/blueman/plugins/applet/RecentConns.py:239)
<Device.Device object at 0x7fac1b225aa0 (blueman+main+Device+Device at 0x28a5420)> <blueman.services.SerialPort.SerialPort object at 0x7fac20055190> 00001101-0000-1000-8000-00805f9b34fb
_________
__del__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:73)
deleting device /org/bluez/hci0/dev_20_18_12_03_17_88
_________
Destroy (/usr/lib/python3/dist-packages/blueman/main/Device.py:95)
invalidating device /org/bluez/hci0/dev_20_18_12_03_17_88
_________
initialize (/usr/lib/python3/dist-packages/blueman/plugins/applet/RecentConns.py:144)
rebuilding menu
_________
__init__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:26)
caching initial properties
_________
notify (/usr/lib/python3/dist-packages/blueman/plugins/applet/RecentConns.py:239)
<Device.Device object at 0x7fac20061910 (blueman+main+Device+Device at 0x28f5880)> <blueman.services.SerialPort.SerialPort object at 0x7fac20055610> 00001101-0000-1000-8000-00805f9b34fb
_________
__del__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:73)
deleting device /org/bluez/hci0/dev_20_18_12_03_17_88
_________
Destroy (/usr/lib/python3/dist-packages/blueman/main/Device.py:95)
invalidating device /org/bluez/hci0/dev_20_18_12_03_17_88
_________
initialize (/usr/lib/python3/dist-packages/blueman/plugins/applet/RecentConns.py:144)
rebuilding menu