查看单个帖子
旧 2010-07-12   #1 (permalink)
ykyuanke
初级会员
 
注册日期: 2010-07-12
帖子: 2
ykyuanke 正向着好的方向发展
问题 请教为何查找硬件端口无响应

笛短信设备端口连接测试...
找到串口: COM1
Trying at 9600... 没有发现设备!
Trying at 19200... 没有发现设备!
Trying at 57600... 没有发现设备!
Trying at 115200... 没有发现设备!
找到串口: COM2
Trying at 9600... 没有发现设备!
Trying at 19200... 没有发现设备!
Trying at 57600... 没有发现设备!
Trying at 115200... 没有发现设备!
找到串口: COM1
Trying at 9600... 没有发现设备!
Trying at 19200... 没有发现设备!
Trying at 57600... 没有发现设备!
Trying at 115200... 没有发现设备!
找到串口: COM2
Trying at 9600... 没有发现设备!
Trying at 19200... 没有发现设备!
Trying at 57600... 没有发现设备!
Trying at 115200... 没有发现设备!
找到串口: COM4
Trying at 9600... 没有发现设备!
Trying at 19200... 没有发现设备!
Trying at 57600... 没有发现设备!
Trying at 115200... 获取设备信息... 发现设备: AT+CGMM MULTIBAND 900E 1800
示例: 通过金笛串口短信猫发送短信.
JindiSMS v3.1 for Java.
JAVA短信开发包,用JAVA控制金笛短信猫收发短信。
网址: http://www.sendsms.cn

版本: 3.1.0-RC1
cn.sendsms.TimeoutException: No response from device.
at cn.sendsms.ModemDriver$CharQueue.get(ModemDriver.java:388)
at cn.sendsms.ModemDriver.getResponse(ModemDriver.java:202)
at cn.sendsms.ATHandler.init(ATHandler.java:58)
at cn.sendsms.ModemDriver.connect(ModemDriver.java:106)
at cn.sendsms.ModemGateway.startGateway(ModemGateway.java:76)
at cn.sendsms.Service.startService(Service.java:114)
at cn.com.ite.fuel.sms.service.SmsSendManageServiceImpl.sendDailyReport(SmsSendManageServiceImpl.java:233)
at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:285)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy1.sendDailyReport(Unknown Source)
at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:248)
at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:165)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:66)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:531)
金笛短信设备端口连接测试...
找到串口: COM1
Trying at 9600... 没有发现设备!
Trying at 19200... 没有发现设备!
Trying at 57600... 没有发现设备!
Trying at 115200... 没有发现设备!
找到串口: COM2
Trying at 9600... 没有发现设备!
Trying at 19200... 没有发现设备!
Trying at 57600... 没有发现设备!
Trying at 115200... 没有发现设备!
找到串口: COM1
Trying at 9600... 没有发现设备!
Trying at 19200... 没有发现设备!
Trying at 57600... 没有发现设备!
Trying at 115200... 没有发现设备!
找到串口: COM2
Trying at 9600... 没有发现设备!
Trying at 19200... 没有发现设备!
Trying at 57600... 没有发现设备!
Trying at 115200... 没有发现设备!
找到串口: COM4
Trying at 9600... 没有发现设备!
Trying at 19200... 没有发现设备!
Trying at 57600... 没有发现设备!
Trying at 115200... 没有发现设备!
金笛短信设备端口连接测试...
找到串口: COM1
Trying at 9600... 没有发现设备!
Trying at 19200... 没有发现设备!
Trying at 57600... 没有发现设备!
Trying at 115200... 没有发现设备!
找到串口: COM2
Trying at 9600... 没有发现设备!
Trying at 19200... 没有发现设备!
Trying at 57600... 没有发现设备!
Trying at 115200... 没有发现设备!
找到串口: COM1
Trying at 9600... 没有发现设备!
Trying at 19200... 没有发现设备!
Trying at 57600... 没有发现设备!
Trying at 115200... 没有发现设备!
找到串口: COM2
Trying at 9600... 没有发现设备!
Trying at 19200... 没有发现设备!
Trying at 57600... 没有发现设备!
Trying at 115200... 没有发现设备!
找到串口: COM4
Trying at 9600... 没有发现设备!
Trying at 19200... 没有发现设备!
Trying at 57600... 没有发现设备!
Trying at 115200... 没有发现设备!
金笛短信设备端口连接测试...
ykyuanke 当前离线   回复时引用此帖