/// <summary> /// Handler for client receiving a chip debug stop confirm message. /// </summary> /// <param name="chipDebugStopStatus">the operation status</param> private void Client_chipDebugDataStopConfirm(ChipDebugStopStatus chipDebugStopStatus) { if (chipDebugStopStatus == ChipDebugStopStatus.DEBUG_STOP_OK) { this.textBoxInfo.AppendText("chip debug stop: succeeded"); this.textBoxInfo.AppendText(Environment.NewLine); } else if (chipDebugStopStatus == ChipDebugStopStatus.DEBUG_STOP_FAILED_NOT_RUNNING) { this.textBoxInfo.AppendText("chip debug stop: failed, debug mode not running"); this.textBoxInfo.AppendText(Environment.NewLine); } else { this.textBoxInfo.AppendText("chip debug stop: unknown return value"); this.textBoxInfo.AppendText(Environment.NewLine); } }
/// <summary> /// handle chip debug data stop confirm events /// </summary> /// <param name="chipDebugStopStatus">the operation status</param> private void NotifyChipDebugDataStopConfirm(ChipDebugStopStatus chipDebugStopStatus) { if (this.chipDebugDataStopConfirm != null) { this.chipDebugDataStopConfirm(chipDebugStopStatus); } }