ReadMessage.java << ===== log files ===== >> 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.5.2 log4j:WARN No appenders could be found for logger (smslib). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. >>> Gateway Status change for modem.com1, OLD: STOPPED -> NEW: STARTING >>> Gateway Status change for modem.com1, OLD: STARTING -> NEW: STARTED Modem Information: Manufacturer: WAVECOM MODEM Model: MULTIBAND 900E 1800 Serial No: 356205030009802 SIM IMSI: ** MASKED ** Signal Level: -65 dBm Battery Level: 0% Now Sleeping - Hit to stop service. >>> New Inbound message detected from Gateway: modem.com1 =============================================================================== << InboundMessage >> ------------------------------------------------------------------------------- Gateway Id: modem.com1 Message UUID: 240444ef-d33b-4a1f-922c-fbd5d3f8159a Encoding: 7-bit Date: Mon Mar 10 12:12:25 SGT 2014 Dispatched via SMSC: 60120000015 Text: Received PDU data: D2F2B89CB697C9 Originator: 6017******* Memory Index: 1 Multi-part Memory Index: Memory Location: SM Source / Destination Ports: -1 / -1 =============================================================================== >>> Gateway Status change for modem.com1, OLD: STARTED -> NEW: STOPPING >>> Gateway Status change for modem.com1, OLD: STOPPING -> NEW: STOPPED