32feet bluetooth c# which exception thrown when connected device switch off? -


I am developing a Bluetooth application in C # to read data from the sensor using the 32feet.net library. I am able to communicate with the sensor and I am able to read the values, I will send the command. The communication thread will either wait for the sensor to read or write. I expected that IOException would be thrown when a sensor suddenly stopped. But the exception was never found.

Need help finding out what kind of exception would be thrown out when the sensor suddenly stops?

should be an exception: after 20 seconds and next IO operation you do after that Waiting till that time? Or is your return call returning to zero? See # 2 on

In my testing with Bluetooth it seems to feel that there is another tool for taking about twenty seconds for a device Gone - though it may be configurable. It is called "link supervision timeout" in Bluetooth so you have to wait for that long system to know that the connection is lost, and after that you will know on your next IO operation that you Reads when any data is being received for example, it will block it until the connection fails, or is closed (or some data has been received).

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -