Hi, Can you run the example with the "-Dsmslib.debug" option and post the output?
On Feb 9, 7:52 am, janeleee <[email protected]> wrote: > Hi everyone, > > In my new project, I prefer to use smslib to as SMS server. and at > first, I use the modem example to send some messages. I use the > Mel9181 GSM/GPRS modem to send SMS. > > and I got these messages: > > 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.3 > > Modem Information: > Manufacturer: M2 Laboratories > Model: MEL9181_2.70a > Serial No: 353354010041097 > SIM IMSI: ** MASKED ** > Signal Level: 100% > > 0 [main] WARN org.smslib - GTW: sms: Error: unknown: Retrying... > 7531 [main] WARN org.smslib - GTW: sms: Error: unknown: Retrying... > 14781 [main] ERROR org.smslib - GTW: sms: Error: unknown: Quit > retrying, message lost... > =============================================================================== > << OutboundMessage >> > ------------------------------------------------------------------------------- > Gateway Id: > Encoding: 7-bit > Date: Mon Feb 09 13:51:31 CST 2009 > SMSC Ref No: null > Recipient: +8613911373461 > Dispatch Date: null > Message Status: FAILED > Validity Period (Hours): -1 > Status Report: false > Source / Destination Ports: -1 / -1 > Flash SMS: false > Text: Hello from SMS testing! > PDU data: C8329BFD0699E5EF3668DA9C82E8E5393DED3E8700 > =============================================================================== > > Now Sleeping - Hit <enter> to terminate. > > I do not know why, who could help me? > > and more, I use Comtest.java to get the Com8 as serial gsm modem port. > > Thanks a lot. > > Jane --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
