URL parameters for picture message

URL parameters for picture message SearchSearch
Author Message
David
Unregistered guest
Posted on Sunday, January 09, 2005 - 12:34 pm:   

Hi,
I am trying to send a picture message (the old, black & white type, not MMS) via the url. I keep getting "Message cannot be displayed" from my phone. The following are the parameters which I used. Can someone pls help me?

UDH=060504158A158A
PID=0
DCS=F5
BINARY=1
DATA=00481C01xxxxx...etc
TEXT=Testing

BTW, I can send the picture message successfully via the web interface, it just the url which is giving me problem. Thanks you.
David
Unregistered guest
Posted on Wednesday, January 12, 2005 - 02:50 am:   

Hi,
Can someone from NOWSMS pls help...?

thanks
david
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3915
Registered: 10-2002
Posted on Monday, January 17, 2005 - 11:10 pm:   

Hi David,

There is some extra encoding that is performed by JavaScript in the web form that submits a Nokia Picture Message.

You need to perform the same actions as that Javascript.

Basically, the script determines if the text is Unicode or regular text, and assuming regular text, it gets encoded like this:

30 00
xx xx xx xx (length of text, 4 bytes would be 00 00 00 04)
xx xx xx xx (hex values for text string)
02
xx xx xx xx (length of bitmap bytes to follow)
00 48 1C ...

(Space characters and line breaks above are just for ease of reading, you would, of course, send it all out as one string.)
david
Unregistered guest
Posted on Tuesday, January 18, 2005 - 08:57 am:   

Hi Bryce,
Thank you for your help

best regards
david