Is it possible to send/recieve Message via GSM Modem in Java?

孤街浪徒 提交于 2019-12-25 02:07:37

问题


Using RXTX library im doing serial communication.I want to do it in swing based application

  1. Write an AT commands to read received SMS in GSM modem
  2. I need to send the messages to mobiles from java application Is there any Java API which send/receive SMS using RxTx libraries.

回答1:


I don't have much knowledge about that ..
just take a look... AT Commands..
and this one..also.. Sending SMS Messages from a Computer Using a Mobile Phone or GSM/GPRS Modem
and SMS using AT commands with your GSM modem
and last one isSend and Read SMS through a GSM Modem using AT Commands




回答2:


There is a Java API called smslib.



来源:https://stackoverflow.com/questions/8178194/is-it-possible-to-send-recieve-message-via-gsm-modem-in-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!