SerialPortDemo

上传者: atgeretg | 上传时间: 2019-12-21 19:25:56 | 文件大小: 144KB | 文件类型: zip
java串口通信,java调用监听本机的com口,java也能调用驱动硬件,直接和硬件交互。这是一个全面的demo,有调用界面可看,可用于调试工具

文件下载

资源详情

[{"title":"( 39 个子文件 144KB ) SerialPortDemo","children":[{"title":"SerialPortDemo","children":[{"title":"bin","children":[{"title":"com","children":[{"title":"atgeretg","children":[{"title":"serialport","children":[{"title":"exception","children":[{"title":"TooManyListeners.class <span style='color:#111;'> 562B </span>","children":null,"spread":false},{"title":"SerialPortParameterFailure.class <span style='color:#111;'> 598B </span>","children":null,"spread":false},{"title":"SerialPortInputStreamCloseFailure.class <span style='color:#111;'> 618B </span>","children":null,"spread":false},{"title":"SerialPortOutputStreamCloseFailure.class <span style='color:#111;'> 625B </span>","children":null,"spread":false},{"title":"ExceptionWriter.class <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"SendDataToSerialPortFailure.class <span style='color:#111;'> 574B </span>","children":null,"spread":false},{"title":"PortInUse.class <span style='color:#111;'> 538B </span>","children":null,"spread":false},{"title":"NotASerialPort.class <span style='color:#111;'> 571B </span>","children":null,"spread":false},{"title":"NoSuchPort.class <span style='color:#111;'> 571B </span>","children":null,"spread":false},{"title":"ReadDataFromSerialPortFailure.class <span style='color:#111;'> 583B </span>","children":null,"spread":false}],"spread":true},{"title":"manage","children":[{"title":"SerialPortManager.class <span style='color:#111;'> 4.89KB </span>","children":null,"spread":false}],"spread":true},{"title":"ui","children":[{"title":"MainFrame.class <span style='color:#111;'> 10.22KB </span>","children":null,"spread":false},{"title":"MainFrame$SerialListener.class <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"MainFrame$2.class <span style='color:#111;'> 591B </span>","children":null,"spread":false},{"title":"MainFrame$1.class <span style='color:#111;'> 925B </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"DialogShowUtils.class <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"MyUtils.class <span style='color:#111;'> 8.21KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 85B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 617B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"atgeretg","children":[{"title":"serialport","children":[{"title":"exception","children":[{"title":"NotASerialPort.java <span style='color:#111;'> 298B </span>","children":null,"spread":false},{"title":"SerialPortOutputStreamCloseFailure.java <span style='color:#111;'> 332B </span>","children":null,"spread":false},{"title":"SerialPortInputStreamCloseFailure.java <span style='color:#111;'> 326B </span>","children":null,"spread":false},{"title":"PortInUse.java <span style='color:#111;'> 270B </span>","children":null,"spread":false},{"title":"ExceptionWriter.java <span style='color:#111;'> 991B </span>","children":null,"spread":false},{"title":"ReadDataFromSerialPortFailure.java <span style='color:#111;'> 295B </span>","children":null,"spread":false},{"title":"SerialPortParameterFailure.java <span style='color:#111;'> 313B </span>","children":null,"spread":false},{"title":"NoSuchPort.java <span style='color:#111;'> 302B </span>","children":null,"spread":false},{"title":"TooManyListeners.java <span style='color:#111;'> 287B </span>","children":null,"spread":false},{"title":"SendDataToSerialPortFailure.java <span style='color:#111;'> 288B </span>","children":null,"spread":false}],"spread":true},{"title":"manage","children":[{"title":"SerialPortManager.java <span style='color:#111;'> 5.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"ui","children":[{"title":"MainFrame.java <span style='color:#111;'> 10.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"MyUtils.java <span style='color:#111;'> 12.70KB </span>","children":null,"spread":false},{"title":"DialogShowUtils.java <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 373B </span>","children":null,"spread":false},{"title":".fatjar <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 404B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"AbsoluteLayout.jar <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"RXTXcomm.jar <span style='color:#111;'> 59.55KB </span>","children":null,"spread":false},{"title":"swing-layout-1.0.3.jar <span style='color:#111;'> 115.33KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • flying_miku :
    挺好用,我可以正常使用
    2021-03-13
  • *罒▽罒*www :
    大佬,能简单说一下rxtxSerial.dll和rxtxParallel.dll要怎么加入项目么?
    2020-10-27
  • MOLO_ARK :
    Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library
    2020-08-17
  • dudumali :
    谢谢,对我帮助较大
    2020-05-10
  • 觅糖旅人 :
    楼主,用你这个程序应该可以监听到串口并获取串口中传来得报文信息吧
    2019-11-08

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明