GSM eCall Application Note
GSM_eCall_Application_Note_V1.1 - 1 -
Document Title: GSM eCall Application Note
Revision: 1.1
Date: 2012-04-06
Status: Released
Document Control ID GSM_eCall_Application_Note_V1.1
General Notes
Quectel offers this information as a service to its customers, to support application and
engineering efforts that use the products designed by Quectel. The information provided is based
upon requirements specifically provided for customers of Quectel. Quectel has not undertaken any
independent search for additional information, relevant to any information that may be in the
customer’s possession. Furthermore, system validation of this product designed by Quectel within
a larger electronic system remains the responsibility of the customer or the customer’s system
integrator. All specifications supplied herein are subject to change.
Copyright
This document contains proprietary technical information of Quectel Co., Ltd. Copying this
document, distribution to others, and communication of the contents thereof, are forbidden without
permission. Offenders are liable to the payment of damages. All rights are reserved in the event of
a patent grant or registration of a utility model or design. All specifications supplied herein are
subject to change without notice at any time.
Copyright © Quectel Wireless Solutions Co., Ltd. 2012.
Quectel
Confidential
GSM eCall Application Note
GSM_eCall_Application_Note_V1.1 - 2 -
Contents
Contents ............................................................................................................................................ 2
Figure Index ...................................................................................................................................... 3
0. Revision history ............................................................................................................................ 4
1. Introduction ................................................................................................................................... 5
1.1. Reference ............................................................................................................................. 5
1.2. Abbreviations ...................................................................................................................... 5
1.3. eCall overview and architecture .......................................................................................... 5
2. eCall procedure ............................................................................................................................. 7
2.1. Pull mode ............................................................................................................................ 7
2.2. Push mode ........................................................................................................................... 8
2.3. Call release .......................................................................................................................... 9
2.4. Test procedure ..................................................................................................................... 9
3. eCall commands description ....................................................................................................... 12
3.1. AT%EMSD Set DSP to monitor incoming data ............................................................. 12
3.2. AT%EMSDSET Set MSD data ...................................................................................... 12
3.3. AT+CECALL Establish eCall ......................................................................................... 13
3.4. AT%EMSDPUSH Push MSD data to PSAP .................................................................. 13
3.5. AT%EMSDMOD Set eCall mode .................................................................................. 14
3.6. AT%EMSDTNUM Set Test number .............................................................................. 15
3.7. AT%EMSDRNUM Set reconfigured eCall number ....................................................... 15
3.8. AT%EPSAP Set PSAP simulating mode ........................................................................ 16
3.9. AT%EPSAPPULL PSAP pull MSD from IVS, only for simulating .............................. 17
4. Summary of URC ........................................................................................................................ 18
4.1. Summary of URC .............................................................................................................. 18
Quectel
Confidential
GSM eCall Application Note
GSM_eCall_Application_Note_V1.1 - 3 -
Figure Index
FIGURE 1: ECALL SYSTEM OVERVIEW ........................................................................................... 6
FIGURE 2: ECALL SYSTEM ARCHITECTURE .................................................................................. 6
FIGURE 3: PULL MODE ........................................................................................................................ 7
FIGURE 4: PUSH MODE ........................................................................................................................ 8
FIGURE 5: ECALL RELEASE ............................................................................................................... 9
Quectel
Confidential
GSM eCall Application Note
GSM_eCall_Application_Note_V1.1 - 4 -
0. Revision history
Revision Date Author Description of change
1.0 2012-02-22 Laguna XU Initial
1.1 2012-03-28 Thomas
ZHANG
1. Restructured the document
2. Added eCall introduction and eCall test
steps
3. Added AT commands for PSAP
simulation
Quectel
Confidential
GSM eCall Application Note
GSM_eCall_Application_Note_V1.1 - 5 -
1. Introduction
This document mainly introduces how to use the eCall function of Quectel standard module.
eCall function is only supported by the special software version.
1.1. Reference
Table 1: Reference
SN Document name Remark
[1] Mxx_ATC Mxx AT commands set
[2] 3GPP TS 26.267 eCall Data Transfer; In-band modem solution; General
description
[3] 3GPP TS 22.101 Service aspects; Service principles.
1.2. Abbreviations
Terms Description
ACK Acknowledgement
DTE Data Terminal Equipment
IVS In-Vehicle System
MSD Minimum Set of Data
PSAP Public Safety Answering Point
URC Unsolicited Response Code
ATM Set monitor speaker mode
1.3. eCall overview and architecture
eCall is defined as a manually or automatically initiated emergency call (TS12) from a vehicle,
supplemented with a minimum set of emergency related data (MSD), as defined under the EU
Commission’s eSafety initiative.
It can be depicted by the figure below.
Quectel
Confidential
GSM eCall Application Note
GSM_eCall_Application_Note_V1.1 - 6 -
Figure 1: eCall System Overview
The architecture is described in Figure 2. In Quectel test system, the module has the ability to act
as IVS and also to simulate the PSAP. Thus, we could prepare two modules to perform the eCall
testing.
IVS
Data
modem
Speech
Codec
MSD
information
source
Microphone &
Speakers
Radio
Modem
Public-Safety Answering Point (PSAP)
PSAP
Data
Modem
MSD
Display
Microphone &
Speakers
In-Vehicle System (IVS)
GPS
Receiver
position data
PSTN/GSTN
Radio
Modem
(BTS)
Speech
Trans-
coding
(TRAU)
Mobile
Switching
Center
(MSC)
PLMN
Figure 2: eCall System Architecture
Quectel
Confidential
GSM eCall Application Note
GSM_eCall_Application_Note_V1.1 - 7 -
2. eCall procedure
The whole eCall procedure contains Pull Mode, Push Mode and Call Release. The following
figures show the detailed procedure of each mode.
2.1. Pull mode
DTE Modem
AT%EMSD=1 (Start monitor )
No call exist
AT%EMSDSET=…(Put MSD to DSP )
First time starts, always put
MSD before making eCall
AT+CECALL (Make eCall )After connect, DSP
speech on
This URC requires MSD
data update
+ESPEECH (Speech on )
+EMSDPULL (URC, require MSD )
+EMSDHACK (MSD, sent ack )
MSD set complete
Figure 3: Pull mode
Quectel
Confidential
GSM eCall Application Note
GSM_eCall_Application_Note_V1.1 - 8 -
2.2. Push mode
DTE Modem
AT%EMSD=1 (Start monitor )
No call exist
AT%EMSDSET=…(Put MSD to DSP )
First time starts, always
put MSD before making
eCall
AT+CECALL (Make eCall )After connect, DSP
speech on
Should put MSD
before PUSH
+ESPEECH (Speech on )
AT%EMSDPUSH (Push MSD to PSAP)
OK
+EMSDHACK ( MSD sent success or
fail)
Figure 4: Push mode
Quectel
Confidential
GSM eCall Application Note
GSM_eCall_Application_Note_V1.1 - 9 -
2.3. Call release
DTE Modem
ATH (Release all call )
eCall exist
AT%EMSD=0 Close DSP monitor
Figure 5: eCall release
2.4. Test procedure
2.4.1. Commands to be used during the test
AT commands maybe used in IVS side including:
AT%EMSD // Turn on/off the function of DSP monitoring MSD
data
AT%EMSDSET //Set MSD data (GPS address …)
AT+CECALL // Establish eCall (After call connects, speech on)
AT%EMSDPUSH // IVS pushes MSD to PSAP
ATH //Release call
AT%EMSDTNUM //Set test number
AT%EMSDRNUM //Set reconfiguration number
URC reports include:
+EMSDPULL // PSAP starts getting pull data
+EMSDSYNC // SYNC frame is detected, start sending MSD
+EMSDLACK // Link layer data transfer succeeds
+EMSDHACK //High layer data ACK, which will be sent to AP no
matter MSD transfer succeeds or fails.
To support eCall test, we add several commands so that the module can simulate PSAP.
Quectel
Confidential
GSM eCall Application Note
GSM_eCall_Application_Note_V1.1 - 10 -
AT commands maybe used in PASP simulator side including:
AT%EPSAP //Turn on/off PSAP simulating mode
AT%EPSAPPULL //PSAP pulls data from IVS
URC report includes:
+EPSAPIND //MSD is received in PSAP simulator side
Please refer to Chapter 3 for the detailed information of these AT commands.
2.4.2. Test steps
1. Prepare two Quectel M80 modules, download the same eCall firmware to the two modules
then reset them.
2. Insert SIM card and make sure the two modules have registered the network and can dial or
accept the call.
3. Select one module as IVS, the other simulates PSAP. We will call them M_IVS and M_PSAP
in this document.
4. Set DSP monitoring mode and MSD data.
On the M_IVS, execute AT commands:
AT+EMSD=1 //Turn on DSP monitoring MSD
AT+EMSDSET=”0d0d0d” // Set the MSD, hex bytes. This data is just an
example. Max data length is 140 bytes.
On the M_PSAP, execute AT commands:
AT+EPSAP=1 //Turn on PSAP simulation mode
5. Establish eCall.
On the M_IVS, execute AT commands:
AT%EMSDTNUM=13888888888 // Set test number of PSAP. Use the actual number of
M_PSAP.
AT+CECALL=0 // 0 means testing the call
Now, M_PSAP should ring. Accept the call via ATA.
6. Test Pull mode.
On the M_PSAP, execute AT commands:
AT%EPSPPULL
[Expected result]: regular noise should be heard on the two modules, and +EPSAPIND should be
reported to the UART. The valid data received should be same as that set in M_IVS.
Quectel
Confidential
GSM eCall Application Note
GSM_eCall_Application_Note_V1.1 - 11 -
For example:
+EPSAPIND :00D0D0D00000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000
On the M_IVS side, the following URC will be reported:
+EMSDPULL
+EMSDSYNC
+EMSDSYNC
+EMSDSYNC
+EMSDHACK:1
7. Test Push mode.
On M_IVS, execute commands:
AT%EMSDPUSH // Push MSD to PSAP
[Expected Result] Same as the pull mode
8. End test.
Release call, turn off DSP monitoring MSD.
ATH //Release all calls
On M_IVS,
AT%EMSD=0 //Turn off DSP monitoring MSD
On M_PSAP
AT%EPSAP=0 //Turn off PSAP simulating
Quectel
Confidential
GSM eCall Application Note
GSM_eCall_Application_Note_V1.1 - 12 -
3. eCall commands description
3.1. AT%EMSD Set DSP to monitor incoming data
AT%EMSD Set DSP to monitor incoming data
Test Command
AT%EMSD=?
Response:
%EMSD: (0-1)
OK
Read Command
AT%EMSD?
Not supported.
Write Command
AT%EMSD=<Monit
or_dsp>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Remark:
Limitation: must no call exist. Customer shall release all call first.
Parameter
<Monitor_dsp> :
0 DSP stops monitoring “eCall related signal” in
speech signal.
1 DSP starts to monitor “eCcall related signal”.
3.2. AT%EMSDSET Set MSD data
AT%EMSDSET Set MSD data
Test Command
AT%EMSDSET=?
Response:
OK
Read Command
AT%EMSDSET?
Not supported.
Write Command
AT%EMSDSET=<
MSD data>
Response
OK
Parameter
<MSD data> :MSD data should be hex bytes written in string format,
E.g.: AT%EMSDSET=”0D0D0D0D…”,
280 characters in total including quotes.
Quectel
Confidential
GSM eCall Application Note
GSM_eCall_Application_Note_V1.1 - 13 -
3.3. AT+CECALL Establish eCall
AT+CECALL Establish eCall
Test Command
AT+CECALL=?
Response:
+CEALL: (0,1,2,3)
OK
Read Command
AT+CECALL?
Response:
+CECALL:[<type_of_call>]
OK
Write Command
AT+CECALL=<Typ
e_of_call>
Response.
OK
After call context, speech on:
+ESPEECH
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<Type_of_call> :
0 Test call
1 Reconfiguration call
2 Manually initiated eCall.
3 Automatically initiated eCall.
3.4. AT%EMSDPUSH Push MSD data to PSAP
AT%EMSDPUSH Push MSD data to PSAP
Test Command
AT%EMSDPUSH=?
Response:
OK
Read Command
AT%EMSDPUSH?
Not Supported
Write Command
AT%EMSDPUSH
Response.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
None
Quectel
Confidential
GSM eCall Application Note
GSM_eCall_Application_Note_V1.1 - 14 -
3.5. AT%EMSDMOD Set eCall mode
AT%EMSDMOD Set eCall mode
Test Command
AT%EMSDMOD =?
Response:
%EMSDMOD: (0-2)
OK
Read Command
AT%EMSDMOD?
Not Supported
Write Command
AT%
EMSDMOD=<MSD
MOD>
Response.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<MSDMOD>
0 SIM_ECALL_NONE
1 SIM_ECALL_ONLY
2 SIM_ECALL_AND_NORMAL
3 SIM_ECALL_TEST_DISABLE
(For eCall test) Quectel
Confidential
GSM eCall Application Note
GSM_eCall_Application_Note_V1.1 - 15 -
3.6. AT%EMSDTNUM Set Test number
AT%EMSDTNUM Set Test number
Test Command
AT%EMSDTNUM
=?
Response:
OK
Read Command
AT%EMSDTNUM?
Not Supported
Write Command
AT%EMSDTNUM=
<Testnum>
Response.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<Testnum> Test number user want to use
AT%EMSDTNUM
Response.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
None.
Note:
Sending this command without parameter is used for clearing test
number. If SIM profile is available, use SIM profile number, otherwise
you cannot make test call.
3.7. AT%EMSDRNUM Set reconfigured eCall number
AT%EMSDRNUM Set reconfigured eCall number
Test Command
AT%EMSDRNUM
=?
Response:
OK
Read Command
AT%EMSDRNUM?
Not Supported
Quectel
Confidential
GSM eCall Application Note
GSM_eCall_Application_Note_V1.1 - 16 -
Write Command
AT%EMSDRNUM
=<Reconfigure num>
Response.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<Reconfigure num> Reconfigure number user want to use
AT%EMSDRNUM
Response.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
None.
Note:
Sending this command without parameter is used for clearing
reconfiguration number. If SIM profile is available, use SIM profile
number, otherwise you cannot make reconfigured eCall.
3.8. AT%EPSAP Set PSAP simulating mode
AT%EPSAP Set PSAP simulating mode
Test Command
AT%EPSAP =?
Response:
OK
Read Command
AT%EPSAP?
Not Supported
Write Command
AT%
EPSAP=<mode>
Response.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<mode>
0 Turn off PSAP simulating mode
1 Turn on PSAP simulating mode
Quectel
Confidential
GSM eCall Application Note
GSM_eCall_Application_Note_V1.1 - 17 -
3.9. AT%EPSAPPULL PSAP pull MSD from IVS, only for simulating
AT%EPSAPPULL PSAP pulls MSD from IVS
Test Command
AT%EPSAPPULL
=?
Response:
OK
Read Command
AT%EPSAPPULL?
Not Supported
Write Command
AT% EPSAPPULL
Response.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
None
Note:
Only applied when PSAP simulating mode is turned on.
Quectel
Confidential
GSM eCall Application Note
GSM_eCall_Application_Note_V1.1 - 18 -
4. Summary of URC
4.1. Summary of URC
Index URC display Meaning Condition
1 +EMSDPULL PSAP start getting pull data
2 +EMSDSYNC SYNC frame is detected, start
sending MSD
3 +EMSDLACK Link layer data transfer succeeds
Only sent when
low layer transfer
succeeds
4 +EMSDHACK High layer data ACK. It will show
MSD transfer succeeds or fails.
Only sent after
PULL action.
5 +EPSAPIND:<MSD
data> The MSD data is received by PSAP
Pull or Push
mode
Quectel
Confidential
Shanghai Quectel Wireless Solutions Co., Ltd.
Room 501, Building 13,No.99 Tianzhou Road, Shanghai, China 200233
Tel: +86 21 5108 6236
Mail: [email protected]
Top Related