Hi,
I am developing a program to receive data from a device via bluetooth.
But, I have a problem. When the bluetooth connection is lost (eg. when the device is shut down or when the device leaves its bt range), the program can not understand it.
In debug mode; I've realised that the events (comEvCTS, comEvDSR, comEvCd and comEvRing) onMCComm1_OnComm() runs in turn one by one when I switch off the device.
Do you think should I use this situation to control if the connection is lost?