MMS PDU

MMS PDU SearchSearch
Author Message
Dhoni
New member
Username: Alveox

Post Number: 6
Registered: 12-2005
Posted on Friday, February 03, 2006 - 01:33 am:   

hai again...
i just want to ask, is there any tutorial on how to make an MMS PDU..

thanks..
Dhoni
New member
Username: Alveox

Post Number: 7
Registered: 12-2005
Posted on Saturday, February 04, 2006 - 05:33 am:   

hi again.. im succesful making mms using vb.net based on mms made by mmscomp.exe..
id like to ask about couple byte in mms that i dont get what it mean
n take a look at MMS i've build, is there any error in it.. when i receive in my phone it run perfectly.
but when i open it using nookia NDS i can see my file in *.mms..
thx...

here is my questions...

8C 84 x-mms-type: m retreive-conf
98 transaction id
8D 90 mms version=1.0
85 04 43 E4 30 FC <<< is it all for date
89 18 80 from|from length|starting byte
97 to
96 subject
8A 82 MMS class
8F 80 MMS priority
86 81 MMS delivery report
90 81 MMs read reply
84 content type
1F 1F << what is it?
B3 app/vnd.wap.multipart
8A Start parameter
89 type parameter
05 28 83 5F object in mms|content type header length|part length in 2 byte|
61 70 70 6C 69 63 61 74 69 6F 6E 2F 73 6D 69 6C 00 <application/smil> (????)
C0 (???) ...... 00
8E (???) ...... 00
3C <SMIL part> 3E
18 94 0D header length|part length in 2byte
9E C0 (????)
22 3C 6D 6D 73 31 2E 6A 70 67 3E 00 << what is it for? content id??
8E 6D 6D 73 31 2E 6A 70 67 00 << filename??
FF ..jpg part ..D9
18 90 09 header length|part length in 2byte
9E C0
22 3C 6D 6D 73 32 2E 6A 70 67 3E 00
8E 6D 6D 73 32 2E 6A 70 67 00
FF jpg part D9
18 14 header length|part length in 1byte
83 C0 (????)
22 3C 6D 6D 73 31 2E 74 78 74 3E 00 << content id??
8E 6D 6D 73 31 2E 74 78 74 00 << file name??
18 14 83 C0 22 3C 6D 6D 73 32 2E 74 78 74 3E 00 8E 6D <<mms2.txt part
6D 73 32 2E 74 78 74 00 6D 6D 73 32 74 65 78 74
20 6E 67 65 74 65 73 74 20 61 6A 61

text/htmlekg built using mmscomp...
ekg.MMS (5.5 k)

text/htmlmms using my vb.not project.. please check it
myvbdotnet.mms (14.6 k)
Dhoni
New member
Username: Alveox

Post Number: 8
Registered: 12-2005
Posted on Sunday, February 05, 2006 - 03:49 pm:   

one more question

in the nowsms help, the header must use m-retrieve-conf as Message-type-value.
far as i know, retrieve-conf is used by proxy server to send multimedia message to the recipient.
for sending an MMS, should this message-type-value = m-send-req ?
FYI im using nowsms for sending mms via mm1 protocol...

please some body explain it for me...

regards

dhoni
Tend Wong
New member
Username: Tendwong

Post Number: 1
Registered: 02-2006
Posted on Monday, February 06, 2006 - 08:22 am:   

Hi, this is a break up of an MM1 file i have done with some analysis. Hope it is of help. I have uploaded 2 attachments. One is a text file of the breakup with my own explanations. The other is the actual MM1 (.mms) binary file. Below are the first 20 lines of what is in the text file.

8C 84 // message type = m_retrieve_conf

98 41 30 42 00 // X-Mms-Transaction-ID: 'A0B'

8D 90 // X-Mms-MMS-Version: 1.0

89 // From
17 // Length of Sender ID (as per wap-230 spec : page 83, this number must be less than 1F)
80 // Address-Presentation-Token
43 61 69 20 53 68 69 6E 20 59 // Cai Shin Ya/TYPE=PLMN
61 2F 54 59 50 45 3D 50 4C 4D
4E 00

97 // To
36 35 39 37 35 33 38 34 37 30 // 6597538470/TYPE=PLMN
2F 54 59 50 45 3D 50 4C 4D 4E
00

96 // Subject
48 61 70 70 79 20 43 68 69 6E // Happy Chinese New Year 2006!
65 73 65 20 4E 65 77 20 59 65
61 72 20 32 30 30 36 21 00

8B // Message-ID
36 35 39 37 35 33 38 34 37 30 // 6597538470-D8751867A0B
2D 44 38 37 35 31 38 36 37 41
30 42 00

85 // Date
04 43 D8 75 18

84 // Content-Type
1F // next byte indicates length (as per wap-230 spec : page 83)
// this has been used as opposed to a short Content-Type where the length is less than 1F.
// If the length is less than 1F (as is the case with the From tag above), then only a single
// octet indicating the length will do. But if it can be more than 1F octets, then this method
// of letting the next octet indicating the length must be used.
20 // Length of Content Type : next 32 bytes
B3 // application/vnd.wap.multipart.related
8A // Presentation Content ID
3C 73 75 64 6F 2E 73 6D 69 6C 3E 00 // <sudo.smil>
89 // Multipart Related Type
61 70 70 6C 69 63 61 74 69 6F 6E 2F 73 6D 69 6C 00 // application/smil

// The following headers are defined in wap-230

04 // Number of contents = 4, sudo.txt, sudo.mid, sudo.gif, sudo.smil

text/plainExplanation of MM1 file
6597538470-D8751867A0B.txt (67.8 k)
application/octet-streamActual MM1 (.mms) file
6597538470-D8751867A0B (21.5 k)
Tend Wong
New member
Username: Tendwong

Post Number: 2
Registered: 02-2006
Posted on Monday, February 06, 2006 - 09:29 am:   

I forgot to explain the date and the meaning of the tokens. The following attachments should shed some light. I have reattached the MM1 file but with the strange filename replaced by 'Test'.
Here are 4 files that I used for analysis, MMS Headers.txt, WSP Headers.txt, OMA-MMS spec and WAP-230 spec.

text/plainExplanation of MM1 file
Test.txt (67.8 k)
application/octet-streamActual MM1 (.mms) file
Test (21.5 k)
text/plainMMS Headers.txt
MMS Headers.txt (1.8 k)

text/plainWSP Headers.txt
WSP Headers.txt (13.3 k)

application/pdfOMA-MMS Spec
OMA-WAP-MMS.pdf (232.2 k)

application/pdfWAP-230 Spec
wap-230-wsp-20010705-a.pdf (602.6 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5541
Registered: 10-2002
Posted on Tuesday, February 14, 2006 - 09:05 am:   


quote:

in the nowsms help, the header must use m-retrieve-conf as Message-type-value.
far as i know, retrieve-conf is used by proxy server to send multimedia message to the recipient.
for sending an MMS, should this message-type-value = m-send-req ?
FYI im using nowsms for sending mms via mm1 protocol...




If you submit to NowSMS via MM1, then you need to use m-send-req.

If you submit to NowSMS via HTTP, you can use either m-send-req, or m-retrieve-conf. If NowSMS is the MMSC, it will adjust the type to m-retrieve-conf. If NowSMS is submitting the message to an operator MMSC, it will adjust the type to m-send-req.

-bn
DanLiang
New member
Username: Danliang

Post Number: 1
Registered: 04-2006
Posted on Tuesday, April 25, 2006 - 11:19 am:   

Where can I get a mmscomp.exe?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5840
Registered: 10-2002
Posted on Tuesday, April 25, 2006 - 03:50 pm:   

MMSCOMP.EXE is included in the NowSMS download (you must install NowSMS).
ardi
New member
Username: Bluekutuk

Post Number: 1
Registered: 09-2006
Posted on Friday, September 08, 2006 - 01:28 pm:   

hi... i want try to make a mms file using MMSCOMP.exe...
in mmscomp, it's require .hdr file. how can i create .hdr file?? i've read some explanation of header file. but, i still don't understand how to fill the header file with x-mms-ty, To From etc.. can i get some tutorials? can i get some source code??
thanx b4....
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6541
Registered: 10-2002
Posted on Monday, September 18, 2006 - 10:28 pm:   

The .HDR file is a text file. You create it with a standard text editor, like Notepad.

If you can't create a text file, then no amount of source code could possibly help you. But seriously, no source code is available.
dwi widayana
New member
Username: Dwi

Post Number: 1
Registered: 09-2006
Posted on Thursday, September 28, 2006 - 04:40 am:   

i'd like to use this GPRS Modem:

http://www.itegno.com/products.html

to send and receive MMS. can it works?

and i'd like to reply MMS automatically, what should i do?
the MMS reply take its content from database in PC
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6596
Registered: 10-2002
Posted on Thursday, September 28, 2006 - 07:07 pm:   

NowSMS will work with the iTegno modem for both SMS and MMS.

2way SMS info:

http://www.nowsms.com/documentation/ProductDocumentation/2_way_sms_support.htm

2way MMS info:

http://www.nowsms.com/documentation/ProductDocumentation/2_way_mms_support.htm
http://www.nowsms.com/documentation/ProductDocumentation/mms_notifications_and_c ontent/Submitting_MMS_Messages.htm

Other helpful links;

http://support.nowsms.com/discus/messages/1/742.html
http://support.nowsms.com/discus/messages/485/2135.html