Start-up, console/debug logging:
[Error 11:14:14.598] [UiaDbusBridge.RaiseAutomationEvent] Inconsistent provider -> wrapper mapping state [Error 11:14:14.696] [UiaDbusBridge.RaiseAutomationEvent] Inconsistent provider -> wrapper mapping state Exception creating factory 'InTheHand.Net.Bluetooth.SocketsBluetoothFactory, ex: System.DllNotFoundException: Irprops.cpl at (wrapper managed-to-native) InTheHand.Net.Bluetooth.Msft.NativeMethods:BluetoothFindFirstRadio (InTheHand.Net.Bluetooth.BLUETOOTH_FIND_RADIO_PARAMS&,intptr&) at InTheHand.Net.Bluetooth.Msft.WindowsBluetoothRadio.get_AllRadios () [0x00000] in <filename unknown>:0 at InTheHand.Net.Bluetooth.Msft.WindowsBluetoothRadio.get_IsPlatformSupported () [0x00000] in <filename unknown>:0 at InTheHand.Net.Bluetooth.SocketsBluetoothFactory..ctor () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod*,object,object[],System.Exception&) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00119] in /usr/src/packages/BUILD/mono-2.8/mcs/class/corlib/System.Reflection/MonoMethod.cs:523 BluezFactory platform: Unix = 0x00000004 got Manager Dbus loop running DefaultAdapter : ObjectPath got Adapter Now Registered2 InitRadios idPrimary: 0, dd: 14 Radio SUCCESS, addr: 001583B41BFA got Manager got Adapter got addrStr: 00:15:83:B4:1B:FA got Manager got Adapter got addrStr: 00:15:83:B4:1B:FA InitRadios curDd: 15 Radio SUCCESS, addr: 001583B41BFA got Manager got Adapter got addrStr: 00:15:83:B4:1B:FA got Manager got Adapter got addrStr: 00:15:83:B4:1B:FA Id: 0, DD: 16 Radio SUCCESS, addr: 001583B41BFA got Manager got Adapter got addrStr: 00:15:83:B4:1B:FA got Manager got Adapter got addrStr: 00:15:83:B4:1B:FA Done BluezFactory init.
Get All Radios (one present):
---- GetAllRadios ---- 1) Radio, address: 00:15:83:B4:1B:FA Mode: Discoverable Name: linux-0 HCI Version: v2_0wEdr, Revision: 1958 LMP Version: v2_0wEdr, Subversion: 1958 ClassOfDevice: 4A0100, device: Computer / service: Network, Capturing, Telephony Software: BlueZXxxx, Hardware: CambridgeSiliconRadio, status: Running Remote: ''
Logging:
got Manager got Adapter got addrStr: 00:15:83:B4:1B:FA got Manager got Adapter got addrStr: 00:15:83:B4:1B:FA
Get DeviceInfo (i.e. new BluetoothDeviceInfo(BluetoothAddress.Parse(…)):
---- GetDeviceInfo ---- * FREDPC1w Address: 000A3A686599 Remembered: False, Authenticated: False, Connected: False LastSeen: 01/01/0001 00:00:00 (Unspecified), LastUsed: 01/01/0001 00:00:00 (Unspecified) CoD: (0x000000) Device: Miscellaneous (0x00) / Miscellaneous (0x0000) Service: None (0x00) Rssi: failed
Logging:
got Manager DefaultAdapter : ObjectPath got Adapter gonna FindDevice GetDevice_ error: org.bluez.Error.DoesNotExist: Device does not exist No dbus device properties. _name is null hci_read_remote_name ret: 0.
Get DeviceInfo to non-existent device:
---- GetDeviceInfo ---- * 00:22:33:44:55:66 Address: 002233445566 Remembered: False, Authenticated: False, Connected: False LastSeen: 01/01/0001 00:00:00 (Unspecified), LastUsed: 01/01/0001 00:00:00 (Unspecified) CoD: (0x000000) Device: Miscellaneous (0x00) / Miscellaneous (0x0000) Service: None (0x00) Rssi: failed
Logging:
got Manager DefaultAdapter : ObjectPath got Adapter gonna FindDevice GetDevice_ error: org.bluez.Error.DoesNotExist: Device does not exist No dbus device properties. _name is null hci_read_remote_name ret: -1.
Set Radio Mode; Success. Logging:
got Adapter DONE SetAdapterMode.
BDI.GetServiceRecords; Success. Logging:
got Manager DefaultAdapter : ObjectPath got Adapter gonna FindDevice GetDevice_ error: org.bluez.Error.DoesNotExist: Device does not exist No dbus device properties. Gonna sdp_connect (SafeHandle)... xAdapter_PropertyChanged name: Devices, newValue: NDesk.DBus.ObjectPath[] rfcommOnly: False sdp_service_search_attr_req in: -1267215624, attrid_list: -1267271928 sdp_service_search_attr_req ret: 0, result: -1267467016 attr count: 8 record count: 1 xAdapter_PropertyChanged name: Devices, newValue: NDesk.DBus.ObjectPath[]
BluetoothClient fails!
---- NewBtCli ---- Swallowed Exception: System.PlatformNotSupportedException: 32feet.NET does not support the Bluetooth stack on this device. ---> System.Net.Sockets.SocketException: An address incompatible with the requested protocol was used at System.Net.Sockets.Socket..ctor (AddressFamily family, SocketType type, ProtocolType proto) [0x0005e] in /usr/src/packages/BUILD/mono-2.8/mcs/class/System/System.Net.Sockets/Socket_2_1.cs:212 at InTheHand.Net.Bluetooth.Msft.SocketBluetoothClient.CreateSocket () [0x00000] in :0 at InTheHand.Net.Bluetooth.Msft.SocketBluetoothClient..ctor (InTheHand.Net.Bluetooth.Factory.BluetoothFactory fcty) [0x00000] in :0 --- End of inner exception stack trace --- at InTheHand.Net.Bluetooth.Msft.SocketBluetoothClient..ctor (InTheHand.Net.Bluetooth.Factory.BluetoothFactory fcty) [0x00000] in :0 at InTheHand.Net.Bluetooth.BlueZ.BluezClient..ctor (InTheHand.Net.Bluetooth.BlueZ.BluezFactory fcty) [0x00000] in :0 at InTheHand.Net.Bluetooth.BlueZ.BluezFactory.GetBluetoothClient () [0x00000] in :0 at InTheHand.Net.Bluetooth.Factory.BluetoothFactory.DoGetBluetoothClient () [0x00000] in :0 at InTheHand.Net.Sockets.BluetoothClient..ctor (InTheHand.Net.Bluetooth.Factory.BluetoothFactory factory) [0x00000] in :0 at InTheHand.Net.Sockets.BluetoothClient..ctor () [0x00000] in :0 at ConsoleMenuTesting.BluetoothTesting.Create_BluetoothClient () [0x00000] in :0 at ConsoleMenuTesting.BluetoothTesting.NewBtCli () [0x00000] in :0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod*,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /usr/src/packages/BUILD/mono-2.8/mcs/class/corlib/System.Reflection/MonoMethod.cs:223
xx