All about picture messages

All about picture messages SearchSearch
Author Message
Anonymous
 
Posted on Wednesday, December 10, 2003 - 11:00 pm:   

hi,
i'm trying to send picture messages from nowsms v5 web interface (http-post).
i tried to use ur web interface for testing.

the OTA format is ready starting with 00481c..etc
UDH:060504158A158A
DCS:F5
PID:0
but there is something wrong about the message as the phone(nokia 3510i) diplay message cann't be displayed so what is going wrong, i tried to prefix it with
30( picture version)
02( OTA start indicator)
0100 (size of OTA) 256 Bytes
the (here comes the OTA) can u please tell me what went wrong, or if i'm missing some headers on the binary data section, i guess there something parts in front of the binary data section. please inform me about the whole details
i readed all nokia document (FAQ 2), (SMS specification) and many articles but no use, i want to know why i cann't sent picture messages as binary one, or if there is another way to do so. on NOWSMS.

thanx
zerovirus
ashraf samir
New member
Username: Zerovirus

Post Number: 1
Registered: 12-2003
Posted on Wednesday, December 10, 2003 - 11:03 pm:   

hi,
i'm trying to send picture messages from nowsms v5 web interface (http-post).
i tried to use ur web interface for testing.

the OTA format is ready starting with 00481c..etc
UDH:060504158A158A
DCS:F5
PID:0
but there is something wrong about the message as the phone(nokia 3510i) diplay message cann't be displayed so what is going wrong, i tried to prefix it with
30( picture version)
02( OTA start indicator)
0100 (size of OTA) 256 Bytes
the (here comes the OTA) can u please tell me what went wrong, or if i'm missing some headers on the binary data section, i guess there something parts in front of the binary data section. please inform me about the whole details
i readed all nokia document (FAQ 2), (SMS specification) and many articles but no use, i want to know why i cann't sent picture messages as binary one, or if there is another way to do so. on NOWSMS.

thanx
zerovirus
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1375
Registered: 10-2002
Posted on Friday, December 12, 2003 - 07:01 pm:   

zerovirus,

Have you tried submitting the picture using the NowSMS web menu interface?

Assuming that works, I'll explain a bit about the minimal encoding that the Javascript in the NowSMS web interface performs ...

Let's take the example bitmap data from the following thread:

http://support.nowsms.com/discus/messages/1/481.html

The .otb file in that thread is an OTA bitmap string for Nokia Smart Messaging.

The .gms file in that thread is a complete Nokia picture message. If you take the "30000000020100" off the start of the ".gms" file, then you have an OTA bitmap of 72x28.

The "30000000020100" is a typical Nokia picture message header, so let's dissect that.

"30" is a standard header that is always present.

The next field specifies whether the text is in Unicode "01" or ISO-8859-1 format "00". In this case, it is set to "00".

Next comes the length of the text, "0000" in this case, as there is none.

The next field specifies the picture format, "02" for an OTA bitmap.

Then comes the item length, in this case "0100".

After this header comes your OTA bitmap ...