SYNOPSIS

  use SMS::PDU::Submit;
  $s = SMS::PDU::Submit->decode;

DESCRIPTION

The SMS::PDU::Submit class allows you to encode or decode SMS Submit Protocol Data Units (PDU). The encoding and decoding of the TP-UD (user data) field is done by SMS::PDU::UserData.

The following methods are available:

SMS::PDU::Submit->decode

Decode an SMS Submit PDU from a binary string.

$s->encode

Encode an SMS Submit PDU into a binary string.

$s->getNumber

Return the destination phone number of the SMS Submit PDU.

Copyright

umts-tools is copyright© 2004-2006 Jeremy Lainé. This software is distributed under the terms of the GNU General Public License (GPL).