badbod99
Posts: 1
Joined: Tue Jun 30, 2009 5:02 pm
Location: United Kingdom

Exception when reading stream Unknown Error1

Tue Jun 30, 2009 5:04 pm

Hi,

I'm getting an exception every time I try to get a stream from the RemoteService object. The exception is:

[ConnectionFailed] Franson.BlueTools.BlueToolsException: Connection failed. Unknown error1
at Franson.BlueTools.Toolkit.PullExceptions(IntPtr obj)
at Franson.BlueTools.ServiceStream..ctor(IntPtr nativeProvider)
at Franson.BlueTools.RemoteService.get_Stream()

This is occuring in your sample applications also (all of them).

I'm running the Widcomm stack (version 5.5.0.6100) with the latest version of your software (trial downloaded from your site. Downloaded yesturday).

Bluetooth functionality is working fine within my other windows applications.

Please can you let me know how to get the exact error information and ideally how to get this resolved.

Thanks

indianajones
Posts: 2
Joined: Sat Jul 04, 2009 9:50 pm
Location: USA

RE: Exception when reading stream Unknown Error1

Sat Jul 04, 2009 9:59 pm

I am seeing the same problem. I'm using WIDCOMM stack 5.5.0.4400. I get connection failed with "unknown error" as well. I'm using the .NET35 C# FindAndConnect sample app on Windows Server 2008. Most of the time, the discovered services are named "unknown", but the connection fails even if they have the correct service name.

And like badbod99, I also have success with these devices if I use the apps that came with the devices.

I'm using the latest BlueTools download.

Return to “BlueTools”