Nokia smart messaging problem

Nokia smart messaging problem SearchSearch
Author Message
zzyugo
Posted on Tuesday, July 22, 2003 - 05:54 am:   

hi,
I have tried nokia smart msg editor, Nokia PC Composer/Graphics.
Sending ringtone is successful, but picture msg/CLI(Group) Icon/Operator Logo are not.

I am sure that nowSMS has sent SMS, and the Nokia7650 ignores the error messages.

//pic msg:
http://127.0.0.1:8800/?PhoneNumber=0911222333&Data=&UDH=060504158A158A&pid=0&dcs =F5&binary=1&NokiaBitmapData=[hexstr]&NokiaMsgText=%E9%9B%BB%E4%BF%A1%E7%8E%A9%E5%AE%B6%E6%B8%AC%E8%A9%A6%E7% 94%A8
//logo
http://127.0.0.1:8800/?PhoneNumber=0911222333&Data=&UDH=06050415821582&pid=0&dcs =F5&binary=1&NokiaBitmapData=[hexstr]&NokiaMCC=111&NokiaMNC=11
//cli
http://127.0.0.1:8800/?PhoneNumber=0911222333&Data=&UDH=06050415831583&pid=0&dcs =F5&binary=1&NokiaBitmapData=[hexstr]
, where hexstr is a hex string read from the file.

What file format should I use? (.gms/.otb/.bmp)
.gms has 72x28 bitmap, and .otb has 72x14.
Did I make any other mistakes?

Bryce Norwood - NowSMS Support
Posted on Tuesday, July 22, 2003 - 04:40 pm:   

Does it work if you submit the data through our web menu forms?

The reason I ask is because our web forms use some JavaScript to manipulate the data before it actually submits the form.

So the gateway itself does not understand parameters like "NokiaBitmapData" or "NokiaMCC".

If you can me some example data that you are trying to submit, I'll explain what the JavaScript in the form does, and what the request is that you should generate to have the gateway interpret the request properly.

-bn
zzyugo
Posted on Tuesday, July 22, 2003 - 05:13 pm:   

I have also tried the web interface:
picture msg/CLI group/Operator Logo are sent,
and the Nokia 7650 ignore the error sms.
for picture msg, OTA Bitmap Data (hex string) uses the data from .gms file;
for the others, OTA Bitmap Data (hex string) uses the data from .otb file.

.gms/.otb Editor: Nokia PC Graphics
GSM modem: Nokia 51xx + Nokia Data Suite 3.0a

72x28(.gms file):
3000000002010000481C0100000000000000000000000000000000000000000000000000000001FE 000C0000000000008300700000000000008101C00020000000008081000020000000008082000020 0000000080860000203830000080C4000021CC3F000080CC00002104418000808800003104408000 838800F811044100008E0800001104410000F81800001104410000C0100000110C41000080100000 1188420000801000001098420000801800003050440000800C060020304C00008007FC0020007000 00800000000000000001800000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000

72x14(.otb file):
00480E0100000000000000000000000000000000000000000000000000000001FE000C0000000000 008300700000000000008101C0002000000000808100002000000000808200002000000000808600 00203830000080C4000021CC3F000080CC00002104418000808800003104408000838800F8110441 00008E08000011044100


nowSMS log:
2003-07-22 23:44:30,SAR-0911250014-c2-3-1.req,127.0.0.1,0911250014,OK -- Nokia GSM Voice 3.0,Binary=1;DCS=F5;UDH=0B0003C203010504158A158A;Data=30010002518A02010730000000 02010000481C0100000000000000000000000000000000000000000000000000000001FE000C0000 000000008300700000000000008101C0002000000000808100002000000000808200002000000000 80860000203830000080C4000021CC3F000080CC000021044180008088000031044080
2003-07-22 23:44:37,SAR-0911250014-c2-3-2.req,127.0.0.1,0911250014,OK -- Nokia GSM Voice 3.0,Binary=1;DCS=F5;UDH=0B0003C203020504158A158A;Data=00838800F811044100008E0800 001104410000F81800001104410000C0100000110C41000080100000118842000080100000109842 0000801800003050440000800C060020304C00008007FC0020007000008000000000000000018000 0000000000000000000000000000000000000000000000000000000000000000000000
2003-07-22 23:44:44,SAR-0911250014-c2-3-3.req,127.0.0.1,0911250014,OK -- Nokia GSM Voice 3.0,Binary=1;DCS=F5;UDH=0B0003C203030504158A158A;Data=00000000000000000000000000 000000
Bryce Norwood - NowSMS Support
Posted on Wednesday, July 23, 2003 - 02:14 pm:   

The ".gms" file is the complete encoded picture message.

Send it out by submitting it to NowSMS in the "Data=" parameter, and specify UDH as 060504158A158A, and it will work just fine.

The ".otb" file is a little different, as it is just the bitmap data.

If you post that data in as the "OTA Bitmap Data" to one of our Nokia smart messaging forms, then it will work just fine. You'd need to look at our JavaScript for hints on how to encode it without using the form.

For example, if you look at the "CLI (Group) Icon" form, you'll see that all that JavaScript does is append "30" to the start of the OTA Bitmap, and sets the UDH header to "06050415831583" (actually the UDH is set by a hidden field in the form).

That JavaScript is a little more complicated in some of the other forms, but not by much.

-bn