Re: EMS-coding... works and not... :(

Jacques Caron <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <6.0.0.22.0.20031029013218.03646b88@pop.interactivemediafactory.net>
Hi,

[this would be more appropriate on kannel-users]

At 01:22 29/10/2003, Dominik Simon wrote:
>But next step I want to send a nokia-operator-logo (72x14 pixel -
>black/white) via EMS:

I suppose your goal is not to send it to a Nokia phone... And that the 
phone you send it to supports EMS images of this size...

>Here the hex-output of all lines (252 characters):
>0000000A200000000000000009E00F800000000000FFFC787F0000000003FE21C1E180000000027C1707C0C0000000063B9C7C00C000000004D39FC0038000000004C39E1FFE0000000006183FFF9F800000003FFFF81113E0000017FFFFDFFF11200000005FFFF803F12000000000006F001FC0000000000031E8000000

252 hex digits, but they represent 126 bytes.

>3. I create my udh-string:
>
>FF    = 255 characters of the complete udh-string

Nope, 129. Also let us know when you find a network and a phone which 
support 256-byte messages!

>12    = variable picture (I.E.I. = information element identifier)
>FD    = 253 characters of the hex-output from the image and I.E.I.

Nope, 127.

>But kannel only says: "..UDH field misformed, rejected.." :-(

Quite normal. Of course, if your logo was bigger and did not fit in a 
single message (140 bytes total), you would need to split it in several 
parts and add SAR IEs.

Jacques.

-- Interactive Media Factory SARL
    SMS, SMS+, IVR & WAP development and services
    http://www.imfeurope.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.