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;
 }
Esempio n. 2
0
 public void CloseConnection()
 {
     Log.Trace("Closing connection to GATT Server");
     m_device?.Dispose();
     Services.Clear();
 }