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

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

  •  15-04-2021
  •  | 
  •  

문제

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

도움이 되었습니까?

해결책

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.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top