private void RefreshDeviceList()
    {
#pragma warning disable CS0162
        if (isLogging)
        {
            Debug.Log(TAG + "RefreshDeviceList");
        }
#pragma warning restore CS0162
        isIgnoringScanReport = true;

        MovesenseDevice.RemoveAllExcept(refresherList);

        if (Event != null)
        {
            Event(null, new EventArgs(EventType.REFRESH, TAG + "RefreshDeviceList", null));
        }

        StopRefreshDeviceList();

        isIgnoringScanReport = false;
    }