private void BleCallBack_OnServicesUndiscoveredEvent(object sender, YsBleCallBack.EventModel_SII e) { IsConnected = false; Act_OnLeDeviceConnectChange?.Invoke(BleConnectState.DisConnect); }
private void BleCallBack_OnConnectionErrorEvent(object sender, YsBleCallBack.EventModel_SII e) { IsConnecting = false; IsConnected = false; Act_OnLeDeviceConnectChange?.Invoke(BleConnectState.ConnectionError); }