I am developing a bluetooth application in c# to read data from sensors using 32feet.net library. I am able to communicate with sensors and able to read values , send command etc. The Communicating thread will either be waiting in read or writing command to the sensor. I expected that an IOException will be thrown when sensors suddenly powers off. but never got exception.
Need help to figure out What kind of exception will be thrown when the sensors suddenly powers off?