{"id":3510,"date":"2013-03-27T05:00:10","date_gmt":"2013-03-27T12:00:10","guid":{"rendered":"http:\/\/m2msupport.net\/m2msupport\/?page_id=3510"},"modified":"2017-09-06T22:37:38","modified_gmt":"2017-09-07T05:37:38","slug":"atcstt-satrt-task-and-set-apn-username-and-password","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/atcstt-satrt-task-and-set-apn-username-and-password\/","title":{"rendered":"AT+CSTT &#8211; Start Task and set APN, username and password"},"content":{"rendered":"<p>With <a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\">Online AT Command Tester<\/a> tool, you can test Simcom TCP\/IP feature.<\/p>\n<p><a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\"><img decoding=\"async\" src=\"http:\/\/www.m2msupport.net\/m2msupport\/wp-content\/themes\/admired\/images\/sim_tcp_1.PNG\" height=\"95%\" width=\"95%\"\/><\/a><\/p>\n<p>You can also send commands to set up TCP\/IP connection in the &#8216;Script Mode&#8217; tab of the AT Command Tester,<\/p>\n<p><code><br \/>\n\/\/Check the registration status<br \/>\nAT+CREG?<\/p>\n<p>\/\/Check attach status<br \/>\nAT+CGACT?<\/p>\n<p>\/\/Attach to the network<br \/>\nAT+CGATT=1<\/p>\n<p>\/\/Wait for Attach<br \/>\nWAIT=7<\/p>\n<p>\/\/Start task ans set the APN. Check your carrier APN<br \/>\nAT+CSTT=\"bluevia.movistar.es\"<\/p>\n<p>\/\/Bring up the wireless connection<br \/>\nAT+CIICR<\/p>\n<p>\/\/Wait for bringup<br \/>\nWAIT=6<\/p>\n<p>\/\/Get the local IP address<br \/>\nAT+CIFSR<\/p>\n<p>\/\/Start a TCP connection to remote address. Port 80 is TCP.<br \/>\nAT+CIPSTART=\"TCP\",\"74.124.194.252\",\"80\"<\/p>\n<p>\/\/Set prompt of '>' when module sends data<br \/>\nAT+CIPSPRT=1<\/p>\n<p>\/\/Send the TCP data<br \/>\nAT+CIPSEND<br \/>\n><br \/>\nGET http:\/\/www.m2msupport.net\/m2msupport\/http_get_test.php HTTP\/1.0<br \/>\n<\/code><\/p>\n<p><a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\"><img decoding=\"async\" src=\"http:\/\/www.m2msupport.net\/m2msupport\/wp-content\/themes\/admired\/images\/sim_tcp_2.PNG\" height=\"95%\" width=\"95%\"\/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>With Online AT Command Tester tool, you can test Simcom TCP\/IP feature. You can also send commands to set up TCP\/IP connection in the &#8216;Script Mode&#8217; tab of the AT Command Tester, \/\/Check the registration status AT+CREG? \/\/Check attach status &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/atcstt-satrt-task-and-set-apn-username-and-password\/\">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":"atcommands.php","meta":{"footnotes":""},"class_list":["post-3510","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/3510","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=3510"}],"version-history":[{"count":4,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/3510\/revisions"}],"predecessor-version":[{"id":14528,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/3510\/revisions\/14528"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=3510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}