使用Java代码与GSM调制解调器进行交互 [英] Interacting with GSM modem using Using Java code

查看:147
本文介绍了使用Java代码与GSM调制解调器进行交互的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的查询是:
通过comm端口使用java技术与硬件进行通信,其中外部设备将是GSM调制解调器或其他任何设备.

我正在尝试使用Java代码通过使用串行电缆RS232的comm端口与外部硬件设备(即GSM调制解调器)进行通信.我尝试过了.而且它只检测通讯端口列表...
但无法打开..
我实际上是想打开该通讯端口,我想通过RS232电缆将数据发送到GSM调制解调器...
(我导入了通信所需的javax.comm程序包,RXTX库和dll库)...
谢谢...

My Query is:
communicating with hardware using java technology via comm port where the external device will be GSM modem or any other.

I am trying to communicate with external hardware device (i.e. GSM Modem) using java code through comm port using serial cable RS232. i am tried. and it only detecting the comm port list...
but fails to open..
Am actually trying to open that comm port and i want to send data through RS232 cable to the GSM modem...
(i imported the javax.comm packages, RXTX libraries and dll libraries which are required for communication)...
Thank You...

推荐答案

它如何无法打开"?

只需确定一下-您如何验证GSM设备使用的是通讯端口,以及如何确定使用的是哪个端口?
How does it "fail to open"?

And just to be sure - how did you verify that the GSM device uses a comm port and how did you determine which one it uses?


Hiiiii ....
我正在使用超级终端进行验证....通过超级终端我可以为通信设置适当的通讯端口....我还检测到PC可用的通讯端口...但无法打开...?明白了吗...?
Hiiiii....
am verifying it by using hyper terminal.... through hyper terminal i can set proper comm port for communication.... i also detected the available comm ports for the pc... but unable to open...? got my point...?


这篇关于使用Java代码与GSM调制解调器进行交互的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆