URL parameters for picture message | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through April 10, 2005 ⬆ |
◄ ► |
Author | Message | |||
David Unregistered guest |
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 |
Hi, Can someone from NOWSMS pls help...? thanks david | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 3915 Registered: 10-2002 |
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 |
Hi Bryce, Thank you for your help best regards david |