henryhui
Posts: 23
Joined: Sat Mar 04, 2006 9:11 am

Connection Failed

Wed Apr 19, 2006 4:34 pm

i use "Find and Discover" to connect my application (i have advertised service already). when i click the device name, noramlly the service discovery will start, but there is a message "ConnectionFailed: Failed to find services on the device due to a connection error"

i would like to ask y it happened and what is the meaning of "connection error"

Jonas
Posts: 2319
Joined: Mon Jan 09, 2006 2:20 pm
Location: Sweden

RE: Connection Failed

Mon Apr 24, 2006 12:24 pm

Does it happen all the time? Or was it just that one time?

That kind of error I would assume is because the Bluetooth stack has crashed or something. If your application locked up for example it is very likely that you didn't dispose of the BlueTools manager for example. That can lead to the kind of behaviour you describe. All you can really do is try to prevent any dead-locks and always dispose of the Manager properly on shutdown. The problem should go away with a simple restart.

Regards,
Jonas
Franson Support

Return to “BlueTools”