Hi kannel-group, today I tested converting and sending EMS-messages via the kannel-gateway. First I have made a script to convert ringtones (a imelody) to EMS. The message was sent as udh to the kannel-gateway, and it works great - Im happy! :)
But next step I want to send a nokia-operator-logo (72x14 pixel - black/white) via EMS: 1. I convert the image (black an white) to 0 and 1: 000000000000000000000000000010100010000000000000000000000000000000000000 000000000000000000000000000010011110000000001111100000000000000000000000 000000000000000000000000111111111111110001111000011111110000000000000000 000000000000000000000011111111100010000111000001111000011000000000000000 000000000000000000000010011111000001011100000111110000001100000000000000 000000000000000000000110001110111001110001111100000000001100000000000000 000000000000000000000100110100111001111111000000000000111000000000000000 000000000000000000000100110000111001111000011111111111100000000000000000 000000000000000000000110000110000011111111111111100111111000000000000000 000000000000000000111111111111111111100000010001000100111110000000000000 000000000001011111111111111111111101111111111111000100010010000000000000 000000000000000001011111111111111111100000000011111100010010000000000000 000000000000000000000000000000000110111100000000000111111100000000000000 000000000000000000000000000000000011000111101000000000000000000000000000 2. Every 8 charters will be converted to hex, here a emample of the first line: 00000000 = 00 00000000 = 00 00000000 = 00 00001010 = 0A 00100000 = 20 00000000 = 00 00000000 = 00 00000000 = 00 00000000 = 00 Here the hex-output of all lines (252 characters): 0000000A200000000000000009E00F800000000000FFFC787F0000000003FE21C1E180000000027C1707C0C0000000063B9C7C00C000000004D39FC0038000000004C39E1FFE0000000006183FFF9F800000003FFFF81113E0000017FFFFDFFF11200000005FFFF803F12000000000006F001FC0000000000031E8000000 3. I create my udh-string: FF = 255 characters of the complete udh-string 12 = variable picture (I.E.I. = information element identifier) FD = 253 characters of the hex-output from the image and I.E.I. 00 = the object should be displayed at the beginning of the sms 0000000......... = hex-output of the image 4. here is my complete udh: FF11FD000000000A200000000000000009E00F800000000000FFFC787F0000000003FE21C1E180000000027C1707C0C0000000063B9C7C00C000000004D39FC0038000000004C39E1FFE0000000006183FFF9F800000003FFFF81113E0000017FFFFDFFF11200000005FFFF803F12000000000006F001FC0000000000031E8000000 But kannel only says: "..UDH field misformed, rejected.." :-( Whats wrong, can somebody help? Should I split the image to more short-messages? Or whats the problem? I also tested a smaller logo with only five lines of the image, but its the same... Thanks for your support and your help! (sorry for my english, its not the best..) -- Mit freundlichen Gr�ssen, Best regards, Dominik Simon Dominik Simon mailto:[EMAIL PROTECTED]
