/*
           panteltje parse_sms

         Copyright (C) Jan Panteltje 2008-always

 email: panteltje@yahoo.com

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/



parse_sms is able to parse SMS messages in PDU format,
for example extracted from the Huawei USB modem for eeePC.
To extract the SMS from that modem you need huaweic.

To use extract_sms, send the message you pasted to the command line like this (where XXXX is the PDU message):

echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" | parse_sms

The SMS message and info should appear on stdout.

Or, to a file:
echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" | parse_sms > my_sms.txt


That is all.

