Table of Contents

Name

gsmts0338 - converts strings to and from GSM TS 03.38 alphabet.

Synopsis

gsmts0338 [ options ] (-d string | -e message )

Description

gsmts0338 is command-line helper tool for the SMSLink project. It allows for direct conversion of text strings to and from the ETSI GSM TS 03.38 alphabet, using for this the functions provided within the server code. 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 gsmts0338.

Options

-g
Turns debugging on.
-h
Displays a short help message and exits.
-v
Displays version information and exits.
-l tpudl
The value to be used for <tpudl> PDU field (= User Data Length). This field, in a PDU string, stores the number of characters contained in the actual data field. Since this parameter is passed to the GSM TS 03.38 decoding function, the user is hereby given an option to play with it.
Please note that setting this option when asking for an encoding (-e) has no meaning and will be ignored.
-z charset
The character set to be used when encoding / decoding the provided string. Use gsmts0338 -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.
-d string
The GSM TS 03.38-encoded string that you want decoded. Please provide only one of -d or -e.

Example:

-d 5076380F4AD341E17338ED6681A6E17608

-e message
The text message that you want encoded into the ETSI GSM TS 03.38 alphabet. Don't forget to quote the message if it contains whitespaces. Please provide only one of -d or -e.

Return Value

Upon success gsmts0338 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) , encode_pdu(1) , decode_pdu(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