flowControlToString method

String flowControlToString()

return string name of flowcontrol

Implementation

String flowControlToString() {
  switch (_flowControl) {
    case (0):
      return "FLOW_CONTROL_OFF";
    case (1):
      return "FLOW_CONTROL_RTS_CTS";
    case (2):
      return "FLOW_CONTROL_DSR_DTR";
    case (3):
      return "FLOW_CONTROL_XON_XOFF";
    default:
      return "unknown";
  }
}