Professional Documents
Culture Documents
A use can change SMS!* A oa+ing use ,ill use it ho+e SMS!* SMS ove GP-S is +o e e..icient /less setup ti+e0 but not al,a1s available*
Developing Mobile Applications 2G1722 Johan Montelius
2
P)
SMS se vices
3 Mobile Te +inating and Mobile 4 iginating SMS is t eated as t,o di..e ent se vices* 3 Mobile has the add ess o. a SMS se vice cente /in the ho+e P5M"0 to ,hich all +essages a e sent* 3 The SMS! can be eached . o+ e6te nal nodes /Sho t Message 7ntities0 th ough a nu+be o. p otocols*
SMS signaling
S MS C submission sub. report delivery delivery report status report
SMS9S:;M)T
3 Message T1pe )ndicato '1 sub+it 3 -e<ect Duplicate 3 =alidit1 Pe iod >o +at
relative, enhanced, absolute, not available
"
% VP F
&
' RD
( M TI
R P D HI S R R
mes s age referen e des tination addres s )& * '& o tets + proto ol identifier oding s ,eme validity period )(- ' or ! o tets+ user data lengt,
3 Status -epo t -e?uest 3 :se Data @eade )nd* 3 -epl1 Path -e?uest
SMS Destination
3 5ength o. add ess /one b1te0 3 >o +at /one b1te0 T1pe o. nu+be # int, nat, local, ** "u+be ing plan# 7*1&%, *** 3 The nu+be %& 7' A1 22 %8 & is coded liBe &% '7 1A 22 8% >& in he6
&
P otocol )denti.ie
3 egula # SM7 to SMS! 3 page# acBno,ledge but do not noti.1 use 3 +obile# handled b1 the te +inal 3 S)M# handled b1 the ca d 3 tele+atic se vices# .a6, tele6, e+ail 3 +an1 +o e ******
!oding sche+e
3 !oding g oup
gene al, +essage ,aiting, data
3 Message class
i++ediate displa1 /+essage0 +obile, S)M, te +inal e?uip+ent /co+pute 0
3 )n total
1%' b1tes o 1&' 79bit cha acte s
GSM Network and Services 2G1723 Johan Montelius
1'
11
"
&
' MM
( M TI
R P .D HI S R I
originator addres s )& /'&+ proto ol identifier oding s ,eme time s tamp )! o tets + user data lengt, user data ) ( * '$( o tets +
3 :D@)
use data heade indication
3 -P
epl1 path set
12
:D@5
)7
)7
:se Data
information element
id
lth data
12
content p ovide
GSM Network and Services 2G1723 Johan Montelius
18
MMS
3 Multi+edia Message Se vice MMS 1*' uses WAP 1*6 stacB MMS 1*192 uses eithe WAP 1*6 o 2*' ead WAP 2'8 MMS A chitectu e 4ve vie, 3 Messages sub+itted using WSPG@TTP* 3 "oti.ication delive ed using WAP Push /ove SMS0* 3 Message et ieved b1 te +inal using WSPG @TTP
GSM Network and Services 2G1723 Johan Montelius
17
MMS p otocols
WAPgw
1(
MMS content
3 A MMS +essage is coded using
->! 2(22, )nte net +essage ->! 2'%8,** Multipa t )nte net Mail 76tensions /M)M70
1A
MMS 9 sub+ission
: "ontent-type: app#ication$%nd-'ap-mms-message : X-Mms-Message-Type: m-send-req X-Mms-Tranaction-ID: 345 : To:+46709123456/TYPE=PLMN From: ???? Sub ect: t!is is a test "ontent-type: app#ication$%nd&'ap&mu#tipart&mi(ed) boundary*+oo-bar
2'
MMS 9 SM)5
<smil> <head> <layout> <root-layout/> <region id=Image top=0 left=0 ... /> <region id=Text top=50% left=0.. /> </layout> </head> < ody> <par dur=!000ms> <text sr"=foo.txt region=Text/> <img sr"= ar.gif region=Image/> </par> </ ody> </smil>
21
MMS 9 noti.ication
: "ontent-type: app#ication$%nd-'ap-mms-message : X-Mms-Message-Type: m-noti+ication-ind X-Mms-Tranaction-ID: 5,: From:+46709123456/TYPE=PLMN Sub ect: t!is is a test X-Mms-"ontent-.ocation: !ttp:$$mmsc&operator&com$msg/3
22
MMS noti.ication
SMS to +46709123456 UDP to port 2948 WSP Push x-wap-application: mms.ua content-type: application./vnd.wap.mms-message
X-Mms-Message-Type: m-noti+ication-ind X-Mms-Tranaction-ID: 5,: From:+46709123456/TYPE=PLMN Sub ect: t!is is a test X-Mms-"ontent-.ocation: !ttp:$$mmsc&op&&&
22
Se vice )ndicationG5oad
3 )nstead o. pushing a MMS9noti.ication ,e can push a othe +essages 3 Se vice )ndication contains a :-5 that is opened b1 the b o,se /i. the use ag ees0 3 Se vice 5oad The te +inal ,ill et ieve the settings auto+aticall1 /depending on secu it1 settings0
2%
Se vice )ndication
SMS to +46709123456 UDP to port 2948 WSP Push x-wap-application: wml.ua content-type: application./vnd.wap.sic
0?(m# %ersion*12&31?4 05D6"T789 si 8:;.I" 1-$$<=8F6>:M$$DTD SI 2&3$$9?1 1!ttp:$$'''&'ap+orum&org$DTD$si&dtd14 0si4 0indication !re+*1!ttp:$$'''&+oo&com$test&'m#1 4 T!is is a test& 0$indication4 0$si4
28
J2M7
3 :sing J2M7 and JS-912' WMA 1ou can egiste a midlet on a po t* 3 The +essages can be sent using SMS po t add essing* 3 !ool P2P ga+es ove SMS initiate co++unication . o+ the net,o B ,aBe up on SMS
2&