luobox / gsmmodem

Automatically exported from code.google.com/p/gsmmodem
1 stars 0 forks source link

超时报错 #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
System.Exception: 短信发送失败:System.TimeoutException: The operation has 
timed out.
   at System.IO.Ports.SerialStream.Read(Byte[] array, Int32 offset, Int32 count, Int32 timeout)
   at System.IO.Ports.SerialStream.Read(Byte[] array, Int32 offset, Int32 count)
   at System.IO.Ports.SerialPort.InternalRead(Char[] buffer, Int32 offset, Int32 count, Int32 timeout, Boolean countMultiByteCharsAsOne)
   at System.IO.Ports.SerialPort.ReadTo(String value)
   at GSMMODEM.MyCom.ReadTo(String value) in D:\project\SMS\gsmmodem\src\GSMMODEM\MyCom.cs:line 201
   at GSMMODEM.GsmModem.SendMsg(String phone, String msg) in D:\project\SMS\gsmmodem\src\GSMMODEM\GsmModem.cs:line 453
   at GSMMODEM.GsmModem.SendMsg(String phone, String msg) in D:\project\SMS\gsmmodem\src\GSMMODEM\GsmModem.cs:line 463

Original issue reported on code.google.com by majun2r...@gmail.com on 22 Oct 2012 at 1:37