GSM手機使用短消息協議英文(pdf 66頁)
GSM手機使用短消息協議英文(pdf 66頁)內容簡介
Contents
Intellectual Property Rights...........................................6
Foreword .....................................................6
Introduction ...................................................6
0 Scope...................................................7
0.1 References................................................... 8
0.2 Abbreviations.................................................. 8
1 Reference configuration..........................................9
1.1 V.24 Interface Circuits.............................................. 9
1.1.1 Circuit definitions for the SMS Block mode ................................ 9
1.1.2 Circuit definitions for the SMS Text and PDU modes ........................... 10
2 SMS Block Mode............................................10
2.1 Beginning and ending of SMS/CBS Block Mode................................ 10
2.1.1 Beginning SMS/CBS Block Mode..................................... 10
2.1.2 Returning from SMS/CBS Block Mode To Default Mode ........................ 11
2.2 Protocol description .............................................. 11
2.3 Requesting messages already held in the Mobile Termination ........................ 12
2.3.1 Requesting List Of Messages ....................................... 12
2.3.2 Requesting Transfer Of Messages...................................... 13
2.3.2.1 Requesting Transfer Of A Specific Message .............................. 13
2.3.2.2 Requesting Transfer Of All Messages .................................. 13
2.3.3 Requesting Diversion Of Incoming Messages................................ 13
2.3.3.1 Requesting SMS Messages ....................................... 13
2.3.3.2 Requesting CBS Messages ....................................... 14
2.3.3.3 Requesting indication of message arrival ............................... 14
2.3.4 Requesting Transfer Into Mobile Termination ............................... 15
2.3.5 Requesting Deletion Of Messages...................................... 15
2.4 Message functional definitions and contents.................................. 15
2.4.1 Commands Issued By The Terminal Equipment .............................. 16
2.4.1.1 List Request ............................................... 16
2.4.1.2 Get Message .............................................. 16
2.4.1.3 Get First Message ............................................ 16
2.4.1.4 Get Next Message............................................ 17
2.4.1.5 Transfer Inc SMS........................................... 17
2.4.1.6 Indicate Inc SMS ........................................... 17
2.4.1.7 Transfer Inc CBS........................................... 17
2.4.1.8 Insert SMS ............................................... 17
2.4.1.9 Delete message ............................................ 17
2.4.1.10 Unable to process ............................................ 17
2.4.1.11 End SMS Mode ............................................. 18
2.4.1.12 Acknowledge Message ......................................... 18
2.4.2 Responses/Indications Issued By The MT ................................. 18
2.4.2.1 Message List .............................................. 18
2.4.2.2 Message ................................................. 18
2.4.2.3 Get Message Failure ........................................... 19
2.4.2.4 Inc Message ............................................... 19
2.4.2.5 Message Arrived............................................ 19
2.4.2.6 Insert SMS Complete......................................... 19
2.4.2.7 Insert SMS Failure........................................... 19
2.4.2.8 Delete Message Complete ........................................ 19
2.4.2.9 Delete Message Failure........................................ 19
2.4.2.10 Unable To Process........................................... 20
2.4.2.11 End SMS Mode ............................................. 20
2.4.2.12 Request Confirmed ........................................... 20
2.5 General message format and information elements coding.......................... 20
2.5.1 Message Type................................................ 20
2.5.2 Other Information Elements ......................................... 21
2.5.2.1 Short Message Reference........................................ 21
2.5.2.2 SMS Transfer Type .......................................... 22
2.5.2.3 Indication Type............................................ 22
2.5.2.4 Insert Type............................................... 23
2.5.2.5 Short Message Index.......................................... 24
2.5.2.6 Short Message Data .......................................... 26
2.5.2.7 Cause ................................................. 28
2.5.2.8 Index Count ............................................... 29
2.5.2.9 CBS Transfer Type.......................................... 30
2.5.2.10 Page Index ............................................... 30
2.5.2.11 Last Short Message.......................................... 31
2.5.2.12 Confirm Type .............................................. 31
2.5.2.13 TP-Failure Cause ........................................... 32
2.5.2.14 SM-Deliver-Ack ............................................ 32
2.5.2.15 SM-Submit-Ack............................................. 32
3 Text Mode ...............................................33
3.1 Parameter Definitions ............................................. 33
3.2 General Configuration Commands....................................... 36
3.2.1 Select Message Service +CSMS ...................................... 36
3.2.2 Preferred Message Storage +CPMS..................................... 36
3.2.3 Message Format +CMGF......................................... 37
3.2.4 Enter SMS Block Mode Protocol +CESP.................................. 37
3.2.5 Message Service Failure Result Code +CMS ERROR........................... 38
3.2.6 Informative Examples ........................................... 38
3.3 Message Configuration Commands ....................................... 39
3.3.1 Service Centre Address +CSCA....................................... 39
3.3.2 Set Text Mode Parameters +CSMP.................................... 39
3.3.3 Show Text Mode Parameters +CSDH.................................... 39
3.3.4 Select Cell Broadcast Message Types +CSCB............................... 40
3.3.5 Save Settings +CSAS ............................................ 40
3.3.6 Restore Settings +CRES.......................................... 41
3.3.7 Informative Examples ........................................... 41
3.4 Message Receiving and Reading Commands................................. 42
3.4.1 New Message Indications to TE +CNMI ................................. 42
3.4.2 List Messages +CMGL .......................................... 46
3.4.3 Read Message +CMGR........................................... 47
3.4.4 New Message Acknowledgement to ME/TA +CNMA.......................... 47
3.4.5 Informative Examples ........................................... 48
3.5 Message Sending and Writing Commands................................... 49
3.5.1 Send Message +CMGS .......................................... 49
3.5.2 Send Message from Storage +CMSS ................................... 50
3.5.3 Write Message to Memory +CMGW................................... 50
3.5.4 Delete Message +CMGD......................................... 51
3.5.5 Send Command +CMGC ......................................... 51
3.5.6 More Messages to Send +CMMS $(TEI R97)$ .............................. 52
3.5.7 Informative Examples ........................................... 52
4 PDU Mode ................................................53
4.1 List Messages +CMGL............................................. 53
4.2 Read Message +CMGR ............................................ 54
4.3 Send Message +CMGS............................................. 54
4.4 Write Message to Memory +CMGW..................................... 55
4.5 Send Command +CMGC............................................ 55
4.6 New Message Acknowledgement to ME/TA +CNMA............................ 55
4.7 Send Message from Storage +CMSS..................................... 56
Annex A (Normative): Character Set Conversions for SMS Text Mode ..............58
Annex B (Informative): Example of processing a data block.....................61
B.1 Example state diagrams for the block receiver ................................ 61
B.2 Example of coding and decoding a data block................................. 61
Annex C (Informative): Change History ................................65
History .....................................................66
..............................
Intellectual Property Rights...........................................6
Foreword .....................................................6
Introduction ...................................................6
0 Scope...................................................7
0.1 References................................................... 8
0.2 Abbreviations.................................................. 8
1 Reference configuration..........................................9
1.1 V.24 Interface Circuits.............................................. 9
1.1.1 Circuit definitions for the SMS Block mode ................................ 9
1.1.2 Circuit definitions for the SMS Text and PDU modes ........................... 10
2 SMS Block Mode............................................10
2.1 Beginning and ending of SMS/CBS Block Mode................................ 10
2.1.1 Beginning SMS/CBS Block Mode..................................... 10
2.1.2 Returning from SMS/CBS Block Mode To Default Mode ........................ 11
2.2 Protocol description .............................................. 11
2.3 Requesting messages already held in the Mobile Termination ........................ 12
2.3.1 Requesting List Of Messages ....................................... 12
2.3.2 Requesting Transfer Of Messages...................................... 13
2.3.2.1 Requesting Transfer Of A Specific Message .............................. 13
2.3.2.2 Requesting Transfer Of All Messages .................................. 13
2.3.3 Requesting Diversion Of Incoming Messages................................ 13
2.3.3.1 Requesting SMS Messages ....................................... 13
2.3.3.2 Requesting CBS Messages ....................................... 14
2.3.3.3 Requesting indication of message arrival ............................... 14
2.3.4 Requesting Transfer Into Mobile Termination ............................... 15
2.3.5 Requesting Deletion Of Messages...................................... 15
2.4 Message functional definitions and contents.................................. 15
2.4.1 Commands Issued By The Terminal Equipment .............................. 16
2.4.1.1 List Request ............................................... 16
2.4.1.2 Get Message .............................................. 16
2.4.1.3 Get First Message ............................................ 16
2.4.1.4 Get Next Message............................................ 17
2.4.1.5 Transfer Inc SMS........................................... 17
2.4.1.6 Indicate Inc SMS ........................................... 17
2.4.1.7 Transfer Inc CBS........................................... 17
2.4.1.8 Insert SMS ............................................... 17
2.4.1.9 Delete message ............................................ 17
2.4.1.10 Unable to process ............................................ 17
2.4.1.11 End SMS Mode ............................................. 18
2.4.1.12 Acknowledge Message ......................................... 18
2.4.2 Responses/Indications Issued By The MT ................................. 18
2.4.2.1 Message List .............................................. 18
2.4.2.2 Message ................................................. 18
2.4.2.3 Get Message Failure ........................................... 19
2.4.2.4 Inc Message ............................................... 19
2.4.2.5 Message Arrived............................................ 19
2.4.2.6 Insert SMS Complete......................................... 19
2.4.2.7 Insert SMS Failure........................................... 19
2.4.2.8 Delete Message Complete ........................................ 19
2.4.2.9 Delete Message Failure........................................ 19
2.4.2.10 Unable To Process........................................... 20
2.4.2.11 End SMS Mode ............................................. 20
2.4.2.12 Request Confirmed ........................................... 20
2.5 General message format and information elements coding.......................... 20
2.5.1 Message Type................................................ 20
2.5.2 Other Information Elements ......................................... 21
2.5.2.1 Short Message Reference........................................ 21
2.5.2.2 SMS Transfer Type .......................................... 22
2.5.2.3 Indication Type............................................ 22
2.5.2.4 Insert Type............................................... 23
2.5.2.5 Short Message Index.......................................... 24
2.5.2.6 Short Message Data .......................................... 26
2.5.2.7 Cause ................................................. 28
2.5.2.8 Index Count ............................................... 29
2.5.2.9 CBS Transfer Type.......................................... 30
2.5.2.10 Page Index ............................................... 30
2.5.2.11 Last Short Message.......................................... 31
2.5.2.12 Confirm Type .............................................. 31
2.5.2.13 TP-Failure Cause ........................................... 32
2.5.2.14 SM-Deliver-Ack ............................................ 32
2.5.2.15 SM-Submit-Ack............................................. 32
3 Text Mode ...............................................33
3.1 Parameter Definitions ............................................. 33
3.2 General Configuration Commands....................................... 36
3.2.1 Select Message Service +CSMS ...................................... 36
3.2.2 Preferred Message Storage +CPMS..................................... 36
3.2.3 Message Format +CMGF......................................... 37
3.2.4 Enter SMS Block Mode Protocol +CESP.................................. 37
3.2.5 Message Service Failure Result Code +CMS ERROR........................... 38
3.2.6 Informative Examples ........................................... 38
3.3 Message Configuration Commands ....................................... 39
3.3.1 Service Centre Address +CSCA....................................... 39
3.3.2 Set Text Mode Parameters +CSMP.................................... 39
3.3.3 Show Text Mode Parameters +CSDH.................................... 39
3.3.4 Select Cell Broadcast Message Types +CSCB............................... 40
3.3.5 Save Settings +CSAS ............................................ 40
3.3.6 Restore Settings +CRES.......................................... 41
3.3.7 Informative Examples ........................................... 41
3.4 Message Receiving and Reading Commands................................. 42
3.4.1 New Message Indications to TE +CNMI ................................. 42
3.4.2 List Messages +CMGL .......................................... 46
3.4.3 Read Message +CMGR........................................... 47
3.4.4 New Message Acknowledgement to ME/TA +CNMA.......................... 47
3.4.5 Informative Examples ........................................... 48
3.5 Message Sending and Writing Commands................................... 49
3.5.1 Send Message +CMGS .......................................... 49
3.5.2 Send Message from Storage +CMSS ................................... 50
3.5.3 Write Message to Memory +CMGW................................... 50
3.5.4 Delete Message +CMGD......................................... 51
3.5.5 Send Command +CMGC ......................................... 51
3.5.6 More Messages to Send +CMMS $(TEI R97)$ .............................. 52
3.5.7 Informative Examples ........................................... 52
4 PDU Mode ................................................53
4.1 List Messages +CMGL............................................. 53
4.2 Read Message +CMGR ............................................ 54
4.3 Send Message +CMGS............................................. 54
4.4 Write Message to Memory +CMGW..................................... 55
4.5 Send Command +CMGC............................................ 55
4.6 New Message Acknowledgement to ME/TA +CNMA............................ 55
4.7 Send Message from Storage +CMSS..................................... 56
Annex A (Normative): Character Set Conversions for SMS Text Mode ..............58
Annex B (Informative): Example of processing a data block.....................61
B.1 Example state diagrams for the block receiver ................................ 61
B.2 Example of coding and decoding a data block................................. 61
Annex C (Informative): Change History ................................65
History .....................................................66
..............................
用戶登陸
信息化知識熱門資料
信息化知識相關下載