{"id":1583,"date":"2012-09-24T14:16:18","date_gmt":"2012-09-24T21:16:18","guid":{"rendered":"http:\/\/m2msupport.net\/m2msupport\/?page_id=1583"},"modified":"2018-12-14T23:10:17","modified_gmt":"2018-12-15T07:10:17","slug":"data-call-at-commands-to-set-up-gprsedgeumtslte-data-call","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/data-call-at-commands-to-set-up-gprsedgeumtslte-data-call\/","title":{"rendered":"Data Call &#8211; AT commands to set up GPRS\/EDGE\/UMTS\/LTE data call"},"content":{"rendered":"<p><strong>How to set up data call with AT commands?<\/strong><br \/>\n<script type=\"text\/javascript\">\/\/ < ![CDATA[\n\/\/ < ![CDATA[\n\/\/ < ![CDATA[\n\t\t\tfunction process_click(event_cat,event_action,event_label,url)\n\t\t\t {\n\t\t\t _gaq.push(['_trackEvent',event_cat,event_action,event_label]);\n\t\t\t var win=window.open(url, '_blank');\n\t\t\t  win.focus();\n\t\t\t}\n\n\/\/ ]]><\/script><\/p>\n<p>With <a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester\/\">Online AT Command Tester<\/a> tool, it is easy to test data calls. First, the tool provides an interface to read\/edit\/delete PDP profiles which contain necessary call set up parameters such as APN, data call type (IPV4 or IPv6) etc. Then you can select a PDP profile and connect. The AT Command tester tool will then check whether the device is already registered in the network. If so, it will then send the necessary AT commands to the device to start the data call.<\/p>\n<p><a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester\/\"><img decoding=\"async\" src=\"http:\/\/www.m2msupport.net\/m2msupport\/wp-content\/themes\/admired\/images\/datacall.PNG\" height=\"95%\" width=\"95%\"\/><\/a><\/p>\n<p>Once the device us powered up, <a href=\"http:\/\/m2msupport.net\/m2msupport\/sim-at-commands-for-sim-presense-and-status\/\">check whether SIM card is present<\/a>. If the SIM is not inserted properly or if the SIM card is locked, please correct those issues.<br \/>\n<a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester\/?at_comm=AT%2BCPIN&amp;at_comm_parm=AT%2BCPIN?\">AT+CPIN?<\/a><br \/>\n+CPIN: READY<br \/>\nOK<br \/>\nThe device above returns that the SIM is ready to use.<\/p>\n<p>Then check the <a href=\"http:\/\/m2msupport.net\/m2msupport\/network-registration\/\">registration status of the device<\/a>.<br \/>\nIf the regisration status is &#8220;Searching&#8221; or &#8220;Not Registered&#8221;, that means that the device is not able to acquire the signal from the base station. The device should usually find the nearest base station within few minutes (max 15min). If you dont get &#8220;Registered&#8221; response for the AT+CGREG command,<br \/>\n&#8211; Verify that the antenna is properly connected on the device<br \/>\n&#8211; Verify that the bands supported by the device match the bands of the network provider<\/p>\n<p><a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester\/?at_comm=AT%2BCREG&amp;at_comm_parm=AT%2BCREG?\">AT+CGREG?<\/a><br \/>\n+CGREG: 0,1<br \/>\nOK<br \/>\nIn the above case, the device returns that it is registred in the home network.<\/p>\n<p>After verifying the network registration status, you can <a href=\"http:\/\/m2msupport.net\/m2msupport\/network-information-automaticmanual-selection\/\">get the network information<\/a>. If teh device is registered on the home network, the network info on the SIM card used should match the network info returned by the AT+COPS command,<br \/>\n<a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester\/?at_comm=AT%2BCOPS&amp;at_comm_parm=AT%2BCOPS?\">AT+COPS?<\/a><br \/>\n+COPS: 0,0,&#8221;T-Mobile&#8221;<br \/>\nOK<\/p>\n<p>Now <a href=\"http:\/\/m2msupport.net\/m2msupport\/signal-quality\/\">check the signal quality<\/a>.<br \/>\n<a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester\/?at_comm=AT%2BCSQ&amp;at_comm_parm=AT%2BCSQ\">AT+CSQ<\/a><br \/>\n+CSQ: 10,0<br \/>\nOK<br \/>\nThat return corresponds to a RSSI value of -93 dBm. This is only slightly better than marginal coverage. We should still be able to make a data call on this signal condition, but the throughput may not be that good.<\/p>\n<p>Once the registration is sucessful, GPRS Attach is performed.<br \/>\n<a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester\/?at_comm=AT%2BCGATT&amp;at_comm_parm=AT%2BCGATT=1\">AT+cgatt=1<\/a><br \/>\nOK<\/p>\n<p>Even if the GPRS Attach is sucessful, it doesn&#8217;t mean that the data call has been established.In GPRS, a Packet Data Protocol (PDP) defines the data session. The PDP context establishes the data path between the device and the GGSN (Gateway GPRS Support Node). GGSN acts like a gateway between the device and rest of the world. So the should establish a PDP context before it can send\/receive data on the internet.<\/p>\n<p>The GGSN is identified through Access Point Name (APN). Each carrier will have their own APNs and are usually available on the internet. The device can define multiple PDP contexts that are uniquely stored in context ids.<\/p>\n<p>For examples,<br \/>\n<a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester\/?at_comm=AT%2BCGDCONT&amp;at_comm_parm=AT%2BCGDCONT=1,&quot;IP&quot;,&quot;epc.tmobile.com&quot;\">AT+CGDCONT=1,&#8221;IP&#8221;,&#8221;epc.tmobile.com&#8221;<\/a><br \/>\nOK<\/p>\n<p>Above defines a PDP context for T-Mobile. The context ID is 1, it will use a IP connection and the APN is set as<\/p>\n<p><a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester\/?at_comm=AT%2BCGDCONT&amp;at_comm_parm=AT%2BCGDCONT=1,&quot;IP&quot;,&quot;epc.tmobile.com&quot;\">AT+CGDCONT=1,&#8221;IP&#8221;,&#8221;epc.tmobile.com&#8221;<\/a><br \/>\nOK<\/p>\n<p><a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester\/?at_comm=AT%2BCGDCONT&amp;at_comm_parm=AT%2BCGDCONT=1,&quot;IP&quot;,&quot;epc.tmobile.com&quot;\">AT+CGDCONT=2,&#8221;IP&#8221;,&#8221;isp.cingular&#8221;<\/a><br \/>\nOK<\/p>\n<p>Above defines another PDP context with a different APN. To list all the PDP contexts that are defined,<br \/>\n<a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester\/?at_comm=AT%2BCGDCONT&amp;at_comm_parm=AT%2BCGDCONT?\">at+cgdcont?<\/a><br \/>\n+CGDCONT: 1,&#8221;IP&#8221;,&#8221;epc.tmobile.com&#8221;,&#8221;0.0.0.0&#8243;,0,0<br \/>\n+CGDCONT: 2,&#8221;IP&#8221;,&#8221;isp.cingular&#8221;,&#8221;0.0.0.0&#8243;,0,0<br \/>\n+CGDCONT: 3,&#8221;IP&#8221;,&#8221;&#8221;,&#8221;0.0.0.0&#8243;,0,0<\/p>\n<p>OK<\/p>\n<p>Now that the PDP contexts are defined, please use the correct PDP context that matches the SIM card. For example, if we&#8217;re using the T-Mobile SIM card, the PDP context that has the corresponding APN should be used to connect.<\/p>\n<p>Now to set up the session, the appropriate PDP context needs to be activated.<br \/>\n<a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester\/?at_comm=AT%2BCGACT&amp;at_comm_parm=AT%2BCGACT=1,1\">AT+CGACT=1,1<\/a><br \/>\nOK<br \/>\nThe first parameter(1) is to activate the context and the second parameter is teh context ID. Once the PDP Context is activated sucessfully, the device can send\/receive data on the internet. To check if there were any issues with teh PDP activation, send the AT+CEER command. Check the error code and take next steps.<\/p>\n<p>To deactivate the PDP context,<br \/>\n<a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester\/?at_comm=AT%2BCGACT&amp;at_comm_parm=AT%2BCGACT=0,1\">AT+CGACT=0,1<\/a><br \/>\nOK<\/p>\n<p>Deactivating the PDP context would ensure that no additional data is sent or received by the device.<\/p>\n<p>To detach from the GPRS network,<br \/>\n<a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester\/?at_comm=AT%2BCGACT&amp;at_comm_parm=AT%2BCGACT=0\">AT+CGATT=0<\/a><br \/>\nOK<br \/>\nDetaching from the GPRS network will conserve network resources.<\/p>\n<p>Try this script included in <a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester\/\\\">AT Command Tester Tool.<\/a><\/p>\n<div style=\"background-color: white; border: 1px solid black;border-radius: 10px;\">\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Script-initiate_data_call.at<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Procedure to setup data call<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/First check SIM is not locked and it is ready<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">AT+CPIN?<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Wait<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">WAIT=1<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Check the signal strength. In weak signal conditions, data throughput will be low<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">AT+CSQ<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Check what network is the device on<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">AT+COPS?<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Wait for few seconds as AT+COPS command can take time<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">WAIT=3<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Get the registration status of the device. If the status is &#8216;1&#8217;, the device is registered and in home network<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">AT+CGREG?<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Wait<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">WAIT=3<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Set up PDP context. Refer to the service provider for APN info<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">AT+CGDCONT=1,&#8221;IP&#8221;,&#8221;epc.tmobile.com&#8221;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Wait<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">WAIT=1<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Confirm setting by reading PDP profile<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">AT+CGDCONT?<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Perform a GPRS Attach<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">AT+CGATT=1<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Wait<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">WAIT=3<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Check the status of attach<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">AT+CGATT?<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Activate the PDP context<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">AT+CGACT=1,1<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Wait<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">WAIT=3<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Get the assigned IP Address <\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">AT+CGPADDR=1<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Wait<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">WAIT=3<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Check PDP profile.<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">AT+CGDCONT?<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Deactivate PDP Context<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">AT+CGACT=0,1<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Wait<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">WAIT=3<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #159600;\">\/\/Detach from network<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: blue;\">AT+CGATT=0<\/span><\/p>\n<\/div>\n<p>Response to above output script in <a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester\/\\\">AT Command Tester Tool.<\/a><\/p>\n<div style=\"background-color: #ffffcc; border: 1px solid black;border-radius: 10px;\">\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">AT+CPIN?<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">+CPIN: READY<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">OK<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">SIM is ready.<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">AT+CSQ<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">+CSQ: 18,0<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">OK<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">Signal level is -77 dbm. Signal condition is good.The signal strength range is -53 dbm (Excellent) to -109 dbm (Marginal).<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">AT+COPS?<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">+COPS: 0,0,&#8221;T-Mobile USA&#8221;<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">OK<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">Device is currently on &#8220;T-Mobile USA&#8221; network.<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">AT+CGREG?<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">+CGREG: 0,1<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">OK<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">AT+CGDCONT=1,&#8221;IP&#8221;,&#8221;epc.tmobile.com&#8221;<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">OK<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">PDP Context list updated sucessfully<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">AT+CGDCONT?<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">+CGDCONT: 1,&#8221;IP&#8221;,&#8221;epc.tmobile.com&#8221;,&#8221;0.0.0.0&#8243;,0,0<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">OK<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">Following connection profiles are available,<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">CID-&gt; 1<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">PDP Type-&gt;IP<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">APN-&gt;epc.tmobile.com<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">PDP Address-&gt;0.0.0.0<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">Data Compression-&gt;0<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">Header Compression-&gt;0<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">AT+CGDCONT?<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">+CGDCONT: 1,&#8221;IP&#8221;,&#8221;epc.tmobile.com&#8221;,&#8221;0.0.0.0&#8243;,0,0<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">OK<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">Following connection profiles are available,<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">CID-&gt; 1<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">PDP Type-&gt;IP<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">APN-&gt;epc.tmobile.com<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">PDP Address-&gt;0.0.0.0<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">Data Compression-&gt;0<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">Header Compression-&gt;0<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">AT+CGATT=1<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">OK<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">AT+CGATT?<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">+CGATT: 1<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">OK<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">Device is attached to the network<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">AT+CGACT=1,1<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">OK<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">Dis-connect is successful<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">AT+CGPADDR=1<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">+CGPADDR: 1,&#8221;30.38.217.74&#8243;<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">OK<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">IP Address of the connected profile is &#8220;30.38.217.74&#8221;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">AT+CGDCONT?<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">+CGDCONT: 1,&#8221;IP&#8221;,&#8221;epc.tmobile.com&#8221;,&#8221;30.38.217.74&#8243;,0,0<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">&nbsp;<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">OK<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">Following connection profiles are available,<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">CID-&gt; 1<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">PDP Type-&gt;IP<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">APN-&gt;epc.tmobile.com<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">PDP Address-&gt;30.38.217.74<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">Data Compression-&gt;0<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">Header Compression-&gt;0<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">AT+CGACT=0,1<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">OK<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">Dis-connect is successful<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">AT+CGATT=0<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><em><span style=\"font-size: 10.0pt; font-family: Dialog; color: blue;\">OK<\/span><\/em><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #ff8000;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: .0001pt; line-height: normal; text-autospace: none;\"><span style=\"font-size: 12.0pt; font-family: Dialog; color: #333333;\">&nbsp;<\/span><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>How to set up data call with AT commands? With Online AT Command Tester tool, it is easy to test data calls. First, the tool provides an interface to read\/edit\/delete PDP profiles which contain necessary call set up parameters such &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/data-call-at-commands-to-set-up-gprsedgeumtslte-data-call\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"software_howto.php","meta":{"footnotes":""},"class_list":["post-1583","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/1583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/comments?post=1583"}],"version-history":[{"count":18,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/1583\/revisions"}],"predecessor-version":[{"id":16827,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/1583\/revisions\/16827"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=1583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}