8.8 AT commands
34.123-33GPPPart 3: Abstract test suite (ATS)TSUser Equipment (UE) conformance specification
Table 8.8 shows a list of AT commands. By using these commands the ATSs communicate with the SS for an automatic execution. The column "ATS" indicates in which ATS the command is used.
Table 8.8: AT commands used in 3GPP TTCN-2 ATSs
Command |
Reference |
ATS |
+CGACT |
3GPP TS 27.007 [23] |
BMC, MAC, NAS, RAB, RLC, RRC, PDCP, SMS |
+CGATT |
3GPP TS 27.007 [23] |
BMC, MAC, NAS, RAB, RLC, RRC, PDCP, SMS |
+CGCMOD |
3GPP TS 27.007 [23] |
NAS |
+CGDCONT (Note) |
3GPP TS 27.007 [23] |
BMC, MAC, NAS, RAB, RLC, RRC, PDCP, SMS |
+CGDSCONT |
3GPP TS 27.007 [23] |
NAS |
+CGEQREQ |
3GPP TS 27.007 [23] |
BMC, MAC, NAS, RAB, RLC, RRC, PDCP, SMS |
+CLCC |
3GPP TS 27.007 [23] |
NAS |
H |
3GPP TS 27.007 [23] |
NAS, RAB, RRC, SMS |
+CBST |
3GPP TS 27.007 [23] |
NAS, RAB, RRC, SMS |
+CMOD |
3GPP TS 27.007 [23] |
NAS, RAB, RRC, SMS |
A |
3GPP TS 27.007 [23] |
NAS, RAB, RRC, SMS |
D |
3GPP TS 27.007 [23] |
BMC, MAC, NAS, RAB, RLC, RRC, PDCP, SMS |
+ CMGD |
3GPP TS 27.005 [22] |
SMS |
+ CMGF |
3GPP TS 27.005 [22] |
SMS |
+CMGW |
3GPP TS 27.005 [22] |
SMS |
+CMSS |
3GPP TS 27.005 [22] |
NAS, RAB, RRC, SMS |
+CPMS |
3GPP TS 27.005 [22] |
SMS |
+CSCA |
3GPP TS 27.005 [22] |
SMS |
+CSCS |
3GPP TS 27.005 [22] |
SMS |
+CSMS |
3GPP TS 27.005 [22] |
SMS |
+CVHU |
3GPP TS 27.005 [22] |
NAS, RAB, RRC, SMS, IR_U, IR_G |
+CHUP |
3GPP TS 27.005 [22] |
NAS, RAB, RRC, SMS, IR_U, IR_G |
+CECALL |
3GPP TS 27.007 [23] |
HSPA8_ENH |
Note: The PDP Type in +CGDCONT is per default set to “IP” (IPv4).It can be changed to IPv6 in the specific TCs, for example, for SM NISPC in Rel-7. The setting IPv6 address will require IPv6 handling on the established RAB. |
8.8.1 AT command lists in TTCN-2 ATSs
8.8.1.1 AT commands in IR_U ATS:
Command |
Syntax in TTCN |
Comments |
---|---|---|
CBST |
AT+CBST=[<speed>[,<name>[,<ce>]]]<CR> <speed>=0,7,12,14,15,16,17,39,43,47,48,49,50,51,71,75,79,80,81,82,83,84,115,116,120,121 <name>=0,1,4,5 <ce>=0,1 |
Select bearer service type, 3GPP TS 27.007 [23], clause 6.7 |
CGACT |
AT+CGACT=1,1<CR> AT+CGACT=0,1<CR> |
PDP context activate or deactivate, 3GPP TS 27.007 [23], clause 10.1.10 |
CGATT |
AT+CGATT=1<CR> |
PS attach or detach, 3GPP TS 27.007 [23], clause 10.1.9 |
CGDSCONT |
AT+CGDSCONT= 1,<CR> AT+ CGDSCONT=1 , 1, "IP", 0,0,<CR> |
Establish secondary PDP Context, 3GPP TS 27.007 [23], clause 10.1.2 |
CGEQREQ |
AT+CGEQREQ=1,2,64,64,,,0,320,"1E4","1E5",1,,3<CR> AT+CGEQREQ=1,3,64,64,,,0,320,"1E4","1E5",1,,<CR> |
Quality of Service Profile (Requested), 3GPP TS 27.007 [23], clause 10.1.4 |
CHUP |
AT+CHUP<CR> |
Hang up call, 3GPP TS 27.007 [23], 3GPP TS 27.007 [23], clause 6.5 |
CMGD |
AT+CMGD=001<CR> AT+CMGD=1,4<CR> |
Delete Message, 3GPP TS 27.005 [22], clause 3.5.4 |
CMGF |
AT+CMGF=1<CR> |
Message Format, 3GPP TS 27.005 [22], clause 3.2.3 |
CMOD |
AT+CMOD=0<CR> AT+CMOD=1<CR> |
Call mode, 3GPP TS 27.007 [23], clause 6.4 |
CMSS |
AT+CMSS=000<CR> AT+CMSS=001<CR> AT+CMSS=002<CR> |
Send Message from Storage, 3GPP TS 27.005 [22], clause 3.5.2 |
CPMS |
AT+CPMS="SM,"SM","MT"<CR> AT+CPMS="CB","CB","CB"<CR> |
Preferred Message Storage, 3GPP TS 27.005 [22], clause 3.2.2 |
CSCS |
AT+CSCS="GSM"<CR> |
Select TE character set, 3GPP TS 27.007 [23], clause 5.5 |
CSMS |
AT+CSMS=0<CR> |
Select Message Service, 3GPP TS 27.005 [22], clause 3.2.1 |
CVHU |
AT+CVHU=0<CR> |
Voice Hang up control, 3GPP TS 27.007 [23], clause 6.20 |
8.8.1.2 AT commands in MAC and RLC ATS:
Command |
Syntax in TTCN |
Comments |
---|---|---|
CGATT |
AT+CGATT=1<CR> |
PS attach or detach, 3GPP TS 27.007 [23], clause 10.1.9 |
8.8.1.3 AT commands in NAS ATS:
Command |
Syntax in TTCN |
Comments |
---|---|---|
CBST |
AT+CBST=[<speed>[,<name>[,<ce>]]]<CR> <speed>=0,7,12,14,15,16,17,39,43,47,48,49,50,51,71,75,79,80,81,82,83,84,115,116,120,121 <name>=0,1,4,5 <ce>=0,1 |
Select bearer service type, 3GPP TS 27.007 [23], clause 6.7 |
CGACT |
AT+CGACT=1,1<CR> AT+CGACT=0,1<CR> |
PDP context activate or deactivate, 3GPP TS 27.007 [23], clause 10.1.10 |
CGATT |
AT+CGATT=1<CR> AT+CGATT=0<CR> |
PS attach or detach, 3GPP TS 27.007 [23], clause 10.1.9 |
CGDATA |
AT+CGDATA=PPP,1<CR> |
Enter data state, 3GPP TS 27.007 [23], clause 10.1.12 |
CGDCONT |
AT+CGDCONT=1,"IP","ABCDEF","200.1.1.80",0,0<CR> AT+CGDCONT=1,"IP","GHIJK","200.1.1.90",0,0<CR> |
Define PDP Context, 3GPP TS 27.007 [23], clause 10.1.1 |
CGDSCONT |
AT+CGDSCONT= 1,<CR> AT+ CGDSCONT=1 , 1, "IP", 0,0,<CR> |
Establish secondary PDP Context, 3GPP TS 27.007 [23], clause 10.1.2 |
CGEQMIN |
AT+CGEQMIN=1,3,32,32,,,1,320,"1E3","4E3",1,,<CR> AT+CGEQMIN=1,3,64,64,,,1,320,"1E3","4E3",1,,<CR> AT+CGEQMIN=1,2,32, 32, 32, 32, 1, 320, 1E4,6E8,1,,,<CR> AT+CGEQMIN=1,3,32, 32, 32, 32, 1, 320, 1E4,6E8,1,,,<CR> AT+CGEQMIN=1,2,32, 32, 32, 32, 1, 320, 1E3,6E8,1,,,<CR> AT+CGEQMIN=1,3,32, 32, 32, 32, 1, 320, 1E3,6E8,1,,,<CR> AT+CGEQMIN=1,2,64, 64, 64, 64, 1, 320, 1E3,6E8,1,,,<CR> AT+CGEQMIN=1,3,64, 64, 64, 64, 1, 320, 1E3,6E8,1,,,<CR> |
Quality of Service Profile (Minimum acceptable), 3GPP TS 27.007 [23], clause 10.1.4 |
CGEQREQ |
AT+CGEQREQ=1,2,64,64,,,0,320,"1E4","1E5",1,,3<CR> AT+CGEQREQ=1,3,64,64,,,0,320,"1E4","1E5",1,,<CR> AT+CGEQREQ=1,2,64, 64, 64, 64, 0, 320, 1E4,6E8,1,,,<CR> AT+CGEQREQ=1,3,64, 64, 64, 64, 0, 320, 1E4,6E8,1,,,<CR> |
Quality of Service Profile (Requested), 3GPP TS 27.007 [23], clause 10.1.4 |
CHUP |
AT+CHUP<CR> |
Hang up call, 3GPP TS 27.007 [23], clause 6.5 |
CLCC |
AT+CLCC<CR> |
List current calls, 3GPP TS 27.007 [23], clause 7.18 |
CMOD |
AT+CMOD=0<CR> AT+CMOD=1<CR> |
Call mode, 3GPP TS 27.007 [23], clause 6.4 |
CMSS |
AT+CMSS=000<CR> AT+CMSS=001<CR> AT+CMSS=002<CR> |
Send Message from Storage, 3GPP TS 27.005 [22], clause 3.5.2 |
VTS |
AT+VTS=0,100<CR> AT+VTS=1,50<CR> AT+VTS=2,60<CR> AT+VTS=3,40<CR> AT+VTS=4,50<CR> AT+VTS=5,60<CR> AT+VTS=6,70<CR> AT+VTS=7,80<CR> AT+VTS=8,90<CR> AT+VTS=9,100<CR> AT+VTS=#,110<CR> AT+VTS=\*,120<CR> AT+VTS=A,130<CR> AT+VTS=B,140<CR> AT+VTS=C,150<CR> AT+VTS=D,200<CR> |
DTMF and tone generation, 3GPP TS 27.007 [23], clause C.2.11 |
CVHU |
AT+CVHU=0<CR> |
Voice Hang up control, 3GPP TS 27.007 [23], clause 6.20 |
8.8.1.4 AT commands in RAB ATS:
Command |
Syntax in TTCN |
Comments |
---|---|---|
CBST |
AT+CBST=[<speed>[,<name>[,<ce>]]]<CR> <speed>=0,7,12,14,15,16,17,39,43,47,48,49,50,51,71,75,79,80,81,82,83,84,115,116,120,121 <name>=0,1,4,5 <ce>=0,1 |
Select bearer service type, 3GPP TS 27.007 [23], clause 6.7 |
CGACT |
AT+CGACT=1,1<CR> AT+CGACT=0,1<CR> |
PDP context activate or deactivate, 3GPP TS 27.007 [23], clause 10.1.10 |
CGATT |
AT+CGATT=1<CR> |
PS attach or detach, 3GPP TS 27.007 [23], clause 10.1.9 |
CGDCONT |
AT+CGDCONT=1,"IP","ABCDEF","200.1.1.80",0,0<CR> AT+CGDCONT=1,"IP","GHIJK","200.1.1.90",0,0<CR> |
Define PDP Context, 3GPP TS 27.007 [23], clause 10.1.1 |
CGDSCONT |
AT+CGDSCONT= 1,<CR> AT+ CGDSCONT=1 , 1, "IP", 0,0,<CR> |
Establish secondary PDP Context, 3GPP TS 27.007 [23], clause 10.1.2 |
CGEQREQ |
AT+CGEQREQ=1,2,64,64,,,0,320,"1E4","1E5",1,,3<CR> AT+CGEQREQ=1,3,64,64,,,0,320,"1E4","1E5",1,,<CR> |
Quality of Service Profile (Requested), 3GPP TS 27.007 [23], clause 10.1.4 |
CHUP |
AT+CHUP<CR> |
Hang up call, 3GPP TS 27.007 [23] clause 6.5 |
CMGD |
AT+CMGD=001<CR> AT+CMGD=1,4<CR> |
Delete Message, 3GPP TS 27.005 [22], clause 3.5.4 |
CMGF |
AT+CMGF=1<CR> |
Message Format, 3GPP TS 27.005 [22], clause 3.2.3 |
CMOD |
AT+CMOD=0<CR> AT+CMOD=1<CR> |
Call mode, 3GPP TS 27.007 [23], clause 6.4 |
CMSS |
AT+CMSS=000<CR> AT+CMSS=001<CR> AT+CMSS=002<CR> |
Send Message from Storage, 3GPP TS 27.005 [22], clause 3.5.2 |
CPMS |
AT+CPMS="SM,"SM","MT"<CR> AT+CPMS="CB","CB","CB"<CR> |
Preferred Message Storage, 3GPP TS 27.005 [22], clause 3.2.2 |
CSCS |
AT+CSCS="GSM"<CR> |
Select TE character set, 3GPP TS 27.007 [23], clause 5.5 |
CSMS |
AT+CSMS=0<CR> |
Select Message Service, 3GPP TS 27.005 [22], clause 3.2.1 |
CVHU |
AT+CVHU=0<CR> |
Voice Hang up control, 3GPP TS 27.007 [23], clause 6.20 |
8.8.1.5 AT commands in RRC ATS:
Command |
Syntax in TTCN |
Comments |
---|---|---|
ATA |
ATA<CR> |
Answer a call, 3GPP TS 27.007 [23], clause 6.35 |
ATD |
ATD0123456902;<CR> ATD112;<CR> ATD0123456902<CR> |
Originates a call, TS 27.007 clause 6.31 |
ATH |
ATH<CR> |
Hang-up a single mode call, 3GPP TS 27.007 [23], clause 6.36 |
CBST |
AT+CBST=[<speed>[,<name>[,<ce>]]]<CR> <speed>=0,7,12,14,15,16,17,39,43,47,48,49,50,51,71,75,79,80,81,82,83,84,115,116,120,121 <name>=0,1,4,5 <ce>=0,1 |
Select bearer service type, 3GPP TS 27.007 [23], clause 6.7 |
CGACT |
AT+CGACT=1,1<CR> AT+CGACT=0,1<CR> |
PDP context activate or deactivate, 3GPP TS 27.007 [23], clause 10.1.10 |
CGATT |
AT+CGATT=1<CR> |
PS attach or detach, 3GPP TS 27.007 [23], clause 10.1.9 |
CGDCONT |
AT+CGDCONT=1,"IP","ABCDEF","200.1.1.80",0,0<CR> AT+CGDCONT=1,"IP","GHIJK","200.1.1.90",0,0<CR> |
Define PDP Context, 3GPP TS 27.007 [23], clause 10.1.1 |
CGDSCONT |
AT+CGDSCONT= 1,<CR> AT+ CGDSCONT=1 , 1, "IP", 0,0,<CR> |
Establish secondary PDP Context, 3GPP TS 27.007 [23], clause 10.1.2 |
CGEQREQ |
AT+CGEQREQ=1,2,64,64,,,0,320,"1E4","1E5",1,,3<CR> AT+CGEQREQ=1,3,64,64,,,0,320,"1E4","1E5",1,,<CR> |
Quality of Service Profile (Requested), 3GPP TS 27.007 [23], clause 10.1.4 |
CHUP |
AT+CHUP<CR> |
Hang up call, 3GPP TS 27.007 [23], clause 6.5 |
CMOD |
AT+CMOD=0<CR> AT+CMOD=1<CR> |
Call mode, 3GPP TS 27.007 [23], clause 6.4 |
CMSS |
AT+CMSS=000<CR> AT+CMSS=001<CR> AT+CMSS=002<CR> |
Send Message from Storage, 3GPP TS 27.005 [22], clause 3.5.2 |
CVHU |
AT+CVHU=0<CR> |
Voice Hang up control, 3GPP TS 27.007 [23], clause 6.20 |
8.8.1.6 AT commands SMS ATS:
Command |
Syntax in TTCN |
Comments |
---|---|---|
CBST |
AT+CBST=[<speed>[,<name>[,<ce>]]]<CR> <speed>=0,7,12,14,15,16,17,39,43,47,48,49,50,51,71,75,79,80,81,82,83,84,115,116,120,121 <name>=0,1,4,5 <ce>=0,1 |
Select bearer service type, 3GPP TS 27.007 [23], clause 6.7 |
CGACT |
AT+CGACT=1,1<CR> AT+CGACT=0,1<CR> |
PDP context activate or deactivate, 3GPP TS 27.007 [23], clause 10.1.10 |
CGATT |
AT+CGATT=1<CR> |
PS attach or detach, 3GPP TS 27.007 [23], clause 10.1.9 |
CGDCONT |
AT+CGDCONT=1,"IP","ABCDEF","200.1.1.80",0,0<CR> AT+CGDCONT=1,"IP","GHIJK","200.1.1.90",0,0<CR> |
Define PDP Context, 3GPP TS 27.007 [23], clause 10.1.1 |
CGDSCONT |
AT+CGDSCONT= 1,<CR> AT+ CGDSCONT=1 , 1, "IP", 0,0,<CR> |
Establish secondary PDP Context, 3GPP TS 27.007 [23], clause 10.1.2 |
CGEQREQ |
AT+CGEQREQ=1,2,64,64,,,0,320,"1E4","1E5",1,,3<CR> AT+CGEQREQ=1,3,64,64,,,0,320,"1E4","1E5",1,,<CR> |
Quality of Service Profile (Requested), 3GPP TS 27.007 [23], clause 10.1.4 |
CGSMS |
AT+CGSMS=1<CR> AT+CGSMS=0<CR> |
Select service for MO SMS messages, 3GPP TS 27.007 [23], clause 10.1.20 |
CHUP |
AT+CHUP<CR> |
Hang up call, 3GPP TS 27.007 [23], clause 6.5 |
CMGD |
AT+CMGD=001<CR> AT+CMGD=1,4<CR> |
Delete Message, 3GPP TS 27.005 [22], clause 3.5.4 |
CMGF |
AT+CMGF=1<CR> |
Message Format, 3GPP TS 27.005 [22], clause 3.2.3 |
CMGR |
AT+CMGR=001<CR> AT+CMGR=002<CR> AT+CMGR=003<CR> AT+CMGR=004<CR> |
Read Message, 3GPP TS 27.005 [22], clause 3.4.3 |
CMGW |
AT+CMGW= "1111111111",129, "The quick brown fox jumps over the lazy dog’s back. Kaufen Sie Ihrer Frau vier bequeme Pelze. – 0123456789 – THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG’S BACK."<CR> |
Write Message to Memory, 3GPP TS 27.005 [22], clause 3.5.3 |
CMMS |
AT+CMMS=1<CR> |
More Messages to Send, 3GPP TS 27.005 [22], clause 3.5.6 |
CMOD |
AT+CMOD=0<CR> AT+CMOD=1<CR> |
Call mode, 3GPP TS 27.007 [23], clause 6.4 |
CMSS |
AT+CMSS=000<CR> AT+CMSS=001<CR> AT+CMSS=002<CR> |
Send Message from Storage, 3GPP TS 27.005 [22], clause 3.5.2 |
CPMS |
AT+CPMS="SM,"SM","MT"<CR> AT+CPMS="CB","CB","CB"<CR> |
Preferred Message Storage, 3GPP TS 27.005 [22], clause 3.2.2 |
CSCA |
AT+CSCA="2222222222",129<CR> |
Service Centre Address, 3GPP TS 27.005 [22], clause 3.3.1 |
CSCS |
AT+CSCS="GSM"<CR> |
Select TE character set, 3GPP TS 27.007 [23], clause 5.5 |
CSMS |
AT+CSMS=0<CR> |
Select Message Service, 3GPP TS 27.005 [22], clause 3.2.1 |
CVHU |
AT+CVHU=0<CR> |
Voice Hang up control, 3GPP TS 27.007 [23], clause 6.20 |
8.8.1.7 AT commands in HSDPA ATS (Rel-5 or later):
Command |
Syntax in TTCN |
Comments |
---|---|---|
CGEQREQ |
AT+CGEQREQ=[<cid> [,<Traffic class> [,<Maximum bitrate UL> [,<Maximum bitrate DL> [,<Guaranteed bitrate UL> [,<Guaranteed bitrate DL> [,<Delivery order> [,<Maximum SDU size> [,<SDU error ratio> [,<Residual bit error ratio> [,<Delivery of erroneous SDUs> [,<Transfer delay> [,<Traffic handling priority> ]]]]]]]]]]]]] <CR> <cid> =1 <Traffic class> =2, 3 <Maximum bitrate UL> =64, 384 <Maximum bitrate DL> = See clause 8.10.1 <Guaranteed bitrate UL> Not used <Guaranteed bitrate DL> Not used <Delivery order> =0 <Maximum SDU size> =320, 640 <SDU error ratio> = "1E4" <Residual bit error ratio> ="1E5" <Delivery of erroneous SDUs> =1 <Transfer delay> Not used <Traffic handling priority> =3 |
Quality of Service Profile (Requested), 3GPP TS 27.007 [23], clause 10.1.4 |
CMGD |
AT+CMGD=001<CR> AT+CMGD=1,4<CR> |
Delete Message, 3GPP TS 27.005 [22], clause 3.5.4 |
CMGF |
AT+CMGF=1<CR> |
Message Format, 3GPP TS 27.005 [22], clause 3.2.3 |
CPMS |
AT+CPMS="SM,"SM","MT"<CR> AT+CPMS="CB","CB","CB"<CR> |
Preferred Message Storage, 3GPP TS 27.005 [22], clause 3.2.2 |
CSCS |
AT+CSCS="GSM"<CR> |
Select TE character set, 3GPP TS 27.007 [23], clause 5.5 |
CSMS |
AT+CSMS=0<CR> |
Select Message Service, 3GPP TS 27.005 [22], clause 3.2.1 |
8.8.1.8 AT commands for E-DCH testing (Rel-6 or later) and HS-ENH testing (Rel-7 or later)
Command |
Syntax in TTCN |
Comments |
---|---|---|
CGEQREQ |
AT+CGEQREQ=[<cid> [,<Traffic class> [,<Maximum bitrate UL> [,<Maximum bitrate DL> [,<Guaranteed bitrate UL> [,<Guaranteed bitrate DL> [,<Delivery order> [,<Maximum SDU size> [,<SDU error ratio> [,<Residual bit error ratio> [,<Delivery of erroneous SDUs> [,<Transfer delay> [,<Traffic handling priority> ]]]]]]]]]]]]] <CR> <cid> =1 <Traffic class> =2, 3 <Maximum bitrate UL> = See clause 8.10.2 <Maximum bitrate DL> = See clause 8.10.1 <Guaranteed bitrate UL> Not used <Guaranteed bitrate DL> Not used <Delivery order> =0 <Maximum SDU size> =320, 640 <SDU error ratio> = "1E4" <Residual bit error ratio> ="1E5" <Delivery of erroneous SDUs> =1 <Transfer delay> Not used <Traffic handling priority> =3 |
Quality of Service Profile (Requested), 3GPP TS 27.007 [23], clause 10.1.4 |
CMGD |
AT+CMGD=001<CR> AT+CMGD=1,4<CR> |
Delete Message, 3GPP TS 27.005 [22], clause 3.5.4 |
CMGF |
AT+CMGF=1<CR> |
Message Format, 3GPP TS 27.005 [22], clause 3.2.3 |
CPMS |
AT+CPMS="SM,"SM","MT"<CR> AT+CPMS="CB","CB","CB"<CR> |
Preferred Message Storage, 3GPP TS 27.005 [22], clause 3.2.2 |
CSCS |
AT+CSCS="GSM"<CR> |
Select TE character set, 3GPP TS 27.007 [23], clause 5.5 |
CSMS |
AT+CSMS=0<CR> |
Select Message Service, 3GPP TS 27.005 [22], clause 3.2.1 |
COPN |
AT+COPN=?<CR> |
Read operator names +COPN TS 27.007 clause 7.21 |
8.8.2 TTCN-2 AT Command Handling in TTCN
8.8.2.1 AT Command Interface
The AT Command Interface resides between the UE and the System Simulator (SS). The implementation of AT commands in the UE is optional[3]. It is agreed, however, that it is the responsibility of the SS – not the ATS – to map AT commands onto appropriate MMI commands. This means that the ATSs issue AT commands which have to be mapped appropriately and forwarded to the UE, and vice versa.
The ATSs have been implemented in such a way that AT commands are to be answered immediately. This means that the TTCN expects the answers right away and progresses only afterwards. As a consequence only positive AT responses are assumed.
There are two exceptions from the rule of immediate answering:
– the CGACT command: for this command the TTCN does not expect an immediate AT response. Once the CGACT command has been issued a subsequent UE behaviour is expected. The AT response is issued by the UE only after execution of the AT command, and it will only then be accounted for by the ATSs;
– the CMSS command: the short message triggered from the UE and the response upon the AT command may arrive at the SS in any order. The signalling short message received from the UE is considered as implicit response upon the AT command. The actual response upon the AT command, a string starting with “CMSS”, is consumed in the default behaviour.
8.8.2.2 AT Command Dialogues
In some cases AT commands trigger a dialogue between the AT command interface and the UE. An example used in the SMS ATS is the CMGW command.
EXAMPLE: AT+CMGW="9501231234" (write message)
> This is the message body^Z
+CMGW: 7 (index number in storage returned)
OK
A special character (^Z) marks the end of the dialogue.
The ATSs generate information to be sent to the UE as one block. If the command mapping function cannot proceed with the dialogue that way, it has to divide the received block into the appropriate pieces prior to forwarding them.
8.8.2.3 AT Response Types
The term ‘response type’ shall allow a distinction between different types of contents to answer upon an AT command issued by the TTCN.
8.8.2.3.1 ‘OK’ Response
Most AT commands are to be answered with ‘OK’. All exceptions are according to 3GPP TS 27.007 [23], for example +CGDATA is to be answered with ‘CONNECT’.
8.8.2.3.2 Name String
There are a number of AT commands which, in the positive case, trigger an answer string from UEs. Such strings start with the command which is being answered.
EXAMPLE: AT+CPMS? (check memory settings)
+CPMS: "ME",4,10,"ME",4,10,"ME",4,10
OK
The implementation of this type of AT commands is such that the TTCN expects and checks the beginning of the response string. This would (later) facilitate possible direct connections between SS and UE.
8.8.2.3.3 Error strings
There are situations when the UE cannot react positively upon an AT command. Different types of reactions are foreseen. The strings ‘ERROR’ or ‘CMS ERROR: <err>’ may be issued by UEs.
"…subparameter values of a command are not accepted by the TA (or command itself is invalid, or command cannot be performed for some reason), result code <CR><LF>ERROR<CR><LF> is sent to the TE and no subsequent commands in the command line are processed."
"Final result code +CMS ERROR: <err> indicates an error related to mobile equipment or network. The operation is similar to ERROR result code. None of the following commands in the same command line is executed. Neither ERROR nor OK result code shall be returned. ERROR is returned normally when error is related to syntax or invalid parameters."
The chosen way of realization prevents, in general, that error strings generated by the UE are passed to the SS. This holds for both intended and unintended errors (from the tester perspective).
8.8.2.4 AT Command Parameters And Options
Many AT commands take parameters some of which are optional. Thus, there is a degree of freedom left to the UEs. This freedom is widely used in the AT commands used in the SMS ATS. To allow flexible parameterization PIXIT items can be used to set the parameters as understood by the UEs.
Examples of such parameters are the preferred memories to be used when testing.