Table of Contents

Name

encode_pdu - encodes a text string as PDU.

Synopsis

encode_pdu [ options ] -s string

Description

encode_pdu is command-line helper tool for the SMSLink project. It accepts a text string and converts it (using the same routines as the SMSLink server module) to PDU format. The intention with this utility and the ones that will follow, is to provide an environment that will ease developpment of further PDU features support.

This manual page will cover the functionalities and use of encode_pdu.

Options

-g
Turns debugging on.
-h
Displays a short help message and exits.
-v
Displays version information and exits.
-z charset
The character set to be used when encoding / decoding the provided string. Use encode_pdu -h to list all supported charsets, the token you have to specify instead of charset as parameter for this option, and the compiled-in default.
-s string
The text string that you want encoded. Please quote it if it contains spaces.

Return Value

Upon success encode_pdu returns 0. When a problem occurs, a non-zero value is returned.

Bugs

See the BUGS document in the sources directory or the relevant section on the web site.

See Also

sms_serv(1) , decode_pdu(1) , gsmts0338(1)

The INSTALL and README documents in the sources tree.

Copyright

SMSLink is (c) Les Ateliers du Heron, 1998-2006 by Philippe Andersson <philipa STRUDEL scarlet PUNKT be>. It has been originally written for Scitex Europe, S.A.

Part of the code is (c) Riccardo Facchetti.

The code also includes contributions from Philipp Klaus <pklaus@access.ch> and numerous others. All contributors are acknowledged in the CHANGELOG document, and in the comment headers of the source files they modified.

SMSLink has been released to the public under the GNU GPL.

Home page: <http://smslink.sourceforge.net/ >


Table of Contents