public void CloseConnection() { if (m_gattServer != null) { Log.Trace("Closing connection to GATT Server. state={0:g}", m_gattServer?.State); m_gattServer.Dispose(); } Services.Clear(); IsBusy = false; }
public void CloseConnection() { Log.Trace("Closing connection to GATT Server"); m_device?.Dispose(); Services.Clear(); }