I have discovered, when I power off my BT device, Write method on wclClient hangs forever - no timeout period.
My application uses wclVirtualPort to open a serial port to a BT device using the SerialPortClass. When opened, it uses a
wclClient to connect to the device using trSerial as transport. That works well and connection is fine.
When I then try to shutdown the BT device, the Write function just hangs on the wclClient object and never returns.
I'm using the wcl library inside a System.Windows.Threading.Dispatcher and every action is invoked on the Dispatcher thread - works also well.
So the question is, why does the Write method hang ? Are there any real long timeout or ??
BR,
Erling