取得com端口的id-->端口的引用,一定要在得到SerialPort以后添加事件的觸發條件.
          ???例如:
          ? port.notifyOnDataAvailable(true);
          ??port.notifyOnBreakInterrupt(true);
          ??port.notifyOnCarrierDetect(true);
          ??port.notifyOnCTS(true);
          ??port.notifyOnDataAvailable(true);
          ??port.notifyOnDSR(true);
          ??port.notifyOnFramingError(true);
          ??port.notifyOnOutputEmpty(true);
          ??port.notifyOnOverrunError(true);
          ??port.notifyOnParityError(true);
          ??port.notifyOnRingIndicator(true);
          posted on 2007-01-24 10:41 yt 閱讀(414) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          統計

          主站蜘蛛池模板: 亚东县| 高清| 开封市| 屏边| 福建省| 贵州省| 舞钢市| 延安市| 新巴尔虎左旗| 内黄县| 湟中县| 咸阳市| 鄂伦春自治旗| 哈巴河县| 太仆寺旗| 辽宁省| 黑山县| 乌什县| 冀州市| 陵川县| 呈贡县| 尼玛县| 河池市| 临猗县| 台江县| 塔河县| 黄龙县| 福鼎市| 大埔区| 江西省| 云龙县| 成武县| 琼结县| 五台县| 肥西县| 汶上县| 革吉县| 元谋县| 文安县| 九龙城区| 富阳市|