NAME

GSM::SMS::OTA::Operatorlogo

DESCRIPTION

This package implements encoding of an Operatorlogo icon.

METHODS

OTAOperatorlogo_fromb64

$stream = OTAOperatorlogo_fromb64($countrycode, $operatorcode, $b64, $format);

Create a operator logo from a b64 encoded image in the specified format ( gif, png, ...). The countrycode and operator code are 2 codes that specfify either the operator or the country of the receiving handset.

OTAOperatorlogo_fromfile

$stream = OTAOperatorlogo_fromfile($countrycode, $operatorcode, $file );

Create a operator logo from a file.

OTAOperatorlogo_PORT

NSB Port number for Operator logos.

ISSUES

The country and operator coe have to be provided manually. It would be interesting to have other modules: GSM::SMS::Countrycode and GSM::SMS::OPeratorcode , that handle this automatically. Give them a msisdn and they provide you with the code.

AUTHOR

Johan Van den Brande <johan@vandenbrande.com>