Error 515: Not connected to a Bluetooth device

btw your clock example blocks from the screenshot will not help you to find out, if there still is a connection...

as the bluetooth protocol was designed, there is no way to detect, if a connection still is alive, therefore you have to send regularly (i.e. poll) some data to the device. And if you get an error, then you know, that the connection was lost…

also this


does not make any sense... just set Label1.Text to "Is connected" there

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.