Hi,

I am using GSM Modem when i am trying to run SendMessage.java i am
getting the following error.Any one give some suggestions or

Give a code that runs exactly.zip it and send to mail mailid.

Thank you

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.4.2
Jul 25, 2009 12:00:22 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: 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
Jul 25, 2009 12:00:22 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: Version: 3.4.2
Jul 25, 2009 12:00:22 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: JRE Version: 1.6.0_14
Jul 25, 2009 12:00:22 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: JRE Impl Version: 14.0-b16
Jul 25, 2009 12:00:22 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: O/S: Windows XP / x86 / 5.1
Jul 25, 2009 12:00:22 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: GTW: modem.com1: Starting gateway, using Generic AT Handler.
Jul 25, 2009 12:00:22 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: GTW: modem.com1: Opening: COM1 @9600
Jul 25, 2009 12:00:29 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: GTW: modem.com1: GSM: Registered to home network.
Jul 25, 2009 12:00:29 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: GTW: modem.com1: MEM: Storage Locations Found: SM
Jul 25, 2009 12:00:29 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: CNMI: No best match, returning: 1
Jul 25, 2009 12:00:29 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: GTW: modem.com1: Gateway started.

Modem Information:
  Manufacturer: ZTE Mobile Ltd
  Model: GSM/GPRS Mobile Station
  Serial No: 354952011000134
  SIM IMSI: ** MASKED **
  Signal Level: 93%
  Battery Level: 50%

Jul 25, 2009 12:01:00 PM org.slf4j.impl.JCLLoggerAdapter warn
WARNING: GTW: modem.com1: CMS Error 515: Retrying...
Jul 25, 2009 12:01:32 PM org.slf4j.impl.JCLLoggerAdapter warn
WARNING: GTW: modem.com1: CMS Error 515: Retrying...
Jul 25, 2009 12:02:04 PM org.slf4j.impl.JCLLoggerAdapter error
SEVERE: GTW: modem.com1: CMS Error 515: Quit retrying, message lost...
===============================================================================
<< OutboundMessage >>
-------------------------------------------------------------------------------
 Gateway Id: modem.com1
 Encoding: 7-bit
 Date: Sat Jul 25 12:00:30 IST 2009
 SMSC Ref No: null
 Recipient: +9989718359
 Dispatch Date: null
 Message Status: FAILED
 Validity Period (Hours): -1
 Status Report: false
 Source / Destination Ports: -1 / -1
 Flash SMS: false
 Text: Hello from SMSLib!
 PDU data: C8329BFD0699E5EF3668DA9C32D3E210
===============================================================================

Now Sleeping - Hit <enter> to terminate.

Jul 25, 2009 12:02:30 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: GTW: modem.com1: Stopping gateway...
Jul 25, 2009 12:02:30 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: GTW: modem.com1: Closing: COM1 @9600
Jul 25, 2009 12:02:30 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: GTW: modem.com1: Gateway stopped.

--~--~---------~--~----~------------~-------~--~----~
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