Hi SMSLIB users,

I have just used smslib for sending and receiving messages. I use USB
bluetooth to connect Nokia 7210, then I  run SendMessage.java or
ReadMessages.java files and have the following errors:

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.
This software is distributed under the terms of the Apache v2.0
License.
Web Site: http://smslib.org
Version: 3.3.2
0 [Thread-1] WARN org.smslib  - GTW: modem.com1: CPMS detection
failed, proceeding with default storage 'MT'.
java.util.NoSuchElementException
    at java.util.StringTokenizer.nextToken(Unknown Source)
    at org.smslib.modem.athandler.ATHandler.readStorageLocations
(ATHandler.java:438)
    at org.smslib.modem.AModemDriver.connect(AModemDriver.java:164)
    at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:
126)
    at org.smslib.Service$1Starter.run(Service.java:222)
31 [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:179)
    at org.smslib.modem.AModemDriver.connect(AModemDriver.java:173)
    at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:
126)
    at org.smslib.Service$1Starter.run(Service.java:222)
3078 [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:179)
    at org.smslib.modem.AModemDriver.connect(AModemDriver.java:173)
    at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:
126)
    at org.smslib.Service$1Starter.run(Service.java:222)

In compatible GSM Modems/Phones List, there are Nokia 7210.
Nokia: 6070, 6100, 6210, 6310, 6310i, 6230, 6230i, 6681, 8250, 8310,
6610, 6800, 7210, 6810, 7250i, 6103, 6020, 3220, 6822, 5140, 5140i, 30
(terminal). (in http://smslib.org/doc/compatibility/)

I had read some posts in this group about similar problem but I
haven't found the any reponses or solutions to fix this bug. Can
anybody help me?
Thank you very much,
I am looking forward to hearing from you.
Best regards,
JackyHung

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib User Group" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to