private void tsmiReadValues_Click(object sender, EventArgs e) { if (GetActiveDeviceFormCallback() == null || tvPorts == null) return; SendGattDiscoverCmds(tvPorts.SelectedNode, TxDataOut.CmdTypes.DiscUuidAndValues); }