Java which library I should use to receive and send sms via RS232 on Windows and Linux
-
15-04-2021 - |
Pergunta
I want to write application to send sms via COM port. Currently I have Windows, but then this application should works on Linux too. I found javax.comm library here: http://www.oracle.com/technetwork/java/index-jsp-141752.html but I don't know from where I can download jar file ? Then I found RXTX library but I don't if it is good ?
Thanks
Solução
I'd suggest you to use SMSJ. It has several implementations. One is "local": it wraps RXTX library providing higher level well designed API. Others use well-known web services that send SMSs.
Outras dicas
i have used rxtx on a small project on windows. it worked fine. it also claims to work on linux.
http://smslib.org/ is a relatively mature Java sms sending/receiving library that makes use of RxTx and SUN JavaComm.