D:\smslib>java -cp build\classes examples.modem.ReadMessages
Example: Read messages from a serial gsm modem.
SMSLib: A Java API library for sending and receiving SMS via a GSM
modem or othe
r supported gateways.
This software is distributed under the terms of the Apache v2.0
License.
Web Site: http://smslib.org
Version: 3.3.3
>>> Gateway Status change for modem.com5, OLD: STOPPED -> NEW: RUNNING
0 [SMSLib-CNMIEmulator : modem.com5] ERROR org.smslib  - GTW:
modem.com5: Wrong
type of PDU detected: org.ajwcc.pduUtils.gsm3040.SmsSubmitPdu
0 [SMSLib-CNMIEmulator : modem.com5] ERROR org.smslib  - GTW:
modem.com5: ERROR
PDU: 079119490490997931840A8149747799300000FF03C8701A
31 [SMSLib-CNMIEmulator : modem.com5] ERROR org.smslib  - GTW:
modem.com5: Wrong
 type of PDU detected: org.ajwcc.pduUtils.gsm3040.SmsSubmitPdu
31 [SMSLib-CNMIEmulator : modem.com5] ERROR org.smslib  - GTW:
modem.com5: ERROR
 PDU: 079119490490997931850A8149747799300000FF024132
>>> New Inbound message detected from Gateway: modem.com5
===============================================================================
<< InboundMessage >>
-------------------------------------------------------------------------------
 Gateway Id: modem.com5
 Encoding: 7-bit
 Date: Sat Feb 27 20:48:19 IST 2010
 Text: Laugh Through Ur hearT
& dancE In d raIn.
CherIsh d memorIes
& Ignore d paIn.
Love,  Learn, 4geT & 4gIve.
Remember,
U hav jusT
"ONE LIFE TO LIVE."
Gd night....
 PDU data:
CC70FD8C0651D1F277FD8C0655E52074392CA72A4C2072D83D2E82926E1019240F27D
D2EC5105D9627E7681019D42EB7DFF26479AE30819267F75B5E069141F070D2ED5230DFF6320B046
296C372370B443B97A9201388764EDACB2E85B4DC2EB7C565394B5105A1C37690BA3EA72A444F671
1C44C1A8B20EA13C44C5A8B2E91E24806B9D36734DDE572B900
 Originator: 919746042267
 Memory Index: 2
 Multi-part Memory Index:
 Memory Location: ME
 Source / Destination Ports: -1 / -1
===============================================================================

Modem Information:
  Manufacturer: Sony Ericsson
  Model: AAB-1022011-BV
  Serial No: 355705019016117
  SIM IMSI: ** MASKED **
  Signal Level: 54%
  Battery Level: 88%

344 [main] ERROR org.smslib  - GTW: modem.com5: Wrong type of PDU
detected: org.
ajwcc.pduUtils.gsm3040.SmsSubmitPdu
360 [main] ERROR org.smslib  - GTW: modem.com5: ERROR PDU:
079119490490997931840
A8149747799300000FF03C8701A
360 [main] ERROR org.smslib  - GTW: modem.com5: Wrong type of PDU
detected: org.
ajwcc.pduUtils.gsm3040.SmsSubmitPdu
360 [main] ERROR org.smslib  - GTW: modem.com5: ERROR PDU:
079119490490997931850
A8149747799300000FF024132
===============================================================================
<< InboundMessage >>
-------------------------------------------------------------------------------
 Gateway Id: modem.com5
 Encoding: 7-bit
 Date: Sat Feb 27 20:48:19 IST 2010
 Text: Laugh Through Ur hearT
& dancE In d raIn.
CherIsh d memorIes
& Ignore d paIn.
Love,  Learn, 4geT & 4gIve.
Remember,
U hav jusT
"ONE LIFE TO LIVE."
Gd night....
 PDU data:
CC70FD8C0651D1F277FD8C0655E52074392CA72A4C2072D83D2E82926E1019240F27D
D2EC5105D9627E7681019D42EB7DFF26479AE30819267F75B5E069141F070D2ED5230DFF6320B046
296C372370B443B97A9201388764EDACB2E85B4DC2EB7C565394B5105A1C37690BA3EA72A444F671
1C44C1A8B20EA13C44C5A8B2E91E24806B9D36734DDE572B900
 Originator: 919746042267
 Memory Index: 2
 Multi-part Memory Index:
 Memory Location: ME
 Source / Destination Ports: -1 / -1
===============================================================================

Now Sleeping - Hit <enter> to terminate.

-- 
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.

Reply via email to