private void receiverViewControl1_AgcReferenceLevelChanged(object sender, Int32EventArg e) { try { this.Cursor = Cursors.WaitCursor; this.OnError((byte)0, "-"); this.device.SetAgcReferenceLevel(e.Value); } catch (Exception ex) { this.OnError((byte)1, ex.Message); } finally { this.Cursor = Cursors.Default; } }
private void packetHandlerView1_PreambleSizeChanged(object sender, Int32EventArg e) { try { this.Cursor = Cursors.WaitCursor; this.OnError((byte)0, "-"); this.device.SetPreambleSize(e.Value); } catch (Exception ex) { this.OnError((byte)1, ex.Message); } finally { this.Cursor = Cursors.Default; } }
private void packetHandlerView1_PreambleSizeChanged(object sender, Int32EventArg e) { try { Cursor = Cursors.WaitCursor; OnError(0, "-"); sx1231.SetPreambleSize(e.Value); } catch (Exception exception) { OnError(1, exception.Message); } finally { Cursor = Cursors.Default; } }
private void receiverViewControl1_AgcRefLevelChanged(object sender, Int32EventArg e) { try { Cursor = Cursors.WaitCursor; OnError(0, "-"); sx1231.SetAgcRefLevel(e.Value); } catch (Exception exception) { OnError(1, exception.Message); } finally { Cursor = Cursors.Default; } }
private void loRaViewControl1_PreambleLengthChanged(object sender, Int32EventArg e) { try { this.Cursor = Cursors.WaitCursor; this.OnError((byte)0, "-"); this.device.SetPreambleLength(e.Value); } catch (Exception ex) { this.OnError((byte)1, ex.Message); } finally { this.Cursor = Cursors.Default; } }