Page 4
GSM 07.05 version 5.5.0: January 1998
2.5.1 Message Type .............................................................................................. 23
2.5.2 Other Information Elements.......................................................................... 24
2.5.2.1 Short Message Reference .................................................. 24
2.5.2.2 SMS Transfer Type............................................................. 25
2.5.2.3 Indication Type.................................................................... 25
2.5.2.4 Insert Type .......................................................................... 26
2.5.2.5 Short Message Index .......................................................... 27
2.5.2.6 Short Message Data ........................................................... 29
2.5.2.7 Cause.................................................................................. 31
2.5.2.8 Index Count......................................................................... 32
2.5.2.9 CBS Transfer Type ............................................................. 32
2.5.2.10 Page Index.......................................................................... 32
2.5.2.11 Last Short Message ............................................................ 33
2.5.2.12 Confirm Type ...................................................................... 33
2.5.2.13 TP-Failure Cause................................................................ 34
2.5.2.14 SM-Deliver-Ack ................................................................... 34
2.5.2.15 SM-Submit-Ack................................................................... 35
3 Text Mode......................................................................................................................................... 35
3.1 Parameter Definitions........................................................................................................35
3.2 General Configuration Commands.................................................................................... 38
3.2.1 Select Message Service +CSMS.................................................................. 38
3.2.2 Preferred Message Storage +CPMS............................................................ 39
3.2.3 Message Format +CMGF............................................................................. 39
3.2.4 Enter SMS Block Mode Protocol +CESP...................................................... 40
3.2.5 Message Service Failure Result Code +CMS ERROR ................................ 40
3.2.6 Informative Examples................................................................................... 41
3.3 Message Configuration Commands.................................................................................. 41
3.3.1 Service Centre Address +CSCA................................................................... 41
3.3.2 Set Text Mode Parameters +CSMP ............................................................. 41
3.3.3 Show Text Mode Parameters +CSDH.......................................................... 42
3.3.4 Select Cell Broadcast Message Types +CSCB............................................ 42
3.3.5 Save Settings +CSAS................................................................................... 43
3.3.6 Restore Settings +CRES .............................................................................. 43
3.3.7 Informative Examples................................................................................... 43
3.4 Message Receiving and Reading Commands.................................................................. 44
3.4.1 New Message Indications to TE +CNMI....................................................... 44
3.4.2 List Messages +CMGL ................................................................................. 48
3.4.3 Read Message +CMGR ............................................................................... 49
3.4.4 New Message Acknowledgement to ME/TA +CNMA................................... 49
3.4.5 Informative Examples................................................................................... 50
3.5 Message Sending and Writing Commands....................................................................... 51
3.5.1 Send Message +CMGS................................................................................ 51
3.5.2 Send Message from Storage +CMSS .......................................................... 52
3.5.3 Write Message to Memory +CMGW ............................................................ 53
3.5.4 Delete Message +CMGD.............................................................................. 53
3.5.5 Send Command +CMGC.............................................................................. 53
3.5.6 More Messages to Send +CMMS $(TEI R97)$............................................ 54
3.5.7 Informative Examples................................................................................... 54
4 PDU Mode ........................................................................................................................................ 55
4.1 List Messages +CMGL...................................................................................................... 55
4.2 Read Message +CMGR.................................................................................................... 56
4.3 Send Message +CMGS .................................................................................................... 56
4.4 Write Message to Memory +CMGW................................................................................. 57
4.5 Send Command +CMGC .................................................................................................. 57
4.6 New Message Acknowledgement to ME/TA +CNMA ....................................................... 58
4.7 Send Message from Storage +CMSS............................................................................... 59
Annex A (Normative): Character Set Conversions for SMS Text Mode................................................ 60
Annex B (Informative): Example of processing a data block.................................................................. 63
B.1 Example state diagrams for the block receiver................................................................. 63