Hi Jacques,
hi list,

thanks for your help, now I found my error and could send the
user-data-header to the kannel-gateway. But my Siemens S45i only received a
empty shortmessage.

Then I found the next and latest error in my udh:

Variable pictures must be sent with more information, like
- horizontal dimension of the picture (number of 8 pixel)
- vertical dimension of the picture

So I could create a correct udh for my ems-picture:

83 = 131 bytes of the complete udh
12 = variable picture
81 = 129 bytes of the udh without the first 2 bytes
00 = the picture should be displayed at the beginning of the message
09 = 72 pixel (every 8 pixel)
0A = 14 pixel
0000000A2000000000... = my hex-cded picture (00011101001111...)


Here is my complete udh, if somebody want to test it:

83128100090A0000000A200000000000000009E00F800000000000FFFC787F0000000003FE21
C1E180000000027C1707C0C0000000063B9C7C00C000000004D39FC0038000000004C39E1FFE
0000000006183FFF9F800000003FFFF81113E0000017FFFFDFFF11200000005FFFF803F12000
000000006F001FC0000000000031E8000000


So, you can see: a nokia operator-logo (picture) can be sent in ONE ems! And
there are many mobilephones from Motorola, Sagem, SonyEricsson and Siemens,
who support EMS and variable pictures!


List, thanks for your help!! Im very happy, because it works really fine!

Best regards from germany,
Dominik Simon.


Reply via email to