Hi! I have been trying the code to send a message using smslib with a SIM900A gsm modem. It compiles but I get exceptions as follows:
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.5.3 Check dis out log4j:WARN No such property [maxNumberOfRecords] in org.apache.log4j.ConsoleAppender. 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 1 [main] INFO smslib - Version: 3.5.3 1 [main] INFO smslib - JRE Version: 1.7.0_25 1 [main] INFO smslib - JRE Impl Version: 23.25-b01 1 [main] INFO smslib - O/S: Windows 7 / x86 / 6.1 5 [main] INFO smslib - Queue directory not defined. Queued messages will not be saved to filesystem. 7 [main] DEBUG smslib - Initialized. 7 [NotifyQueueManager] DEBUG smslib - Running... 7 [NotifyQueueManager] DEBUG smslib - NotifyQueueManager running... 8 [main] DEBUG smslib - Initialized. 8 [DelayQueueManager] DEBUG smslib - Running... 8 [DelayQueueManager] DEBUG smslib - DelayQueueManager running... 9 [main] DEBUG smslib - Initialized. 9 [WatchDog] DEBUG smslib - Running... 10 [Thread-3] INFO smslib - GTW: modem.com1: Starting gateway, using Generic AT Handler. 10 [Thread-3] INFO smslib - GTW: modem.com1: Opening: COM32 @921600 139 [Thread-3] DEBUG smslib - Initialized. 140 [KeepAlive [modem.com1]] DEBUG smslib - Running... 141 [Thread-3] DEBUG smslib - Initialized. 142 [Thread-3] DEBUG smslib - GTW: modem.com1: ModemReader thread started. 145 [Thread-3] DEBUG smslib - GTW: modem.com1: AsyncNotifier thread started. 147 [Thread-3] DEBUG smslib - GTW: modem.com1: AsyncMessageProcessor thread started. 147 [Thread-3] DEBUG smslib - GTW: modem.com1: clearBuffer() called. 150 [CNMIEmulatorProcessor [modem.com1]] DEBUG smslib - ** disabled ** 1147 [Thread-3] DEBUG smslib - GTW: modem.com1: SEND :(27) 3148 [Thread-3] DEBUG smslib - GTW: modem.com1: SEND :+++ 5148 [Thread-3] DEBUG smslib - GTW: modem.com1: SEND :ATZ(cr) 7150 [Thread-3] DEBUG smslib - GTW: modem.com1: clearBuffer() called. 8150 [Thread-3] DEBUG smslib - GTW: modem.com1: SEND :ATZ(cr) 10151 [Thread-3] DEBUG smslib - GTW: modem.com1: SEND :ATE0(cr) 12151 [Thread-3] DEBUG smslib - GTW: modem.com1: clearBuffer() called. 13151 [Thread-3] DEBUG smslib - GTW: modem.com1: SEND :AT+CPIN?(cr) 15010 [WatchDog] DEBUG smslib - Running... 30011 [WatchDog] DEBUG smslib - Running... 30151 [CNMIEmulatorProcessor [modem.com1]] DEBUG smslib - ** disabled ** 45012 [WatchDog] DEBUG smslib - Running... 60013 [WatchDog] DEBUG smslib - Running... 60152 [CNMIEmulatorProcessor [modem.com1]] DEBUG smslib - ** disabled ** 75013 [WatchDog] DEBUG smslib - Running... 90014 [WatchDog] DEBUG smslib - Running... 90152 [CNMIEmulatorProcessor [modem.com1]] DEBUG smslib - ** disabled ** 105015 [WatchDog] DEBUG smslib - Running... 120016 [WatchDog] DEBUG smslib - Running... 120153 [CNMIEmulatorProcessor [modem.com1]] DEBUG smslib - ** disabled ** 135017 [WatchDog] DEBUG smslib - Running... 150018 [WatchDog] DEBUG smslib - Running... 150154 [CNMIEmulatorProcessor [modem.com1]] DEBUG smslib - ** disabled ** 163154 [Thread-3] DEBUG smslib - GTW: modem.com1: Buffer contents on timeout: Please help me out. What wrong am I doing here??? -- You received this message because you are subscribed to the Google Groups "SMSLib Discussion Group" group. To view this discussion on the web visit https://groups.google.com/d/msgid/smslib/afe0e88f-b7d3-4589-aab5-d066dff1b0d8%40googlegroups.com?hl=en.
