EasyManuals Logo

Ublox SARA-R4 Series User Manual

Ublox SARA-R4 Series
307 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #130 background imageLoading...
Page #130 background image
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09

13Packet switched data services
Page 130 of 307
13.6.4î™–î™–î™–î™–Notes
SARA-R4 / SARA-N4
• If <cid> is not defined, the command activates or deactivates all the defined PDP contexts.
13.6.5î™–î™–î™–î™–Examples
Examples of usage of +CGDCONT, +CGACT, +CGPADDR command:
Command sent by the DTE DCE response Description
AT+CMEE=2 OK Set the verbose error result
codes
AT+COPS=0 OK
AT+COPS? +COPS: 0,0,"vodafone IT"
OK
AT+CGDCONT=1,"IP","web.omnitel.it" OK Define several PDP contexts
AT+CGDCONT=3,"IP","internet" OK
AT+CGDCONT=2,"IP",
"mms.vodafone.it"
OK
AT+CGDCONT? +CGDCONT: 1,"IP","web.omnitel.it","0.0.0.0",0,0
+CGDCONT: 3,"IP","internet","0.0.0.0",0,0
+CGDCONT: 2,"IP","mms.vodafone.it","0.0.0.0",0,0
OK
Read PDP contexts
AT+CGACT=1,1 OK Activate the PDP context 1
AT+CGPADDR=1 +CGPADDR: 1, "91.80.104.82"
OK
Show address of the PDP
context 1
AT+CGPADDR=2 +CGPADDR: 2, "0.0.0.0"
OK
Show the address of PDP
context 2
AT+CGPADDR=3 +CGPADDR: 3, "0.0.0.0"
OK
Show the address of PDP
context 3
AT+CGDCONT? +CGDCONT: 1,"IP","web.omnitel.it","91.80.104.82",0,0
+CGDCONT: 3,"IP","internet","0.0.0.0",0,0
+CGDCONT: 2,"IP","mms.vodafone.it","0.0.0.0",0,0
OK
AT+CGACT=0,1 OK Deactivate the PDP context
1
AT+CGDCONT? +CGDCONT: 1,"IP","web.omnitel.it","0.0.0.0",0,0
+CGDCONT: 3,"IP","internet","0.0.0.0",0,0
+CGDCONT: 2,"IP","mms.vodafone.it","0.0.0.0",0,0
OK
AT+CGACT=1 OK Activate all of defined PDP
contexts
AT+CGDCONT? +CGDCONT: 1,"IP","web.omnitel.it","91.80.101.207",0,0
+CGDCONT: 3,"IP","internet","83.225.114.136",0,0
+CGDCONT: 2,"IP","mms.vodafone.it","10.159.135.60",
0,0
OK
AT+CGPADDR=1 +CGPADDR: 1, "91.80.101.207"
OK
Show the address of PDP
context 1
AT+CGPADDR=2 +CGPADDR: 2, "10.159.135.60"
OK
Show the address of PDP
context 2
AT+CGACT=0 OK Deactivate all of defined
PDP contexts
AT+CGPADDR=2 +CGPADDR: 2, "0.0.0.0" Show the address of PDP
context 2

Table of Contents

Other manuals for Ublox SARA-R4 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Ublox SARA-R4 Series and is the answer not in the manual?

Ublox SARA-R4 Series Specifications

General IconGeneral
BrandUblox
ModelSARA-R4 Series
CategoryControl Unit
LanguageEnglish

Related product manuals