Hi, I am using HuwaiEG162G EDGE/GPRS USB stick and able to send message and receive message(serice.readMessages()). I have tested this by running SendMssage and ReadMessage examples from smslib.
However process() of InboundNotification is not getting called. In hyperterminal CNMI was successful.Response was-: +CNMI: (0,1,2),(0,1,2,3),(0,2),(0,2),(0,1) OK Then why Asynchronous notification is not working? Please advise. Giving herewith logs during ReadMessage class - Example: Read messages 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.3 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.3 0 [main] INFO smslib - JRE Version: 1.6.0_11 0 [main] INFO smslib - JRE Impl Version: 11.0-b16 0 [main] INFO smslib - O/S: Windows XP / x86 / 5.1 31 [Thread-3] INFO smslib - GTW: modem.com8: Starting gateway, using Generic AT Handler. 31 [Thread-3] INFO smslib - GTW: modem.com8: Opening: COM14 @57600 6750 [Thread-3] INFO smslib - GTW: modem.com8: GSM: Registered to home network. 6781 [Thread-3] INFO smslib - GTW: modem.com8: MEM: Storage Locations Found: MESMSR >>> Gateway Status change for modem.com8, OLD: STOPPED -> NEW: STARTING 6781 [Thread-3] INFO smslib - GTW: modem.com8: Gateway started. >>> Gateway Status change for modem.com8, OLD: STARTING -> NEW: STARTED Modem Information: Manufacturer: huawei Model: EG162G Serial No: 353474020481891 SIM IMSI: ** MASKED ** Signal Level: 48% Battery Level: 0% =============================================================================== << InboundMessage >> ------------------------------------------------------------------------------- Gateway Id: modem.com8 Encoding: 7-bit Date: Sun Nov 01 23:32:45 GMT+05:30 2009 Dispatched via SMSC: 919822078000 Text: Hi PDU data: C834 Originator: +919960762288 Memory Index: 0 Multi-part Memory Index: Memory Location: SM Source / Destination Ports: -1 / -1 =============================================================================== --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib for Java 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 -~----------~----~----~----~------~----~------~--~---
