Hi, I don't think that this is an initialization issue... If, for example, you wouldn't be able to register to your network, SMSLib would complain well before sending the message.
Can you post (or send me) the complete log of the SendMessage sample? On 31 May 2010 06:09, Silvio Moreto <[email protected]> wrote: > Hi! > I'm writting a code to send and receive SMS based on the source > examples. > Well, I ran the code and don't get any error on send a SMS, but the > message was not delivered.... > Why this happen? I'm thinking that is because the SIM card was not > initialized.. maybe? > > I'm using a 3g modem Huawei E156C and the trace is below: > > > SLF4J: Class path contains multiple SLF4J bindings. > SLF4J: Found binding in [jar:file:/C:/Users/Silvinho%20is%20my%20boy/ > Documents/NetBeansProjects/ZelousServer/src/lib/slf4j-jdk14-1.6.0.jar!/ > org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in [jar:file:/C:/Users/Silvinho%20is%20my%20boy/ > Documents/NetBeansProjects/ZelousServer/src/lib/slf4j- > log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an > explanation. > 30/05/2010 23:50:16 org.smslib.helper.Logger logInfo > 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 > 30/05/2010 23:50:16 org.smslib.helper.Logger logInfo > INFO: Version: 3.4.5 > 30/05/2010 23:50:16 org.smslib.helper.Logger logInfo > INFO: JRE Version: 1.6.0_18 > 30/05/2010 23:50:16 org.smslib.helper.Logger logInfo > INFO: JRE Impl Version: 16.0-b13 > 30/05/2010 23:50:16 org.smslib.helper.Logger logInfo > INFO: O/S: Windows 7 / x86 / 6.1 > 30/05/2010 23:50:16 org.smslib.helper.Logger logInfo > INFO: GTW: modem.com24: Starting gateway, using Generic AT Handler. > 30/05/2010 23:50:16 org.smslib.helper.Logger logInfo > INFO: GTW: modem.com24: Opening: COM24 @57600 > 30/05/2010 23:50:23 org.smslib.helper.Logger logInfo > INFO: GTW: modem.com24: GSM: Registered to home network. > 30/05/2010 23:50:23 org.smslib.helper.Logger logInfo > INFO: GTW: modem.com24: MEM: Storage Locations Found: MESMSR > 30/05/2010 23:50:23 org.smslib.helper.Logger logInfo > INFO: GTW: modem.com24: Gateway started. > > MESSAGE SEND! > > 30/05/2010 23:50:23 org.smslib.helper.Logger logInfo > INFO: GTW: modem.com24: Stopping gateway... > 30/05/2010 23:50:23 org.smslib.helper.Logger logInfo > INFO: GTW: modem.com24: Closing: COM24 @57600 > 30/05/2010 23:50:23 org.smslib.helper.Logger logInfo > INFO: GTW: modem.com24: 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]<smslib%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/smslib?hl=en. > > -- 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.
