之间的串行PPP连接我需要建立在一个串行端口的嵌入式设备之间运行Windows CE 6的PPP连接并运行Windows 7创建一个Windows CE 6设备和Windows 7
我有一台PC根据这个在Windows 7上配置拨号调制解调器:https://stackoverflow.com/a/7085259/512910
我在CE设备上使用了一个终端应用程序来确认尝试连接发送字符串“客户端”。
我也在CE设备上创建了一个直接连接接口,并使用终端应用程序来确认尝试连接也会将字符串“CLIENT”发送到Windows 7机器。
不幸的是,双方都没有回应,我不确定问题出在哪里。
我在这里错过了什么?有没有办法让任何一方倾听传入的连接?
--------------------------------编辑1/12/12 ------- ---------------------------
我需要在Windows 7端添加传入连接。但是,连接似乎不工作,并在90秒后超时。
这是我的调制解调器日志。
01-09-2012 19:06:29.542 - Recv: CLIENT
01-09-2012 19:06:29.542 - Interpreted response: Ring
01-09-2012 19:06:29.542 - TSP Completing Async Operation(0x00010227) Status 0x00000000
01-09-2012 19:06:29.542 - TSP(0000): LINEEVENT: LINEDEVSTATE_RINGING(0x1)
01-09-2012 19:06:29.542 - TSP(0000): Answering Call
01-09-2012 19:06:29.542 - Answering the call.
01-09-2012 19:06:29.557 - Send: CLIENTSERVER
01-09-2012 19:06:29.557 - Connection established at 115200bps.
01-09-2012 19:06:29.557 - Error-control off or unknown.
01-09-2012 19:06:29.557 - Data compression off or unknown.
01-09-2012 19:06:29.557 - TSP Completing Async Operation(0x0001029e) Status 0x00000000
01-09-2012 19:06:29.557 - TSP(0000): LINEEVENT: LINECALLSTATE_CONNECTED
01-09-2012 19:06:59.572 - Read: Total: 388, Per/Sec: 12, Written: Total: 12, Per/Sec: 0
01-09-2012 19:08:30.208 - TSP(0000): Dropping Call
01-09-2012 19:08:30.208 - Hanging up the modem.
01-09-2012 19:08:30.208 - Hardware hangup by lowering DTR.
01-09-2012 19:08:30.208 - 115200,8,N,1, ctsfl=1, rtsctl=2
01-09-2012 19:08:30.208 - Initializing modem.
01-09-2012 19:08:30.208 - Waiting for a call.
01-09-2012 19:08:30.208 - TSP(0000): LINEEVENT: LINECALLSTATE_DISCONNECTED(0x1)
01-09-2012 19:08:30.208 - TSP(0000): LINEEVENT: LINECALLSTATE_IDLE
01-09-2012 19:08:30.208 - TSP Completing Async Operation(0x0001027c) Status 0x00000000
01-09-2012 19:08:30.208 - TSP(0000): Dropping Call
01-09-2012 19:08:30.208 - TSP Completing Async Operation(0x000101e3) Status 0x00000000
01-09-2012 19:08:30.208 - TSP(0000): Closing Call
感谢您的回复。我确实需要使用不同的电缆,因为我没有DTR/DSR和CTS/RTS。不幸的是,它仍然无法正常工作。 – Wasyl 2012-01-09 17:05:45