Hey Thanasis would please tell me what these errors are meant for?? D:\smslib-v3.3.0-bin\dist\classes>java examples.modem.SendMessage Example: Send message from a serial gsm modem. SMSLib: A Java API library for sending and receiving SMS via a GSM modem or other supported gateways. Web Site: http://smslib.org This software is distributed under the terms of the Apache v2.0 License. Version: 3.3.0 0 [Thread-1] WARN org.smslib - GTW: modem.com1: Storage locations could *not* b e retrieved, will proceed with defaults. java.util.NoSuchElementException at java.util.StringTokenizer.nextToken(StringTokenizer.java: 332) at org.smslib.modem.athandler.ATHandler.readStorageLocations(ATHandler.j ava:449) at org.smslib.modem.AModemDriver.connect(AModemDriver.java: 154) at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:108) at org.smslib.Service$1Starter.run(Service.java:226) 32 [Thread-1] WARN org.smslib - GTW: modem.com1: Retrying the detection of CNMI , modem busy? java.lang.IllegalArgumentException: Missing parameters at org.smslib.modem.CNMIDetector.detect(CNMIDetector.java:159) at org.smslib.modem.CNMIDetector.<init>(CNMIDetector.java:74) at org.smslib.modem.athandler.ATHandler.setIndications(ATHandler.java:18
I tried to excute the sample SendMessageprogramm from the examples/ modem For u r information am Using Nokia 6300 connected to COM PORT 4 via a USB cable. On Oct 3, 3:12 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I tried Thanasis but it isnt working either.... > even it is showing the same errors > > On Oct 3, 1:47 pm, Thanasis <[EMAIL PROTECTED]> wrote: > > > > > The -Dsmsserver.configfile take a path! > > So use something like: -Dsmsserver.configfile=org\smslib\smsserver > > \SMSServer\SMSServer.conf or similar. > > > On Oct 3, 11:44 am, suave <[EMAIL PROTECTED]> wrote: > > > > Sorry we are using Nokia 6300 > > > > On Oct 3, 1:42 pm, suave <[EMAIL PROTECTED]> wrote: > > > > > Thanks for the reply Thanasis, > > > > > see when am trying to set the path for Configuration file it shows the > > > > following errors > > > > > D:\smslib-v3.3.0-bin>java -classpath smslib-v3.30-bin.jar;.- > > > > Dsmsserver.configfil > > > > e=SMSServer.conf org.smslib.smsserver.SMSServer > > > > 31 [main] ERROR org.smslib - SMSServer Error: > > > > org.smslib.SMSLibException: Cannot find SMSServer configuration file! > > > > at > > > > org.smslib.smsserver.SMSServer.loadConfiguration(SMSServer.java:132) > > > > at org.smslib.smsserver.SMSServer.run(SMSServer.java:314) > > > > at org.smslib.smsserver.SMSServer.main(SMSServer.java:473) > > > > > org.smslib.SMSLibException: Cannot find SMSServer configuration > > > > file!.. > > > > but how I have my conf placed in smslib.smserver > > > > > do i need to chnage any other settings please let me know... > > > > > Thanks & regards. > > > > Lakas.csg > > > > > On Oct 3, 1:26 pm, Thanasis <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > What phone are you using? > > > > > > Yes, you can use USB as long as it is mapped to a virtual COM port. If > > > > > you are sure that this port is COM4, try to use COM4 in the examples > > > > > to see if it works. > > > > > > On Oct 3, 8:38 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > > > > Hii Group... > > > > > > > Am new to SMSLib.... > > > > > > > Want to check a sample application to send and recieve messages > > > > > > from > > > > > > Pc to Mobile > > > > > > > found SMSLib ... > > > > > > > I followed the instructions and placed all the files lib/ext > > > > > > > thereafter i builed it using ant all command the build was > > > > > > successful > > > > > > but when am trying to send message using the given examples > > > > > > its not working... > > > > > > > pleas reply me for the following queries... > > > > > > > 1.When I tried CommTest from misc.Commtest.. it is strucking at a > > > > > > particular ComPort(3) > > > > > > it reads com Port 1 with ease..I connected my Mobile to the USB port > > > > > > at COM Port 4... > > > > > > Why it is strucking @ Port3?? > > > > > > > 2.Can i use USB Port to Communicate ? > > > > > > > Please help me out .. > > > > > > > Thanks & regards. > > > > > > Lakas.csg- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/SMSLib?hl=en -~----------~----~----~----~------~----~------~--~---
