Hi, I can see the exception - can't answer this right now, but it seems harmless...
Ok, about the duplicates: the messages reported by the modem are not duplicates - the PDUs are different. Plus, I don't see any attempt to read UNREAD messages (in order to see what's reported back). On Feb 19, 10:30 am, Öner Ekiz <[email protected]> wrote: > ok Thanasis, i changed source files a little bit and replaced slf4j with > log4 codes. > now i can get debug logs. > attached it here as debug.log file. > > and my actual problem with MC35i gsm modem: > when modem receives a new incoming sms, it throws InterruptedException, > as i said before, i cannot get UNREAD messages, instead i am getting ALL and > then deleting them. > but if new message came, it throws that error but then reads message. > sometimes it reads same message 4-5 times! > > can you please help? > thanks > > 2010/2/19 Öner Ekiz <[email protected]> > > > > > > > i put the log4j.properties in misc to my application > > and i added log4j-1.2.14.jar. > > but again it does not print debug messages? > > am i missing something? > > do i need to type any code for printing debug messages? > > i can log my own codes but not yours in smslib. for example AT commands > > etc. > > :( > > > 2010/2/19 Thanasis Delenikas <[email protected]> > > > Hi, > > >> The "smslib.debug" options have been removed some versions ago. > >> I would recommend setting up log4j (just download the jar file) and follow > >> the instructions from here: > >>http://smslib.org/doc/smslib/troubleshooting/#Enable/Disable_debug_lo... > > >> <http://smslib.org/doc/smslib/troubleshooting/#Enable/Disable_debug_lo...>Copy > >> the sample log4j.properties (from the /misc folder) in your current > >> directory (where you run smslib from). > > >> Thanasis. > > >> On Fri, Feb 19, 2010 at 12:43 AM, Öner Ekiz <[email protected]> wrote: > > >>> i have > >>> slf4j-api.jar > >>> slf4j-simple.jar > >>> logging libs in classpath. > > >>> and at program start i tried > >>> System.setProperty("smslib.debug", "true"); > >>> or > >>> System.setProperty("smslib.queuedebug", "true"); > > >>> but no luck :( just seeing INFO output: > > >>> 0 [main] INFO smslib - 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 > >>> 0 [main] INFO smslib - Version: 3.4.5 > >>> 0 [main] INFO smslib - JRE Version: 1.6.0_16 > >>> 0 [main] INFO smslib - JRE Impl Version: 14.2-b01 > >>> 0 [main] INFO smslib - O/S: Windows XP / x86 / 5.1 > >>> 63 [Thread-3] INFO smslib - GTW: modem.com1: Starting gateway, using > >>> Siemens MC35i AT Handler. > >>> 63 [Thread-3] INFO smslib - GTW: modem.com1: Opening: COM1 @9600 > >>> 6859 [Thread-3] INFO smslib - GTW: modem.com1: GSM: Registered to home > >>> network. > >>> 7047 [Thread-3] INFO smslib - GTW: modem.com1: MEM: Storage Locations > >>> Found: SMME > >>> 7141 [Thread-3] INFO smslib - CNMI: No best match, returning: 1 > >>> 7281 [Thread-3] INFO smslib - GTW: modem.com1: Gateway started. > >>> Modem Information: > >>> Manufacturer: SIEMENS > >>> Model: MC35i > >>> Serial No: ***************** > >>> SIM IMSI: ** MASKED ** > >>> Signal Level: 100% > >>> Battery Level: 0% > >>> Connected to Modem successfully > > > -- > > 193∞ > > -- > 193∞ > > debug.log > 68KViewDownload -- 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.
