-2

I receive serial port data in the textbox when i connect the GPS device to the serial port, But when i connect the Aristel rv20 PBX to the same port, the received data from PBX is not shown in the textbox. what would i miss?

4

1 回答 1

0

我找到了解决方案,实际上我没有启用数据终端。所以我在 StartListening() 方法中启用它,如下所示:

_serialPort.DtrEnable = true;

它在串行通信期间启用数据终端就绪 (DTR) 信号。

于 2013-09-13T16:42:42.933 回答