| 注册
首页|期刊导航|电子科技|基于Linux的串口服务器设计与实现

基于Linux的串口服务器设计与实现

王天昊 贺亚龙

电子科技2017,Vol.30Issue(6):105-108,4.
电子科技2017,Vol.30Issue(6):105-108,4.DOI:10.16180/j.cnki.issn1007-7820.2017.06.029

基于Linux的串口服务器设计与实现

Design and Implementation of UART Server Based on Linux

王天昊 1贺亚龙2

作者信息

  • 1. 哈尔滨工程大学 计算机科学与技术学院,黑龙江 哈尔滨 150001
  • 2. 杭州应用声学研究所,浙江 杭州 310023
  • 折叠

摘要

Abstract

A UART server is designed based on Linux to solve the problems about transmission distance and number of host computer's serial ports.The server is in the Client/Server mode and transmits UART data stream by Ethernet.With TCP/IP of embedded Linux and the UART interface convertor, the UART server is used to receive and transmit data in a non-blocking way and check the disconnection with the heartbeat function of keepalive.Simulation and hardware test results indicate that the server can operate stably and mount a number of UART devices.The UART server has been used in the debugging of embedded software, and is capable of adding more types of interface.

关键词

串口服务器/Linux/接口转换/连接中断检测/远程调试

Key words

UART server/Linux/interface convertor/keepalive/remote debugging

分类

信息技术与安全科学

引用本文复制引用

王天昊,贺亚龙..基于Linux的串口服务器设计与实现[J].电子科技,2017,30(6):105-108,4.

电子科技

1007-7820

访问量0
|
下载量0
段落导航相关论文