I got a new error just now in testing
; PortCONNECT_ERR=ConnectionTimeout - A connection attempt
failed because the connected party did not properly respond after a period of
time, or established connection failed because connected host has failed to
respond
How does one get the Bluetopia error -
HResult - 0x80004005
at InTheHand.Net.AsyncResultNoResult.EndInvoke()
at InTheHand.Net.AsyncResult`1.EndInvoke()
at
InTheHand.Net.Bluetooth.StonestreetOne.BluetopiaSdpQuery.EndQuery(IAsyncResult
ar)
at InTheHand.Net.Bluetooth.StonestreetOne.BluetopiaClient.EndServiceDiscovery(IAsyncResult
ar)
at
InTheHand.Net.Bluetooth.Factory.BluetoothConnector.DoEndServiceDiscovery(IAsyncResult
ar, BluetoothEndPoint inputEP, AsyncResult`1 arFipToBeSACd)
at InTheHand.Net.Bluetooth.Factory.BluetoothConnector.FillInPort_ServiceDiscoveryCallback(IAsyncResult
ar)
at
InTheHand.Net.AsyncResultNoResult.CallbackRunner(Object state)
at System.Threading.ThreadPool.WorkItem.doWork(Object o)
at System.Threading.Timer.ring()
Debug Output from the latest SVN of the library (connecting
attempted five times in row):
BeginFillInPortState
CancelAllQueryNames: 0 devices.
HandleSDP_Response_Callback2:
ServiceSearchAttributeResponse=0x5
BuildRecordList Number_Service_Records: 1
DoEndServiceDiscovery, got 1 records.
FillInPort_ServiceDiscoveryCallback, got port: 1
CancelAllQueryNames: 0 devices.
EventConnectConf: ConnectionTimeout=0x1
CONNECT_ERR DEBUGID, m_state: New, m_arConnect (set)
HandlePortEvent: connect failed.
A first chance exception of type
'InTheHand.Net.Bluetooth.Widcomm.NoResultCodeWidcommSocketException' occurred
in InTheHand.Net.Personal.dll
A first chance exception of type
'InTheHand.Net.Bluetooth.Widcomm.NoResultCodeWidcommSocketException' occurred
in InTheHand.Net.Personal.dll
BeginFillInPortState
CancelAllQueryNames: 0 devices.
HandleSDP_Response_Callback2: ConnectionError=0x1
SDP error response: ConnectionError
A first chance exception of type
'System.Net.Sockets.SocketException' occurred in InTheHand.Net.Personal.dll
A first chance exception of type
'System.Net.Sockets.SocketException' occurred in InTheHand.Net.Personal.dll
A first chance exception of type
'System.Net.Sockets.SocketException' occurred in InTheHand.Net.Personal.dll
BeginFillInPortState
CancelAllQueryNames: 0 devices.
HandleSDP_Response_Callback2: ConnectionError=0x1
SDP error response: ConnectionError
A first chance exception of type
'System.Net.Sockets.SocketException' occurred in InTheHand.Net.Personal.dll
A first chance exception of type
'System.Net.Sockets.SocketException' occurred in InTheHand.Net.Personal.dll
A first chance exception of type
'System.Net.Sockets.SocketException' occurred in InTheHand.Net.Personal.dll
BeginFillInPortState
CancelAllQueryNames: 0 devices.
HandleSDP_Response_Callback2:
ServiceSearchAttributeResponse=0x5
BuildRecordList Number_Service_Records: 1
DoEndServiceDiscovery, got 1 records.
FillInPort_ServiceDiscoveryCallback, got port: 1
CancelAllQueryNames: 0 devices.
EventConnectConf: ConnectionTimeout=0x1
CONNECT_ERR DEBUGID, m_state: New, m_arConnect (set)
HandlePortEvent: connect failed.
A first chance exception of type
'InTheHand.Net.Bluetooth.Widcomm.NoResultCodeWidcommSocketException' occurred
in InTheHand.Net.Personal.dll
A first chance exception of type
'InTheHand.Net.Bluetooth.Widcomm.NoResultCodeWidcommSocketException' occurred
in InTheHand.Net.Personal.dll
BeginFillInPortState
CancelAllQueryNames: 0 devices.