Hi Berino
At 10:06 PM 1/8/02 +0100, Bernino Lind wrote:
>Hello users,
>
>Could someone please send me a test logo in the form that sendsms accepts
>(binary, but I mean so that it can be copy pasted into a url...).

The hex for the ologo is dependent on the destination msisdn.

Basically it is as follows:
The logo using OTA:
byte 0: Version & flags. Usually %00
byte 1: width of the image
byte 2: height of the image
byte 3: bithdepth of the image. %01 for black and white.
byte 4: and following are the pixels of the image.

the udh part in the sendsms for a ologo would be
&udh=%06%05%04%15%82%00%00

but then you need to calculate the "operator code" which is made up of the 
MCC (mobile country code) and MNC (mobile network code) of the destination 
phone.

So assuming a MCC = 234 and a MNC=10
you will get %32%F4%01

so the &text=... in sendsms would be
&text=%32%F4%01 followed by the ologo header and data.



Nisan


Reply via email to