Location:
Search - duplex-talk
Search list
Description: 用java程序从串口读数据
在这个通讯程序中使用了一个简单的协议,既不同的消息之间用星号 * 作为分隔。这个
程序中的问题是ReadSerial进程和WriteSerial进程不能够同时启动,出错信息是不能够
打开串口,因为同样一个串口不能够同时被打开两次(在ReadSerial中声明了FileReader
和在WriteSerial中声明了FileWriter)。这样是不能够实现全双工通讯的。不知道有没有
做过的大侠能够讲讲处理的办法。 -with reading data from the serial port communication procedures in the use of a simple agreement the news is different between the asterisk * used as the separator. This procedure is the problem WriteSerial ReadSerial process and the process can not simultaneously activated error message is not to open the serial port, because the same one serial port can not be opened while two (ReadSerial stated in the FileRe Ader and WriteSerial stated in a job interview). This is not to achieve full-duplex communication. Whether it is not done to talk about the heroes of approach.
Platform: |
Size: 2024 |
Author: 炽 |
Hits:
Description: 编制duplex-talk 程序
Platform: |
Size: 3163346 |
Author: 443700139 |
Hits:
Description: 用java程序从串口读数据
在这个通讯程序中使用了一个简单的协议,既不同的消息之间用星号 * 作为分隔。这个
程序中的问题是ReadSerial进程和WriteSerial进程不能够同时启动,出错信息是不能够
打开串口,因为同样一个串口不能够同时被打开两次(在ReadSerial中声明了FileReader
和在WriteSerial中声明了FileWriter)。这样是不能够实现全双工通讯的。不知道有没有
做过的大侠能够讲讲处理的办法。 -with reading data from the serial port communication procedures in the use of a simple agreement the news is different between the asterisk* used as the separator. This procedure is the problem WriteSerial ReadSerial process and the process can not simultaneously activated error message is not to open the serial port, because the same one serial port can not be opened while two (ReadSerial stated in the FileRe Ader and WriteSerial stated in a job interview). This is not to achieve full-duplex communication. Whether it is not done to talk about the heroes of approach.
Platform: |
Size: 2048 |
Author: 炽 |
Hits:
Description: 实现半双工通信,有客户端和服务器两方之间的通信,是串行的,用VC++实现的,用到WINSOCKET实现通信-Realize half-duplex communication, have client and server of communication between the two parties, is the realization by vc++ serial, the WINSOCKET realize communication, use
Platform: |
Size: 56320 |
Author: 邵研 |
Hits:
Description: 编制duplex-talk 程序,支持client 和server 的双向通信
Platform: |
Size: 3163136 |
Author: 美丽 |
Hits: