@eugenejasper968 add an if condition like this
if BluetoothClient.IsConnected then Send1ByteNumber...
Taifun