Java which library I should use to receive and send sms via RS232 on Windows and Linux

StackOverflow https://stackoverflow.com/questions/8777524

  •  15-04-2021
  •  | 
  •  

Pregunta

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

¿Fue útil?

Solución

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.

Otros consejos

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top