I want to follow this example of using SMSLib to send an SMS to my mobile using a modem but I cannot find org.smslib.gateway.modem.Modem in the SMSLib (Java - jar file) v3.5.4 that I downloaded.
Where can I download SMSLib.jar that has all the needed files? Please help, thanks.
As this example in the
devbranch referes to a class which exists in thedevbranch. You could clone the repository and build a package from that branch.After that you have the library available in
target/smslib-dev-SNAPSHOT.jarwhich you can use for the example to run.Or you clone the repository and open the maven project in the project root in your IDE. Then you could play with the code in
smslib/src/test/java/org/smslib/Test_IPModem.java. A build in your IDE will do all the dependency related stuff for you.Down voting for a correct answer? The class
o.s.g.m.Modemdoes not exist in versionv.3.5.4.This fact can easily be verified.
Whereas the class exist in the
devsnapshot.