s
Application Developer’s
Guide
Siemens Cellular Engines
Version: v06
DocID: wm_an_24_dev_guide_v06
A
pp
lication Note 24
s
Application Note 24: Application Developer’s Guide
Confidential / Preliminary
s
wm_an_24_dev_guide_v06 Page 2 of 370 06.09.2005
Application Note 24:
Application Developer’s Guide
Version:
v06
Date:
September 02, 2005
DocId:
wm_an_24_dev_guide_v06
Status:
Confidential / Preliminary
General note
Product is deemed accepted by Recipient and is provided without interface to Recipient’s products.
The Product constitutes pre-release version and code and may be changed substantially before
commercial release. The Product is provided on an “as is” basis only and may contain deficiencies or
inadequacies. The Product is provided without warranty of any kind, express or implied. To the
maximum extent permitted by applicable law, Siemens further disclaims all warranties, including
without limitation any implied warranties of merchantability, fitness for a particular purpose and
noninfringement of third-party rights. The entire risk arising out of the use or performance of the
Product and documentation remains with Recipient. This Product is not intended for use in life support
appliances, devices or systems where a malfunction of the product can reasonably be expected to
result in personal injury. Applications incorporating the described product must be designed to be in
accordance with the technical specifications provided in these guidelines. Failure to comply with any
of the required procedures can result in malfunctions or serious discrepancies in results. Furthermore,
all safety instructions regarding the use of mobile technical systems, including GSM products, which
also apply to cellular phones, must be followed. Siemens AG customers using or selling this product
for use in any applications do so at their own risk and agree to fully indemnify Siemens for any
damages resulting from illegal use or resale. To the maximum extent permitted by applicable law, in
no event shall Siemens or its suppliers be liable for any consequential, incidental, direct, indirect,
punitive or other damages whatsoever (including, without limitation, damages for loss of business
profits, business interruption, loss of business information or data, or other pecuniary loss) arising out
the use of or inability to use the Product, even if Siemens has been advised of the possibility of such
damages. Subject to change without notice at any time.
Copyright
Transmittal, reproduction, dissemination and/or editing of this document as well as utilization of its
contents and communication thereof to others without express authorization are prohibited. Offenders
will be held liable for payment of damages. All rights created by patent grant or registration of a utility
model or design patent are reserved.
Copyright © Siemens AG 2005
Trademark notice
MS Windows® is a registered trademark of Microsoft Corporation.
Application Note 24: Application Developer’s Guide
Confidential / Preliminary
s
wm_an_24_dev_guide_v06 Page 3 of 370 06.09.2005
Contents
0 Document history.......................................................................................................................15
1 Introduction ................................................................................................................................18
1.1 Related documents ........................................................................................................ 18
1.2 Differences between supported products ...................................................................... 18
1.3 Abbreviations.................................................................................................................. 19
1.4 Conventions and definitions ........................................................................................... 20
1.4.1 Conventions .................................................................................................... 20
1.4.2 Definitions ....................................................................................................... 20
1.4.3 Flow chart symbols ......................................................................................... 21
2 Scenarios ....................................................................................................................................23
2.1 Emergency call............................................................................................................... 25
2.1.1 Making an emergency call .............................................................................. 25
2.1.1.1 Description............................................................................................ 25
2.1.1.2 Used AT commands ............................................................................. 25
2.1.1.3 Flow chart ............................................................................................. 25
2.1.1.4 Hints...................................................................................................... 26
2.1.1.5 Example................................................................................................ 26
2.2 Basic initialization ........................................................................................................... 27
2.2.1 Restore profile................................................................................................. 27
2.2.1.1 Description............................................................................................ 27
2.2.1.2 Used AT commands ............................................................................. 27
2.2.1.3 Flow chart ............................................................................................. 28
2.2.1.4 Hints...................................................................................................... 29
2.2.1.5 Example................................................................................................ 29
2.2.2 Recommended basic initialization .................................................................. 30
2.2.2.1 Description............................................................................................ 30
2.2.2.2 Used AT commands ............................................................................. 30
2.2.2.3 Flow chart ............................................................................................. 31
2.2.2.4 Hints...................................................................................................... 32
2.2.2.5 Example................................................................................................ 32
2.2.3 Network initialization ....................................................................................... 33
2.2.3.1 Description............................................................................................ 33
2.2.3.2 Used AT commands ............................................................................. 33
2.2.3.3 Flow Chart ............................................................................................ 34
2.2.3.4 Hints...................................................................................................... 34
2.2.3.5 Example................................................................................................ 35
2.2.4 Initialization of serial interface......................................................................... 36
2.2.4.1 Description............................................................................................ 36
2.2.4.2 Used AT commands ............................................................................. 36
2.2.4.3 Flow Chart ............................................................................................ 37
2.2.4.4 Hints...................................................................................................... 38
2.2.4.5 Example................................................................................................ 38
2.2.5 Storing settings to user profile ........................................................................ 39
2.2.5.1 Description............................................................................................ 39
2.2.5.2 Used AT commands ............................................................................. 39
2.2.5.3 Flow chart ............................................................................................. 39
2.2.5.4 Hints...................................................................................................... 39
2.2.5.5 Example................................................................................................ 39
2.3 Device information.......................................................................................................... 40
2.3.1 Getting IMEI .................................................................................................... 41
2.3.1.1 Description............................................................................................ 41
2.3.1.2 Used AT commands ............................................................................. 41
Application Note 24: Application Developer’s Guide
Confidential / Preliminary
s
wm_an_24_dev_guide_v06 Page 4 of 370 06.09.2005
2.3.1.3 Flow chart ............................................................................................. 41
2.3.1.4 Hints...................................................................................................... 41
2.3.1.5 Example................................................................................................ 42
2.3.2 Getting hardware and software information.................................................... 43
2.3.2.1 Description............................................................................................ 43
2.3.2.2 Used AT commands ............................................................................. 43
2.3.2.3 Flow chart ............................................................................................. 44
2.3.2.4 Hints...................................................................................................... 44
2.3.2.5 Example................................................................................................ 45
2.3.3 Getting SIM card ID ........................................................................................ 47
2.3.3.1 Description............................................................................................ 47
2.3.3.2 Used AT commands ............................................................................. 47
2.3.3.3 Flow chart ............................................................................................. 47
2.3.3.4 Hints...................................................................................................... 47
2.3.3.5 Example................................................................................................ 48
2.4 Power saving.................................................................................................................. 49
2.4.1 CYCLIC and NON-CYCLIC SLEEP mode ..................................................... 49
2.4.1.1 Description............................................................................................ 49
2.4.1.2 Used AT commands ............................................................................. 49
2.4.1.3 Flow chart ............................................................................................. 50
2.4.1.4 Hints...................................................................................................... 52
2.4.1.5 Example................................................................................................ 53
2.5 Entering PIN ................................................................................................................... 57
2.5.1 Entering SIM PIN ............................................................................................ 58
2.5.1.1 Description............................................................................................ 58
2.5.1.2 Used AT commands ............................................................................. 58
2.5.1.3 Flow chart ............................................................................................. 59
2.5.1.4 Hints...................................................................................................... 59
2.5.1.5 Example................................................................................................ 60
2.5.2 Entering SIM PUK........................................................................................... 62
2.5.2.1 Description............................................................................................ 62
2.5.2.2 Used AT commands ............................................................................. 62
2.5.2.3 Flow chart ............................................................................................. 63
2.5.2.4 Hints...................................................................................................... 63
2.5.2.5 Example................................................................................................ 64
2.5.3 Entering PH SIM PIN ...................................................................................... 66
2.5.3.1 Description............................................................................................ 66
2.5.3.2 Used AT commands ............................................................................. 66
2.5.3.3 Flow chart ............................................................................................. 67
2.5.3.4 Hints...................................................................................................... 67
2.5.3.5 Example................................................................................................ 68
2.5.4 Entering PH SIM PUK..................................................................................... 70
2.5.4.1 Description............................................................................................ 70
2.5.4.2 Used AT commands ............................................................................. 70
2.5.4.3 Flow chart ............................................................................................. 71
2.5.4.4 Hints...................................................................................................... 71
2.5.4.5 Example................................................................................................ 72
2.5.5 Entering SIM PIN2 .......................................................................................... 74
2.5.5.1 Description............................................................................................ 74
2.5.5.2 Used AT commands ............................................................................. 74
2.5.5.3 Flow chart ............................................................................................. 75
2.5.5.4 Hints...................................................................................................... 76
2.5.5.5 Example................................................................................................ 76
2.5.6 Entering SIM PUK2......................................................................................... 78
2.5.6.1 Description............................................................................................ 78
2.5.6.2 Used AT commands ............................................................................. 78
2.5.6.3 Flow chart ............................................................................................. 79
2.5.6.4 Hints...................................................................................................... 80
2.5.6.5 Example................................................................................................ 81
2.5.7 CME ERROR handling ................................................................................... 84
Application Note 24: Application Developer’s Guide
Confidential / Preliminary
s
wm_an_24_dev_guide_v06 Page 5 of 370 06.09.2005
2.5.7.1 Description............................................................................................ 84
2.5.7.2 Used AT commands ............................................................................. 84
2.5.7.3 Flow Chart ............................................................................................ 84
2.5.7.4 Hints...................................................................................................... 84
2.5.7.5 Example................................................................................................ 84
2.6 Monitoring....................................................................................................................... 85
2.6.1 Initialization of monitor functions..................................................................... 86
2.6.1.1 Description............................................................................................ 86
2.6.1.2 Used AT commands ............................................................................. 86
2.6.1.3 Flow chart ............................................................................................. 87
2.6.1.4 Hints...................................................................................................... 87
2.6.1.5 Example................................................................................................ 88
2.6.2 Cyclic monitoring............................................................................................. 90
2.6.2.1 Description............................................................................................ 90
2.6.2.2 Used AT commands ............................................................................. 90
2.6.2.3 Flow chart ............................................................................................. 90
2.6.2.4 Hints...................................................................................................... 91
2.6.2.5 Example................................................................................................ 91
2.6.3 Event monitoring ............................................................................................. 92
2.6.3.1 Description............................................................................................ 92
2.6.3.2 Used AT commands ............................................................................. 92
2.6.3.3 Flow chart ............................................................................................. 92
2.6.3.4 Hints...................................................................................................... 92
2.6.3.5 Example................................................................................................ 93
2.7 Supplementary services................................................................................................. 94
2.7.1 Call barring – all outgoing calls....................................................................... 94
2.7.1.1 Description............................................................................................ 94
2.7.1.2 Used AT commands ............................................................................. 94
2.7.1.3 Flow Chart ............................................................................................ 95
2.7.1.4 Hints...................................................................................................... 96
2.7.1.5 Example................................................................................................ 96
2.7.2 Call forwarding unconditional for voice calls................................................... 98
2.7.2.1 Description............................................................................................ 98
2.7.2.2 Used AT commands ............................................................................. 98
2.7.2.3 Flow chart ............................................................................................. 99
2.7.2.4 Hints.................................................................................................... 100
2.7.2.5 Example.............................................................................................. 100
2.7.3 Multiparty....................................................................................................... 102
2.7.3.1 Multiparty initialization......................................................................... 102
2.7.3.1.1 Description................................................................................ 102
2.7.3.1.2 Used AT commands................................................................. 102
2.7.3.1.3 Flow chart................................................................................. 103
2.7.3.1.4 Hints ......................................................................................... 104
2.7.3.1.5 Example.................................................................................... 104
2.7.3.2 Multiparty – call waiting during voice calls.......................................... 107
2.7.3.2.1 Description................................................................................ 107
2.7.3.2.2 Used AT commands................................................................. 107
2.7.3.2.3 Flowchart.................................................................................. 108
2.7.3.2.4 Hints ......................................................................................... 110
2.7.3.2.5 Example.................................................................................... 110
2.7.3.3 Multiparty – conference call................................................................ 113
2.7.3.3.1 Description................................................................................ 113
2.7.3.3.2 Used AT commands................................................................. 113
2.7.3.3.3 Flow chart................................................................................. 114
2.7.3.3.4 Hints ......................................................................................... 118
2.7.3.3.5 Example.................................................................................... 118
2.7.3.4 Multiparty - call reject.......................................................................... 123
2.7.3.4.1 Description................................................................................ 123
2.7.3.4.2 Used AT commands................................................................. 123
2.7.3.4.3 Flowchart.................................................................................. 124